@charset "UTF-8";
/**
* スタイルシート統合
*/
/** テンプレファイル
* 一括指定、すべてのページに適用するスタイルなどはここに記述
* containerの指定などは全サイト共通にするのでこのファイルを使いまわす。
*
* ver.20240703
*/
html {
  font-size: 10px;
  color-scheme: transparent;
  scrollbar-gutter: stable;
}

body {
  position: relative;
  font-size: 1.5rem;
  line-height: 2em;
  font-weight: normal;
}

.content-wrapper {
  width: 100%;
  overflow-x: hidden !important;
}

.scrollLock {
  position: fixed;
  left: 0;
  right: 0;
  overflow: hidden;
  scrollbar-gutter: stable;
}

a:hover {
  opacity: 0.9;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.container-wrap {
  position: relative;
  width: 100%;
}

.container {
  position: relative;
  margin: auto;
  /* 最大幅 */
  max-width: 160rem;
  width: calc(100% - 6rem - 6rem);
}
@media screen and (max-width: 1024px) {
  .container {
    width: calc(100% - 4rem - 4rem);
  }
}
@media screen and (max-width: 767px) {
  .container {
    width: calc(100% - 2rem - 2rem);
  }
}
.container .container-inner {
  margin: auto;
  width: calc(100% - 6rem - 6rem);
}
@media screen and (max-width: 1599px) {
  .container .container-inner {
    width: 100%;
  }
}

.section-separator {
  height: 12rem;
}
@media screen and (max-width: 1024px) {
  .section-separator {
    height: 9rem;
  }
}
.section-separator.next-page-kv {
  height: 6rem;
}
@media screen and (max-width: 1024px) {
  .section-separator.next-page-kv {
    height: 2rem;
  }
}

h1,
h2,
h3,
h4,
h5,
strong,
b {
  font-weight: bold;
  line-height: 2em;
}

:where(h1, h2, h3) {
  text-wrap: wrap;
}

span.sml,
p.sml {
  font-size: 1.3rem;
}

.grecaptcha-badge {
  visibility: hidden;
}

.m-0 {
  margin: 0rem;
}

.mb-0 {
  margin-bottom: 0rem !important;
}

.mt-0 {
  margin-top: 0rem !important;
}

.ml-0 {
  margin-left: 0rem !important;
}

.mr-0 {
  margin-right: 0rem !important;
}

.p-0 {
  padding: 0rem;
}

.pb-0 {
  padding-bottom: 0rem !important;
}

.pt-0 {
  padding-top: 0rem !important;
}

.pl-0 {
  padding-left: 0rem !important;
}

.pr-0 {
  padding-right: 0rem !important;
}

.m-10 {
  margin: 1rem;
}

.mb-10 {
  margin-bottom: 1rem !important;
}

.mt-10 {
  margin-top: 1rem !important;
}

.ml-10 {
  margin-left: 1rem !important;
}

.mr-10 {
  margin-right: 1rem !important;
}

.p-10 {
  padding: 1rem;
}

.pb-10 {
  padding-bottom: 1rem !important;
}

.pt-10 {
  padding-top: 1rem !important;
}

.pl-10 {
  padding-left: 1rem !important;
}

.pr-10 {
  padding-right: 1rem !important;
}

.m-20 {
  margin: 2rem;
}

.mb-20 {
  margin-bottom: 2rem !important;
}

.mt-20 {
  margin-top: 2rem !important;
}

.ml-20 {
  margin-left: 2rem !important;
}

.mr-20 {
  margin-right: 2rem !important;
}

.p-20 {
  padding: 2rem;
}

.pb-20 {
  padding-bottom: 2rem !important;
}

.pt-20 {
  padding-top: 2rem !important;
}

.pl-20 {
  padding-left: 2rem !important;
}

.pr-20 {
  padding-right: 2rem !important;
}

.m-30 {
  margin: 3rem;
}

.mb-30 {
  margin-bottom: 3rem !important;
}

.mt-30 {
  margin-top: 3rem !important;
}

.ml-30 {
  margin-left: 3rem !important;
}

.mr-30 {
  margin-right: 3rem !important;
}

.p-30 {
  padding: 3rem;
}

.pb-30 {
  padding-bottom: 3rem !important;
}

.pt-30 {
  padding-top: 3rem !important;
}

.pl-30 {
  padding-left: 3rem !important;
}

.pr-30 {
  padding-right: 3rem !important;
}

.m-40 {
  margin: 4rem;
}

.mb-40 {
  margin-bottom: 4rem !important;
}

.mt-40 {
  margin-top: 4rem !important;
}

.ml-40 {
  margin-left: 4rem !important;
}

.mr-40 {
  margin-right: 4rem !important;
}

.p-40 {
  padding: 4rem;
}

.pb-40 {
  padding-bottom: 4rem !important;
}

.pt-40 {
  padding-top: 4rem !important;
}

.pl-40 {
  padding-left: 4rem !important;
}

.pr-40 {
  padding-right: 4rem !important;
}

.m-60 {
  margin: 6rem;
}

.mb-60 {
  margin-bottom: 6rem !important;
}

.mt-60 {
  margin-top: 6rem !important;
}

.ml-60 {
  margin-left: 6rem !important;
}

.mr-60 {
  margin-right: 6rem !important;
}

.p-60 {
  padding: 6rem;
}

.pb-60 {
  padding-bottom: 6rem !important;
}

.pt-60 {
  padding-top: 6rem !important;
}

.pl-60 {
  padding-left: 6rem !important;
}

.pr-60 {
  padding-right: 6rem !important;
}

.m-90 {
  margin: 9rem;
}

.mb-90 {
  margin-bottom: 9rem !important;
}

.mt-90 {
  margin-top: 9rem !important;
}

.ml-90 {
  margin-left: 9rem !important;
}

.mr-90 {
  margin-right: 9rem !important;
}

.p-90 {
  padding: 9rem;
}

.pb-90 {
  padding-bottom: 9rem !important;
}

.pt-90 {
  padding-top: 9rem !important;
}

.pl-90 {
  padding-left: 9rem !important;
}

.pr-90 {
  padding-right: 9rem !important;
}

.m-100 {
  margin: 10rem;
}

.m-120 {
  margin: 12rem;
}

.mb-120 {
  margin-bottom: 12rem !important;
}

.mt-120 {
  margin-top: 12rem !important;
}

.ml-120 {
  margin-left: 12rem !important;
}

.mr-120 {
  margin-right: 12rem !important;
}

.p-120 {
  padding: 12rem;
}

.pb-120 {
  padding-bottom: 12rem !important;
}

.pt-120 {
  padding-top: 12rem !important;
}

.pl-120 {
  padding-left: 12rem !important;
}

.pr-120 {
  padding-right: 12rem !important;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
  color: #333;
  line-height: 1.7;
  background: #fff;
}

.fadein {
  opacity: 0;
  transform: translateY(20px); /* 少し下にずらしておく */
  transition: opacity 0.5s ease-out, transform 0.5s ease-out; /* アニメーションの設定 */
}

.fadein.show {
  opacity: 1;
  transform: translateY(0); /* 元の位置に戻す */
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.inner {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ====== HERO ====== */
.hero {
  position: relative;
  color: #fff;
  background-image: url(../img/hero-bg.png);
  padding-bottom: 290px; /* 下に少し余白を増やす */
  background-size: cover;
  overflow: visible; /* 下方向にはみ出させる */
  z-index: 2;
}

.hero-top {
  padding: 18px 0 40px;
}

.hero-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-logo {
  font-size: 15px;
  letter-spacing: 0.15em;
  color: #f5d28b;
}

.hero-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  font-size: 13px;
  letter-spacing: 0.18em;
}

.hero-main {
  position: relative;
  z-index: 1;
  text-align: left;
  padding: 40px 0 30px;
}

.hero-copy-main {
  font-size: 40px;
  letter-spacing: 0.25em;
  margin-bottom: 12px;
}

.hero-copy-sub {
  font-size: 18px;
  letter-spacing: 0.2em;
  color: #f5d28b;
}

/* ここを書き換え */
.hero-image-wrap {
  position: absolute;
  left: 50%;
  bottom: -360px; /* ヒーローから 80px 下にはみ出す */
  transform: translateX(-50%);
  width: min(90%, 1000px); /* 画像の横幅（お好みで調整） */
  margin-top: 40px; /* 上の見出しとの距離はそのまま */
}

.hero-image-inner {
  margin-top: 30px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.hero-image-inner img {
  width: 100%;
  display: block;
}

@media (max-width: 640px) {
  .hero {
    padding-bottom: 130px;
  }
  .hero-image-wrap {
    bottom: -60px;
    width: 94%;
  }
}
/* ====== COMMON SECTION ====== */
section {
  position: relative;
  z-index: 1;
}

/* ====== Service ====== */
.service {
  padding: 120px 0 140px;
  background: #f7f7f7 url("../img/marble-bg.jpg") center/cover no-repeat;
  text-align: center;
}

.service .section-title-en {
  font-size: 46px;
  letter-spacing: 0.3em;
  color: #aebad3;
}

.service .section-title-ja {
  margin-top: -22px;
  font-size: 25px;
  letter-spacing: 0.25em;
  color: #184287;
}

/* カード全体 */
.service-cards {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.service-card {
  position: relative;
  width: 230px;
  max-width: 100%;
  padding: 26px 24px 28px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

/* 左上の番号 */
.service-card-number {
  position: absolute;
  left: 18px;
  top: 16px;
  font-size: 16px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: #00418d;
}

/* アイコン */
.service-card-icon {
  margin-top: 34px;
  margin-bottom: 18px;
  text-align: center;
}

.service-card-icon img,
.service-card img { /* 念のため img 直置きにも対応 */
  width: 90px; /* アイコンの大きさ */
  height: auto;
  display: inline-block;
}

/* テキスト */
.service-card-title {
  font-size: 15px;
  letter-spacing: 0.16em;
  color: #00418d;
  text-align: center;
}

/* レスポンシブ */
@media (max-width: 960px) {
  .service {
    padding: 80px 0 100px;
  }
  .service-card {
    width: 46%;
  }
}
@media (max-width: 640px) {
  .service-cards {
    gap: 18px;
  }
  .service-card {
    width: 100%;
  }
}
/* ===== Service SP レイアウト ===== */
@media (max-width: 768px) {
  /* カード全体を2列グリッドに */
  .service-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 420px; /* 真ん中にコンパクトに寄せたい場合 */
    margin: 40px auto 0;
  }
  /* 各カード */
  .service-card {
    width: auto; /* 幅指定をリセット */
    padding: 24px 10px 22px;
    border-radius: 14px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    text-align: center;
  }
  /* 番号：中央にドンと表示 */
  .service-card-number {
    position: static; /* absolute を解除 */
    margin: 0 0 14px;
    font-size: 26px;
    letter-spacing: 0.18em;
    text-align: center;
    color: #00418d;
  }
  /* アイコン */
  .service-card-icon {
    margin: 0 auto 14px;
  }
  .service-card-icon img {
    width: 70px; /* 少し小さめに */
    height: auto;
  }
  /* タイトル */
  .service-card-title {
    font-size: 13px;
    letter-spacing: 0.12em;
  }
}
/* ====== Message / 代表あいさつ ====== */
.greeting {
  padding: 120px 0 140px;
  background-color: #0b2c63; /* 紺の背景 */
  color: #ffffff;
}

.greeting-heading {
  text-align: center;
  margin-bottom: 60px;
}

.greeting-title-en {
  font-size: 46px;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.25); /* 少し薄い文字 */
}

.greeting-title-ja {
  margin-top: -16px;
  font-size: 22px;
  letter-spacing: 0.25em;
}

/* 2カラムレイアウト */
.greeting-body {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

/* 左カラム：テキスト */
.greeting-left {
  flex: 1 1 60%;
  font-size: 14px;
  line-height: 2;
}

.greeting-office {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 18px;
}

.greeting-catch {
  font-size: 16px;
  color: #f5d28b; /* キャッチコピーの金色 */
  margin-bottom: 24px;
}

.greeting-text {
  margin-bottom: 16px;
  text-align: justify;
}

/* 右カラム：写真＋経歴 */
.greeting-right {
  flex: 0 0 320px;
  max-width: 320px;
}

.greeting-photo img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  margin-bottom: 24px;
}

/* 経歴リスト */
.greeting-career {
  font-size: 13px;
  line-height: 1.9;
}

.greeting-career div {
  display: flex;
  gap: 12px;
}

.greeting-career dt {
  width: 70px;
  flex-shrink: 0;
}

.greeting-career dd {
  margin: 0;
}

/* ====== レスポンシブ ====== */
@media (max-width: 960px) {
  .greeting {
    padding: 80px 0 100px;
  }
  .greeting-body {
    gap: 40px;
  }
}
@media (max-width: 768px) {
  .greeting-body {
    flex-direction: column;
  }
  .greeting-right {
    max-width: 260px;
    margin: 0 auto;
  }
  .greeting-title-en {
    font-size: 38px;
  }
}
@media (max-width: 480px) {
  .greeting {
    padding: 60px 0 80px;
  }
  .greeting-title-en {
    font-size: 32px;
  }
  .greeting-left {
    font-size: 13px;
  }
}
/* ～768px など、SP用ブレイクポイント内に追加 */
@media (max-width: 768px) {
  .greeting-body {
    display: flex;
    flex-direction: column; /* 縦並び */
    align-items: flex-start;
  }
  /* 写真ブロックを先頭に持ってくる */
  .greeting-right {
    order: -1; /* ← これで写真が上に来る */
    width: 100%;
    max-width: none;
    margin: 0 0 24px;
  }
  .greeting-photo img {
    width: 100%;
    height: auto;
    max-width: 360px; /* 大きさはお好みで */
    margin: 0 auto 24px; /* 中央寄せ＋下に余白 */
    display: block;
  }
  .greeting-left {
    width: 100%;
  }
}
/* ====== About / 事務所紹介 ====== */
.about {
  position: relative;
  padding: 120px 0 140px;
  overflow: hidden;
}

/* 背景：上部薄いグラデ＋下部シルエット画像 */
.about-bg {
  position: absolute;
  inset: 0;
  background: url("../img/about-bg-people.png") center top/cover no-repeat; /* ←画像パスを変更 */
  z-index: 0;
}

.about-inner {
  position: relative;
  z-index: 1;
}

.about-heading {
  text-align: center;
  margin-bottom: 50px;
}

.about-title-en {
  font-size: 48px;
  letter-spacing: 0.25em;
  color: rgba(120, 146, 195, 0.6);
}

.about-title-ja {
  margin-top: -16px;
  font-size: 22px;
  letter-spacing: 0.25em;
  color: #184287;
}

/* 白いパネル */
.about-panel {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 60px;
  background: #F5F5EB;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* リスト2カラム */
.about-list {
  list-style: disc;
  padding-left: 1.4em;
  font-size: 14px;
  line-height: 1.9;
  -moz-column-count: 2;
       column-count: 2;
  -moz-column-gap: 60px;
       column-gap: 60px;
}

.about-list li {
  -moz-column-break-inside: avoid;
       break-inside: avoid;
  margin-bottom: 4px;
}

/* ====== Responsive ====== */
@media (max-width: 960px) {
  .about {
    padding: 90px 0 110px;
  }
  .about-panel {
    padding: 30px 24px;
  }
}
@media (max-width: 768px) {
  .about-list {
    -moz-column-count: 1;
         column-count: 1;
    -moz-column-gap: 0;
         column-gap: 0;
  }
}
@media (max-width: 480px) {
  .about {
    padding: 70px 0 90px;
  }
  .about-title-en {
    font-size: 38px;
  }
  .about-panel {
    padding: 24px 18px;
  }
}
/* ====== History / 事務所沿革 ====== */
.history {
  padding: 110px 0 130px;
  background: #ffffff;
}

.history-heading {
  text-align: center;
  margin-bottom: 60px;
}

.history-title-en {
  font-size: 46px;
  letter-spacing: 0.25em;
  color: rgba(120, 146, 195, 0.55); /* 薄いブルー */
}

.history-title-ja {
  margin-top: -16px;
  font-size: 22px;
  letter-spacing: 0.25em;
  color: #184287;
}

/* 2カラム本体 */
.history-body {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

/* 左テキスト側 */
.history-text {
  flex: 1 1 50%;
  font-size: 14px;
  line-height: 2;
}

.history-label {
  font-size: 16px;
  margin-bottom: 14px;
}

.history-line {
  margin-bottom: 6px;
}

/* 右画像側 */
.history-image {
  flex: 0 0 380px;
  max-width: 100%;
}

.history-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ====== Responsive ====== */
@media (max-width: 960px) {
  .history {
    padding: 80px 0 90px;
  }
  .history-body {
    gap: 40px;
  }
  .history-image {
    flex-basis: 320px;
  }
}
@media (max-width: 768px) {
  .history-body {
    flex-direction: column;
    align-items: center;
  }
  .history-text {
    width: 100%;
  }
  .history-image {
    width: 70%;
  }
}
@media (max-width: 480px) {
  .history-title-en {
    font-size: 34px;
  }
  .history-image {
    width: 100%;
  }
}
/* ====== Footer ====== */
.site-footer {
  position: relative;
  padding: 40px 0 30px;
  text-align: center;
  color: #ffffff;
  background-image: url(../img/footer-bg.png);
  background-size: cover;
}

/* ナビ */
.footer-nav ul {
  list-style: none;
  display: inline-flex;
  gap: 40px;
  font-size: 13px;
  letter-spacing: 0.25em;
  margin-bottom: 26px;
}

.footer-nav a {
  color: #ffffff;
  text-decoration: none;
}

.footer-nav a:hover {
  opacity: 0.8;
}

/* 事務所名 */
.footer-office {
  font-size: 18px;
  letter-spacing: 0.25em;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.7);
}

/* 住所 */
.footer-address {
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.8);
}

/* コピーライト */
.footer-copy {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
}

/* ====== Responsive ====== */
@media (max-width: 768px) {
  .footer-nav ul {
    flex-wrap: wrap;
    gap: 18px;
    font-size: 12px;
  }
  .footer-office {
    font-size: 16px;
  }
  .footer-address {
    font-size: 11px;
  }
}
/* ===== SP ハンバーガー（Hero の外用） ===== */
.sp-menu-btn {
  display: none; /* PC では非表示、SP で後から出す */
  position: fixed; /* 画面に固定 */
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  padding: 0;
  background: rgba(255, 255, 255, 0.96);
  z-index: 1100; /* sp-nav よりも上 */
}

.sp-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  background: #0a2345;
  transition: transform 0.25s, opacity 0.25s;
}

/* 開いた状態のバツ印 */
.sp-menu-btn.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.sp-menu-btn.is-open span:nth-child(2) {
  opacity: 0;
}

.sp-menu-btn.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* SP メニュー本体 */
.sp-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 23, 52, 0.96);
  z-index: 1000; /* ボタンより一段低く */
}

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

.sp-nav li + li {
  margin-top: 24px;
}

.sp-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 0.2em;
}

/* 開いた状態 */
.sp-nav.is-open {
  display: block;
}

/* SP でだけボタンを表示 */
@media (max-width: 768px) {
  .sp-menu-btn {
    display: block;
  }
}
@media (max-width: 768px) {
  /* ヘッダー部分 */
  .hero-top {
    padding: 12px 0;
  }
  .hero-top-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  .hero-logo {
    font-size: 14px;
    letter-spacing: 0.18em;
    color: #f5d28b;
  }
  .hero-nav {
    display: none; /* スマホでは通常ナビを隠す */
  }
  .sp-menu-btn {
    display: block; /* スマホで表示 */
  }
  /* Hero テキスト */
  .hero {
    padding-bottom: 195px; /* 下の余白を少し減らす */
  }
  .hero-main {
    padding: 40px 0 24px;
  }
  .hero-copy-main {
    font-size: 18px;
    line-height: 1.8;
    margin-top: 10px; /* 上からの距離を調整 */
  }
  .hero-copy-sub {
    font-size: 14px;
  }
  /* 握手画像：スマホでは普通に下に並べる */
  .hero-image-wrap {
    position: absolute;
    left: auto;
    bottom: auto;
    transform: none;
    width: 92%;
    margin: 24px auto 0;
    border-top: none;
  }
  .hero-image-inner {
    margin-top: 0;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.35);
  }
}/*# sourceMappingURL=style.css.map */