@charset "UTF-8";

/* =========================
   Base
========================= */

:root {
  --color-text: #252321;
  --color-muted: #655f57;
  --color-white: #ffffff;
  --color-bg: #ffffff;
  --color-bg-soft: #fbf8f2;
  --color-border: rgba(138, 106, 47, .22);
  --color-main: #8a6a2f;
  --color-main-dark: #5f4720;
  --color-accent: #b88a35;

  --container: 1120px;
  --container-narrow: 920px;
  --container-wide: 1240px;

  --font-serif:
    "Yu Mincho",
    "YuMincho",
    "Hiragino Mincho ProN",
    "HGS明朝E",
    serif;
  --font-sans:
    "Yu Gothic",
    "YuGothic",
    "Hiragino Kaku Gothic ProN",
    "Meiryo",
    sans-serif;

  --shadow-card:
    0 14px 34px rgba(70, 52, 28, .08);
  --shadow-strong:
    0 24px 60px rgba(0, 0, 0, .12);

  --z-header: 100;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 1.5rem;
  line-height: 1.8;
  letter-spacing: .03em;
  -webkit-text-size-adjust: 100%;
}

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

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

p {
  margin-bottom: 1.1em;
}

/* =========================
   Common Layout
========================= */

.section-inner {
  width: min(90%, var(--container));
  margin-inline: auto;
}

.section-inner--narrow {
  width: min(90%, var(--container-narrow));
}

.section-inner--wide {
  width: min(90%, var(--container-wide));
}

/* =========================
   Header
========================= */

.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  border-bottom: 1px solid rgba(7, 21, 37, .10);
  background: rgba(246, 241, 232, .92);
  backdrop-filter: blur(16px);
}

.header__inner {
  display: flex;
  align-items: center;
  width: min(90%, 1400px);
  height: 64px;
  margin: 0 auto;
}

.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition:
    opacity .25s ease,
    transform .25s ease;
}

.header__logo img {
  width: 170px;
  height: auto;
}



/* =========================
   Breadcrumb
========================= */

.breadcrumb {
  padding:
    12px
    0;
  font-size: 1.22rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li {
  color: #69635b;
  line-height: 1.6;
  list-style: none;
}

.breadcrumb li + li::before {
  content: ">";
  margin-right: 7px;
  color: rgba(95, 90, 82, .62);
}

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



/* =========================
   Article Hero
========================= */

.article-hero {
  padding:
    54px
    0
    46px;
  background:
    linear-gradient(
      180deg,
      #fbf8f2 0%,
      #ffffff 100%
    );
}

.article-hero__content {
  max-width: 820px;
  margin: 0 auto;
}

.article-hero__category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin:
    0
    0
    16px;
  padding:
    6px
    16px;
  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      var(--color-main) 0%,
      var(--color-main-dark) 100%
    );
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .08em;
}

.article-hero h1 {
  margin: 0;
  color: #2f2a24;
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 3.8rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .05em;
}

.article-hero__lead {
  margin:
    22px
    0
    0;
  color: #5d574f;
  font-size: 1.48rem;
  font-weight: 500;
  line-height: 1.95;
  letter-spacing: .04em;
}

.article-hero__meta {
  margin:
    18px
    0
    0;
  color: #7a756e;
  font-size: 1.22rem;
  line-height: 1.6;
}

/* =========================
   Article Layout
========================= */

.article-layout {
  padding:
    42px
    0
    72px;
  background: #ffffff;
}

.article-layout__grid {
  display: block;
}

.article-main {
  min-width: 0;
}

.article-body {
  max-width: 760px;
  margin: 0 auto;
  color: #2f2a24;
}

.article-body > p:first-child {
  font-size: 1.58rem;
  font-weight: 700;
  line-height: 2;
}

.article-body p {
  color: #433d35;
  font-size: 1.48rem;
  line-height: 2;
  letter-spacing: .04em;
}

.article-body h2 {
  margin:
    54px
    0
    20px;
  padding-bottom: 14px;
  color: #2f2a24;
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5.8vw, 2.8rem);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: .05em;
}

.article-body h3 {
  position: relative;
  margin:
    34px
    0
    12px;
  padding-left: 16px;
  color: #352e25;
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: .04em;
}

.article-body h3::before {
  content: "";
  position: absolute;
  top: .55em;
  left: 0;
  width: 5px;
  height: 1.2em;
  background: var(--color-main);
  border-radius: 999px;
}

.article-body a {
  color: var(--color-main-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-body section {
  scroll-margin-top: 90px;
}

/* =========================
   Article Image
========================= */

.article-image {
  max-width: 640px;
  margin:
    38px
    auto
    44px;
}

.article-image img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}

.article-image figcaption {
  margin-top: 10px;
  color: var(--color-muted);
  font-size: 1.25rem;
  line-height: 1.7;
  text-align: center;
}


/* =========================
   Article TOC
========================= */

.article-toc {
  margin:
    34px
    0
    46px;
  padding:
    24px
    20px;
  background:
    linear-gradient(
      135deg,
      #fbf8f2 0%,
      #ffffff 100%
    );
  border: 1px solid var(--color-border);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}

.article-toc__title {
  margin:
    0
    0
    12px;
  color: #2f2a24;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.5;
}

.article-toc ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.4em;
}

.article-toc li {
  color: #5d574f;
  font-size: 1.38rem;
  line-height: 1.7;
}

.article-toc a {
  color: inherit;
  text-decoration: none;
}

/* =========================
   Article CTA
========================= */

.article-cta {
  margin:
    58px
    0;
  padding:
    28px
    22px;
  background:
    linear-gradient(
      135deg,
      #f7f1e5 0%,
      #ffffff 100%
    );
  border: 1px solid rgba(138, 106, 47, .26);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
}

.article-cta__label {
  margin:
    0
    0
    10px;
  color: var(--color-main-dark);
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .14em;
}

.article-cta h2 {
  margin:
    0
    0
    16px;
  padding: 0;
  border: 0;
  color: #2f2a24;
  font-size: clamp(2.15rem, 5.6vw, 2.7rem);
}

.article-cta p {
  margin-bottom: 0;
}

.article-cta__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  margin-top: 22px;
  padding:
    14px
    18px;
  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      var(--color-main) 0%,
      var(--color-main-dark) 100%
    );
  border-radius: 999px;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
  box-shadow:
    0 14px 30px rgba(95, 71, 32, .22);
}

.article-body .article-cta__button {
  color: #ffffff;
  text-decoration: none;
}


/* =========================
   Article FAQ
========================= */

.article-faq {
  margin-top: 58px;
}

.article-faq__list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.article-faq details {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow:
    0 10px 24px rgba(70, 52, 28, .06);
  overflow: hidden;
}

.article-faq summary {
  position: relative;
  padding:
    18px
    46px
    18px
    18px;
  color: #2f2a24;
  font-weight: 700;
  line-height: 1.7;
  cursor: pointer;
  list-style: none;
}

.article-faq summary::-webkit-details-marker {
  display: none;
}

.article-faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 18px;
  color: var(--color-main-dark);
  font-size: 2rem;
  font-weight: 700;
  transform: translateY(-50%);
}

.article-faq details[open] summary::after {
  content: "−";
}

.article-faq details > div {
  padding:
    0
    18px
    18px;
}

.article-faq details p {
  margin: 0;
}

/* =========================
   Article Side
========================= */

.article-side {
  max-width: 760px;
  margin:
    46px
    auto
    0;
}

.article-side__box {
  padding:
    22px
    20px;
  background: #fbf8f2;
  border: 1px solid var(--color-border);
  border-radius: 18px;
}

.article-side__title {
  margin:
    0
    0
    12px;
  color: #2f2a24;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
}

.article-side ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.2em;
}

.article-side li {
  color: #5d574f;
  font-size: 1.4rem;
  line-height: 1.7;
}

.article-side a {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}



/* =========================
   Footer
========================= */

.footer {
  padding:
    54px
    0
    30px;
  color: #ffffff;
  background:
    linear-gradient(
      180deg,
      #0f1317 0%,
      #171b20 100%
    );
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  width: min(88%, 720px);
  margin: 0 auto;
}

.footer__logo-link {
  display: inline-block;
  color: inherit;
  transition:
    opacity .3s ease,
    transform .3s ease,
    text-shadow .3s ease;
}

.footer__logo {
  margin-bottom: 18px;
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: 2.35rem;
  line-height: 1.6;
  letter-spacing: .08em;
}

.footer__lead {
  max-width: 520px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, .72);
  font-size: 1.4rem;
  line-height: 2;
}

.footer__contact p {
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: 1.35rem;
  line-height: 2;
}

.footer__nav-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__sns {
  display: flex;
  gap: 18px;
  margin-bottom: 26px;
}

.footer__sns a {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  transition:
    transform .2s ease,
    background .2s ease;
}

.footer__sns img {
  width: 25px;
  height: auto;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap:
    12px
    16px;
}

.footer__nav a {
  color: rgba(255, 255, 255, .78);
  font-size: 1.32rem;
  transition: color .2s ease;
}

.footer__copy {
  display: block;
  margin-top: 42px;
  color: rgba(255, 255, 255, .42);
  font-size: 1.1rem;
  letter-spacing: .06em;
  text-align: center;
}


/* =========================
   Page Top
========================= */

.page-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  background:
    linear-gradient(
      135deg,
      var(--color-main) 0%,
      var(--color-main-dark) 100%
    );
  border: 0;
  border-radius: 999px;
  box-shadow:
    0 12px 26px rgba(0, 0, 0, .18);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity .25s ease,
    transform .25s ease;
}

.page-top.is-show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.page-top span {
  display: block;
  width: 12px;
  height: 12px;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  transform: translateY(3px) rotate(45deg);
}


/* =========================
   Focus
========================= */

a:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 4px;
}


/* =========================
   PC
========================= */

@media (min-width: 768px) {
  body {
    font-size: 1.6rem;
  }

  .section-inner {
    width: min(92%, var(--container));
  }

  .section-inner--narrow {
    width: min(100% - 48px, var(--container-narrow));
  }

  .section-inner--wide {
    width: min(92%, var(--container-wide));
  }

  .header__inner {
    width: min(100% - 80px, 1400px);
    height: 90px;
  }

  .header__logo:hover {
    opacity: .78;
    transform: translateY(-1px);
  }

  .header__logo img {
    width: 220px;
  }

  .breadcrumb {
    padding:
      clamp(9px, 1vw, 14px)
      0;
    font-size: clamp(1.45rem, 1vw, 1.56rem);
  }

  .breadcrumb ol {
    gap: 10px;
  }

  .breadcrumb li + li::before {
    margin-right: 10px;
  }
    
    
  /* =========================
     Article PC
  ========================= */

  .article-hero {
    padding:
      72px
      0
      58px;
  }

  .article-hero__content {
    max-width: 900px;
  }

  .article-hero__category {
    margin-bottom: 18px;
    padding:
      8px
      20px;
    font-size: 1.35rem;
  }

  .article-hero h1 {
    font-size: 4rem;
    line-height: 1.45;
  }

  .article-hero__lead {
    max-width: 760px;
    margin-top: 24px;
    font-size: 1.65rem;
    line-height: 2;
  }

  .article-hero__meta {
    margin-top: 20px;
    font-size: 1.35rem;
  }

  .article-layout {
    padding:
      64px
      0
      96px;
  }

  .article-layout__grid {
    display: grid;
    grid-template-columns:
      minmax(0, 760px)
      280px;
    align-items: start;
    justify-content: center;
    gap: 56px;
  }

  .article-body {
    max-width: none;
    margin: 0;
  }

  .article-body > p:first-child {
    font-size: 1.72rem;
  }

  .article-body p {
    font-size: 1.6rem;
    line-height: 2.05;
  }

  .article-body h2 {
    margin-top: 68px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    font-size: 3rem;
  }

  .article-body h3 {
    margin-top: 38px;
    margin-bottom: 14px;
    font-size: 2.15rem;
  }

  .article-body section {
    scroll-margin-top: 120px;
  }

  .article-image {
    margin:
      46px
      auto
      54px;
  }

  .article-image img {
    border-radius: 22px;
  }

  .article-image figcaption {
    margin-top: 12px;
    font-size: 1.35rem;
  }
    
  .article-toc {
    margin:
      42px
      0
      56px;
    padding:
      30px
      32px;
    border-radius: 22px;
  }

  .article-toc__title {
    margin-bottom: 16px;
    font-size: 1.95rem;
  }

  .article-toc ol {
    gap: 10px;
  }

  .article-toc li {
    font-size: 1.48rem;
  }

  .article-toc a:hover {
    color: var(--color-main-dark);
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  .article-cta {
    margin:
      72px
      0;
    padding:
      38px
      40px;
    border-radius: 26px;
  }

  .article-cta__label {
    font-size: 1.25rem;
  }

  .article-cta h2 {
    font-size: 2.8rem;
  }

  .article-cta__button {
    width: fit-content;
    min-width: 320px;
    min-height: 60px;
    margin-top: 26px;
    padding:
      15px
      32px;
    font-size: 1.55rem;
    transition:
      transform .25s ease,
      box-shadow .25s ease,
      opacity .2s ease;
  }

  .article-cta__button:hover {
    transform: translateY(-2px);
    box-shadow:
      0 18px 38px rgba(95, 71, 32, .26);
    opacity: .92;
  }

  .article-faq {
    margin-top: 72px;
  }

  .article-faq__list {
    gap: 16px;
    margin-top: 26px;
  }

  .article-faq summary {
    padding:
      20px
      54px
      20px
      22px;
    font-size: 1.55rem;
  }

  .article-faq summary::after {
    right: 22px;
  }

  .article-faq details > div {
    padding:
      0
      22px
      22px;
  }

  .article-side {
    position: sticky;
    top: 124px;
    max-width: none;
    margin: 0;
  }

  .article-side__box {
    padding:
      24px
      22px;
    border-radius: 20px;
  }

  .article-side__title {
    font-size: 1.85rem;
  }

  .article-side li {
    font-size: 1.42rem;
  }

  .article-side a:hover {
    color: var(--color-main-dark);
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  .page-top {
    right: 28px;
    bottom: 28px;
    width: 54px;
    height: 54px;
    transition:
      opacity .25s ease,
      transform .25s ease,
      background .25s ease;
  }

  .page-top.is-show:hover {
    transform: translateY(-3px);
  }

  .page-top span {
    width: 14px;
    height: 14px;
  }

  .footer {
    padding:
      clamp(64px, 7vw, 92px)
      0
      clamp(28px, 3vw, 40px);
  }

  .footer__inner {
    grid-template-columns:
      1.1fr
      .9fr;
    gap: clamp(36px, 3vw, 56px);
    width: min(88%, var(--container));
  }

  .footer__logo-link:hover {
    opacity: .72;
    transform: translateY(-2px);
    text-shadow:
      0 0 8px rgba(255, 255, 255, .18),
      0 0 18px rgba(255, 255, 255, .14);
  }

  .footer__logo {
    margin-bottom: 24px;
    font-size: clamp(2.4rem, 2vw, 3.2rem);
  }

  .footer__lead {
    margin-bottom: 32px;
    font-size: 1.5rem;
  }

  .footer__contact p {
    font-size: 1.45rem;
  }

  .footer__nav-wrap {
    align-items: flex-end;
  }

  .footer__sns {
    margin-bottom: 34px;
  }

  .footer__sns a:hover {
    background: rgba(255, 255, 255, .12);
    transform: translateY(-2px);
  }

  .footer__nav {
    justify-content: flex-end;
    gap:
      14px
      18px;
    max-width: 460px;
  }

  .footer__nav a {
    font-size: 1.4rem;
  }

  .footer__nav a:hover {
    color: #ffffff;
  }

  .footer__copy {
    margin-top: 64px;
    font-size: 1.2rem;
  }
}