/* ===== 01. カラー変数・基本設定 ===== */
:root {
  --navy: #0b2038;
  --blue: #183e63;
  --gold: #b29455;
  --bg: #f5f7f8;
  --txt: #1e2b37;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--txt);
  font-family: "Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;
  line-height: 1.9;
}

a {
  color: inherit;
}

/*-----改行----*/
.br-pc{display:block;}
.br-sp{display:none;}
.br-mb{display:none;}

@media screen and (max-width:768px){
	.br-pc{display:none;}
	.br-sp{display:block;}
}
@media screen and (max-width:599px){
	.br-mb{display:block;}
}

/* ===== 02. ヘッダー・ナビゲーション ===== */
header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #e5e9ed;
}

.wrap {
    width: min(1160px,calc(100% - 80px));
    margin-inline: auto;
}

.head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  color: var(--navy);
}

.brand img {
  display: block;
  width: auto;
  height: 60px;
  object-fit: contain;
}

@media (max-width: 760px) {
  .brand img {
    height: 50px;
  }
}

.brand small {
  display: block;
  letter-spacing: .25em;
  font-size: 10px;
  font-weight: 400;
}

/* PC用グローバルナビゲーション */
.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--gold);
}

/* ヘッダーのお問い合わせボタン */
.site-nav .nav-contact {
  display: inline-block;
  padding: 10px 19px;
  background: var(--gold);
  color: #fff;
  line-height: 1.5;
  text-align: center;
  transition: background-color .2s ease;
}

.site-nav .nav-contact:hover {
  background: var(--navy);
  color: #fff;
}

/* PCではハンバーガーメニューを非表示 */
.menu-toggle {
  display: none;
}

/* ===== 03. メインビジュアル・ボタン ===== */
.hero {
      background:
        linear-gradient(120deg,rgba(5,25,43,1),rgba(17,93,140,0)),
        url("../img/fv.webp") right center / cover no-repeat;
  color: #fff;
  padding: 115px 0 115px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .28em;
  color: var(--gold);
  font-weight: 700;
}

.hero h1 {
  font-family: serif;
  font-size: clamp(34px,5vw,60px);
  line-height: 1.55;
  letter-spacing: .08em;
  margin: 15px 0 25px;
}

.hero p {
  max-width: 620px;
}

.btn {
  display: inline-block;
  background: var(--gold);
  color: white;
  text-decoration: none;
  padding: 13px 27px;
  margin-top: 20px;
  font-weight: 700;
}

.btn.dark {
  background: var(--navy);
}

/* ===== 04. 共通セクション・見出し ===== */
section {
  padding: 82px 0;
}

.muted {
  background: var(--bg);
}

.title {
  text-align: center;
  margin-bottom: 40px;
}

.title h2 {
  font-family: serif;
  font-size: 34px;
  color: var(--navy);
  margin: 4px 0;
}

.title span {
  color: var(--gold);
  letter-spacing: .22em;
  font-size: 12px;
  font-weight: 700;
}

.intro {
  max-width: 800px;
  margin: auto;
  text-align: center;
}

@media (max-width:760px) {
	.intro {text-align: left;}
}

/* ===== 05. グリッド・カード ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 22px;
}

.panel {
  background: #fff;
  border: 1px solid #e0e5e9;
  padding: 28px;
}

.panel .num {
  color: var(--gold);
  font-weight: bold;
  font-size: 13px;
}

.panel h3 {
  font-size: 20px;
  color: var(--navy);
}

.panel b span{color: var(--gold);}

.trip {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}

.step {
	background-color:#fff;
  padding: 25px;
}


.step b {
  color: var(--navy);
}

/* ===== about ===== */
#about {
		background:
       linear-gradient(to bottom,rgba(255, 255, 255, 1) 60%,rgba(255, 255, 255, 0) 100%),
        url("../img/about_bg.webp") center bottom / 100% no-repeat;
		padding-bottom:200px;
}

@media (max-width:760px) {
	#about {
		linear-gradient(to bottom,rgba(255, 255, 255, 1) 50%,rgba(255, 255, 255, 0) 100%),
        url("../img/about_bg.webp") center bottom / 100% no-repeat;
		padding-bottom:150px;
	}
}

/* ===== 05-2. ご相談テーマ ===== */
.consultation-trip {
  gap: 22px;
}

.consultation-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 32px 26px;
}

.consultation-step__icon {
  width: 116px;
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.consultation-step__icon img {
  display: block;
  width: 100%;
  height: auto;
}

.consultation-step__body {
  width: 100%;
}

.consultation-step b {
  display: block;
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.7;
}

.consultation-step p {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
}


/* ===== 05-1. ご相談例 ===== */
#cases .title {
  margin-bottom: 68px;
}

.cases-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-item {
  padding: 0 30px 0;
}

.case-item:not(:last-child) {
  border-right: 1px solid var(--gold);
}

.case-icon {
  min-height: 142px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.case-icon img {
  display: block;
  width: min(150px, 100%);
  height: auto;
}

.case-item h3 {
  margin: 0 0 20px;
  color: var(--navy);
  font-size: clamp(18px, 2vw, 20px);
  line-height: 1.6;
}

.case-item p {
  margin: 0;
  font-size: 16px;
  line-height: 2;
}

/* ===== 06. 会社概要・よくある質問 ===== */
dl {
  max-width: 850px;
  margin: auto;
}

dl>div {
  display: grid;
  grid-template-columns: 190px 1fr;
  border-bottom: 1px solid #dce3e8;
  padding: 16px 10px;
}

dt {
  font-weight: 700;
  color: var(--navy);
}

dd {
  margin: 0;
}

details {
  background: #fff;
  border: 1px solid #e1e7eb;
  margin-bottom: 12px;
  padding: 15px 20px;
}

summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
}

/* ===== 07. お問い合わせ・フッター ===== */
.contact {
  background: var(--navy);
  color: #fff;
  text-align: center;
}

.contact h2 {
  font-size: 34px;
  font-family: serif;
}

.phone {
  font-size: clamp(28px,4vw,55px);
  font-weight: bold;
  text-decoration: none;
  letter-spacing: .04em;
}

.contact p{text-align: center;}

@media (max-width:760px) {
	.contact p{text-align: left;}
}

.note {
  color: #657281;
  font-size: 13px;
}

.contact .note {
  color: #c8d1d9;
}

footer {
  background: #071525;
  color: #bbcbd8;
  padding: 25px 0;
  text-align: center;
  font-size: 12px;
}

/* ===== 08. 補助パーツ ===== */
.accent {
  border-left: 3px solid var(--gold);
  padding-left: 20px;
}

.lead {
  font-size: 18px;
  color: var(--navy);
  font-weight: 700;
}

.chip {
  display: inline-block;
  padding: 4px 12px;
  background: #e7edf2;
  color: var(--blue);
  font-size: 12px;
  margin: 3px;
}

.checklist {
  padding-left: 22px;
}

.checklist li {
  margin: 6px 0;
}

.highlight {
margin-top:20px;
  background: #eaf0f3;
  padding: 22px 26px;
  border-left: 4px solid var(--gold);
}

.panel ul {
  padding-left: 20px;
}

.panel li {
  margin-bottom: 7px;
}

/* ===== 09. タブレット・スマートフォン用メニュー（960px以下） ===== */
@media (max-width:960px) {
  .head {
    min-height: 72px;
    gap: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  /* ハンバーガーボタン（44px以上の操作領域） */
  .menu-toggle {
    display: block;
    position: relative;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #dce3e8;
    background: #fff;
    cursor: pointer;
  }

  .menu-toggle__line {
    position: absolute;
    left: 10px;
    width: 22px;
    height: 2px;
    background: var(--navy);
    transition: transform .2s ease, opacity .2s ease;
  }

  .menu-toggle__line:nth-child(1) { top: 13px; }
  .menu-toggle__line:nth-child(2) { top: 20px; }
  .menu-toggle__line:nth-child(3) { top: 27px; }

  /* 開いたときは「×」アイコンへ変化 */
  .site-header.is-menu-open .menu-toggle__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.is-menu-open .menu-toggle__line:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-menu-open .menu-toggle__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .menu-toggle:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
  }

  /* メニューはヘッダーの下に展開 */
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 11;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - 72px);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    padding: 12px 24px 24px;
    border-top: 1px solid #e5e9ed;
    background: #fff;
    box-shadow: 0 12px 20px rgba(11, 32, 56, .12);
    font-size: 14px;
    white-space: normal;
  }

  .site-header.is-menu-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 12px 0;
    border-bottom: 1px solid #edf0f2;
  }

  /* メニュー内のお問い合わせもボタン表示 */
  .site-nav .nav-contact {
    margin-top: 16px;
    padding: 13px 18px;
    border-bottom: 0;
  }
}

/* ===== 10. スマートフォン表示（760px以下） ===== */
@media (max-width:760px) {
    .wrap {
        width: min(100% - 34px,1160px);
    }
  .hero {
    padding: 75px 0;
  }

  .grid,
  .trip,
  .cases-list {
    grid-template-columns: 1fr;
  }

  section {
    padding: 55px 0;
  }

  #cases .title {
    margin-bottom: 52px;
  }

  .case-item {
    padding: 0 6px 0;
  }

  .case-item:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--gold);
    margin-bottom: 44px;
    padding-bottom: 44px;
  }

  .case-icon {
    min-height: auto;
    margin-bottom: 20px;
  }

  .case-icon img {
    width: 130px;
  }

  .case-item h3 {
    margin-bottom: 18px;
    font-size: 20px;
  }

  .case-item p {
    font-size: 16px;
    line-height: 1.9;
  }

  .consultation-step {
    flex-direction: row;
    align-items: center;
    gap: 18px;
    padding: 24px 20px;
  }

  .consultation-step__icon {
    flex: 0 0 76px;
    width: 76px;
    min-height: 76px;
  }

  .consultation-step__body {
    flex: 1 1 auto;
    min-width: 0;
  }

  .consultation-step b {
    margin-bottom: 8px;
    font-size: 19px;
    line-height: 1.6;
  }

  .consultation-step p {
    font-size: 15px;
    line-height: 1.85;
  }

  dl>div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .title h2 {
    font-size: 29px;
  }
}
