/* =========================================================
   株式会社GRANT — Refined Corporate Design
   ========================================================= */
:root {
  --navy: #0b1a33;
  --navy-2: #12264a;
  --blue: #1e3a8a;
  --blue-bright: #2749c9;
  --gold: #c9a86a;
  --gold-light: #e2cfa4;
  --ink: #1c2430;
  --gray: #5d6b7c;
  --line: #dfe4ec;
  --bg-soft: #f6f8fb;
  --white: #ffffff;
  --font-serif: "Shippori Mincho B1", serif;
  --font-sans: "Noto Sans JP", sans-serif;
  --font-en: "Cormorant Garamond", serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  line-height: 1.9;
  font-weight: 400;
  letter-spacing: 0.04em;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 120px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 16px 44px;
  font-size: 15px;
  letter-spacing: 0.12em;
  border-radius: 999px;
  transition: all .35s ease;
  font-weight: 500;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, #b08d4f 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(176, 141, 79, .35);
}
.btn--gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(176, 141, 79, .45);
}
.btn--ghost {
  border: 1px solid rgba(255,255,255,.6);
  color: #fff;
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.btn--lg { padding: 20px 60px; font-size: 16px; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .4s ease, box-shadow .4s ease;
  background: transparent;
}
.header.is-scrolled,
.header.is-solid {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(11, 26, 51, .08);
}
.header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header.is-scrolled .header__inner { height: 70px; }

/* ロゴ：ヒーロー写真の上では白版、白ヘッダーではブランドカラー版をクロスフェード */
.header__logo {
  display: flex;
  align-items: center;
  gap: 15px;
  transition: opacity .35s ease;
}
.header__logo:hover { opacity: .78; }
.header__logo-imgs {
  position: relative;
  display: block;
  height: 52px;
  transition: height .4s ease;
}
.header__logo-img {
  height: 100%;
  width: auto;
  transition: opacity .45s ease;
}
.header__logo-img--hero {
  /* 明るい写真の上でも輪郭が飛ばないよう、ごく薄い影を添える */
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .45));
}
.header__logo-img--solid {
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
}
.header.is-scrolled .header__logo-imgs { height: 44px; }
.header.is-scrolled .header__logo-img--hero,
.header.is-solid .header__logo-img--hero { opacity: 0; }
.header.is-scrolled .header__logo-img--solid,
.header.is-solid .header__logo-img--solid { opacity: 1; }

/* ロゴ脇のタグライン */
.header__logo-tag {
  display: flex;
  flex-direction: column;
  padding-left: 15px;
  border-left: 1px solid rgba(255, 255, 255, .32);
  font-family: var(--font-en);
  font-size: 10.5px;
  line-height: 1.7;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  white-space: nowrap;
  transition: color .4s ease, border-color .4s ease;
}
.header.is-scrolled .header__logo-tag,
.header.is-solid .header__logo-tag {
  color: var(--gray);
  border-left-color: var(--line);
}

.gnav { display: flex; align-items: center; gap: 40px; }
.gnav ul { display: flex; gap: 34px; }
.gnav li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.4;
  position: relative;
  padding: 6px 2px;
  color: #fff;
  transition: color .4s ease;
}
.header.is-scrolled .gnav li a,
.header.is-solid .gnav li a { color: var(--navy); }
.gnav li a .en {
  font-family: var(--font-en);
  font-size: 15px;
  letter-spacing: 0.18em;
  font-weight: 500;
}
.gnav li a .ja { font-size: 11px; opacity: .65; }
.gnav li a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -2px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: all .35s ease;
  transform: translateX(-50%);
}
.gnav li a:hover::after { width: 100%; }
.gnav__cta {
  padding: 12px 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold) 0%, #b08d4f 100%);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.1em;
  transition: all .35s ease;
  box-shadow: 0 6px 18px rgba(176, 141, 79, .3);
}
.gnav__cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(176, 141, 79, .4); }

.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg, .hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__bg img { animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 18, 38, .88) 0%, rgba(11, 26, 51, .55) 55%, rgba(11, 26, 51, .25) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  color: #fff;
}
.hero__sub {
  font-family: var(--font-en);
  font-size: 18px;
  letter-spacing: 0.35em;
  color: var(--gold-light);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.hero__sub::before {
  content: "";
  width: 56px; height: 1px;
  background: var(--gold);
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5.2vw, 62px);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.08em;
  margin-bottom: 30px;
  text-shadow: 0 4px 30px rgba(0,0,0,.35);
}
.hero__title span { display: block; }
.hero__lead {
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 2.2;
  color: rgba(255,255,255,.88);
  margin-bottom: 44px;
}
.hero__actions { display: flex; gap: 18px; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  bottom: 0; right: 48px;
  z-index: 2;
  color: rgba(255,255,255,.7);
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.3em;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 110px;
}
.hero__scroll::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  width: 1px; height: 90px;
  background: rgba(255,255,255,.35);
  overflow: hidden;
}
.hero__scroll::before {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  width: 1px; height: 90px;
  background: var(--gold);
  animation: scrollLine 2.2s ease-in-out infinite;
  z-index: 1;
}
@keyframes scrollLine {
  0% { transform: translateY(-100%); }
  55% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* Hero entrance animation */
.is-animate {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 1.1s cubic-bezier(.22,.61,.36,1) forwards;
}
.hero__sub.is-animate { animation-delay: .3s; }
.hero__title.is-animate { animation-delay: .55s; }
.hero__lead.is-animate { animation-delay: .85s; }
.hero__actions.is-animate { animation-delay: 1.1s; }
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Section head ---------- */
.section-head { text-align: center; margin-bottom: 72px; }
.section-head__en {
  font-family: var(--font-en);
  font-size: 15px;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 500;
}
.section-head__ja {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 24px;
}
.section-head__ja::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 48px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.section-head__lead { color: var(--gray); font-size: 15px; }
.section-head--white .section-head__ja { color: #fff; }

/* ---------- About ---------- */
.about {
  position: relative;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(201, 168, 106, .07), transparent 60%),
    var(--white);
}
.about__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.about-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 56px 36px 44px;
  text-align: center;
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
  overflow: hidden;
}
.about-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--blue-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s ease;
}
.about-card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(11,26,51,.1); border-color: transparent; }
.about-card:hover::before { transform: scaleX(1); }
.about-card__num {
  position: absolute;
  top: 14px; right: 22px;
  font-family: var(--font-en);
  font-size: 54px;
  color: rgba(11, 26, 51, .06);
  font-weight: 500;
  line-height: 1;
}
.about-card__icon {
  width: 72px; height: 72px;
  margin: 0 auto 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.about-card__icon svg { width: 34px; height: 34px; }
.about-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}
.about-card p:last-child { font-size: 14px; color: var(--gray); text-align: left; }

/* ---------- Service ---------- */
.service {
  background:
    linear-gradient(180deg, var(--bg-soft) 0%, #eef2f8 100%);
  position: relative;
}
.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(11, 26, 51, .07);
  margin-bottom: 56px;
}
.service-item:last-child { margin-bottom: 0; }
.service-item--reverse .service-item__img { order: 2; }
.service-item--reverse .service-item__body { order: 1; }
.service-item__img {
  position: relative;
  height: 100%;
  min-height: 340px;
}
.service-item__img img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.service-item:hover .service-item__img img { transform: scale(1.05); }
.service-item__num {
  position: absolute;
  top: 20px; left: 24px;
  font-family: var(--font-en);
  font-size: 44px;
  color: #fff;
  line-height: 1;
  text-shadow: 0 2px 16px rgba(0,0,0,.4);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 6px;
}
.service-item--reverse .service-item__num { left: auto; right: 24px; }
.service-item__body { padding: 56px 60px; }
.service-item__en {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.24em;
  color: var(--gold);
  margin-bottom: 8px;
}
.service-item__body h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--navy);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.service-item__body > p { font-size: 15px; color: var(--gray); margin-bottom: 24px; }
.service-item__tags { display: flex; flex-wrap: wrap; gap: 10px; }
.service-item__tags li {
  font-size: 12.5px;
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy-2);
  background: var(--bg-soft);
  letter-spacing: 0.05em;
}

/* ---------- Philosophy ---------- */
.philosophy {
  position: relative;
  padding: 160px 0;
  overflow: hidden;
  color: #fff;
  text-align: center;
}
.philosophy__bg, .philosophy__bg img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.philosophy__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 38, .92), rgba(18, 38, 74, .82));
}
.philosophy__inner { position: relative; z-index: 2; }
.philosophy .section-head { margin-bottom: 48px; }
.philosophy__copy {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.6vw, 52px);
  letter-spacing: 0.22em;
  font-weight: 600;
  margin-bottom: 36px;
  text-shadow: 0 4px 30px rgba(0,0,0,.4);
}
.philosophy__text {
  font-size: 15px;
  line-height: 2.4;
  color: rgba(255,255,255,.85);
}

/* ---------- Message ---------- */
.message { background: var(--white); }
.message__grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 72px;
  align-items: center;
}
.message__img {
  position: relative;
}
.message__img::before {
  content: "";
  position: absolute;
  top: 24px; left: -24px;
  width: 100%; height: 100%;
  border: 1px solid var(--gold);
  border-radius: 4px;
  z-index: 0;
}
.message__img img {
  position: relative;
  z-index: 1;
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(11,26,51,.15);
}
.message__body .section-head__en { margin-bottom: 10px; }
.message__body .section-head__ja {
  text-align: left;
  padding-bottom: 20px;
  margin-bottom: 32px;
}
.message__body .section-head__ja::after { left: 0; transform: none; }
.message__text { font-size: 15px; color: var(--gray); margin-bottom: 20px; }
.message__sign {
  margin-top: 32px;
  font-size: 14px;
  color: var(--gray);
  display: flex;
  align-items: baseline;
  gap: 18px;
}
.message__sign strong {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--navy);
  letter-spacing: 0.15em;
  font-weight: 600;
}

/* ---------- Company ---------- */
.company { background: var(--bg-soft); }
.company__table {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(11,26,51,.06);
  padding: 24px 56px;
}
.company__table dl {
  display: grid;
  grid-template-columns: 200px 1fr;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.company__table dl:last-child { border-bottom: none; }
.company__table dt {
  font-family: var(--font-serif);
  color: var(--navy);
  font-weight: 600;
  letter-spacing: 0.1em;
  position: relative;
  padding-left: 20px;
}
.company__table dt::before {
  content: "";
  position: absolute;
  left: 0; top: 0.85em;
  width: 8px; height: 1px;
  background: var(--gold);
}
.company__table dd { color: var(--gray); font-size: 15px; }

/* ---------- News ---------- */
.news { background: var(--white); }
.news__list {
  max-width: 860px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.news__item {
  display: grid;
  grid-template-columns: 130px 110px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 26px 12px;
  border-bottom: 1px solid var(--line);
  transition: background .3s ease;
}
.news__item:hover { background: var(--bg-soft); }
.news__date {
  font-family: var(--font-en);
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--gray);
}
.news__cat {
  font-size: 11.5px;
  text-align: center;
  padding: 4px 10px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: #a5834a;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.news__title-text {
  font-size: 15px;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.news__arrow {
  color: var(--gold);
  font-family: var(--font-en);
  transition: transform .3s ease;
}
.news__item:hover .news__arrow { transform: translateX(6px); }
.news__empty {
  text-align: center;
  color: var(--gray);
  padding: 32px 0;
}
.news__more { text-align: center; margin-top: 40px; }
.news__more a {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  padding: 4px 8px;
  transition: opacity .3s ease;
}
.news__more a:hover { opacity: .6; }

/* ---------- Contact ---------- */
.contact {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
  text-align: center;
  color: #fff;
}
.contact__bg, .contact__bg img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.contact__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 18, 38, .94), rgba(30, 58, 138, .82));
}
.contact__inner { position: relative; z-index: 2; }
.contact__title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: 0.12em;
  margin: 8px 0 24px;
  font-weight: 600;
}
.contact__lead {
  color: rgba(255,255,255,.85);
  font-size: 15px;
  margin-bottom: 48px;
}
.contact__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.contact__tel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: opacity .3s ease;
}
.contact__tel:hover { opacity: .8; }
.contact__tel-label {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--gold-light);
}
.contact__tel-num {
  font-family: var(--font-en);
  font-size: 34px;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: rgba(255,255,255,.75);
  padding: 72px 0 0;
}
/* ロゴマークを大きく薄く敷いてブランドの余韻を残す */
.footer::before {
  content: "";
  position: absolute;
  top: -90px; right: -90px;
  width: 380px; height: 380px;
  background: url(../img/logo-mark.png) no-repeat center / contain;
  filter: brightness(0) invert(1);
  opacity: .042;
  pointer-events: none;
}
.footer__inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 56px;
}
.footer__logo {
  height: 54px;
  width: auto;
  margin-bottom: 22px;
  opacity: .95;
}
.footer__info p { font-size: 13.5px; line-height: 2; }
.footer__nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.footer__nav a {
  font-size: 14px;
  position: relative;
  padding-bottom: 2px;
  transition: color .3s ease;
}
.footer__nav a:hover { color: var(--gold-light); }
.footer__copy {
  border-top: 1px solid rgba(255,255,255,.12);
  text-align: center;
  padding: 22px 0;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,.45);
  font-family: var(--font-en);
}

/* ---------- To top ---------- */
.to-top {
  position: fixed;
  right: 28px; bottom: 28px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 8px 24px rgba(11,26,51,.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .4s ease;
  z-index: 90;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--blue); }

/* ---------- Sub pages (WordPress) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, var(--blue) 100%);
  padding: 170px 0 76px;
  color: #fff;
  text-align: center;
}
.page-hero__en {
  font-family: var(--font-en);
  font-size: 15px;
  letter-spacing: 0.4em;
  color: var(--gold-light);
  margin-bottom: 8px;
}
.page-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 600;
  letter-spacing: 0.12em;
}
.page-content { padding: 90px 0 130px; }
.entry-content { max-width: 860px; margin: 0 auto; }
.entry-content h2 {
  font-family: var(--font-serif);
  color: var(--navy);
  font-size: 26px;
  letter-spacing: 0.08em;
  margin: 56px 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.entry-content h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 64px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.entry-content h3 {
  font-family: var(--font-serif);
  color: var(--navy);
  font-size: 20px;
  margin: 36px 0 16px;
}
.entry-content p { margin-bottom: 1.4em; color: var(--ink); }
.entry-content img { border-radius: 4px; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 14px 18px; text-align: left; }
.entry-content th { background: var(--bg-soft); font-family: var(--font-serif); color: var(--navy); white-space: nowrap; }
.entry-content input[type="text"],
.entry-content input[type="email"],
.entry-content input[type="tel"],
.entry-content input[type="url"],
.entry-content select,
.entry-content textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-soft);
  font: inherit;
  letter-spacing: inherit;
  transition: border-color .3s ease, background .3s ease;
}
.entry-content input:focus,
.entry-content textarea:focus,
.entry-content select:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}
.entry-content input[type="submit"],
.entry-content button[type="submit"] {
  display: inline-block;
  padding: 16px 56px;
  font-size: 15px;
  letter-spacing: 0.12em;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, var(--gold) 0%, #b08d4f 100%);
  box-shadow: 0 8px 24px rgba(176, 141, 79, .35);
  transition: all .35s ease;
  font-family: inherit;
}
.entry-content input[type="submit"]:hover,
.entry-content button[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(176, 141, 79, .45);
}

/* ---------- Scroll fade-up ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s cubic-bezier(.22,.61,.36,1), transform 1s cubic-bezier(.22,.61,.36,1);
}
.fade-up.is-inview { opacity: 1; transform: translateY(0); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .gnav ul { gap: 22px; }
  .message__grid { gap: 48px; }
}

@media (max-width: 860px) {
  .section { padding: 80px 0; }
  html { scroll-padding-top: 70px; }

  /* Header / mobile menu */
  .header { background: rgba(255,255,255,.94); backdrop-filter: blur(12px); box-shadow: 0 2px 20px rgba(11,26,51,.08); }
  .header__inner { height: 66px; }
  /* モバイルはヘッダーが常に白背景のため、カラー版ロゴを固定表示 */
  .header__logo-imgs,
  .header.is-scrolled .header__logo-imgs { height: 36px; }
  .header__logo-img--hero { opacity: 0; }
  .header__logo-img--solid { opacity: 1; }
  .header__logo-tag { display: none; }
  .footer__logo { height: 42px; }
  .footer::before { width: 240px; height: 240px; top: -50px; right: -60px; }
  .menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px; height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 110;
    align-items: center;
  }
  .menu-btn span {
    display: block;
    width: 26px; height: 2px;
    background: var(--navy);
    transition: all .35s ease;
  }
  .menu-btn.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-btn.is-open span:nth-child(2) { opacity: 0; }
  .menu-btn.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .gnav {
    position: fixed;
    inset: 0;
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s ease, visibility .4s ease;
  }
  .gnav.is-open { opacity: 1; visibility: visible; }
  .gnav ul { flex-direction: column; align-items: center; gap: 28px; }
  .gnav li a { color: #fff !important; }
  .gnav li a .en { font-size: 20px; }
  .gnav li a .ja { font-size: 12px; }

  /* Hero */
  .hero { min-height: 560px; }
  .hero__scroll { right: 20px; }

  /* Grids */
  .about__grid { grid-template-columns: 1fr; gap: 24px; }
  .service-item { grid-template-columns: 1fr; }
  .service-item--reverse .service-item__img { order: 0; }
  .service-item--reverse .service-item__body { order: 1; }
  .service-item__img { min-height: 240px; }
  .service-item__body { padding: 36px 28px; }
  .message__grid { grid-template-columns: 1fr; gap: 56px; }
  .message__img::before { top: 16px; left: 16px; }
  .message__body .section-head__ja { text-align: left; }

  .company__table { padding: 8px 24px; }
  .company__table dl { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }

  .news__item { grid-template-columns: auto auto 1fr; gap: 12px 16px; padding: 20px 8px; }
  .news__title-text { grid-column: 1 / -1; white-space: normal; }
  .news__arrow { display: none; }

  .contact__actions { flex-direction: column; gap: 28px; }
  .footer__inner { flex-direction: column; }
  .pc-only { display: none; }
}
