:root {
  --text: #383A3A;
  --muted: #8c857e;
  --line: #ded8cf;
  --cream: #f7f5ef;
  --cream-deep: #eee9df;
  --gold: #a8751d;
  --footer: #c9c2bb;
  --header-height: 92px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: #faf9f5;
  font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

.inner {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}
.inner--wide { width: min(1240px, calc(100% - 64px)); }

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: var(--header-height);
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(0,0,0,.04);
  backdrop-filter: blur(10px);


    font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;

}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 34px;
}
.site-logo img { width: 105px; }
.global-nav {
  display: flex;
  align-items: center;
  gap: 38px;
}
.global-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.3vw, 42px);
}
.global-nav a {
  color: #807a73!important;
  font-size: 13px;
  letter-spacing: .03em;
  transition: color .2s ease;
}
.global-nav a:hover { color: var(--gold)!important;    text-decoration: none; }
.header-contact {
  display: grid;
  place-items: center;
  min-width: 116px;
  height: 44px;
  background: var(--gold);
  border-radius: 4px;
}
.global-nav a.header-contact {
  color: #fff !important;

}
.menu-button { display: none; }

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - var(--header-height)));
  overflow: hidden;
  background: #ddd4c9;
    padding-bottom: 50px;
}
.hero__image {
  position: absolute;
  inset: 0;
  background: url("../images/hero.jpg") 50% 50% / cover no-repeat;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(250,248,243,.76) 0%, rgba(250,248,243,.35) 34%, rgba(250,248,243,0) 62%);
}
.hero__content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
  padding-top: clamp(105px, 13vw, 185px);
}
.hero h1 {
  margin: 0 0 30px;
  color: #35312f;
  font-size: clamp(34px, 3.8vw, 58px);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: .08em;
}
.hero p {
  margin: 0 0 45px;
  color: #6b655f;
  font-size: 15px;
  line-height: 2.25;
}
.hero__buttons {
  display: grid;
  width: 230px;
  gap: 16px;
}
.button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  font-size: 15px;
  letter-spacing: .04em;
  transition: .25s ease;
}
.button span { margin-left: 16px; }
.button--primary { color: #fff; background: var(--gold); }
.button--outline { border: 1px solid #6f6a65; background: rgba(255,255,255,.25); }
.button:hover { transform: translateY(-2px); opacity: .86; }

.section { padding: 82px 0; }
.section-title {
  margin: 0 0 46px;
  text-align: center;
  font-size: clamp(23px, 2.1vw, 34px);
  font-weight: 400;
  letter-spacing: .14em;
}
.section-heading {
  margin: 0 0 22px;
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 400;
  letter-spacing: .13em;
}
.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.reason-card {
  position: relative;
  padding: 0 34px;
  text-align: center;
}
.reason-card + .reason-card { border-left: 1px solid var(--line); }
.reason-card h3 {
  min-height: 72px;
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.7;
}
.reason-card img {
  width: 138px;
  margin: 0 auto 24px;
}
.reason-card p {
  margin: 0;
  color: #77716a;
  font-size: 12px;
  line-height: 1.8;
}

.works { padding-top: 30px; }
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.work-card { display: block; }
.work-card__visual {
  display: grid;
  place-items: center;
  aspect-ratio: 1.95 / 1;
  overflow: hidden;
  font-family: Georgia, serif;
  font-size: clamp(18px, 2vw, 30px);
  letter-spacing: .08em;
  text-align: center;
  transition: transform .3s ease;
}
.work-card:hover .work-card__visual { transform: translateY(-4px); }
.work-card--01 .work-card__visual {
  color: #fff;
  background:
    linear-gradient(135deg, transparent 48%, rgba(255,255,255,.9) 49% 51%, transparent 52%) 0 0/58px 58px,
    #b9d3d3;
}
.work-card--01 .work-card__visual span {
  padding: 22px 38px;
  color: #8b7770;
  background: linear-gradient(135deg,#c6bdc3,#8e7f88);
  box-shadow: 0 16px 30px rgba(0,0,0,.12);
}
.work-card--02 .work-card__visual {
  color: #555;
  background: radial-gradient(circle at 80% 40%,#fff 0 18%,transparent 19%), #dfe4be;
}
.work-card--03 .work-card__visual {
  color: #5d8ec6;
  background: linear-gradient(145deg,#fff 0 50%,#e6f1e7 51%);
}
.work-card p { margin: 12px 0 0; font-size: 13px; }

#philosophy {
  position: relative;
  padding: 50px 0 70px;
  overflow: hidden;
  background: transparent url(../images/philosophy_bg.png) no-repeat center center;
  background-size: cover;
}
#philosophy::before,
#philosophy::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 420px;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.7), transparent 70%);
  filter: blur(12px);
}
#philosophy::before { left: -100px; top: 20px; transform: rotate(-20deg); }
#philosophy::after { right: -110px; bottom: -70px; }
.section-title--light { margin-bottom: 4px; }
.section-lead {
  margin: 0 0 35px;
  text-align: center;
  color: #827b74;
  font-size: 14px;
  letter-spacing: .08em;
}
.philosophy-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}
.philosophy-grid article { text-align: center; }
.philosophy-grid img {
  width: 100%;
  aspect-ratio: 1.58 / 1;
  object-fit: cover;
}
.philosophy-grid p {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.65;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 48px;
}
.service-grid article {
  text-align: center;
  padding: 0 30px;
}
.service-grid img { width: 76px; height: 76px; object-fit: contain; margin-bottom: 15px; }
.service-grid h3 { margin: 0 0 6px; font-size: 22px; font-weight: 400; }
.service-grid p { margin: 0; color: #817b75; font-size: 14px; line-height: 1.7; }

.news { padding-top: 32px; }
.news.page {
 padding-top: 0px; 
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
    background: #FFF;
    padding: 1.5rem;
}
.news-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1.85 / 1;
  font-family: Georgia, serif;
  font-size: clamp(22px, 3vw, 50px);
  font-weight: 700;
  letter-spacing: .04em;
  overflow: hidden;
}
.news-card__image--palette {
  flex-direction: column;
  color: #fff;
  background: #c99187;
}
.news-card__image--palette small { font-size: 14px; letter-spacing: .2em; }
.news-card__image--sports {
  color: #fff;
  background:
    linear-gradient(rgba(49,77,102,.3),rgba(49,77,102,.3)),
    repeating-linear-gradient(90deg,#637982 0 10%,#796664 10% 20%);
}
.news-card__image--junior {
  color: #fff;
  background: linear-gradient(135deg,#408478,#f6d857);
}
.news-card time {
  display: block;
  margin-top: 13px;
  color: #8c877f;
  font-size: 10px;
}
.news-card h3 { margin: 3px 0 0; font-size: 13px; font-weight: 500; line-height: 1.7; }

.cta {
  padding: 48px 0;
  background: var(--cream-deep);
}
.cta-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; }
.cta-card {
  position: relative;
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: start;
  min-height: 215px;
  padding: 34px 38px;
  background: rgba(255,255,255,.78);
  border: 1px solid #ddd7ce;
  border-radius: 15px;
  transition: transform .25s ease;
}
.cta-card:hover { transform: translateY(-3px); }
.cta-card img { width: 72px; }
.cta-card h2 { margin: 0; font-size: 28px; font-weight: 400; letter-spacing: .12em; line-height: 1.3; }
.cta-card__sub { margin: 0 0 18px !important; color: #8c857f !important; font-size: 12px !important; }
.cta-card p { margin: 0; color: #79736d; font-size: 12px; line-height: 1.8; }
.cta-card__click { position: absolute; right: 28px; bottom: 22px; color: #77716b; font-size: 12px; letter-spacing: .12em; }

.site-footer {
  padding: 50px 0 26px;
  background: var(--footer);
  color: #fff!important;

    font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
}
.site-footer ul {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 4vw, 58px);
  text-align: center;
}
.site-footer a { display: flex; flex-direction: column;color: #FFF !important;}
.site-footer a:hover {text-decoration:none; }
.site-footer strong { font-family: Arial,sans-serif; font-size: 12px; letter-spacing: .03em; }
.site-footer span { font-size: 12px; }
.site-footer small { display: block; margin-top: 36px; text-align: center; font-family: Arial,sans-serif; font-size: 10px; opacity: .82; }

@media (max-width: 960px) {
  :root { --header-height: 72px; }
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    backdrop-filter: none;
  }
  body { padding-top: var(--header-height); }
  .site-header__inner { padding: 0 22px; }
  .site-logo img { width: 84px; }
  .menu-button {
    position: relative;
    z-index: 1002;
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 5px;
    border: 0;
    background: transparent;
    color: #665f58;
    cursor: pointer;
  }
  .menu-button > span:not(.menu-button__label) {
    display: block;
    width: 26px;
    height: 1px;
    background: currentColor;
    transition: .25s ease;
  }
  .menu-button__label { font-family: Arial,sans-serif; font-size: 8px; letter-spacing: .15em; }
  .menu-button[aria-expanded="true"] > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-button[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .global-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 28px;
    width: 100%;
    height: 100dvh;
    padding: calc(var(--header-height) + 24px) 24px 40px;
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    opacity: 0;
    background: rgba(248,246,240,.99);
    transition: opacity .25s ease, visibility .25s ease;
  }
  .global-nav.is-open { visibility: visible; opacity: 1; }
  .global-nav ul {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }
  .global-nav li {
    width: 100%;
    border-bottom: 1px solid rgba(56,58,58,.14);
  }
  .global-nav li:first-child {
    border-top: 1px solid rgba(56,58,58,.14);
  }
  .global-nav li a {
    display: block;
    width: 100%;
    padding: 14px 4px;
    text-align: center;
  }
  .global-nav a { font-size: 16px; }
  .header-contact { min-width: 180px; }

  .hero { min-height: 680px; }
  .hero__image { background-position: 62% center; }
  .hero__content { padding-top: 90px; }
  .reason-grid, .philosophy-grid, .news-grid { gap: 20px; }
  .reason-card { padding: 0 20px; }
  .service-grid article { padding: 0 15px; }
  .cta-card { grid-template-columns: 70px 1fr; padding: 30px 26px; }
}

@media (max-width: 767px) {
  .inner, .inner--wide, .hero__content { width: min(100% - 40px, 580px); }
  .section { padding: 62px 0; }
  .section-title { margin-bottom: 34px; font-size: 22px; line-height: 1.6; }

  .hero {
    min-height: 720px;
    display: flex;
    align-items: flex-end;
  }
  .hero__image {
    background-position: 65% center;
  }
  .hero__overlay {
    background: linear-gradient(0deg, rgba(250,248,243,.94) 0%, rgba(250,248,243,.78) 42%, rgba(250,248,243,.08) 72%);
  }
  .hero__content {
    padding: 0 0 52px;
  }
  .hero h1 { font-size: 30px; line-height: 1.65; letter-spacing: .06em; }
  .hero p { font-size: 13px; line-height: 2; }
  .hero__buttons { width: min(260px, 100%); }

  .reason-grid { grid-template-columns: 1fr; gap: 0; }
  .reason-card { padding: 38px 0; }
  .reason-card:first-child { padding-top: 0; }
  .reason-card + .reason-card { border-top: 1px solid var(--line); border-left: 0; }
  .reason-card h3 { min-height: 0; }
  .reason-card img { width: 124px; }

  .works { padding-top: 12px; }
  .works-grid, .philosophy-grid, .news-grid, .cta-grid { grid-template-columns: 1fr; }
  .works-grid, .philosophy-grid { gap: 28px; }
  .work-card__visual { font-size: 30px; }
  #philosophy { padding: 48px 0 60px; }
  .philosophy.page { padding: 0px; }
  .section-lead { font-size: 12px; line-height: 1.8; }
  .philosophy-grid p { font-size: 15px; }

  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 42px 0; }
  .service-grid h3 { font-size: 19px; }
  .service-grid p { font-size: 12px; }

  .news-grid { gap: 35px; }
  .news-card__image { font-size: 38px; }

  .cta-grid { gap: 18px; }
  .cta-card {
    grid-template-columns: 60px 1fr;
    min-height: 190px;
    padding: 28px 22px 48px;
  }
  .cta-card img { width: 50px; }
  .cta-card h2 { font-size: 23px; }
  .cta-card p br { display: none; }

  .site-footer { padding-top: 42px; }
  .site-footer ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 14px;
  }
}

@media (max-width: 420px) {
  .hero { min-height: 660px;padding-bottom: 0px; }
  .hero h1 { font-size: 25px; }
  .hero__image { background-position: 63% center; }
  .service-grid article { padding: 0 8px; }
  .cta-card { grid-template-columns: 48px 1fr; }
  .cta-card img { width: 40px; }
}
