@charset "UTF-8";

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;600&display=swap');


/* ===== セクション共通 ===== */
.about, .business,.members, .workstyle, .recruit, .flow, .faq {
  padding: 100px 0;
  text-align: center;
} 

body {
  padding-top: 100px; /* ヘッダーの高さ分 */
}

#header {
  position: fixed;          /* ← 追従 */
  top: 0;
  left: 0;
  width: 100%;
  background-color: #FDE9E3;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;          /* ← 左右32px */
  height: 100px;
}

/* ロゴ＋採用サイト */
.header-logo {
  margin: 0;       /* ← これがないと絶対ズレる */
}

.header-logo a {
  display: flex;
  flex-wrap: wrap;          /* ★これが超重要 */
  align-items: center;
  gap: 6px 12px;            /* 縦 横 */
  text-decoration: none;
  color: inherit;
}

.site-label {
  font-size: 24px;
  line-height: 1;   /* ← 超重要 */
  display: block;   /* ← baseline無効化 */
}


/* ナビ */
.gnav-pc {
  display: flex;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.gnav-pc a {
  text-decoration: none;
  color: #353535;
}


.header-logo .site-label {
  text-decoration: none;
  color: #353535;  /* 好きな色に */
  margin: 0 16px;
}

.header-logo a:hover {
  text-decoration: none;
  color: inherit;
}


.header-logo img {
  width: 280px;
  height: auto;
  display: block;   /* ← インライン画像の隙間を消す */
}


.header-logo span {
  font-size: 24px;
  font-weight: 500; 
}

.gnav-pc li{
  font-size: 16px;
}

.gnav-pc-wrap {
  display: flex;
  align-items: center;
  margin: 0 32px;          /* ← 左右32px */
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-entry-btn {
  margin-left: 32px;
  padding: 8px 24px;
  background: #E65550;
  color: #fff;
  border-radius: 20px;
  font-size: 32px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s;
  animation-delay: 0.2s;
}


.hamburger {
  display: none;
}

.gnav-pc-wrap.open {
  display: block;
  position: absolute;
  top: 100px;
  right: 0;
  background: #FDE9E3;
  padding: 24px;
}

/* --- 共通設定：PC版ではスマホ用ナビを完全に隠す --- */
.sp-nav {
  display: none;
}

.fv {
  position: relative;
  width: 100%;
  height: 100vh;        /* 画面いっぱい */
  overflow: hidden;    /* はみ出し防止 */
}

.fv-text-wrap {
  position: absolute;
  left: 20%;
  top: 50%;
  transform: translate(0%, -50%);
  z-index: 3;
}

.fv-text {
  width: 320px;        /* PC用 */
  max-width: 80vw;     /* 小画面でもはみ出さない */
  opacity: 0;
  animation: fadeUp 1.5s ease-out forwards;
  animation-delay: 0.5s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



.fv-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/FVpic.jpg");
  background-repeat: no-repeat;
  background-size: cover;          /* 画面は必ず埋める */
  background-position: center 70%; /* ← 上下位置をずらす */
  z-index: 1;
}

.fv-curve {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px; /* 曲線画像の高さに合わせる */
  background-image: url("../images/Vectortopnew.png");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: contain;
  z-index: 2;
  pointer-events: none;
}



/* ===== ABOUTセクション全体 ===== */
.about {
	position: relative;
	background: radial-gradient(circle,rgba(255, 255, 255, 0),rgba(255, 249, 247, 0.8), rgba(248, 185, 165, 0.3));
	overflow: hidden;
	background-image: url('../images/hearthand.png'); /* 画像パス */
  background-size: 450px 458px;
  background-position: center; 
  background-repeat: no-repeat; /* 繰り返しを防止 */
  }

.title {
	margin: 0px auto 36px;
  text-align: center;
}

.section-subtitle{
	margin-bottom: 16px;
}
.section-title {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 600;
  font-size: 64px;
  color: rgba(230, 85, 80, 0.7);
  text-align: center;
  line-height: 1;
}

.about-lead {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 40px;
  color: #353535;
  text-align: center;
  line-height: 1.8;
  letter-spacing: 0.15em;
}

.text {
  font-weight: 500;
  text-align: center;
}

/* 既存のルールは残す場合はコメントアウトしても可 */
.text p:last-child {
  margin-bottom: 0;
}

/* 「no-margin」クラスがある場合だけ最後の段落の余白を消す */
.text.no-margin p:last-child {
  margin-bottom: 0;
}

/* デフォルトは最後の段落も余白あり */
.text p:last-child {
  margin-bottom: 36px; /* 元の通常の余白 */
}

/* デフォルト（PC）ではスマホ用を隠す */
.sp-only-img {
  display: none;
}

.more-btn {
  display: inline-flex;
  align-items: center; /* 縦中央揃え */
  justify-content: center; /* 横中央揃え */
  width: 240px;
  height: 50px;
  font-weight: 700;
  background-color: #FFFFFF;
  border: 2px solid #E65550;
  border-radius: 30px;
  color: #E65550;
  padding: 30px;
  margin: 48px 0 0 0; /* 上48px、左右0、下0 */
  text-decoration: none;
  /* ★ ここがポイント */
  transition:
    background-color 0.6s ease,
    color 0.6s ease,
    border-color 0.6s ease,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  
  gap: 8px;
}

/* 中央寄せしたいボタンだけ */
.more-btn.center {
  margin: 48px auto; /* 上下48px、自動で左右中央寄せ */
}

.more-btn img {
  width: 20px;
  height: 20px;
  transition:
    filter 0.6s ease,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.more-btn:hover,
.more-btn:focus-visible {
  background-color: #E65550;
  color: #FFFFFF;
  border-color: #E65550;
  transform: translateY(-3px);
}

.more-btn:hover img,
.more-btn:focus-visible img {
  filter: brightness(0) invert(1);
  transform: translateX(6px);
}


/* ★ クリック後に残る focus 状態を無効化 */
.more-btn:focus:not(:focus-visible) {
  background-color: #FFFFFF;
  color: #E65550;
  border-color: #E65550;
  transform: none;
}

.more-btn:focus:not(:focus-visible) img {
  filter: none;
  transform: none;
}

/* 押した瞬間の演出 */
.more-btn:active {
  transition-duration: 0.2s;
  transform: translateY(0);
}

.autoplay .slick-slide {
  margin: 0 20px; /* 左右に半分ずつ → 合計で56px */
}

.autoplay .slick-list {
  margin: 0 -20px; /* 全体のズレを打ち消すための調整 */
}

.autoplay img {
  width: 465px;
  height: 350px;
  object-fit: cover; /* 画像の縦横比を崩さずトリミング */
  border-radius: 10px; /* ←お好みで角を丸く */
}

.business {
	background-color:#FDF2DE;
  position: relative;
	overflow: hidden;
}

.text p {
margin: 36px 0px;
}

.business-card-wrap {
  display: flex;
  margin: 0 auto; /* ← 中央寄せ */
  justify-content: space-between;
  gap: 30px;
  margin: 0 auto;
  max-width: 1200px; /* ← PCでは最大幅1200px */
}

.item-title {
  font-size: 32px;
  font-weight: 500;
  margin: 24px 0px;
  text-align: center;
}

.item-text {
  font-size: 20px;
  line-height: 1.5;
}

.members {
	background-color:#FFF9F7;
	background-image: url("../images/Vector1.png"); /* 画像パス */
  background-repeat: no-repeat;     /* 画像を繰り返さない */
  background-position: top center;  /* 上中央に配置 */
  background-size: contain;         /* 画像全体を表示（トリミングしない） */
}

.container {
  margin: 30px auto 0;
  width: 100%;
}

/* 中央以外のスライド */
.slick-img img {
  height: auto;
  transform: scale(.7);                       /* スライドのサイズを70%にする*/
  transition: opacity .5s, transform .5s;     /* スライド透過率と拡大のアニメーション時間を0.5秒に設定*/
  width: 100%;
}

/* 中央のスライド */
.slider .slick-center img {
  opacity: 1;                   /* 中央のスライドは透過しない*/
  transform: scale(1);          /* 中央のスライドは小さくしない*/
}

/* 神田追加 */
.slick-slide .center-mark{
  opacity: 0;
}

.slick-slide.slick-center .center-mark {
  opacity: 1;
}

/* 基本設定 */
.slick-prev,
.slick-next {
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
}


.slick-prev img,
.slick-next img {
  width: 40px;
  height: 40px;
}

/* 中央スライドの左右に配置 */
.slider {
  position: relative;
  max-width: 1200px; /* スライダーの幅に合わせて調整 */
  margin: 0 auto;
}

.slick-prev {
  left: 32%;
  transform: translate(-180%, -50%); /* ←左矢印を中央から少し左へ */
}

.slick-next {
  right: 34%;
  transform: translate(180%, -50%); /* →右矢印を中央から少し右へ */
}

/* デフォルト矢印を消す */
.slick-prev::before,
.slick-next::before {
  content: none !important;
}

.workstyle {
	background-color:#FDF2DE;
	background-image: url("../images/Vector2.png"); /* 画像パス */
  background-repeat: no-repeat;     /* 画像を繰り返さない */
  background-position: top center;  /* 上中央に配置 */
  background-size: contain;         /* 画像全体を表示（トリミングしない） */
}

.workstyle-card-wrap {
  display: flex;
  margin: 0 auto; /* ← 中央寄せ */
  justify-content: space-between;
  gap: 30px;
  margin: 0 auto;
  max-width: 1200px; /* ← PCでは最大幅1200px */
}

.workstyle-card {
  background-color: #FFFFFF; /* カード全体の背景（白） */
  border-radius: 20px; /* カード全体の角丸 */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* ふんわりシャドウ */
  overflow: hidden; /* 内側の角丸が画像にも反映されるように */
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* カード内の画像 */
.workstyle-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* テキスト部分の背景 */
.item-text-wrap2 {
  background-color: #F8B9A5;
  padding: 24px;
  border-bottom-left-radius: 20px; /* 下だけ角丸 */
  border-bottom-right-radius: 20px;
}

/* テキストのスタイル */
.item-title2 {
  color: #FFFFFF;
  font-size: 32px;
  font-weight: 500;
  text-align: center;
  margin: 0;
}


/* ホバー時に少し浮き上がる */
.workstyle-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}


.recruit {
	background-color:#FFF9F7;
	background-image: url("../images/Vector1.png"); /* 画像パス */
  background-repeat: no-repeat;     /* 画像を繰り返さない */
  background-position: top center;  /* 上中央に配置 */
  background-size: contain;         /* 画像全体を表示（トリミングしない） */
}

.job-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 50px;
}

.job-card {
  display: flex;
  align-items: center;
  justify-content: center; /* 中央寄せ */
  gap: 16px;
  width: 280px; 
  height: 100px;
  padding: 24px;
  border: 2px solid #E65550;
  border-radius: 10px;
  background: #fff;
}

.job-card img {
  width: 50px;

}

.job-card p {
  line-height: 1.4;
}

.flow {
	background-color:#FDF2DE;   
  position: relative; /* 三角形を絶対配置するため */
  text-align: center; /* 中央寄せ */
  padding-top: 130px; /* 三角形の高さ分の余白 */
}

.triangle {
    width: 0;
    height: 0;
    border-top: 85px solid #FFF9F7;
    border-left: 90px solid transparent;
    border-right: 90px solid transparent;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%); /* 上部中央に配置 */
}

.flow-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 32px auto 0 auto;
}

.flow-card-wrap {
    display: flex;
    margin: 0 auto;
    justify-content: space-between;
    gap: 10px;
    position: relative;
    margin: 0 auto;
    max-width: 1200px;
}

.flow-card-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 340px; /* ★ 全STEPで高さ固定 */
}


.flow-icon-box {
  background-color: #F8B9A5;
  width: 220px;
  height: 240px;
  border-radius: 20px;
  display: inline-block; /* 横並びにしている前提 */
  padding: 55px 45px;
}

/* テキスト部分の背景 */
.item-text-wrap3 {
  background-color: #00000000;
  padding: 16px 24px;
  border-bottom-left-radius: 20px; /* 下だけ角丸 */
  border-bottom-right-radius: 20px;
}


.flow-icon-box img {
  width: 130px;
}

.icon-title {
	line-height: 1.4;
}

.triangle-right {
    width: 0;
    height: 0;
    /* 重要！ */
    position: static;  /* ← relative/absolute を使わない */
    margin: -100px 15px 0 15px; /* 上に8pxずらす */
    align-self: center; /* 完全に縦中央に配置 */
    border-left: 24px solid #F8B9A5;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
}

/* -----------------------------
  アニメーション
----------------------------- */

@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ★ ここに追加する */
@keyframes fadeSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-30px); /* 上から */
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 初期状態 */
.fade-step {
  opacity: 0;
}

.fade-active {
  animation: fadeSlideIn 0.8s ease-out forwards;
}

/* 初期状態：非表示 */
.fade-step {
  opacity: 0;
}

/* 見えたら発火させるクラス */
.fade-active {
  animation: fadeSlideIn 0.8s ease-out forwards;
}


/* 出現の順番 */
.step1 { animation-delay: 0s; }
.step2 { animation-delay: 0.2s; }
.step3 { animation-delay: 0.4s; }
.step4 { animation-delay: 0.6s; }
.step5 { animation-delay: 0.8s; }
.step6 { animation-delay: 1.0s; }
.step7 { animation-delay: 1.2s; }


/* FAQ セクション */
.faq {
  background-color: #FFF9F7;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}


.faq-item {
  width: 100%;
  justify-content: center; /* 中央寄せ */
  margin-bottom: 24px;
}


/* Qアイコン */
.q-icon {
  width: 50px;
  height: 50px;
  background-color: #E65550;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 32px;
  flex-shrink: 0;
  font-family: "Josefin Sans", sans-serif;
}

.q-text {
  transform: translateY(3px);
  display: inline-block;
}


/* 質問ボタン */
.faq-question {
  width: 800px;
  height: 50px;
  background-color: #F8B9A580;
  border: none;
  border-radius: 25px 10px 10px 25px;
  display: flex;
  align-items: center;
  margin: 0 auto;      /* 中央寄せ */
  padding: 8px 16px 8px 0px;
  cursor: pointer;
  transition: background-color .3s;
}

.faq-question-text {
  margin-left: 20px; /* ← 左に30pxの余白 */
  text-align: left;  /* ← 左寄せ */
  align-self: flex-start; /* ← この要素だけ左に寄せる */
  flex: 1; /* ← 追加！中央の領域を伸ばす */
  transform: translateY(-3px)
}


/* 質問文：左寄せ */
.faq-text {
  flex: 1;
  margin-left: 12px;
  font-size: 20px;
  text-align: left; /* 左寄せ */
}

/* ＋／− アイコン */
.toggle-icon {
  font-size: 32px;
  flex-shrink: 0;
  font-weight: 700;
  font-family: "Josefin Sans", sans-serif;
  color:#E65550;
  margin-right: 20px; /* ← 追加！右端へ20px */
  transform: translateY(3px)

}

/* A回答（初期は閉じる） */
.faq-answer {
  padding-top: 30px;
  font-size: 16px;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  display: none; /* ← 初期状態では閉じる */
}

/* 親の .faq-item に open が付いたら開く */
.faq-item.open .faq-answer {
  display: flex;              /* ← 横並びで表示 */
  align-items: flex-start;
  gap: 16px;
}

/* A アイコン */
.faq-answer::before {
  content: "A";
  font-weight: 700;
  font-size: 32px;
  background: #fff;
  border: 2px solid #E65550;
  color: #E65550;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-family: "Josefin Sans", sans-serif;
}

.faq-answer p {
  text-align: left;
  margin-right: 30px; /* ← 右側を30px狭くする */
}


/* ---------------------------
   背景画像＋オーバーレイ
----------------------------- */
.footer {
  position: relative;
  overflow-x: hidden; /* 横スクロール防止 */
}

.footer-visual {
  position: relative;
  width: 100%;
  overflow: visible;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
}

.footer-decor {
  position: absolute;
  left: 50%;
  bottom: -120px;               /* ← 下に食い込ませる（重要） */
  transform: translateX(-50%);
  width: 100vw;                 /* 画面幅いっぱい */
  height: 360px;                /* 波の高さ（調整OK） */
  background: url("../images/Vector4.png") no-repeat center bottom -130px / cover;
  z-index: 3;
  pointer-events: none;
}

.footer-catchcopy, .footer-entry-btn{ z-index:4; }

.footer-bg {
  width: 100%;
  display: block;
}



/* ---------------------------
   テキスト・ボタン部分
----------------------------- */
.footer-catchcopy,
.footer-entry-btn {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(20%);
  opacity: 0;
}

/* ★ スクロールで付与するクラス */
.footer-visual.is-show .footer-catchcopy,
.footer-visual.is-show .footer-entry-btn {
  animation: fadeUp 1.2s ease-out forwards;
}

/* ボタンだけ少し遅らせる */
.footer-visual.is-show .footer-entry-btn {
  animation-delay: 0.2s;
}


.footer-catchcopy {
  top: 40%;
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.footer-entry-btn {
  top: 60%;
  padding: 16px 56px;
  background: #E65550;
  color: #fff;
  border-radius: 30px;
  font-size: 56px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, opacity 0.2s;
  animation-delay: 0.2s;
  /* ← 上下 36px + 左右 auto（中央揃え） */
  margin: 36px auto;
}

/* ホバー時（クリック感） */
.footer-visual.is-show .footer-entry-btn:hover {
  transform: translateX(-50%) scale(1.05)!important;
  opacity: 0.9;
}

/* ふわっと出るアニメーション */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translate(-50%, 20%);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.footer-logo {
  width: 380px;
  height: auto;
}


.footer-bottom {
  position: relative;
  text-align: center;
  background-color: #FDE9E3;
  background-image: url("../images/Vector4.png");
  background-repeat: no-repeat;
  background-position: center calc(100% + 40px);
  background-size: 800px auto;
  padding: 100px 0 50px;
}


.footer-bg        { position: relative; z-index: 1; }
.footer-decor     { position: absolute; z-index: 2; }
.footer-catchcopy,
.footer-entry-btn { position: absolute; z-index: 4; }
.footer-bottom    { position: relative; z-index: 5; }

.footer-bg { z-index: 1; position: relative; }
.footer-decor { z-index: 2; }
.footer-catchcopy,
.footer-entry-btn { z-index: 4; }


.copy{
  font-size: 16px;
}

.footer-links {
  display: flex;
  justify-content: center;
  font-size: 16px;
  gap: 32px; /* 余白の指定は gap でもOK */
  margin: 16px 350px;
}


.footer-links a {
  text-decoration: none; /* アンダーライン削除 */
  color: inherit;        /* 親と同じ色にする（青リンクにしない） */
}

/* ============================
   エントリーボタン共通 hover
============================ */

/* ヘッダー & フッター共通 */
.header-entry-btn,
.footer-entry-btn {
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.4s ease,
    color 0.4s ease,
    box-shadow 0.4s ease;
}

/* hover / focus-visible */
.header-entry-btn:hover,
.header-entry-btn:focus-visible,
.footer-entry-btn:hover,
.footer-entry-btn:focus-visible {
  background: radial-gradient(
    circle at center,
    #FFF5F3 0%,
    #F8B9A5 45%,
    #F8B9A5 85%
  );
  color: #E65550;
  transform: scale(1.06);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}


.footer-entry-btn:hover,
.footer-entry-btn:focus-visible {
  transform: translateX(-50%) scale(1.06);
}

.header-entry-btn:active,
.footer-entry-btn:active {
  transform: scale(0.98);
}


/** -----------------------------------------------
  共通
------------------------------------------------**/
body {
	/*下記のCSSはご自身のデザインに合わせて書き換えてください。*/
	font-size: 24px;
	line-height: 1.6;
	color: #353535;
	background-color:#FFF9F7;
	font-family: "Zen Maru Gothic","Yu Gothic", "游ゴシック", "YuGothic", "游ゴシック体", "Osaka", "Verdana", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-weight: 400;
	letter-spacing: 0.1em;
}



/** -----------------------------------------------
  PC :  画面の横幅が641px以上
------------------------------------------------**/

.example {
	font-size: 50px;
	color: #99293D;
}




/*ここからメディアクエリで各デバイスサイズに書き分けます。
今回の課題で考慮するのはPCとスマホのみでOKですが、タブレットサイズでのスタイルを書いてもOK！
また、CSSは上から下に継承されるので、変化させたいところだけ書けばOKです*/


/** -----------------------------------------------
  Smartphone : 画面の横幅が430pxまで
------------------------------------------------**/
@media screen and (max-width: 430px) {
/* --- 1. ヘッダーとFVの隙間を埋める --- */
body {
  padding-top: 60px !important; /* スマホ用ヘッダーの高さに合わせる */
}

/* JSでbodyにno-scrollクラスがついた時、スクロールを禁止する */
body.no-scroll {
  overflow: hidden;
}

  /* セクションの余白調整 */
  .about, .business, .members, .workstyle, .recruit, .flow, .faq {
    padding: 60px 0;
  }
/* 2. セクションタイトル（英語：ABOUT USなど）のサイズ調整 */
  .section-title {
    font-size: 32px !important; /* PC版より小さく（例：32px → 24px） */
    margin-bottom: 20px;
    text-align: center;
  }

  /* 3. セクションサブタイトル（日本語：私たちについてなど）のサイズ調整 */
  .section-subtitle {
    font-size: 14px !important; /* PC版より小さく（例：18px → 14px） */
    color: #353535;
    font-weight: regular;
    display: block;
    text-align: center;
    margin-bottom: 5px
  }

/* 4. 本文テキスト（pタグなど）のサイズを一括調整 */
  .about p, .business p, .members p, .workstyle p, .recruit p {
    font-size: 14px !important; /* スマホで読みやすい14px〜15px程度に */
    line-height: 1.8; /* 行間を広げて読みやすく */
    padding: 0 20px;
  }

.about .title {
  margin-top: -40px; /* 共通設定は活かしつつ、ABOUTだけ上にずらす */
  position: relative;
  z-index: 5;
}

.about {
/* サイズ設定（前回と同じ） */
  background-size: 280px auto !important; 
/* ★位置の調整：横は真ん中、縦は上から 80px の位置に配置 */
/* 数値を小さくする（0pxに近づける）ほど、画像が上へ移動します */
  background-position: center 210px !important;
  background-repeat: no-repeat !important;
  padding: 100px 0 80px 0;
  }

/* --- 右側（ボタンとメニュー）の崩れ防止 --- */
.header-inner {
    height: 60px; /* PCの100pxから縮める */
    padding: 0 16px;
  }

/* --- 2. ロゴと採用サイトを横一行に --- */
  .header-logo a {
    display: flex;
    align-items: flex-end; /* 下揃えにすることで文字の浮きを解消 */
    flex-wrap: nowrap !important; /* 絶対に折り返さない */
    gap: 10px; /* 4pxから10pxに増やしてゆとりを持たせる */
  }

  .header-logo img {
    width: 100px; /* 横幅を抑えて右側のスペースを作る */
    height: auto;
    display: block;
  }

  .header-logo span {
    font-size: 10px !important;
    line-height: 1.2;
    margin: 0 !important;
    padding-bottom: 2px;
  }

.site-label {
    font-size: 12px;     /* 「採用サイト」をカンプ同様に小さく */
    white-space: nowrap; /* 改行させない */
    margin: 0 !important;
    transform: translateY(2px); /* ベースラインを少し下げる微調整 */
  }
  
/* --- 3. 右側要素（エントリー＋三本線）の表示 --- */
  .gnav-pc-wrap {
    display: flex !important; /* コンテナを表示 */
    margin: 0 !important;
  }

  .gnav-pc {
    display: none; /* メニューリスト文字だけを消す */
  }

/* エントリーボタンを左に寄せて間隔を狭める */
  .header-actions {
    display: flex !important;
    align-items: center;
    gap: 16px; /* 6pxから16pxに増やしてボタン同士の干渉を防ぐ */
    margin-left: auto; /* これによりロゴエリアとの間隔を自動で確保しつつ右に寄せる */
  }

.header-entry-btn {
    font-size: 12px; /* 文字サイズを少し下げて余白を作る */
    padding: 4px 10px;
    border-radius: 10px;
    letter-spacing: 0.05em; /* 文字の間隔を少し広げて読みやすく */
  }

  .hamburger {
    display: flex !important; /* 三本線を表示 */
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 30px;
    height: 30px;
    padding: 0;
    background: none;
    border: none;
  }

  .hamburger span {
    width: 24px;
    height: 3px;
    background: #E65550;
    display: block;
  }

/* --- スマホ用全画面メニューの基本スタイル --- */
.sp-nav {
    position: fixed;
    /* ヘッダーの高さを 60px としている場合、そこから開始 */
    top: 60px; 
    left: 0;
    width: 100%;
    /* 画面全体の高さからヘッダー分を引く */
    height: calc(100vh - 60px); 
    background-color: #FFF9F7;
    z-index: 999;
    display: flex;
    flex-direction: column; /* 上から順に並べる */
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    /* 中央寄せ(center)から、上詰め(flex-start)に変更して余白をコントロールしやすくする */
    justify-content: flex-start !important; 
    padding-top: 80px; /* 曲線画像の下あたりからリストが始まるように調整 */
  }

  .sp-nav.active {
    opacity: 1;
    visibility: visible;
  }

/* --- 曲線装飾をメニューの天辺に固定 --- */
  .sp-nav-curve {
    position: absolute;
    top: 0; /* メニュー自体が60pxから始まるので、ここは0でOK */
    left: 0;
    width: 100%;
    height: 120px;
    background-image: url("../images/Vectortopnew.png");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: contain;
    z-index: 1;
  }

  /* --- メニューリストの調整 --- */
  .sp-nav-list {
    position: relative;
    z-index: 2; /* 曲線より上に配置 */
    list-style: none;
    text-align: center;
    padding: 0;
    margin-top: 0 !important; /* 余計なマージンをリセット */
    width: 100%;
  }

  .sp-nav-list li {
    margin: 30px 0;
  }

  .sp-nav-list a {
    text-decoration: none;
    color: #353535;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.1em; /* 文字の間隔を少し広げると高級感が出ます */
  }

/* --- ハンバーガーボタンを「×」に変えるアニメーション --- */
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hamburger span {
  transition: all 0.3s ease; /* 動きを滑らかに */
}

/* FVの開始位置を調整 */
  .fv {
    margin-top: 0;
    padding-top: 0;
    height: calc(100vh - 70px); /* 画面全体からヘッダー分を引いた高さ */
  }

  .fv-bg {
    /* 画像の「右側（顔）」がしっかり入るように位置を調整 */
    background-position: 60% center; 
  }

  .fv-text-wrap {
    position: absolute;
    top: auto;
    /* 位置をさらに下げる（15% → 5%） */
    bottom: 5%; 
    left: 50%;
    /* 160pxでも左端が切れないよう、ずらし具合を少し抑える（-80% → -70%） */
    transform: translateX(-50%); 
    z-index: 3;
    width: auto;
  }

  .fv-text {
    /* ご要望のサイズに変更 */
    width: 160px;
    /* 画面幅の半分くらいまでを許容範囲にする */
    max-width: 50vw; 
    opacity: 0;
    display: block;
    margin: 0 auto;
    /* 画像自体の「途切れ」を防ぐため、念のため設定 */
    height: auto;
    object-fit: contain;
  }

/* セクション間の隙間を消す */
  .fv-curve {
    top: -1px; /* 1pxだけ上にずらしてヘッダーとの境界線の隙間（背景色の漏れ）を埋める */
  }

  /* スマホではPC用を隠す */
  .pc-only-img {
    display: none !important;
  }
  
  /* スマホではSP用を表示する */
  .sp-only-img {
    display: block !important;
    margin: 0 auto 30px; /* 中央寄せにして下の文字との余白を作る */
    width: 100%;
    max-width: 320px; /* 画像が大きくなりすぎないよう調整 */
  }

  /* コンテナ内を中央揃えにする */
  .container {
    text-align: center;
    padding: 0 20px;
  }


  /* --- もっとみるボタンのSPサイズ調整 --- */
  .more-btn {
    width: 160px;    /* 240px → 160px に縮小 */
    height: 44px;    /* 50px → 44px に縮小 */
    padding: 16px;   /* 上下左右の余白を調整 */
    font-size: 14px; /* 文字サイズを少し小さく */
    margin: 32px auto 0; /* 上の余白も48pxから32pxに詰めてバランス調整 */
    gap: 6px;        /* 文字と矢印の間隔を少し詰める */
  }

  .more-btn img {
    width: 16px;     /* 矢印アイコンも一回り小さく */
    height: 16px;
  }

  .more-btn.center {
    margin: 32px auto;
}

  /* 画像の固定幅を解除し、スライダーの横幅いっぱいに広がるようにする */
  .autoplay img {
    width: 100% !important;   /* 465pxを解除して100%にする */
    height: 170px !important; /* 指定の高さ */
    object-fit: cover;
    border-radius: 8px;
  }

  /* スライド1枚1枚の横幅を自動調整に任せる */
  .autoplay .slick-slide {
    width: auto !important; 
    margin: 0 10px !important; /* 隙間を20pxから10pxに縮小 */
  }

  /* 外枠の余白調整をスマホ用に上書き */
  .autoplay .slick-list {
    margin: 0 -10px !important;
  }

  /* 1. コンテナを縦並びに切り替え */
  .business-card-wrap {
    display: flex;
    flex-direction: column; /* 縦並びに変更 */
    align-items: center;    /* 中央寄せ */
    gap: 40px;              /* カード同士の上下の隙間 */
    padding: 0 20px;        /* 左右に少し余白を作る */
  }

  /* 2. カード1つずつの調整 */
  .business-card {
    width: 100%;            /* 画面幅いっぱいに広げる */
    max-width: 335px;       /* カンプの見た目に合わせた最大幅 */
    text-align: center;     /* 中身のテキストを中央揃えに */
  }

  /* 3. カード内の画像調整 */
  .business-card img.business-card { /* クラス名が画像にもついているため */
    width: 100%;
    height: auto;
    border-radius: 10px;    /* 角を丸く */
    margin: 0 auto;
  }

  /* 4. タイトルのサイズ調整 */
  .item-title {
    font-size: 18px !important; /* PC版(32px)からスマホ用に縮小 */
    margin: 16px 0 8px;
    font-weight: bold;
  }

  /* 5. 本文テキストの調整 */
  .item-text {
    font-size: 14px !important; /* PC版(20px)からスマホ用に縮小 */
    line-height: 1.6;
    text-align: left;           /* 長い文章は左揃えが読みやすい */
  }

  /* 6. セクション上部のリード文の調整 */
  .business .text p {
    text-align: center;
    font-size: 14px;
    margin: 24px 0 32px;
    padding: 0 10px;
  }

  /* 7. ビジネスカード内のタイトルを個別に上書き */
  .business .item-title {
    font-size: 24px !important; /* 一括設定の14pxを上書きして24pxに固定 */
    line-height: 1.4;           /* タイトルなので行間を少し詰めると綺麗です */
    margin: 8px 0px;        /* 上下の余白を調整 */
    padding: 0;                 /* 一括設定の左右paddingが不要な場合は0に */
    text-align: center;
  }


  /* 1. 背景と余白の調整 */
  .members {
    background-size: 100% auto !important; /* 背景の曲線を画面幅に合わせる */
    padding-bottom: 60px;
  }

  /* 2. 矢印ボタンの位置をスマホ用に上書き */
  /* 矢印ボタンの共通設定をリセット */
  .slick-prev,
  .slick-next {
    top: 60% !important; /* 写真の高さに合わせて上下中央（お好みで調整） */
    margin: 0 !important;
    padding: 0 !important;
    z-index: 10;
  }

  /* 左矢印：画面左端から一定の距離に固定 */
  .slick-prev {
    left: 15px !important;  /* 左端からの余白 */
    right: auto !important; /* PC版の設定を打ち消す */
    transform: translateY(-50%) !important; /* 上下中央揃えのみ適用 */
  }

  /* 右矢印：画面右端から一定の距離に固定 */
  .slick-next {
    right: 25px !important; /* 右端からの余白（左と同じにする） */
    left: auto !important;  /* PC版の設定を打ち消す */
    transform: translateY(-50%) !important; /* 上下中央揃えのみ適用 */
  }

  /* 矢印画像自体のサイズも揃える */
  .slick-prev img,
  .slick-next img {
    width: 32px !important;
    height: 32px !important;
    display: block;
  }


  /* 3. スライダー全体の幅を調整 */
  .members .container {
    padding: 0 10px;
    margin-top: 20px;
  }

  /* 4. 写真と吹き出しの重なり・サイズ調整 */
  .slick-img img {
    transform: scale(0.85); /* 非中央のスライドを少し大きく見せる（隙間を埋める） */
  }

  .slider .slick-center img {
    transform: scale(1); /* 中央はそのまま */
  }

  /* 吹き出し（center-mark）と写真の間隔を詰める */
  .center-mark {
    margin-bottom: -20px; /* ネガティブマージンで写真に食い込ませる */
    position: relative;
    z-index: 2;
  }


  .workstyle-card-wrap {
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
  }

  /*WORKSTYLEのタイトルを個別に24pxへ上書き */
  .workstyle .item-title2 {
    font-size: 24px !important; /* 一括設定の14pxを上書き */
    font-weight: bold;          /* タイトルらしく太字に（お好みで） */
    line-height: 1.4;
    margin-bottom: 12px;        /* 下の文章との余白を調整 */
    text-align: center;         /* 中央寄せにする場合 */
    padding: 0;                 /* 一括設定の左右paddingをリセットする場合 */
  }

  /* RECRUITの職種名（job-card内のp）を24pxに上書き */
  .recruit .job-card p {
    font-size: 24px !important; /* 一括設定の14pxを上書き */
    line-height: 1.3;           /* 2段になる職種（デザイナー等）のために少し詰める */
    padding: 0 !important;      /* 一括設定の左右paddingを解除して中央に */
    text-align: center;
  }

  .job-list{
    margin: 0px auto 32px;
  }

  .triangle {
    /* スマホ用にサイズを小さく調整 */
    /* border-topが三角形の「高さ」、border-left/rightの合計が「底辺の幅」になります */
    border-top: 40px solid #FFF9F7 !important; 
    border-left: 45px solid transparent !important;
    border-right: 45px solid transparent !important;

    /* 位置の微調整 */
    top: 0; 
  }

  /* 下の文字（選考の流れ FLOW）が三角形に隠れないよう、余白を広げる */
  #flow .title {
    padding-top: 60px !important; /* 三角形の高さ(40px)＋ゆとり(20px) */
    position: relative;
    z-index: 1; /* 三角形の下に潜り込まないように念のため */
  }
  /* 選考の流れ（FLOW）を縦並びに */
  .flow-all {
    flex-direction: column;
    gap: 24px;
  }

  .flow-card-item {
    height: auto;
  }

  /* 三角形を下向きに変更 */
  .triangle-right {
    margin: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 24px solid #F8B9A5;
    border-bottom: none;
    animation: none;
    opacity: 1;
  }

  /* 選考フローのアニメーションをスマホ用に変更 */
  .fade-active {
    animation: fadeSlideDown 0.8s ease-out forwards;
  }

/* 1. 質問ボタンの背景高さを36pxに固定 */
  .faq-question {
    width: 90% !important;
    height: 36px !important;    /* 高さを36pxに指定 */
    min-height: 36px !important;
    padding: 0 12px 0 0 !important; /* 上下のパディングを0にして中央に寄せやすくする */
    display: flex;
    align-items: center;        /* 中身を垂直中央揃え */
    border-radius: 18px 10px 10px 18px !important; /* 高さの半分を角丸にすると綺麗です */
  }

/* 2. Qアイコンの高さも背景に合わせる */
  .q-icon {
    width: 36px !important;
    height: 36px !important;    /* 背景と同じ高さにする */
    font-size: 18px !important;
    margin: 0 !important;
  }

/* 3. 質問テキストの垂直位置微調整 */
  .faq-question-text {
    font-size: 14px !important;
    margin-left: 12px !important;
    transform: none !important; /* 余計な移動をリセット */
    line-height: 1 !important;  /* 1行で収まる想定で中央に配置 */
    display: flex;
    align-items: center;
    padding: 11px 0;
  }

/* 4. ＋ーアイコンを中央揃えにする */
  .toggle-icon {
    font-size: 20px !important;  /* 少しサイズを抑えると中央に見えやすいです */
    margin-right: 10px !important;
    transform: none !important;  /* 以前の translateY(3px) などを完全に消す */
    line-height: 1 !important;   /* 行の高さを1にする */
    display: flex;
    align-items: center;
    height: 100%;                /* 親要素の高さ(36px)いっぱいに広げて中央へ */
  }

  /* 5. A回答エリアの調整 */
  .faq-item.open .faq-answer {
    width: 90% !important;
    margin: 0 auto !important;
    padding: 20px 0 !important;
    gap: 10px !important;
  }

  /* 6. Aアイコンを小さくする */
  .faq-answer::before {
    width: 36px !important;
    height: 36px !important;
    font-size: 20px !important;
    border: 1px solid #E65550 !important; /* 枠線も少し細く */
  }

  /* 7. 回答テキストの調整 */
  .faq-answer p {
    font-size: 12px !important;
    margin-right: 0 !important; /* 右側の余白をリセット */
    padding: 0 !important;      /* 一括設定のpaddingが邪魔な場合は0に */
    line-height: 1.6;
  }

  .faq-list{
    gap: 8px;
  }
/* 1. キャッチコピーのサイズ調整 */
  .footer-catchcopy {
    top: 35% !important;     /* 位置を少し上に調整 */
    font-size: 15px !important; /* 48pxから縮小 */
    width: 90%;
    line-height: 1.5;
  }

  /* 2. エントリーボタンのサイズ調整 */
  .footer-entry-btn {
    top: 45% !important;
    padding: 6px 6px !important;
    font-size:16px !important; /* 56pxから大幅に縮小 */
    width: auto;
    min-width: 120px;
    text-align: center;
    border-radius: 10px;
  }

  .footer-decor {
    /* 1. 高さをスマホに合わせて調整 */
    height: 120px !important; 
    
    /* 2. 背景画像を「下端」に配置し、見切れないようにする */
    /* center bottom 0px にすることで、画像の下側が表示されるようになります */
    background: url("../images/Vector4.png") no-repeat center bottom 0px / cover !important;
    
    /* 3. 配置場所を微調整（footer-bottomに重なる位置へ） */
    bottom: -75px !important; 
    
    /* 4. 非表示にならないよう z-index を確保 */
    z-index: 3 !important;
    display: block !important;
    width: 100vw !important;
  }
  
    /* 5. 下のセクション（footer-bottom）とのつながりをスムーズに */
    .footer-bottom {
    margin-top: -1px; /* 隙間ができるのを防ぐ */
    padding:80px 0 40px !important; /* 上100pxを40pxに、下50pxを20pxに短縮 */
    z-index: 2; /* 装飾より下に配置 */
  }

/* 2. ロゴのサイズと下の余白を調整 */
  .footer-logo {
    width: 180px !important;  /* ロゴを少し小さくしてスッキリさせる */
    margin-bottom: 20px !important; /* 次のテキストとの間隔を狭める */
  }

  /* 5. リンク集を縦並びに変更 */
  .footer-links {
    flex-direction: column;    /* 縦並び */
    gap: 10px !important;      /* リンク同士の隙間 */
    margin: 0 auto 30px !important; /* 350pxの余白を解除 */
    font-size: 12px !important;
  }

/* 4. コピーライトの調整 */
  .copy {
    font-size: 10px !important;
    opacity: 0.7;              /* 主張を抑える */
  }

  /* 6. アニメーション位置のリセット */
  @keyframes fadeUp {
    0% {
      opacity: 0;
      transform: translate(-50%, 10px); /* 移動距離を短く */
    }
    100% {
      opacity: 1;
      transform: translate(-50%, 0);
    }
  }


}

