/*=====基本設定=====*/

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
   font-family: 'Noto Sans JP', sans-serif;
   margin: 0;
   padding-top: 45px;
   color: #1E3D5B;
}

img {
   width: 100%;
}

a {
   text-decoration: none;
   color: #ffff
   ;
}

ul {
   list-style: none;
   margin: 0;
   padding: 0;
}

/*================================
header
=================================*/
header {       
   position: fixed; /* 要素を上部に固定 */
   top: 0; 
   left: 0;
   width: 100%;
   background:rgba(30, 61, 91, 0.85);  
   z-index: 1000; 
}

.header-inner {
   max-width: 1200px;
   margin: 0 auto;
   padding: 15px;
   display: flex; 
   justify-content: space-between;
   align-items: center; 
   box-sizing: border-box; /* 要素のサイズを指定 */
}

.logo img{
  width: 50%; 
  height: auto; 
  display: block;/* 行の基準をなくして中央に揃いやすく */
}

/* =================================================
🔵 ハンバーガーメニュー（説明のみ）
================================================= */

.hamburger {
   width: 40px;
   height: 25px;
   position: fixed; /*固定*/
   right: 20px;      /* 右端から20pxの位置 */
   top: 25px;        /* 上から25pxの位置（ロゴの高さに合わせる） */
   cursor: pointer; /* マウスを乗せたら押せる形にする */
   z-index: 2000;
}


.hamburger span {
   display: block;
   position: absolute; 
   left: 0;
   width: 75%;
   height: 2px;
   background: #E6C766;
   transition: 0.3s; /* 変化を0.3秒かけてなめらかにする */
}

.header-inner.active .logo {
    display: none; /* これで「右に押される」原因がなくなります */
}

.hamburger span:nth-child(1) { /* hamburger spanの1つ目 */
   top: 0;
}

.hamburger span:nth-child(2) { /* hamburger spanの2つ目 */
   top: 11px;
}

.hamburger span:nth-child(3) { /* hamburger spanの3つ目 */
   bottom: 0;
}

.hamburger.active span:nth-child(1) { /* jQueryと連動 */
   transform: rotate(45deg);
   top: 9px;
}

.hamburger.active span:nth-child(2) {
   opacity: 0;
}

.hamburger.active span:nth-child(3) {
   transform: rotate(-45deg);
   bottom: auto;
   top: 9px;
}


/* =================================================
🔵 SPナビ・PCナビ（説明のみ）　メニュー画面の設定
================================================= */

.sp-nav {
   display: none;
   height: 100vh; /* 100vh＝画面いっぱい */
}

.sp-nav ul {
  padding: 0;
  list-style: none;
  text-align: center;
}

.sp-nav li {
   width: 100%;
}

.sp-nav a {
   font-size: 1.2em;
   display: block;
   padding: 15px;
}

.sp-nav.active {
   display: flex; /* 縦横中央に並べる設定 */
    justify-content: center;
    align-items: center;
    position: fixed; /* 画面に固定 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(30, 61, 91, 0.95); /* 背景色 */
    z-index: 1500; /* ハンバーガーより下、ロゴより上 */
}

.nav_btn a {
   width: 50%;
   margin: 5% auto 30%;
   border-radius: 50px;
   color: #fff;
   background: linear-gradient(135deg, #dfb8af 10%, #ba8578 90%);
}


nav {
   display: none;
}

nav ul {
   display: flex;
   gap: 25px;
}

nav a {
   font-size: 14px;
}

/*================================
CTA
=================================*/
.cta-btn {
  padding: 5% 0;
  text-align: center;
  width: 100%;       /* 横幅いっぱいの領域を確保 */
  margin-top: 40px;
  margin-bottom: 40px;
}

.cta-btn a {
  display: inline-block;
  width: 70%;   
  max-width: 600px;    
  padding: 15px 0;
  font-size: 1em;
  letter-spacing: 0.3em;
  background: #1E3D5B;
  color: #E6C766;
  text-align: center;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
}

 

/*================================
hero
=================================*/
#hero {
  position: relative;
  width: 100%;
  padding: 0;
  max-width: none; 
  height: 70vh;
  min-height: 500px; 
}

/* ---メイン画像---*/
#hero {
  background-size: cover; /*画面いっぱいに*/
  background-repeat: no-repeat;
  background-image: url("img/hero.jpg");
  background-position: 70% center;
  color: #fff;
}


.hero-text {
  position: absolute;
  left: 20px;
  bottom: 30px;
  z-index: 10;
}

.hero-text h1 {
  font-size: 2.5em;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 600;
  letter-spacing: 0.07em; 
  line-height: 1.3;
  text-shadow: 
    2px 2px 6px rgba(0,0,0,0.7),
    0 0 10px rgba(0,0,0,0.3);
  margin-bottom: 30px;
}

.hero-text p {
  font-size: 0.9em;
  font-weight: 400;
  text-shadow: 
    2px 2px 6px rgba(0,0,0,0.7),
    0 0 10px rgba(0,0,0,0.3);
}

/*================================
mind
=================================*/
#mind {
  max-width: none;
  min-height: 300px; /*最低でも 300px にする*/
  margin: 0 auto;
  background-color:rgba(47, 83, 118, 0.5);
  position: relative;
}

#mind h2 {
  text-align: center;
  font-size: 1em;
}

/* --- 悩みテキスト部分 --- */
.mind-text {
  margin: 0;
  text-align: center;
  line-height: 1.8; /* 少し広げて読みやすく */
  font-size: 0.95rem;
  padding: 60px 10px;
  color: #1E3D5B; /* 真っ黒より少し青みのあるグレーで馴染ませる */
}

.pc-only-br {
  display: none;
}
/* --- V字矢印のアニメーション --- */
.scroll-hint {
  text-align: center;
  padding-bottom: 40px;
}

.scroll-hint svg {
  animation: sdb 2s infinite; /* 2秒周期でふわふわ動かす */
}

@keyframes sdb {
  0% { transform: translateY(0); opacity: 0.3; }
  50% { transform: translateY(15px); opacity: 1; }
  100% { transform: translateY(0); opacity: 0.3; }
}


.fade-in {
  text-align: center;
  padding: 100px 20px; 
  font-size: 0.9rem;
  color: #1E3D5B;
  line-height: 2.2;
}

.fade-text {
  display: inline-block;
  margin: 10px 0;
  font-size: 1rem; 
  font-weight: bold;
  color: #1E3D5B; 
  /* ゴールドのアンダーラインで強調 */
  background: linear-gradient(transparent 55%, #E6C766 90%);
  padding: 0 5px;
}

.mind-box span{
  font-weight: bold;
  color: #b04b4b;
}

.mind-grid {
   max-width: 1000px;
   margin: 0 auto;
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 15px;

  /* マージン（上下0、左右中央） */
  /* Grid指定 */
  /* Gridで横に並べる指定（2列） */
  /* 要素同士の空間*/
}

.mind-box {
   padding: 15px;
   margin-bottom: 0;
   border-radius: 10px;
   background-color: #fff;
   text-align: center;
   box-shadow: 0 0px 10px rgba(0, 0, 0, 0.08); 
}

.mind-box p {
  font-size: 0.6rem;
  margin-bottom: 0.2em;
}
.mind-box img {
   width: 100%;
   height: 100px;
}

/*---scroll---*/
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  text-align: center;
}
/*---fade---*/
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.5s ease-out, transform 1.5s ease;
  text-align: center;
  padding-top: 10%;
}

.fade-in.is-show {
  opacity: 1;
  transform: translateY(0);
}

.fade-text{
  font-weight: 600;
}

/*================================
section
=================================*/

section {
   width: 100%;
   max-width: 1100px;
   margin: 0 auto;
   padding: 2em 1em;
   box-sizing: border-box;
   /* 幅の指定（100%） */
   /* MAX幅の指定（1100px） */
   /* マージン（中央寄せ） */
   /* パディング（上下2倍・左右1倍） */
   /* 要素のサイズ指定 */
}


.section-title {
  text-align: left;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
  letter-spacing: 0.2em;
  font-weight: 900;
  color: #E6C766;
}

.section-title span {
  font-size: 0.6em;
  margin-left: 15px;
  font-weight: normal;
  color: #1E3D5B;
  font-weight: bold;
  letter-spacing: 0;
}

/*================================
vision
=================================*/
#vision {
  width: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url("img/our vision logo.png");
  background-position: center 20%;
  background-color: rgba(255, 255, 255, 0.4); /* 背景色を、50％の透明度で白にする */
  background-blend-mode: lighten; /* 背景画像と背景色を合成し、明るい方を優先して表示 */
}


/* 画像と文章のレイアウト設定 */
.vision-container {
  display: flex;
  flex-direction: column; 
  align-items: center;
  gap: 30px;
}

.vision-lead {
  order: 1; /* 一番上 */
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 40px;
}

.vision-image {
  order: 2; /* 二番目 */
  width: 60%;
  max-width: 300px;
  margin: 0 auto;
}

.vision-image img {
  /* imgタグ自体にorderは不要（親の.vision-imageが動くため）なので削除してOK */
  width: 100%;
  height: auto;
  display: block;
}

.vision-text {
  order: 3; /* 三番目（ここを3に指定するのがポイント！） */
}

.vision-text p {
  line-height: 1.8;
  font-size: 1em;
  text-align: center;
}

.vision-text .text2 {
  font-size: 0.9em;
  margin-top: 30px ;
  font-weight: bold;
}

.vision-text span {
  font-weight: bold;
}

/* QAセクション*/
.qa-section {
  background-color: #f4f7fa; /* 薄いグレーで視覚的に区切る */
  padding: 30px 20px;
  margin: 40px 20px;
  border-radius: 12px;
  text-align: center;
}


.qa-intro {
  font-weight: bold;
  color: #1E3D5B;
  margin-bottom: 15px;
  font-size: 1rem;
}


.qa-text {
  text-align: left; /* リスト部分は左寄せが見やすい */
  display: inline-block; /* 中央寄せの中に左寄せを作る */
  margin-bottom: 5px;
  line-height: 1.8;
  font-size: 0.9rem;
  color: #1E3D5B;
}


.qa-text span {
  color: #cda55e; /* FiNEDGEらしいアクセントカラー（金・茶系など） */
  margin-right: 5px;

}

.qa-end {
  text-align: right;
  display: inline-block; /* 中央寄せの中に右寄せを作る */
  margin-bottom: 5px;
  font-size: 0.9rem;
  color: #1E3D5B;
  font-weight: bold;
}

/*================================
service
=================================*/
#service {
  background-color: #1E3D5B; 
}

#service .section-title span {
  color: #fff;
}

.service-lead {
  color: #fff;
}

/* リスト全体のコンテナ */
.service-list {
  position: relative;
  padding-left: 20px;
  margin: 0 auto;
  max-width: 500px; /* スマホで見やすい幅 */
}

/* 左側の垂直破線 */
.service-list::before {
  content: "";
  position: absolute;
  left: 50px; /* 菱形の中央位置（ずれている場合はここを微調整） */
  /* 上下のはみ出しを消すための調整 */
  top: 60px;    /* Stage 1 の菱形の中央から開始 */
  bottom: 60px; /* Stage 4 の菱形の中央で終了 */
  width: 2px;
  border-left: 2px dashed #E6C766;
  z-index: 1;
}


/* 各アイテムの並び */
.service-item {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

/* Stageの菱形 */
.stage-number {
  width: 60px;
  height: 60px;
  background-color: #fff;
  border: 2px solid #E6C766;
  box-sizing: border-box;
  transform: rotate(45deg); /* 本体を45度回す */
  
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.stage-inner-box {
  transform: rotate(-45deg); /* まとめて-45度回す */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.stage-number span {
  color: #1E3D5B;
  font-size: 0.6rem;
  font-weight: bold;
  line-height: 1.1;
}

.stage-number strong {
  color: #1E3D5B;
  font-size: 1.4rem;
  line-height: 1;
  margin-top: px; /* Stageとの距離 */
}


/* --- 1. カード本体 --- */
.service-card {
  margin-left: 25px;
  flex-grow: 1;
  border-radius: 12px;
  padding: 15px 20px;
  position: relative;
  overflow: hidden; 
  min-height: 110px;
  box-shadow: inset 0 0 0 1.5px #E6C766; /*内側に線を引く*/
}

/* --- 凹ませる三角形--- */
.service-card::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -1.5px; /* 線の太さ分だけ少し外に出すのがコツ */
  transform: translateY(-50%);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 12px solid #1E3D5B; 
  z-index: 5;
}

/* --- 3. 凹みの「斜め線」をゴールドにするための追加パーツ --- */
.service-card::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  border-top: 13.5px solid transparent;
  border-bottom: 13.5px solid transparent;
  border-left: 13.5px solid #E6C766; /* ゴールドの線用 */
  z-index: 4;
}



/* Stage 1: Base */
.service-card.base { 
  background-color: #C1D8AC; 
}

/* Stage 2: Knowledge */
.service-card.knowledge { 
  background-color: #E6D59A; 
}

/* Stage 3: Technique */
.service-card.technique { 
  background-color: #D69999; 
}

/* Stage 4: Mindset */
.service-card.mindset { 
  background-color: #A3C1E0;  
}

/* 文字色の強制適用 */
.service-card h3 {
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  margin-top: 0;
  line-height: 1.2;
}

.service-card h3 span{
  font-size: 0.7em;
  color: #1E3D5B;
}
.service-card ul li {
  color: #1E3D5B;
  font-size: 0.8em;
}


/* 背景に透けてる大きな文字 */
.bg-text {
  position: absolute;
  left: 30%;
  bottom: 0;
  font-size: 2.5rem;
  font-weight: bold;
  opacity: 0.08;
  white-space: nowrap;
}

/*baseだけ右に寄せる*/
.service-card.base .bg-text {
  left: auto;
  right: -5px 
}


/* フッターテキスト */
.service-footer {
  text-align: right;
  margin-top: 20px;
  padding-right: 5%;
  color: #fff;
}


/*================================
about
=================================*/

.program-img {
  max-width: none;
  display: block;
  width: 100vw;
  margin-left: calc(50% - 50vw); 
  margin-right: calc(50% - 50vw);
}

/* リスト部分のレイアウト */
.program-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.program-list {
  border-top: 1px solid rgba(47, 83, 118, 0.5); /* 繊細なライン */
}

.program-item {
  display: flex;
  align-items: center;
  padding: 25px 0;
  border-bottom: 1px solid rgba(47, 83, 118, 0.5);
}

.program-item dt {
  width: 30%;
  text-align: left;
  font-size: 16px;
  color: #0B1E3A;
}

.program-item dd {
  width: 70%;
  text-align: left;
  font-size: 18px;
  margin-left: 0;
}

/* 料金の強調（怪しさを消すための上品な強調） */
.price {
  font-size: 24px;
  font-weight: 700;
  font-family: 'Inter', sans-serif; /* 数字は綺麗なフォントで */
}

.price small {
  font-size: 12px;
  margin-left: 5px;
  font-weight: 400;
}

/* 注意書き（一番大事！） */
.notes {
  max-width: 800px;
  margin: 30px auto 0;
  padding: 0 20px;
  text-align: left;
  list-style: none;
}

.notes li {
  font-size: 12px;
  color: rgba(47, 83, 118, 0.5);
  margin-bottom: 8px;
  line-height: 1.6;
  text-indent: -1em;
  padding-left: 1em;
}

/*================================
contact
=================================*/
.l-contact {
  padding: 80px 15px;
  background-color: #162a4a;
  font-family: sans-serif;
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  border-top: 6px solid #0B1E3A;
  box-shadow: 0 10px 30px rgba(11, 30, 58, 0.1);
}

.contact-title {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #0B1E3A;
}

.contact-lead {
  text-align: center;
  font-size: 0.8rem; 
  margin-bottom: 40px;
  line-height: 1.6;
}

/* フォームの各項目 */
.c-form__item {
  margin-bottom: 30px;
}

.c-form__item--center {
  text-align: center;
}

.c-form__label {
  display: block;
  font-weight: bold;
  margin-bottom: 0;
  font-size: 0.9rem;
  color: #0B1E3A;
}

/* 基本の入力欄（名前・日付・セレクト共通） */
.c-form__input {
  width: 100%;
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  box-sizing: border-box;
  background-color: #fff;
}

/* 希望日時エリア */
.c-form__wish-list {
  display: flex;
  flex-direction: column;
  gap: 15px; /* 希望行ごとの間隔 */
}

.c-form__wish-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.c-form__wish-label {
  font-size: 0.75rem;
  font-weight: bold;
  color: #0B1E3A;
}

/* 日付と時間を横に並べるボックス */
.c-form__wish-inputs {
  display: flex;
  gap: 10px; /* カレンダーとセレクトの隙間 */
}

/* カレンダーとセレクトの幅比率を調整 */
.c-form__wish-inputs input[type="date"] {
  flex: 1.5;
}
.c-form__wish-inputs select {
  flex: 1;
  cursor: pointer;
}

/* 同意チェックボックス */
.c-form__checkbox-label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.9rem;
  color: #0B1E3A;
}

.c-form__checkbox-label input {
  margin-right: 8px;
}

.c-form__link {
  color: #0B1E3A;
  text-decoration: underline;
  font-weight: bold;
}

/* 送信ボタン */
.c-btn {
  width: 100%;
  max-width: 320px;
  padding: 20px;
  background-color: #E6C766;
  color: #0B1E3A;
  font-weight: bold;
  font-size: 1.2rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 0 #c4a955;
}

.c-btn:hover {
  background-color: #f0d680;
  transform: translateY(2px);
  box-shadow: 0 2px 0 #c4a955;
}


/*================================
footer
=================================*/
.l-footer {
  background-color: #0B1E3A; /* ネイビー */
  padding: 50px 20px 30px; /* 上下にゆとりを持たせる */
  color: #fff;
  border-top: 2px solid #E6C766; /* 上端にゴールドの細い線を入れてアクセントに */
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.footer-main {
  margin-bottom: 30px;
}

.footer-logo img{
  max-width: 150px;
  height: auto;
  margin-bottom: 10px;
}

/* 会社名 */
.footer-company-name {
  font-size: 0.9rem;
  margin-bottom: 5px;
  letter-spacing: 0.1em; /* 文字の間隔を少し広げて上品に */
}


/* 下部エリア（区切り線とリンク） */
.footer-sub {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
}

.footer-sub-nav {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
  display: flex;
  justify-content: center;
}

.footer-sub-nav a {
  color: rgba(255, 255, 255, 0.5); /* 控えめな色 */
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.3s;
}

.footer-sub-nav a:hover {
  color: #E6C766; /* ホバーでゴールドに光る */
  text-decoration: underline;
}

.copyright {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.3);
}

/* スマホでは表示する */
.floating-line-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  
  width: 75px;
  height: 75px;
  background-color: rgba(230, 199, 102, 0.85); 
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  text-align: center;

  /* アニメーションを適用 */
  animation: fuwafuwa 2.5s infinite ease-in-out;
}

.line-symbol {
  font-size: 25px;
  font-weight: bold;
  display: block;
  margin-bottom: 2px;
}

.line-text {
  font-size: 10px;
  line-height: 1.2;
  font-weight: bold;
}

/* タップした時の動き */
.floating-line-circle:active {
  animation-play-state: paused;
  transform: scale(0.9);
}

/* アニメーションの定義 */
@keyframes fuwafuwa {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}