@charset "UTF-8";

/* =========================
  基本設定
========================= */
:root {
  --color-olive: #6f7d4f;
  --color-dark-olive: #4e5a35;
  --color-brown: #9a6b43;
  --color-dark-brown: #3b332a;
  --color-ivory: #f7f1e5;
  --color-light: #fffaf0;
  --color-mustard: #d9a441;
  --color-white: #ffffff;
  --color-line: #e2d8c8;

  --font-main: "Noto Sans JP", sans-serif;
  --font-heading: "Zen Maru Gothic", sans-serif;
  --font-logo: "Shippori Mincho", serif;

  --shadow-soft: 0 15px 35px rgba(59, 51, 42, 0.12);
  --radius-large: 28px;
  --radius-medium: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--color-dark-brown);
  background: var(--color-ivory);
  line-height: 1.8;
}

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

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

button,
input,
select,
textarea {
  font-family: inherit;
}

.section {
  position: relative;
  padding: 96px 24px;
  scroll-margin-top: 82px;
  overflow: visible;
}

.section-inner {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  z-index: 3;
  pointer-events: none;
}

.about::after,
.recommend::after,
.faq::after,
.access::after {
  content: "";
  position: absolute;
  top: -54px;
  left: 0;
  right: 0;
  z-index: 1;
  height: 54px;
  pointer-events: none;
  background: inherit;
  background-position: inherit;
  background-size: inherit;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201440%20120'%20preserveAspectRatio='none'%3E%3Cpath%20fill='black'%20d='M0%2C66%20C160%2C118%20292%2C14%20458%2C58%20C624%2C102%20710%2C124%20882%2C70%20C1054%2C16%201182%2C20%201440%2C74%20L1440%2C120%20L0%2C120%20Z'/%3E%3C/svg%3E") top / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201440%20120'%20preserveAspectRatio='none'%3E%3Cpath%20fill='black'%20d='M0%2C66%20C160%2C118%20292%2C14%20458%2C58%20C624%2C102%20710%2C124%20882%2C70%20C1054%2C16%201182%2C20%201440%2C74%20L1440%2C120%20L0%2C120%20Z'/%3E%3C/svg%3E") top / 100% 100% no-repeat;
  filter: drop-shadow(0 -1px 0 rgba(154, 107, 67, 0.12));
}

.about::before,
.recommend::before,
.faq::before {
  left: clamp(28px, 8vw, 112px);
  width: 20px;
  height: 64px;
  background: linear-gradient(180deg, rgba(111, 125, 79, 0.58), rgba(111, 125, 79, 0.22));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
}

.recommend::before {
  left: auto;
  right: clamp(28px, 8vw, 112px);
  background: linear-gradient(180deg, rgba(217, 164, 65, 0.58), rgba(217, 164, 65, 0.22));
}

.faq::before {
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(154, 107, 67, 0.5), rgba(154, 107, 67, 0.2));
}

.service::before,
.voice::before,
.recruit::before {
  left: 0;
  right: 0;
  height: 22px;
  background:
    linear-gradient(rgba(255, 250, 240, 0.38), rgba(255, 250, 240, 0.38)),
    repeating-linear-gradient(
      90deg,
      rgba(111, 125, 79, 0.44) 0 14px,
      rgba(154, 107, 67, 0.36) 14px 24px,
      rgba(217, 164, 65, 0.38) 24px 34px,
      rgba(247, 241, 229, 0.7) 34px 40px
    );
  border-top: 1px solid rgba(154, 107, 67, 0.12);
  border-bottom: 1px solid rgba(154, 107, 67, 0.12);
}

.recruit::before {
  background:
    linear-gradient(rgba(78, 90, 53, 0.32), rgba(78, 90, 53, 0.32)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.48) 0 14px,
      rgba(217, 164, 65, 0.36) 14px 24px,
      rgba(255, 250, 240, 0.34) 24px 34px,
      rgba(78, 90, 53, 0.26) 34px 40px
    );
  border-color: rgba(255, 255, 255, 0.2);
}

.student::before,
.gallery::before,
.news::before {
  left: 0;
  right: 0;
  height: 24px;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0 8px,
      rgba(111, 125, 79, 0.15) 8px 9px,
      transparent 9px 16px
    ),
    linear-gradient(90deg, transparent 0 10%, rgba(154, 107, 67, 0.18) 10% 10.2%, transparent 10.2%);
}

.contact::before {
  left: 50%;
  width: min(72vw, 520px);
  height: 30px;
  transform: translateX(-50%);
  border: 1px dashed rgba(154, 107, 67, 0.38);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  background:
    radial-gradient(circle at 18px 14px, rgba(154, 107, 67, 0.24) 0 2px, transparent 3px),
    linear-gradient(180deg, rgba(255, 250, 240, 0.88), rgba(255, 250, 240, 0));
  background-size: 44px 24px, auto;
}

.about::before,
.recommend::before,
.faq::before,
.access::before {
  display: none;
}

.section-label {
  margin: 0 0 8px;
  color: var(--color-olive);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.5;
}

h1 {
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 72px);
  color: var(--color-dark-olive);
  letter-spacing: 0.04em;
}

h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  color: var(--color-dark-olive);
}

h3 {
  font-family: var(--font-heading);
  color: var(--color-dark-brown);
}

.center {
  text-align: center;
}

.section-heading {
  margin-bottom: 40px;
}

.section-heading.center {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 180px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.3s ease;
  border: none;
  cursor: pointer;
}

.primary-button {
  color: var(--color-white);
  background: var(--color-olive);
  box-shadow: 0 8px 20px rgba(111, 125, 79, 0.25);
}

.primary-button:hover {
  background: var(--color-dark-olive);
  transform: translateY(-3px);
}

.secondary-button {
  color: var(--color-dark-olive);
  background: var(--color-white);
  border: 1px solid var(--color-olive);
}

.secondary-button:hover {
  background: #eef2df;
  transform: translateY(-3px);
}

.text-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--color-olive);
  font-weight: 700;
  border-bottom: 2px solid var(--color-olive);
}

.text-link:hover {
  color: var(--color-dark-olive);
}

/* =========================
  ヘッダー
========================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 241, 229, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(154, 107, 67, 0.12);
}

.header::after {
  content: "";
  display: block;
  height: 10px;
  background:
    linear-gradient(rgba(255, 250, 240, 0.46), rgba(255, 250, 240, 0.46)),
    repeating-linear-gradient(
      90deg,
      rgba(111, 125, 79, 0.36) 0 12px,
      rgba(154, 107, 67, 0.28) 12px 22px,
      rgba(217, 164, 65, 0.28) 22px 32px,
      rgba(247, 241, 229, 0.8) 32px 38px
    );
  border-top: 1px solid rgba(154, 107, 67, 0.08);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.3;
}

.logo-main {
  font-family: var(--font-logo);
  font-size: 26px;
  font-weight: 700;
  color: var(--color-dark-olive);
}

.logo-sub {
  font-size: 12px;
  color: var(--color-brown);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  transition: 0.3s ease;
}

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

.nav-contact {
  padding: 10px 18px;
  color: var(--color-white);
  background: var(--color-olive);
  border-radius: 999px;
}

.nav-contact:hover {
  color: var(--color-white) !important;
  background: var(--color-dark-olive);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: none;
  background: var(--color-olive);
  border-radius: 50%;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-white);
}

/* =========================
  ファーストビュー
========================= */
.hero {
  position: relative;
  padding: 80px 24px 96px;
  background:
    linear-gradient(90deg, rgba(154, 107, 67, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(154, 107, 67, 0.04) 1px, transparent 1px),
    radial-gradient(circle at top left, rgba(217, 164, 65, 0.18), transparent 30%),
    linear-gradient(135deg, var(--color-ivory) 0%, #fffaf0 100%);
  background-size: 42px 42px, 42px 42px, auto, auto;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='560'%20height='420'%20viewBox='0%200%20560%20420'%20fill='none'%3E%3Cg%20stroke='%239a6b43'%20stroke-width='2.6'%20stroke-linecap='round'%20stroke-linejoin='round'%20opacity='.42'%3E%3Cpath%20d='M38%2096c28-14%2056-9%2078%208v72c-23-17-50-22-78-8V96Z'/%3E%3Cpath%20d='M116%20104c24-17%2052-22%2078-8v72c-27-14-55-9-78%208v-72Z'/%3E%3Cpath%20d='M116%20104v72'/%3E%3Cpath%20d='M405%2066h96c7%200%2013%206%2013%2013v24H392V79c0-7%206-13%2013-13Z'/%3E%3Cpath%20d='M392%20103h122v30H392zM404%20133h92v28h-92z'/%3E%3Cpath%20d='M249%2074h54l-12%2036h-30l-12-36Z'/%3E%3Cpath%20d='M276%20110v54M248%20164h56M268%2052h16'/%3E%3Cpath%20d='M74%20246l86-22%2012%2048-86%2022-12-48Z'/%3E%3Cpath%20d='M87%20257l61-16M91%20273l61-16'/%3E%3Cpath%20d='M218%20238h86v78h-86zM234%20260h54M234%20279h40'/%3E%3Cpath%20d='M354%20268h74v36c0%2020-16%2036-36%2036h-2c-20%200-36-16-36-36v-36Z'/%3E%3Cpath%20d='M428%20280h18c10%200%2018%208%2018%2018s-8%2018-18%2018h-18M365%20250h48'/%3E%3Cpath%20d='M472%20218h44v88l-22-17-22%2017v-88Z'/%3E%3Cpath%20d='M78%20336a28%2028%200%201%200%2056%200%2028%2028%200%200%200-56%200ZM146%20336a28%2028%200%201%200%2056%200%2028%2028%200%200%200-56%200Z'/%3E%3Cpath%20d='M134%20336h12M54%20330l24%206M202%20336l24-6'/%3E%3Cpath%20d='M428%20346h104M438%20308h84M446%20286v60M482%20286v60M518%20286v60'/%3E%3C/g%3E%3Cg%20stroke='%236f7d4f'%20stroke-width='2.4'%20stroke-linecap='round'%20stroke-linejoin='round'%20opacity='.36'%3E%3Cpath%20d='M228%20178l80-80%2025%2025-80%2080-32%207%207-32Z'/%3E%3Cpath%20d='M307%2099l25%2025M241%20189l-13-13'/%3E%3Cpath%20d='M48%2036h86v34H48zM60%2053h52'/%3E%3Cpath%20d='M360%20192h70v24h-70zM370%20216h90v24h-90zM350%20240h82v24h-82z'/%3E%3C/g%3E%3C/svg%3E");
  background-position: 18px 12px;
  background-repeat: repeat;
  background-size: 360px 270px;
  opacity: 0.24;
  mix-blend-mode: multiply;
}

.hero::after {
  content: "";
  position: absolute;
  right: min(5vw, 64px);
  bottom: 30px;
  z-index: 0;
  width: min(22vw, 240px);
  aspect-ratio: 1 / 1;
  border: 2px solid rgba(111, 125, 79, 0.1);
  border-radius: 50%;
  box-shadow:
    -82px -44px 0 -36px rgba(217, 164, 65, 0.12),
    -132px 54px 0 -46px rgba(154, 107, 67, 0.1);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-text {
  position: relative;
  animation: fadeUp 0.8s ease both;
}

.hero .section-label,
.hero h1,
.hero-lead {
  text-shadow:
    0 1px 0 rgba(255, 250, 240, 0.95),
    0 0 14px rgba(255, 250, 240, 0.95);
}

.hero h1 {
  margin-bottom: 28px;
  font-size: clamp(38px, 5.1vw, 62px);
  line-height: 1.45;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.hero-lead {
  margin-bottom: 32px;
  max-width: 620px;
  font-size: 16px;
  line-height: 1.95;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  animation: fadeUp 1s ease both;
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  background:
    linear-gradient(45deg, rgba(154, 107, 67, 0.12), rgba(111, 125, 79, 0.18));
  border-radius: var(--radius-large);
  z-index: 0;
}

.hero-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-soft);
}

/* =========================
  2カラム
========================= */
.about {
  background:
    radial-gradient(circle at 12% 20%, rgba(217, 164, 65, 0.1) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 72%, rgba(111, 125, 79, 0.08) 0 2px, transparent 3px),
    linear-gradient(135deg, rgba(255, 250, 240, 0.82), rgba(247, 241, 229, 0.92));
  background-size: 34px 34px, 44px 44px, auto;
}

.two-column {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.section-image img {
  height: 430px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-soft);
}

.section-text p {
  margin-bottom: 14px;
}

/* =========================
  学生向けカード
========================= */
.student {
  background:
    linear-gradient(45deg, transparent 47%, rgba(111, 125, 79, 0.07) 48% 52%, transparent 53%),
    linear-gradient(-45deg, transparent 47%, rgba(217, 164, 65, 0.06) 48% 52%, transparent 53%),
    var(--color-light);
  background-size: 46px 46px, 46px 46px, auto;
}

.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.point-card {
  padding: 28px 22px;
  background: var(--color-white);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-soft);
  transition: 0.3s ease;
}

.point-card:hover {
  transform: translateY(-8px);
}

.icon {
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  background: #eef2df;
  border-radius: 50%;
  font-size: 26px;
}

/* =========================
  サービス
========================= */
.service {
  background:
    linear-gradient(90deg, rgba(154, 107, 67, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(154, 107, 67, 0.045) 1px, transparent 1px),
    var(--color-ivory);
  background-size: 72px 72px, 24px 24px, auto;
}

.service-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px 18px 24px;
  background:
    linear-gradient(90deg, rgba(154, 107, 67, 0.14), transparent 18%, transparent 82%, rgba(154, 107, 67, 0.14)),
    rgba(255, 250, 240, 0.58);
  border: 1px solid rgba(154, 107, 67, 0.2);
  border-radius: 14px;
  box-shadow: inset 0 -10px 0 rgba(154, 107, 67, 0.09);
}

.service-list::before,
.service-list::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  height: 8px;
  background: rgba(154, 107, 67, 0.18);
  border-radius: 999px;
}

.service-list::before {
  top: calc(50% - 4px);
}

.service-list::after {
  bottom: 12px;
}

.service-item {
  position: relative;
  z-index: 1;
  min-height: 190px;
  padding: 28px 24px;
  background:
    linear-gradient(90deg, rgba(111, 125, 79, 0.08) 0 8px, transparent 8px),
    rgba(255, 250, 240, 0.78);
  border: 1px solid rgba(154, 107, 67, 0.18);
  border-radius: 6px;
  box-shadow:
    inset 0 -6px 0 rgba(154, 107, 67, 0.08),
    0 8px 16px rgba(59, 51, 42, 0.05);
}

.service-item::after {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  right: 14px;
  width: 1px;
  background: rgba(154, 107, 67, 0.14);
}

.service-item span {
  color: var(--color-mustard);
  font-weight: 700;
  font-size: 14px;
}

/* =========================
  おすすめ本
========================= */
.recommend {
  background:
    linear-gradient(rgba(247, 241, 229, 0.92), rgba(247, 241, 229, 0.92)),
    repeating-linear-gradient(
      90deg,
      rgba(154, 107, 67, 0.12) 0,
      rgba(154, 107, 67, 0.12) 18px,
      transparent 18px,
      transparent 34px
    ),
    radial-gradient(circle at 20% 28%, rgba(111, 125, 79, 0.1) 0 1px, transparent 2px);
  background-size: auto, auto, 26px 26px;
}

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

.book-card {
  display: grid;
  gap: 18px;
  align-content: start;
  transition: 0.3s ease;
}

.book-card:hover {
  transform: translateY(-8px);
}

.book-cover {
  height: 220px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--color-white);
  font-family: var(--font-logo);
  font-size: 34px;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow-soft);
}

.book-cover.olive {
  background: var(--color-olive);
}

.book-cover.mustard {
  background: var(--color-mustard);
}

.book-cover.brown {
  background: var(--color-brown);
}

.book-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.book-content {
  position: relative;
  isolation: isolate;
  min-height: 190px;
  padding: 30px 30px 32px;
  background:
    radial-gradient(22px 13px at 50% 0, rgba(112, 83, 55, 0.22), transparent 76%),
    radial-gradient(26px 15px at 50% 100%, rgba(112, 83, 55, 0.2), transparent 76%),
    linear-gradient(
      90deg,
      transparent 0 calc(50% - 4px),
      rgba(185, 169, 146, 0.26) calc(50% - 2px),
      rgba(120, 92, 64, 0.2) 50%,
      rgba(255, 255, 255, 0.52) calc(50% + 1px),
      rgba(185, 169, 146, 0.22) calc(50% + 3px),
      transparent calc(50% + 5px)
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.96) 0,
      rgba(255, 253, 247, 0.98) 48.9%,
      rgba(247, 241, 229, 0.86) 49.8%,
      rgba(255, 253, 247, 0.98) 51.1%,
      rgba(255, 250, 240, 0.96) 100%
    ),
    var(--color-white);
  border: 1px solid rgba(154, 107, 67, 0.14);
  border-radius: 12px 12px 20px 20px / 8px 8px 18px 18px;
  clip-path: polygon(
    3% 0,
    47% 0,
    50% 7px,
    53% 0,
    97% 0,
    100% 8%,
    100% 91%,
    97% 100%,
    53% 100%,
    50% calc(100% - 9px),
    47% 100%,
    3% 100%,
    0 91%,
    0 8%
  );
  box-shadow:
    0 16px 28px rgba(59, 51, 42, 0.08),
    inset 0 -9px 0 rgba(226, 216, 200, 0.22),
    inset 9px 0 0 rgba(226, 216, 200, 0.22),
    inset -9px 0 0 rgba(214, 202, 184, 0.2),
    inset 22px 0 24px rgba(255, 255, 255, 0.68),
    inset -22px 0 24px rgba(247, 241, 229, 0.56);
  overflow: hidden;
}

.book-content > * {
  position: relative;
  z-index: 1;
}

.book-content::before,
.book-content::after {
  content: "";
  position: absolute;
  top: 15px;
  bottom: 17px;
  z-index: 0;
  width: calc(50% - 13px);
  border: 1px solid rgba(154, 107, 67, 0.1);
  pointer-events: none;
}

.book-content::before {
  left: 8px;
  border-right: 0;
  border-radius: 8px 0 0 14px / 5px 0 0 13px;
  clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 96%);
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 9px,
      rgba(154, 107, 67, 0.055) 10px 11px,
      transparent 12px 18px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5), transparent 44%, rgba(214, 202, 184, 0.15));
  box-shadow:
    inset -8px 0 12px rgba(207, 193, 170, 0.22),
    inset 5px 0 0 rgba(255, 255, 255, 0.72);
}

.book-content::after {
  right: 8px;
  border-left: 0;
  border-radius: 0 8px 14px 0 / 0 5px 13px 0;
  clip-path: polygon(0 0, 100% 4%, 100% 96%, 0 100%);
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 9px,
      rgba(154, 107, 67, 0.05) 10px 11px,
      transparent 12px 18px
    ),
    linear-gradient(90deg, rgba(214, 202, 184, 0.14), transparent 56%, rgba(255, 255, 255, 0.42));
  box-shadow:
    inset 8px 0 12px rgba(207, 193, 170, 0.22),
    inset -5px 0 0 rgba(247, 241, 229, 0.74);
}

.tag {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 12px;
  color: var(--color-dark-olive);
  background: #eef2df;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.button-area {
  margin-top: 40px;
}

/* =========================
  ギャラリー
========================= */
.gallery {
  background:
    linear-gradient(135deg, transparent 0 44%, rgba(154, 107, 67, 0.07) 45% 55%, transparent 56% 100%),
    linear-gradient(45deg, rgba(111, 125, 79, 0.05) 25%, transparent 25% 75%, rgba(111, 125, 79, 0.05) 75%),
    var(--color-ivory);
  background-size: 70px 70px, 70px 70px, auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
}

.gallery-main img,
.gallery-sub img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-soft);
}

.gallery-main img {
  height: 530px;
}

.gallery-sub {
  display: grid;
  gap: 22px;
}

.gallery-sub img {
  height: 162px;
}

/* =========================
  お客様の声
========================= */
.voice {
  background:
    linear-gradient(90deg, transparent 0 15px, rgba(154, 107, 67, 0.07) 16px, transparent 17px),
    linear-gradient(180deg, rgba(255, 250, 240, 0.96), rgba(247, 241, 229, 0.96));
  background-size: 34px 100%, auto;
}

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

.voice-card {
  position: relative;
  padding: 28px;
  background: var(--color-white);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-soft);
}

.voice-card::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 36px;
  border-width: 12px 12px 0 0;
  border-style: solid;
  border-color: var(--color-white) transparent transparent transparent;
}

.voice-card span {
  color: var(--color-olive);
  font-weight: 700;
}

.note {
  margin-top: 32px;
  color: #7b6a56;
  font-size: 13px;
  text-align: center;
}

/* =========================
  FAQ
========================= */
.faq {
  background:
    linear-gradient(135deg, rgba(111, 125, 79, 0.08) 25%, transparent 25%),
    linear-gradient(225deg, rgba(111, 125, 79, 0.08) 25%, transparent 25%),
    var(--color-light);
  background-position: 0 0, 18px 18px, 0 0;
  background-size: 36px 36px, 36px 36px, auto;
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
}

details {
  margin-bottom: 14px;
  padding: 20px 24px;
  background: var(--color-white);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(59, 51, 42, 0.08);
}

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

details p {
  margin-bottom: 0;
}

/* =========================
  採用情報
========================= */
.recruit {
  padding-top: 56px;
  padding-bottom: 56px;
  background:
    repeating-linear-gradient(
      -18deg,
      rgba(255, 255, 255, 0.08) 0,
      rgba(255, 255, 255, 0.08) 2px,
      transparent 2px,
      transparent 24px
    ),
    var(--color-olive);
}

.recruit-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: var(--color-white);
}

.recruit-box h2,
.recruit-box .section-label {
  color: var(--color-white);
}

.recruit-box p {
  max-width: 720px;
}

/* =========================
  お知らせ
========================= */
.news {
  background:
    linear-gradient(rgba(247, 241, 229, 0.9), rgba(247, 241, 229, 0.9)),
    repeating-linear-gradient(
      0deg,
      rgba(154, 107, 67, 0.08) 0,
      rgba(154, 107, 67, 0.08) 1px,
      transparent 1px,
      transparent 32px
    );
}

.news-list {
  border-top: 1px solid var(--color-line);
}

.news-item {
  display: grid;
  grid-template-columns: 120px 120px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--color-line);
  align-items: center;
}

.news-item time {
  color: #7b6a56;
}

.news-item span {
  padding: 4px 10px;
  text-align: center;
  color: var(--color-dark-olive);
  background: #eef2df;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.news-item a {
  font-weight: 700;
}

.news-item a:hover {
  color: var(--color-olive);
}

.article-page {
  min-height: 72vh;
}

.article {
  max-width: 820px;
  margin: 0 auto;
  padding: 42px;
  background: rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-soft);
}

.article-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  color: #7b6a56;
  font-size: 14px;
  font-weight: 700;
}

.article-category {
  padding: 4px 12px;
  color: var(--color-dark-olive);
  background: #eef2df;
  border-radius: 999px;
}

.article h1 {
  margin-bottom: 28px;
  font-size: clamp(30px, 4.4vw, 46px);
  white-space: normal;
}

.article-image {
  width: 100%;
  height: 340px;
  margin: 0 0 30px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(59, 51, 42, 0.1);
}

.article h2 {
  margin-top: 34px;
  font-size: clamp(24px, 3vw, 30px);
}

.article p {
  margin-bottom: 18px;
}

.article .button-area {
  text-align: center;
}

/* =========================
  アクセス・お問い合わせ
========================= */
.contact,
.access {
  background:
    radial-gradient(circle at 28px 28px, rgba(154, 107, 67, 0.1) 0 1px, transparent 2px),
    linear-gradient(45deg, rgba(111, 125, 79, 0.06) 25%, transparent 25% 75%, rgba(111, 125, 79, 0.06) 75%),
    var(--color-light);
  background-size: 56px 56px, 56px 56px, auto;
}

.contact-page {
  min-height: 100vh;
}

.contact-page::before {
  display: none;
}

.contact-visual {
  width: min(100%, 820px);
  height: 340px;
  margin: 0 auto 32px;
  object-fit: cover;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-soft);
}

.page-title {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.8vw, 52px);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 48px;
}

.shop-info,
.map-area,
.contact-form {
  background: var(--color-white);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-soft);
}

.shop-info {
  padding: 32px;
}

.shop-info dl {
  margin: 0;
}

.shop-info div {
  padding: 14px 0;
  border-bottom: 1px solid var(--color-line);
}

.shop-info dt {
  font-weight: 700;
  color: var(--color-olive);
}

.shop-info dd {
  margin: 4px 0 0;
}

.map-area {
  overflow: hidden;
}

.map-area iframe {
  display: block;
}

.contact-form {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px;
}

.contact-form h3 {
  text-align: center;
}

.contact-form label {
  display: block;
  margin-bottom: 20px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 13px 14px;
  border: 1px solid var(--color-line);
  border-radius: 10px;
  background: #fffdf7;
  font-size: 16px;
}

.contact-form textarea {
  resize: vertical;
}

.checkbox {
  display: flex !important;
  gap: 10px;
  align-items: center;
  font-weight: 500 !important;
}

.checkbox input {
  width: auto;
  margin: 0;
}

/* =========================
  フッター
========================= */
.footer {
  padding: 56px 24px 24px;
  color: var(--color-white);
  background: var(--color-olive);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto 36px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
}

.footer .logo-main,
.footer .logo-sub {
  color: var(--color-white);
}

.footer-nav {
  display: grid;
  gap: 8px;
}

.footer-nav a:hover {
  color: var(--color-mustard);
}

.footer-info p {
  margin: 0 0 8px;
}

.copy {
  margin: 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

/* =========================
  アニメーション
========================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
  レスポンシブ
========================= */
@media (max-width: 1024px) {
  .nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero-inner,
  .two-column,
  .contact-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-image img,
  .section-image img,
  .gallery-main img,
  .article-image,
  .contact-visual {
    height: 380px;
  }

  .card-grid.four {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-list::before {
    display: none;
  }

  .book-grid,
  .voice-grid {
    grid-template-columns: 1fr;
  }

  .recruit-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 72px 18px;
    scroll-margin-top: 72px;
  }

  .header-inner {
    padding: 14px 18px;
  }

  .logo-main {
    font-size: 22px;
  }

  .hero {
    padding: 56px 18px 72px;
  }

  .hero::before {
    background-size: 300px 225px;
    opacity: 0.22;
  }

  .hero::after {
    width: 170px;
    right: -58px;
    bottom: 36%;
  }

  .hero-inner {
    gap: 36px;
  }

  .hero h1 {
    margin-bottom: 24px;
    font-size: clamp(30px, 8.5vw, 36px);
    line-height: 1.55;
    letter-spacing: 0.01em;
  }

  .hero-lead {
    font-size: 15px;
    line-height: 1.9;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img,
  .section-image img,
  .gallery-main img,
  .article-image,
  .contact-visual {
    height: 280px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .card-grid.four,
  .service-list {
    grid-template-columns: 1fr;
  }

  .service-list {
    padding-bottom: 18px;
  }

  .gallery-sub img {
    height: 180px;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 28px 20px;
  }
}

.logo img {
    width: 260px;
    height: auto;
    display: block;
}

.logo{
    display:flex;
    align-items:center;
}

.slider {
  position: relative;
  width: 80%;
  max-width: 900px;
  height: 400px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
}

.slide {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  transition: 0.8s;
}

.slide.active {
  left: 0;
}

.slide.prev {
  left: -100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}