@charset "UTF-8";

/* =========================================================
   home.css
   - Common HP styles for Japanese / English pages
   - Header / Hamburger menu / Hero / Home guide / Footer
   - Cleaned version: duplicate patches removed
   ========================================================= */

/* ===== Base ===== */
* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #0b1220;
  background: #ffffff;
  overflow-x: hidden;
  overflow-y: auto;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

/* ===== Variables ===== */
:root {
  --navy: #0b1220;
  --navy-2: #111827;
  --gold: #D4AF37;
  --line: rgba(17, 24, 39, .10);
  --soft: rgba(11, 18, 32, .06);
  --header-h: 76px;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 3000;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
  min-height: var(--header-h);
}

/* Brand */
.header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: .02em;
  min-width: 0;
}

.brand__logo {
  height: 52px;
  width: auto;
  display: block;
  flex: 0 0 auto;
}

.header__brand-text {
  font-size: 24px;
  line-height: 1.1;
  white-space: nowrap;
}

/* CSS-only hamburger */
.header__menuCheck {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.header__menuButton {
  display: none;
  width: 44px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.header__menuButton-line {
  display: block;
  width: 28px;
  height: 2px;
  min-height: 2px;
  margin: 4px 0;
  padding: 0;
  background: var(--navy);
  border-radius: 999px;
  opacity: 1;
  visibility: visible;
  transition:
    transform .18s ease,
    opacity .18s ease;
}

/* Menu */
.header__menu {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

/* Nav */
.header__nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__link {
  padding: 10px 14px;
  border-radius: 14px;
  color: var(--navy);
  text-decoration: none;
  font-size: 18px;
  font-weight: 650;
  white-space: nowrap;
  transition:
    background .15s ease,
    transform .15s ease;
}

.header__link:hover {
  background: var(--soft);
  transform: translateY(-1px);
}

/* CTA */
.header__cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 10px;
  flex-wrap: wrap;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition:
    transform .15s ease,
    background .15s ease,
    border-color .15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}

.btn--primary:hover {
  background: #060b14;
  border-color: #060b14;
}

.btn--ghost {
  background: transparent;
}

.btn--ghost:hover {
  background: rgba(212, 175, 55, .12);
  border-color: rgba(212, 175, 55, .35);
}

/* =========================================================
   Hero - top page
   ========================================================= */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0b1220;
  background-image: url("/images/hero3.webp");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .32);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 56px 20px;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .55);
}

.hero__title {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 56px);
  letter-spacing: .02em;
}

.hero__catch {
  margin: 0 0 18px;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 700;
}

.hero__desc {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 1.85;
}

/* =========================================================
   Home guide section - top page
   WEB鑑定 / 個別鑑定 / 無料鑑定 / ブログ
   ========================================================= */
.home-guide {
  padding: 58px 0 66px;
  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #fffdf8 38%,
      #fbf1dc 100%
    );
}

.home-guide__inner {
  max-width: 1040px;
}

.home-guide__head {
  max-width: 880px;
  margin-bottom: 30px;
}

.home-guide__title {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: .03em;
}

.home-guide__lead {
  margin: 0;
  color: rgba(11, 18, 32, .82);
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: .01em;
}

.home-guide__lead + .home-guide__lead {
  margin-top: 14px;
}

.home-guide__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.home-guide__card {
  display: block;
  min-height: 210px;
  padding: 22px 20px;
  color: var(--navy);
  text-decoration: none;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(17, 24, 39, .10);
  box-shadow: 0 10px 24px rgba(11, 18, 32, .06);
  transition:
    transform .15s ease,
    box-shadow .15s ease,
    border-color .15s ease,
    background .15s ease;
}

.home-guide__card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .96);
  border-color: rgba(212, 175, 55, .45);
  box-shadow: 0 14px 30px rgba(11, 18, 32, .09);
}

.home-guide__card--primary {
  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #fff8e4 100%
    );
  border-color: rgba(212, 175, 55, .52);
}

.home-guide__label {
  display: block;
  margin-bottom: 12px;
  color: #b9933f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-guide__card-title {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 850;
  line-height: 1.35;
  letter-spacing: .02em;
}

.home-guide__text {
  margin: 0;
  color: rgba(11, 18, 32, .78);
  font-size: 15px;
  line-height: 1.85;
}

.home-guide__actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.home-guide__actions .btn {
  min-width: 200px;
}

/* =========================================================
   Sub pages
   ========================================================= */
.page {
  padding: 44px 0 80px;
}

.page h1 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(22px, 2.6vw, 34px);
}

.page p {
  margin: 0 0 14px;
  color: rgba(11, 18, 32, .85);
  line-height: 1.9;
}

/* ===== Page Hero shared ===== */
.page-hero {
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: center;
  padding: 42px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, .08),
      rgba(0, 0, 0, .10)
    );
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #ffffff;
}

.page-hero__logo {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .20));
}

/* サブタイトルは使わない運用 */
.page-hero__subtitle {
  display: none;
}

.page-hero__title {
  margin: 0;
  font-size: clamp(50px, 4.5vw, 65px);
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: .02em;
  text-shadow: 0 12px 28px rgba(0, 0, 0, .28);
}

/* =========================================================
   Profile
   ========================================================= */
.profile {
  padding: 26px 0 68px;
}

.profile-page .container {
  max-width: 960px;
}

.profile-head {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 10px 0 26px;
}

.profile-head__logo {
  flex: 0 0 auto;
  width: 108px;
  height: 108px;
  object-fit: contain;
}

.profile-head__text {
  min-width: 0;
}

.profile-head__role,
.profile-head__name {
  margin: 0;
  font-size: clamp(22px, 2.75vw, 28px);
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: .02em;
}

.profile-section {
  margin: 18px 0 22px;
}

.section-title {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .06em;
}

.profile-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 2px;
  color: var(--navy);
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  opacity: .9;
  border-bottom: 1px solid rgba(11, 18, 32, .25);
}

.section-link:hover {
  opacity: 1;
  border-bottom-color: rgba(11, 18, 32, .6);
}

.info-box {
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: 0 10px 24px rgba(11, 18, 32, .06);
}

.info-box__title {
  display: none;
}

.info-box__text {
  color: rgba(11, 18, 32, .86);
  line-height: 1.9;
}

.info-box__text p {
  margin: 0 0 12px;
}

.info-box__text p:last-child {
  margin-bottom: 0;
}

.info-box__list {
  margin: 0;
  padding-left: 1.2em;
  color: rgba(11, 18, 32, .86);
  line-height: 1.9;
}

.info-box__list li {
  margin: 6px 0;
}

.page-actions {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}

/* =========================================================
   Article
   ========================================================= */
.article {
  max-width: 900px;
  padding: 10px 0 30px;
}

.article__title {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 900;
  letter-spacing: .02em;
}

.article__body {
  padding: 20px 22px;
  color: rgba(11, 18, 32, .86);
  line-height: 2;
  background: #ffffff;
  border: 1px solid var(--line);
}

.article__body p {
  margin: 0 0 14px;
}

.article__body p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  padding: 28px 0 12px;
  background: var(--navy);
  color: rgba(255, 255, 255, .92);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: #ffffff;
  text-decoration: none;
}

.footer__logo {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.footer__brand-text {
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
}

.footer__nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer__link {
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .02em;
}

.footer__link:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.footer__cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__btn {
  padding: 10px 16px;
  border-radius: 10px;
}

.footer__bottom {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer__copy {
  display: block;
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
  letter-spacing: .02em;
}

/* =========================================================
   Responsive
   ========================================================= */

/* Header switches to hamburger before it becomes cramped. */
@media (max-width: 1080px) {
  .header__inner {
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
  }

  .header__brand {
    flex: 1 1 auto;
  }

  .brand__logo {
    height: 46px;
  }

  .header__brand-text {
    font-size: 20px;
  }

  .header__menuButton {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
  }

  .header__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    right: auto;
    width: 100vw;
    min-height: calc(100dvh - 64px);
    margin-left: 0;
    padding: 18px 24px 28px;
    overflow-y: auto;
    background: rgba(255, 255, 255, .98);
    border-top: 1px solid rgba(17, 24, 39, .10);
    box-shadow: 0 18px 36px rgba(11, 18, 32, .14);
    transform: translateX(-50%);
    z-index: 3001;
  }

  .header__menuCheck:checked ~ .header__menu {
    display: block;
  }

  .header__menuCheck:checked + .header__menuButton .header__menuButton-line:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }

  .header__menuCheck:checked + .header__menuButton .header__menuButton-line:nth-child(2) {
    opacity: 0;
  }

  .header__menuCheck:checked + .header__menuButton .header__menuButton-line:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  .header__nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .header__link {
    display: block;
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid rgba(17, 24, 39, .08);
    border-radius: 0;
    background: transparent;
    color: var(--navy);
    font-size: 16px;
    text-align: left;
  }

  .header__link:hover {
    transform: none;
    background: rgba(11, 18, 32, .04);
  }

  .header__cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 12px 0 0;
    padding: 0;
  }

  .header__cta .btn {
    justify-content: flex-start;
    width: 100%;
    min-height: 0;
    padding: 14px 0;
    border: none;
    border-bottom: 1px solid rgba(17, 24, 39, .08);
    border-radius: 0;
    background: transparent;
    color: var(--navy);
    box-shadow: none;
    font-size: 16px;
    font-weight: 650;
    text-align: left;
    transform: none;
  }

  .header__cta .btn:hover {
    transform: none;
    background: rgba(11, 18, 32, .04);
  }

  .header__cta .btn--primary {
    background: transparent;
    color: var(--navy);
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 72px;
  }

  .container {
    width: min(100% - 24px, 1100px);
  }

  .header__inner {
    padding: 9px 0;
  }

  .header__brand {
    gap: 8px;
  }

  .brand__logo {
    height: 42px;
  }

  .header__brand-text {
    display: inline;
    font-size: 18px;
    white-space: normal;
  }

  .header__menuButton {
    width: 42px;
    height: 38px;
  }

  .header__menuButton-line {
    width: 26px;
  }

  .header__menu {
    padding: 16px 18px 26px;
    min-height: calc(100dvh - 58px);
  }

  .btn {
    padding: 10px 14px;
    font-size: 14px;
  }

  .hero {
    min-height: 82svh;
    padding: 0;
    display: flex;
    align-items: center;
  }

  .hero__content {
    width: 100%;
    padding: 38px 18px;
    text-align: left;
  }

  .hero__title,
  .hero__catch,
  .hero__desc {
    text-align: left;
  }

  .hero__desc {
    margin-left: 0;
    margin-right: 0;
    font-size: 13px;
    line-height: 1.85;
    letter-spacing: .01em;
  }

  .home-guide {
    padding: 40px 0 48px;
  }

  .home-guide__head {
    margin-bottom: 24px;
  }

  .home-guide__title {
    margin-bottom: 16px;
    font-size: 22px;
    line-height: 1.45;
  }

  .home-guide__lead {
    font-size: 14px;
    line-height: 1.9;
  }

  .home-guide__lead + .home-guide__lead {
    margin-top: 12px;
  }

  .home-guide__cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-guide__card {
    min-height: 0;
    padding: 18px 16px;
  }

  .home-guide__label {
    margin-bottom: 10px;
    font-size: 11px;
  }

  .home-guide__card-title {
    font-size: 18px;
  }

  .home-guide__text {
    font-size: 14px;
    line-height: 1.8;
  }

  .home-guide__actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 24px;
  }

  .home-guide__actions .btn {
    width: 100%;
    min-width: 0;
  }

  .page-hero {
    min-height: 210px;
    padding: 34px 0;
  }

  .page-hero__inner {
    gap: 10px;
  }

  .page-hero__logo {
    width: 46px;
    height: 46px;
  }

  .page-hero__title {
    font-size: clamp(38px, 12vw, 54px);
  }

  .profile-head {
    gap: 14px;
  }

  .profile-head__logo {
    width: 64px;
    height: 64px;
  }

  .profile-section__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-actions {
    justify-content: center;
  }

  .info-box {
    padding: 16px 14px;
  }

  .article__body {
    padding: 18px 14px;
  }

  .site-footer {
    padding: 26px 0 14px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    text-align: left;
  }

  .footer__brand {
    justify-content: flex-start;
  }

  .footer__brand-text {
    white-space: normal;
    text-align: left;
  }

  .footer__nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }

  .footer__link {
    display: inline;
    min-height: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    font-size: 14px;
    line-height: 1.5;
  }

  .footer__cta {
    width: 100%;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 0;
    padding: 0;
  }

  .footer__cta .footer__btn {
    width: auto;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, .82);
    box-shadow: none;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-align: left;
    transform: none;
  }

  .footer__cta .footer__btn:hover {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 6px;
    background: transparent;
    transform: none;
  }

  .footer__bottom {
    text-align: left;
  }
}

@media (max-width: 420px) {
  .header__brand-text {
    font-size: 16px;
  }

  .brand__logo {
    height: 38px;
  }

  .header__menuButton {
    width: 40px;
    height: 36px;
  }

  .hero {
    min-height: 78svh;
  }

  .hero__content {
    padding: 34px 16px;
  }

  .page-hero__title {
    font-size: clamp(32px, 12vw, 46px);
  }

  .footer__logo {
    width: 40px;
    height: 40px;
  }
}