/* index.cssのスタイル定義 - モバイルファースト設計 */

/* --------------------------------
	共通スタイル
-------------------------------- */

/* セクション */
section {
	background-color: rgba(255, 255, 255, 0.9); /* 透明度を少し上げる */
	margin: 16px;
	border-radius: 8px;
	padding: 24px 16px;
	position: relative;
	z-index: 2;
}

/* --------------------------------
	メインコンテナ
-------------------------------- */

.main {
	position: relative;
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	background-color: #fff;
	background-image: none;
}

/* --------------------------------
	背景画像グリッド
-------------------------------- */

.background-grid {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	max-width: 1400px;
	margin: 0 auto;
	left: 50%;
	transform: translateX(-50%);
}

/* --------------------------------
	ヘッダー
-------------------------------- */

/* ヘッダーの表示・非表示のためのスタイル */
.header-hidden {
	opacity: 0;
	transform: translateY(-100%);
	transition: all 0.3s ease;
	pointer-events: none; /* クリックイベントを無効化 */
}

.header-visible {
	opacity: 1;
	transform: translateY(0);
	transition: all 0.3s ease;
	pointer-events: auto; /* クリックイベントを有効化 */
}

/* ヘッダーコンテナに直接スタイルを適用 */
#header-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
}

.background-grid .grid-item {
	width: 25%; /* SPでは4列 */
	padding-bottom: 25%; /* アスペクト比を1:1に保つ */
	position: relative;
}

.background-grid img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.container {
	position: relative;
	padding: 0;
	z-index: 1; /* コンテンツを背景より前面に */
}

/* --------------------------------
	ファーストビュー
-------------------------------- */

.firstview {
	background: transparent;
	height: 100vh;
	max-height: 875px;
	border-radius: 12px;
	position: relative;
	z-index: 1;

	/* 縦横中央揃え */
	display: flex;
	align-items: center; /* 縦中央 */
	justify-content: center; /* 横中央 */
}

.firstview-container {
	position: relative;
	height: 100%;
}

.firstview-content {
	position: relative;
}

.firstview-title {
	font-family: "Oswald", sans-serif;
	font-weight: bold;
	font-size: 125px;
	text-align: left;
	opacity: 0.8;
	color: #fff;
	line-height: 0.9;
	padding-top: 150px;
}

/* --------------------------------
	メッセージセクション
-------------------------------- */

.message-title {
	font-size: 70px;
	color: #f95251;
	font-family: "Oswald", sans-serif;
	font-weight: normal;
	line-height: 1;
}

.message-subtitle {
	font-family: "Oswald", sans-serif;
	font-weight: normal;
	font-size: 35px;
	color: #f95251;
	line-height: 1.2;
}

.sp-only.message-subtitle {
	font-size: 50px;
	line-height: 1;
	margin: 10px 0;
}

.message-section-subtitle {
	font-family: Hiragino Kaku Gothic Std W6;
	font-size: 30px;
	letter-spacing: 0;
	color: #f95251;
	margin-bottom: 20px;
}

.message-content {
	font-family: Hiragino Kaku Gothic Std W4;
	font-size: 14px;
	letter-spacing: 0.8px;
	line-height: 1.82;
	color: #111111;
}
.br-pc {
	display: none;
}

.message-content .message-specific-padding {
	padding: 20px 0;
}

/* --------------------------------
	SNSセクション
-------------------------------- */

.connect-title {
	font-size: 70px;
	color: #f342d0;
	font-family: "Oswald", sans-serif;
	font-weight: normal;
	line-height: 0.9375;
	margin-bottom: 0;
	padding-bottom: 10px;
}

.connect-text h3{
	margin:20px 10px;
	font-family: Hiragino Kaku Gothic Std W4;
	font-size: 14px;
	font-weight: normal;
	letter-spacing: 0.8px;
	line-height: 1.82;
	color: #111111;
}

.connect-item-title{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-bottom: 30px;
}

.connect-item-title img{
	width: 50px;
}

.connect-item-title h3{
	font-size: 24px;
}

.connect-item{
	margin-bottom: 30px;
	padding: 30px 10px;
	background-color: white;
	border-radius: 8px;
	text-align: center;
	box-shadow: 0 4px 4px rgba(0,0,0,0.2);
}

.connect-item-text{
	font-size: 14px;
	font-weight: bold;
}

.connect-item .link {
    width: 80%;
    display: inline-flex;
    align-items: center; /* 縦位置中央揃え */
    justify-content: center; /* テキストを中央揃えに追加！ */
	font-weight: bold;
    padding: 8px 16px;
    border-radius: 6px;
    color: #fff;
	background-color: #a0a0a0;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.connect-item .link:hover{
	transform: translateY(-4px);
  	box-shadow: 0 4px 4px rgba(0,0,0,0.3);
}


.connect-item .link .arrow {
	position: absolute;
	right: 15px;
  }

/*----- X -----*/

.connect-x h4{
	border-bottom:3px solid #008dcc;
	color: #444;
	font-size: 18px;
	width: 50%;
	margin:35px auto 0;
}

.connect-x-account {
	margin:20px auto 55px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 5%;
	box-shadow: 0 4px 4px rgba(0,0,0,0.2);
	border-radius: 8px;
	color: white;
	background-color: #07aabc;
	width: 80%;
	padding: 6px 0;
}

.connect-x-account img{
	width: 25%;
	border-radius: 50%;
}

.x-account-text h5{
	width: 70%;
	font-size: 11px;
	display: inline;
}

.x-account-text p{
	font-size: 12px;
	font-weight: bold;
}

.x-image{
	width: 80%;
	margin-bottom: 40px;
	border-radius: 4px;
}

.connect-x .link{
	background-color: #333333;
}


/*----- Youtube -----*/
.connect-youtube .link{
	background-color: #e41313;
}


/*----- LINE -----*/

.connect-line-account{
	width: 80%;
	margin: 40px auto;
	padding: 15px 0;
	border: 1px solid #999;
	border-radius: 8px;
}

.connect-line-account p{
	font-size: 14px;
}

.line-icon{
	width: 90px;
}

.line-qr{
	width: 150px;
	margin-top: 15px;
}

.connect-line .link{
	background-color: #2fca20;
}

/* --------------------------------
	インタビューセクション
-------------------------------- */

.interview .interview-title {
	color: #008dcc;
	font-weight: normal;
	padding-bottom: 10px;
}

.interview .interview-subtitle {
	color: #008dcc;
}

.interview {
	position: relative;
	overflow: visible; /* 子要素がはみ出すのを許可 */
}

.interview-title {
	font-size: 70px;
	font-family: "Oswald", sans-serif;
	font-weight: bold;
	line-height: 0.9375;
}

.interview-subtitle {
	font-family: "Oswald", sans-serif;
	font-weight: bold;
	font-size: 16px;
	line-height: 1.2;
}

.interview-content {
	position: relative;
}

.interview-grid {
	display: flex; /* 横一列に表示 */
	flex-wrap: nowrap; /* 折り返さない */
	overflow-x: auto; /* 横スクロール可能に */
	gap: 20px; /* 間隔 */
	margin-top: 30px;
	padding-bottom: 15px; /* スクロールバー用の余白 */
	padding-left: 30px; /* 左側の余白 */
	padding-right: 30px; /* 右側の余白を追加 */
	width: 100％; /* 左右のマージン分を加算 */
	-webkit-overflow-scrolling: touch; /* スムーススクロール（iOS） */
	scrollbar-width: none; /* Firefox用 */
}

.interview-grid::-webkit-scrollbar {
	display: none; /* Chromeなどスクロールバー非表示 */
}

/* 最後のカードの右側にも余白を追加 */
.interview-card:last-child {
	margin-right: 30px; /* 最後のカードの右側に余白を追加 */
}

/* インタビューカード */
.interview-card {
	display: block;
	text-decoration: none;
	color: inherit;
	background: white;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	transform: translateY(var(--shift, 0));
	--shift: 0px; /* 全要素にデフォルト値をセット！ */
	width: 240px;
	min-width: 240px;
	flex-shrink: 0;
	position: relative;
	line-height: 0;
	height: 360px;
	margin-top: 10px;
}
  
/* 奇数番目を下げる */
.interview-card.shift-down {
	--shift: 10px;
}
  
/* ホバー時 */
.interview-card:hover {
	transform: translateY(calc(var(--shift) - 10px)); /* 元のshiftからさらに-10px浮かせる */
}
  
  
.interview-card-image {
	height: 270px; /* 画像の高さを270pxに設定 */
	overflow: hidden;
	position: relative;
	padding: 0;
	margin: 0;
	font-size: 0;
}

.interview-card-image video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	padding: 0;
	margin: 0;
}

.interview-card-name-en {
	position: absolute;
	bottom: 10px;
	right: 10px;
	color: white;
	padding: 0;
	text-align: right;
	line-height: normal;
}

.interview-card-name-en div {
	font-family: "Oswald", sans-serif;
	font-size: 26px;
	font-weight: bold;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.interview-card-info {
	padding: 14px;
	position: relative;
	margin: 0;
	line-height: normal;
	height: 90px; /* テキストエリアの高さを固定 */
	box-sizing: border-box; /* パディングを含めたサイズ計算 */
}

.interview-card-name {
	font-size: 17px;
	font-weight: bold;
	margin-bottom: 4px;
	display: flex;
  	align-items: center;
	gap: 8px;
}

.interview-card-position {
	font-size: 12px;
	color: #333;
}

.interview-card-triangle {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 0 40px 40px;
	z-index: 10;
}

.reload-button {
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: #666666;
	color: white;
	font-size: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border: none;
	z-index: 20;
	display: none; /* SP表示では非表示 */
}

.reload-button:hover {
	background-color: #808080;
}

.more-text {
	position: absolute;
	right: 20px;
	top: calc(50% + 25px);
	width: 40px;
	text-align: center;
	font-family: "Oswald", sans-serif;
	font-size: 14px;
	color: #666666;
	text-transform: uppercase;
	letter-spacing: 1px;
	z-index: 10;
	display: none; /* SP表示では非表示 */
}

/* Coming Soon スタイル */
.coming-soon .interview-card-image {
	position: relative;
	overflow: hidden;
}

.coming-soon-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 2;
	background-color: rgba(0, 0, 0, 0.5);
}

.coming-soon-overlay span {
	background-color: #ff4500;
	color: white;
	padding: 5px 10px;
	font-family: "Oswald", sans-serif;
	font-weight: bold;
	font-size: 18px;
	transform: rotate(-45deg);
	position: absolute;
	width: 200px;
	text-align: center;
	top: 30px;
	left: -50px;
	letter-spacing: 2px;
}

.coming-soon {
	cursor: default;
	pointer-events: none;
	opacity: 0.8;
}

.coming-soon:hover {
	transform: none !important;
	box-shadow: none !important;
}

.coming-soon .interview-card-image img {
	filter: grayscale(100%);
}

.interview-top-link{
	display: block;
	width: 90%;
	margin: 30px auto 0;
	text-align: center;
	padding:10px 0;
	border-radius: 30px;
	color: #008dcc;
	border: 3px solid #008dcc;
	font-size:16px;
	background-color: white;
	font-weight: 900;
	box-shadow: 0 4px 4px rgba(0,0,0,0.2);
	position: relative;
	transition: all 0.3s ease;
}

.interview-arrow {
	position: absolute;
	right: 20px;
	font-size: 18px;
	top: 50%;
	transform: translateY(-50%);
}

.interview-top-link:hover{
	transform: translateY(-6px);
  	box-shadow: 0 4px 4px rgba(0,0,0,0.3);
	color: white;
	background-color: #008dcc;
}

#thumbnail-modal {
	display: none;
	position: absolute;
	z-index: 10; 
	background: rgba(0,0,0,0.8); /* 背景色（調整） */
	pointer-events: none;
}
  
#thumbnail-modal img {
	max-width: 230px;
	max-height: 200px;
	display: block;
	border: 2px solid #fff;
	box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}


/* --------　退職者フラグ　---------- */

.status-label.former {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 30px;
	background-color: #b0b0b0;
	color: #ffffff;
	font-size: 12px;
	line-height: 1.4;
	font-weight: bold;
}
/* --------------------------------
	トピックスセクション
-------------------------------- */
.topics .message-title {
	color: #ffb936;
	padding-bottom: 20px;
}

.topics-title{
	text-align: center;
	color: #ffa600;
	font-size: 38px;
	margin-top: 40px;
}

.topics-list {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0;
	scroll-snap-type: x mandatory; 
}

.topics-list::-webkit-scrollbar {
    display: none; /* スクロールバー非表示 */
}

.topics-card-wrapper {
	position: relative;
	transition: all 0.3s;
	scroll-snap-align: start; /* 1カードごとに止まる */
    flex: 0 0 auto;
}

/* ホバー対応 */
.topics-card-wrapper:hover {
    transform: translateY(-10px);
}

/* カード共通 */
.topics-card {
	flex: 0 0 auto;
	position: relative;
	display: block;
	width: 310px;
	height: 270px;
	border-radius: 60px 20px 20px 20px;
	text-decoration: none;
	color: #000;
	margin: 0 auto;
	z-index: 0;
	overflow: visible;
}

.card-image{
	height: 65%;
	overflow: hidden;
	border-radius: 60px 20px 0px 0px;
}

.card-image img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all 0.3s;
}

/* ホバー対応 */
.topics-card:hover .card-image img {
    transform: scale(1.05); /* ホバーで拡大 */
}

.card-body {
	height: 35%;
	padding: 5px 10px;
	color: #fff;
	letter-spacing: 0.5px;
	display: flex;
	justify-content: center;
	align-items: center; 
}

.card-body .text{
	width: 85%;
	height: 100%;
	position: relative;
}

.card-title {
	height: 70%;
	font-size: 14px;
	line-height: 18px;
	display: flex;
	align-items: center;
	text-align: left; 
}

.date {
	position: absolute;
	height: 30%;
	font-size: 12px;
	font-weight: bold;
	right: 10px; 
    bottom: 0px;
}

.card-body .topics-arrow{
	width: 15%;
	margin:0 5px;
}

.card-body .topics-arrow p{
	width: 45px;
	height: 45px;
	line-height: 45px;
	text-align: center;
	border-radius: 50%;
	background-color: #000;
	color: #fff;
	font-size: 24px;
	font-weight: bold;
	transition: all 0.3s;
}

/* ホバー対応 */
.topics-card-wrapper:hover .card-body .topics-arrow p {
    transform: rotate(-25deg);
}

/* カルーセルコントロールの全体レイアウト */
.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0 20px 0;
    user-select: none;
}

/* ドットコンテナ */
.carousel-dots {
    display: flex;
    gap: 10px;
    margin: 0 15px;
}

/* ドット（⚪︎）のスタイル */
.carousel-dots .dot {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
	background-color:#afafaf;
    cursor: pointer;
    transition: all 0.2s;
}

/* アクティブなドット（⚫︎）のスタイル */
.carousel-dots .dot.active {
    background-color: #ffb936;
    transform: scale(1.1);
}

.topics-top-link{
	display: block;
	width: 90%;
	margin: 20px auto 0;
	text-align: center;
	padding:10px 0;
	border-radius: 30px;
	color: #ffb936;
	border: 3px solid #ffb936;
	font-size:16px;
	background-color: white;
	font-weight: 900;
	box-shadow: 0 4px 4px rgba(0,0,0,0.2);
	position: relative;
	transition: all 0.3s ease;
}

.topicslist-arrow {
	position: absolute;
	right: 20px;
	font-size: 18px;
	top: 50%;
	transform: translateY(-50%);
}

.topics-top-link:hover{
	transform: translateY(-6px);
  	box-shadow: 0 4px 4px rgba(0,0,0,0.3);
	color: white;
	background-color: #ffb936;
}


/* --------------------------------
	会社情報セクション
-------------------------------- */

.company .message-title {
	color: #0bb247;
	padding-bottom: 50px;
}

.company-content {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

.company-info {
	position: relative;
	padding: 20px 0;
	letter-spacing: 0.56px;
	line-height: 32px;
	border-top: 1px solid #a0a0a0;
	color: #111111;
}

.company-info ul {
	padding-left: 20px;
}

.company-info p,
.company-info li {
	position: relative;
	font-size: 14px;
	z-index: 2;
	list-style-type: disc;
	letter-spacing: 0.56px;
	font-family: "Hiragino Kaku Gothic Std W4";
}

.background-text {
	position: absolute;
	font-family: "Oswald", sans-serif;
	font-weight: bold;
	font-size: 40px;
	color: rgba(136, 213, 155, 0.284);
	z-index: 1;
	opacity: 1;
	line-height: 45px;
}

/* --------------------------------
	お問い合わせセクション
-------------------------------- */

.contact-container {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

.contact-left {
	display: flex;
	flex-direction: column;
}

.contact-title {
	font-size: 70px;
	color: #c94bae;
	font-family: "Oswald", sans-serif;
	font-weight: normal;
	line-height: 0.9375;
	margin-bottom: 0;
	padding-bottom: 10px;
}

.contact-subtitle {
	font-family: Hiragino Kaku Gothic Std W6;
	font-size: 16px;
	color: #c94bae;
	margin-bottom: 30px;
	margin-top: 0;
}

.contact-form {
	margin-bottom: 40px;
}

#contact-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* フォームスタイル */
.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	color: #333;
	font-weight: bold;
	font-size: 12px;
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 16px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	font-size: 16px;
	transition: all 0.3s ease;
}

.form-group textarea {
	height: 160px;
	resize: vertical;
}

/* 送信ボタン */
.form-button-container {
	display: flex;
	justify-content: center;
	margin-top: 10px;
}

.submit-button {
	background: #c94bae;
	color: white;
	padding: 20px 60px;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-weight: bold;
	box-shadow: 0 2px 5px rgba(184, 50, 146, 0.2);
	position: relative;
}

.submit-button:hover {
	opacity: 0.9;
}

.button-text {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.button-text img {
	margin-left: 30px;
	position: absolute;
	right: 1px;
}

.contact-map {
	position: relative;
	border: radius 8px;
	overflow: hidden;
	height: 400px;
}

.contact-map iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

/*追加・編集中*/

.contact-interview-links {
    text-align: center;
	margin-bottom:50px;
}

.contact-interview-links p {
    margin-bottom: 30px;
    font-size: 16px;
	font-weight: 444;
}

.interview-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.interview-buttons a {
    display: block;
    width: 80%; 
    padding: 6px 16px;
    background-color: #333; /* 背景濃いめ */
    color: #fff; /* 文字色白 */
    text-decoration: none;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2); /* 影 */
    transition: all 0.3s ease; /* ホバー効果 */
    font-size: 12px;
	font-weight: bold;
}

.interview-buttons a:hover {
    background-color: #555; /* ホバーで少し明るめに */
    transform: translateY(-2px); /* 浮き上がる感じ */
    box-shadow: 0 8px 12px rgba(0,0,0,0.3);
}

.interview-buttons a.btn-career{
	background-color: #008dcc;
}

.interview-buttons a.btn-company{
	background-color: #07ad97;
}

.interview-buttons span{
	font-size: 14px;
}


/* --------------------------------
	フッター
-------------------------------- */

.footer {
	background-color: white;
	padding: 30px;
}
  
.footer-container {
	max-width: 100%;
	margin: 0 auto;
	text-align: center;
	font-size: 12px;
	padding: 0px;
}
  
.footer-links a {
	display: block;
	margin: 12px 0;
	color: #333;
	text-decoration: none;
}
  
.footer-links a:hover {
	text-decoration: underline;
}
  
.copyright {
	font-size: 12px;
	margin-top: 20px;
	color: #666;
}

.separator{
	display: none;
}

.contact-form h3{
	width: 170px;
	font-size: 16px;
	color: #333;
	border-bottom:1px solid #333;
	margin:20px 0 10px;
}

/* --------------------------------
	PC/SP切り替え用クラス
-------------------------------- */

.pc-only {
	display: none;
}

.sp-only {
	display: block;
}

/* --------------------------------
	タブレット向けスタイル
-------------------------------- */

@media screen and (min-width: 768px) and (max-width: 1024px) {
	section {
		margin: 30px;
		padding: 40px;
	}

	/* firstviewエリアをPC版と同じスタイルに設定 */
	.firstview-content {
		padding: 0;
	}

	.firstview-container {
		height: 70%;
	}

	.firstview-title {
		font-size: 160px;
		line-height: 0.95;
		padding-top: 100px;

	}

	.br-pc {
		display: inline;
	}

	.br-sp{
		display: none;
	}

	/* コンタクトエリアをSPと同じ縦配置に */
	.contact-container {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.contact-map {
		height: 400px;
	}

	.interview-grid {
		padding-left: 40px;
		padding-right: 40px;
	}

	/* PC画面時、1番目と3番目のカードを下げる */
	.interview-card:nth-child(4n + 1),
	.interview-card:nth-child(4n + 3) {
		margin-top: 20px;
	}

	.interview-card-info {
		height: 90px; /* テキストエリアの高さを固定 */
		box-sizing: border-box;
	}


	.background-grid .grid-item {
		width: 16.666%; /* タブレットでは6列 */
		padding-bottom: 16.666%;
	}

	.interview-top-link{
		font-size:18px;
		width: 60%;
		margin-top:50px;
	}
	
	.interview-arrow {
		font-size:20px;
	}

	/* タブレットでもPC表示に切り替え */
	.pc-only {
		display: block;
	}

	.sp-only {
		display: none;
	}

	/*----- SNSセクション -----*/

	.connect-text h3{
		margin: 40px 0;
		font-size: 16px;
	}

	.connect-contents-wrapper {
		display: flex;
		flex-wrap: wrap;
		gap: 16px;
	}

	.connect-youtube .connect-item-title{
		gap: 10px;
		margin-bottom: 30px;
		padding-left: 20px;
	}
	
	.connect-youtube .connect-item-title img{
		width: 70px;
	}
	
	.connect-youtube .connect-item-title h3{
		font-size: 32px;
	}

	.connect-item {
		box-sizing: border-box;
		width: calc((100% - 16px) / 2);
	}

	/* YouTubeだけ1段目全幅で順序先頭 */
	.connect-item.connect-youtube {
		width: 100%;
		order: -1; /* 一番先頭 */
	}

	/* XとLINEはその後で横並び */
	.connect-item.connect-x {
		order: 1;
	}

	.connect-item.connect-line {
		order: 2;
	}

	.connect-item {
		position: relative;
	}
	
	.connect-x .link,
	.connect-line .link  {
		position: absolute;
		bottom: 30px;
		left: 16px; /* 左から16px */
		right: 16px; /* 右から16px */
		width: auto; /* 自動調整（全体から左右引く） */
		transform: none; /* ここでtransformを使わない */
	}
	
	.connect-x .link:hover,
	.connect-line .link:hover {
		bottom: 34px; /* 例えば下から4px上げる（好みで調整） */
	}

	.connect-line-account{
		margin-bottom: 70px;
	}

	.tablet-none{
		display: none;
	}

	.connect-item-text{
		font-size: 16px;
	}

	/*TOPICS*/
	.topics-list {
		gap: 40px;
	}

	.topics-title{
		font-size: 42px;
	}
	
	.contact-interview-links p {
		margin-bottom: 30px;
		font-size: 18px;
		font-weight: 444;
	}

	.interview-buttons {
		gap: 30px;
	}

	.interview-buttons a {
		width: 40%;
		padding: 8px 16px;
		font-size: 14px;
	}

	.interview-buttons span{
		font-size: 16px;
	}

	.topics-top-link{
		font-size:18px;
		width: 60%;
	}
	
	.topicslist-arrow {
		font-size:20px;
	}

	.carousel-controls {
		margin: 20px 0 25px;
	}

}

/* --------------------------------
	PC向けスタイル
-------------------------------- */
@media screen and (min-width: 1024px) {
	section {
		margin: 40px;
		padding: 65px;
	}

	.main {
		background-attachment: fixed; /* PC向けに固定背景を設定 */
	}

	.firstview-content {
		padding: 0;
	}

	.firstview-title {
		font-size: 275px;
		line-height: 1;
	}

	.br-pc {
		display: inline;
	}
	
	.br-sp{
		display: none;
	}

	.message-title {
		font-size: 160px;
	}

	.message-subtitle {
		font-size: 90px;
		padding: 30px 0;
	}

	.message-section-subtitle {
		font-size: 60px;
	}

	.message-content {
		font-size: 16px;
	}

	.company-content {
		grid-template-columns: 1fr 1fr;
		column-gap: 40px;
	}

	.background-text {
		font-size: 55px;
	}

	.connect-title {
		font-size: 160px;
	}

	.interview-title {
		font-size: 160px;
	}

	.interview-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 50px;
		padding-right: 300px;
	}

	.interview-card {
		max-width: 220px;
		height: 400px; /* 高さを固定 */
	}

	/* PC画面時、1番目と3番目のカードを下げる */
	.interview-card:nth-child(4n + 1),
	.interview-card:nth-child(4n + 3) {
		margin-top: 30px;
	}

	.interview-card-image {
		height: 310px; /* 画像の高さを調整 (400px - 90px) */
	}

	.interview-card-info {
		height: 90px; /* テキストエリアの高さを固定 */
		box-sizing: border-box;
	}

	.reload-button {
		right: 40px;
	}

	.more-text {
		right: 40px;
	}

	.contact-container {
		grid-template-columns: 0.8fr 1fr;
		gap: 80px;
		height: 100%;
	}

	.contact-left {
		margin-right: 80px;
	}

	.contact-title {
		font-size: 160px;
	}

	.submit-button {
		padding: 20px 80px;
	}

	/* Google Mapの高さをcontact-container分に合わせる */
	.contact-map {
		height: 100%;
	}

	/* 背景グリッドをPC向けに調整 */
	.background-grid .grid-item {
		width: 12.5%; /* PCでは8列 */
		padding-bottom: 12.5%;
	}

	/* フッター */
	.footer-links a {
		display: inline-block;
		margin: 8px 0;
		color: #333;
		text-decoration: none;
	}

	.separator{
		display: inline-block;
	}	

	.interview-top-link{
		font-size:20px;
		margin-top: 80px;
		width: 50%;
		padding:15px 0;
	}
	
	.interview-arrow {
		font-size:22px;
	}

	/* PC表示に切り替え */
	.pc-only {
		display: block;
	}

	.sp-only {
		display: none;
	}


	/*----- SNSセクション -----*/

	.connect-text h3{
		margin: 40px 0;
		font-size: 16px;
	}

	.connect-contents-wrapper {
		display: flex;
		gap: 16px;
	}
	
	.connect-item {
		width: calc((100% - 32px) / 3); 
		padding: 20px;
		box-sizing: border-box;
	}

	.connect-item {
		position: relative;
	}
	
	.connect-item .link {
		position: absolute;
		bottom: 30px;
		left: 16px;
		right: 16px;
		width: auto;
		transform: none;
	}
	
	.connect-item .link:hover {
		bottom: 34px; 
	}

	.connect-line-account{
		width: 70%;
		margin-bottom: 90px;
	}

	/********** トピックスセクション **********/

	.topics .message-title {
		padding-bottom: 50px;
	}

	.topics-title{
		font-size: 60px;
		margin-top: 70px;
		margin-bottom: 10px;
	}


	.topics-card {
		width: 26.5vw;
		aspect-ratio: 31 / 27;
    	height: auto;
	}

	.card-title {
		font-size: 16px;
		line-height: 22px;
	}
	
	.date {
		font-size: 16px;
	}

	.card-body .topics-arrow{
		width: 20%;
		margin-left:15px;
	}
	
	.card-body .topics-arrow p{
		width: 3.9vw;
		height: 3.9vw;
		line-height: 3.9vw;
		font-size: 26px;
		transition: all 0.3s;
	}

	.topics-top-link{
		font-size:20px;
		margin-top: 40px;
		width: 50%;
		padding:15px 0;
	}
	
	.topicslist-arrow {
		font-size:22px;
	}

	.carousel-controls {
		margin: 25px 0 30px;
	}

	/*お問い合わせ*/
	.contact-interview-links p {
		margin: 10px 0 30px;
		font-size: 18px;
		font-weight: 444;
	}

	.interview-buttons {
		gap: 30px;
	}

	.interview-buttons a {
		width: 45%;
		padding: 8px 16px;
	}

}


