/*
Theme Name: GaRDeNT Wakayama
Theme URI: https://chatgpt.com/
Author: GaRDeNT
Description: GaRDeNTの庭のお手入れ案内用テーマ。文章・写真・ロゴ・住所を管理画面から編集できます。
Version: 1.0.3
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: gardent-wakayama
*/

:root {
  --forest: #526b32;
  --olive: #748c45;
  --sand: #e0d4b8;
  --sky: #68b5d1;
  --cream: #f7f5e9;
  --ink: #25301d;
  --line: #c5cbae;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; font-size: 16px; line-height: 1.85; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 4px; }
.skip-link { position: absolute; top: -80px; left: 12px; z-index: 10; padding: 8px 14px; background: white; }
.skip-link:focus { top: 8px; }
.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.site-header { background: var(--cream); border-bottom: 1px solid #e8e6d7; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 106px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.brand img { display: block; width: clamp(154px, 18vw, 215px); height: auto; }
.menu { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 32px; margin: 0; padding: 0; list-style: none; }
.menu a { position: relative; display: inline-block; padding: 8px 0 11px; text-decoration: none; font-size: .92rem; font-weight: 700; letter-spacing: .055em; white-space: nowrap; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 5px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.menu a:hover::after, .menu a:focus-visible::after, .menu .current-menu-item > a::after { transform: scaleX(1); }
.hero { padding: clamp(56px, 7vw, 104px) 0 clamp(68px, 8vw, 110px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: center; gap: clamp(34px, 6vw, 86px); }
.eyebrow { color: var(--forest); font-size: .86rem; font-weight: 700; letter-spacing: .16em; }
.hero h1 { max-width: 9.5em; margin: 16px 0 22px; color: var(--forest); font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif; font-size: clamp(2.3rem, 4.3vw, 4.25rem); font-weight: 600; line-height: 1.35; letter-spacing: .03em; overflow-wrap: anywhere; }
.hero-intro { max-width: 32em; margin: 0; font-size: 1.05rem; }
.photo-frame { display: grid; place-items: center; overflow: hidden; min-height: 360px; background: var(--sand); }
.photo-frame img { display: block; width: 100%; height: 100%; min-height: inherit; object-fit: cover; }
.photo-frame--hero { aspect-ratio: 1.24; border-radius: 6px 90px 6px 6px; }
.photo-frame--message { aspect-ratio: auto; min-height: 500px; border-radius: 80px 6px 6px 6px; }
.photo-frame--message img { width: 100%; height: auto; min-height: 0; object-fit: contain; }
.photo-placeholder { display: grid; place-items: center; width: calc(100% - 38px); height: calc(100% - 38px); min-height: 322px; border: 1px solid rgba(82,107,50,.38); border-radius: inherit; color: var(--forest); font-size: .9rem; letter-spacing: .07em; text-align: center; }
.services { background: var(--sand); padding: clamp(66px, 7vw, 98px) 0 clamp(76px, 8vw, 110px); }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 24px; margin-bottom: 35px; }
.section-heading h2, .message-copy h2, .inner-page h1 { margin: 0; color: var(--forest); font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif; font-size: clamp(2rem, 3.8vw, 3.3rem); font-weight: 600; line-height: 1.4; letter-spacing: .03em; }
.section-heading p { max-width: 28em; justify-self: end; margin: 0; font-size: 1.06rem; }
.service-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service-card { min-height: 244px; padding: 32px 30px; background: var(--cream); border-top: 6px solid var(--olive); }
.service-card h3 { margin: 0 0 18px; color: var(--forest); font-size: 1.35rem; letter-spacing: .04em; }
.service-card p { margin: 0; }
.message { padding: clamp(76px, 9vw, 122px) 0; }
.message-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(36px, 7vw, 104px); }
.message-copy { padding-block: 20px; }
.message-copy h2 { margin: 16px 0 24px; }
.message-copy h2 a { text-decoration: underline; text-decoration-color: var(--sky); text-decoration-thickness: 3px; text-underline-offset: 9px; }
.message-copy h2 a:hover { color: var(--olive); }
.message-copy p { max-width: 28em; margin: 0; font-size: 1.12rem; line-height: 2.1; }
.site-footer { padding: 54px 0 34px; background: var(--forest); color: var(--cream); }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 35px; }
.footer-brand-block { max-width: 340px; }
.footer-brand { display: inline-block; padding: 11px 15px; background: var(--cream); border-radius: 2px; }
.footer-brand img { display: block; width: 206px; }
.footer-tagline { margin: 14px 0 0; font-family: Georgia, serif; font-size: .84rem; letter-spacing: .06em; }
.footer-address { margin: 20px 0 0; font-size: .87rem; white-space: pre-line; }
.footer-nav { padding-top: 13px; }
.footer-nav .menu { gap: 9px 23px; }
.footer-nav .menu a { font-size: .82rem; }
.footer-nav .menu a::after { background: #f6f5e9; }
.footer-bottom { margin-top: 48px; padding-top: 19px; border-top: 1px solid rgba(247,245,233,.28); font-size: .75rem; }
.inner-page { min-height: 52vh; padding: 76px 0 108px; }
.inner-page h1 { margin-bottom: 28px; }
.inner-page .page-body { max-width: 740px; }
.inner-page p { margin: 0 0 1.2em; }
.inner-page a:not(.button) { text-underline-offset: 3px; }
.form-row { margin-bottom: 23px; }
.form-row label { display: block; margin-bottom: 7px; font-weight: 700; }
.form-row input, .form-row textarea { width: 100%; padding: 11px 13px; border: 1px solid #a1a789; border-radius: 3px; background: #fff; color: var(--ink); }
.form-row textarea { min-height: 160px; resize: vertical; }
.form-row--trap { position: absolute; left: -9999px; }
.button { display: inline-block; min-width: 160px; padding: 12px 25px; border: 2px solid var(--forest); border-radius: 2px; background: var(--forest); color: var(--cream); font-weight: 700; cursor: pointer; }
.button:hover { background: var(--cream); color: var(--forest); }
.notice { padding: 13px 18px; margin: 0 0 25px; background: #edf3dd; border-left: 5px solid var(--olive); }
.notice--error { background: #fff0e9; border-color: #ad583b; }
.sitemap-list { padding-left: 1.5em; }
.sitemap-list li { margin-bottom: .75em; }
@media (max-width: 780px) {
  .container { width: min(100% - 36px, 620px); }
  .header-inner { min-height: 0; padding-block: 17px 12px; flex-direction: column; align-items: flex-start; gap: 7px; }
  .brand img { width: 168px; }
  .header-nav { width: 100%; }
  .header-nav .menu { justify-content: flex-start; gap: 2px 23px; }
  .header-nav .menu a { font-size: .83rem; }
  .hero-grid, .section-heading, .message-grid { grid-template-columns: 1fr; }
  .hero { padding: 54px 0 68px; }
  .hero-grid { gap: 34px; }
  .hero h1 { max-width: none; }
  .photo-frame { min-height: 280px; }
  .photo-frame--message { min-height: 360px; }
  .photo-placeholder { min-height: 242px; }
  .section-heading { gap: 10px; }
  .section-heading p { justify-self: start; }
  .service-list { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 25px; }
  .message-grid { gap: 28px; }
  .message-copy { padding-block: 0; }
  .footer-top { flex-direction: column; gap: 20px; }
  .footer-nav { padding-top: 0; }
  .footer-nav .menu { justify-content: flex-start; }
}
@media (max-width: 380px) {
  .container { width: calc(100% - 28px); }
  .header-nav .menu { gap: 1px 14px; }
  .header-nav .menu a { font-size: .78rem; }
  .hero h1 { font-size: 2.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .menu a::after { transition: none; }
}
