/*
Theme Name: いぐさの手しごと
Theme URI: https://xn--elq18sr6f1sz.com/
Author: 坪井畳店
Description: いぐさ小物と地域イベントに特化した、坪井畳店.com 用テーマ。
Version: 0.1.3
Text Domain: igusa-handwork
*/

:root {
  --igusa-green: #27654f;
  --igusa-deep: #183e32;
  --igusa-leaf: #68a95c;
  --igusa-pale: #edf6e7;
  --igusa-cream: #fbfaf4;
  --igusa-ink: #23312b;
  --igusa-line: #dce8d9;
  --igusa-gold: #806018;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--igusa-ink); background: var(--igusa-cream); font-family: "Noto Sans JP", "Yu Gothic", system-ui, sans-serif; line-height: 1.8; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.ih-wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.ih-notice { background: var(--igusa-deep); color: #fff; text-align: center; font-size: 13px; padding: 7px 14px; }
.ih-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--igusa-line); }
.ih-head-row { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 24px; }
.ih-logo { font-family: serif; font-size: 25px; font-weight: 700; letter-spacing: .09em; }
.ih-logo small { display: block; margin: 0 0 8px; color: var(--igusa-green); font: 600 11px/1 sans-serif; letter-spacing: .13em; }
.ih-nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; font-weight: 700; }
.ih-nav a:hover { color: var(--igusa-green); }
.ih-hero { position: relative; display: grid; min-height: 590px; align-items: end; overflow: hidden; background: #2d6855; }
.ih-hero-bg { position: absolute; inset: 0; background-position: center 46%; background-size: cover; }
.ih-hero-bg:after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(16,48,38,.78), rgba(16,48,38,.08) 70%); }
.ih-hero-copy { position: relative; z-index: 1; max-width: 650px; padding: 76px 0; color: #fff; }
.ih-kicker,.ih-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.ih-eyebrow { color: var(--igusa-gold); }
.ih-hero h1 { margin: 18px 0; font-family: serif; font-size: clamp(40px, 6vw, 70px); letter-spacing: .06em; line-height: 1.28; }
.ih-hero p { font-size: 17px; text-shadow: 0 1px 3px #123; }
.ih-button { display: inline-block; margin: 12px 8px 0 0; padding: 13px 24px; border-radius: 999px; background: var(--igusa-green); color: #fff; font-weight: 800; }
.ih-button--light { background: #fff; color: var(--igusa-green); }
.ih-section { padding: 78px 0; }
.ih-event-top { padding-top: 34px; }
.ih-intro { padding-bottom: 40px; text-align: center; }
.ih-title { margin: 10px 0 20px; font-family: serif; font-size: clamp(28px, 4vw, 40px); line-height: 1.4; }
.ih-intro p { max-width: 730px; margin: 0 auto; }
.ih-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ih-card { display: block; overflow: hidden; border: 1px solid var(--igusa-line); border-radius: 14px; background: #fff; box-shadow: 0 12px 30px rgba(35,83,59,.07); }
.ih-card-image { display: grid; min-height: 185px; place-items: center; color: var(--igusa-green); background: linear-gradient(135deg,#b9d9a8,#eff7e9); font-family: serif; font-size: 24px; }
.ih-card-image--detail { background-position: center; background-size: cover; color: transparent; }
.ih-card-body { padding: 23px; }
.ih-card h3 { margin: 0 0 7px; font-family: serif; font-size: 22px; }
.ih-arrow { color: var(--igusa-green); font-size: 14px; font-weight: 800; }
.ih-season { background: var(--igusa-pale); }
.ih-season-grid,.ih-access-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 52px; }
.ih-list { margin: 22px 0 0; padding: 0; list-style: none; }
.ih-list li { margin: 10px 0; padding: 13px 17px; border-left: 4px solid var(--igusa-leaf); background: #fff; font-size: 15px; }
.ih-season-art { position: relative; min-height: 280px; overflow: hidden; border-radius: 18px; background: radial-gradient(circle at 28% 30%,#ffe7a4 0 8%,transparent 8.5%),radial-gradient(circle at 65% 62%,#7bb373 0 15%,transparent 15.5%),linear-gradient(140deg,#f6f1dc,#cbe5c3); }
.ih-season-art:after { position: absolute; right: 24px; bottom: 22px; left: 24px; content: "季節の いぐさ飾り"; color: var(--igusa-green); font-family: serif; font-size: 34px; font-weight: 700; }
.ih-event-box,.ih-event-feature,.ih-contact { border: 1px solid var(--igusa-line); border-radius: 18px; background: #fff; }
.ih-event-box { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 44px; }
.ih-event-box p { max-width: 650px; margin: 0; }
.ih-event-feature { display: grid; grid-template-columns: 150px minmax(0,1fr) 220px; align-items: center; gap: 32px; padding: 28px 34px 28px 28px; border-color: #d7e7cc; background: linear-gradient(125deg,#fffdf7 0%,#f3faed 53%,#fff4dc 100%); box-shadow: 0 18px 38px rgba(35,83,59,.11); }
.ih-event-feature .ih-title { margin-bottom: 8px; font-size: clamp(27px,3.4vw,37px); }
.ih-event-feature p { margin: 0; }
.ih-event-meta { margin-top: 12px !important; color: var(--igusa-green); font-weight: 800; font-size: 14px; }
.ih-event-date { display: grid; place-items: center; width: 142px; min-height: 142px; border-radius: 50%; background: var(--igusa-deep); color: #fff; font-family: serif; line-height: 1; }
.ih-event-date span { margin-top: 22px; font: 700 13px/1 sans-serif; letter-spacing: .12em; }
.ih-event-date strong { font-size: 36px; letter-spacing: .03em; }
.ih-event-date small { margin-bottom: 20px; color: #bedc9d; font: 800 12px/1 sans-serif; letter-spacing: .14em; }
.ih-event-photo { display: block; overflow: hidden; min-height: 220px; border-radius: 14px; border: 4px solid #fff; background: #dcebd9; box-shadow: 0 10px 24px rgba(35,83,59,.15); }
.ih-event-photo img { width: 100%; height: 100%; min-height: 190px; object-fit: cover; object-position: center; transition: transform .25s ease; }
.ih-event-photo:hover img { transform: scale(1.03); }
.ih-official { background: #eef2ed; text-align: center; }
.ih-contact { padding: 28px; }
.ih-contact h3 { margin-top: 0; font-family: serif; font-size: 24px; }
.ih-tel { color: var(--igusa-green); font-size: 30px; font-weight: 800; letter-spacing: .04em; }
.ih-map { min-height: 215px; padding: 29px; border-radius: 14px; background: #dcebd9; font-weight: 700; }
.ih-page { padding: 72px 0; }
.ih-page .entry-title { margin: 0 0 22px; font-family: serif; font-size: clamp(34px,5vw,54px); line-height: 1.3; }
.ih-entry { max-width: 860px; }
.ih-entry h2 { margin: 54px 0 18px; font-family: serif; font-size: 30px; }
.ih-entry h3 { margin: 34px 0 10px; font-family: serif; font-size: 24px; }
.ih-footer { margin-top: 0; padding: 40px 0; background: var(--igusa-deep); color: #fff; font-size: 14px; }
.ih-foot-row { display: flex; justify-content: space-between; gap: 30px; }
.ih-footer small { color: #d5e7dc; }
@media (max-width: 760px) {
  .ih-nav { display: none; }
  .ih-head-row { min-height: 64px; }
  .ih-logo { font-size: 21px; }
  .ih-hero { min-height: 520px; }
  .ih-hero-bg { background-position: 56% center; }
  .ih-hero-copy { padding: 54px 0; }
  .ih-hero h1 { font-size: 43px; }
  .ih-cards,.ih-season-grid,.ih-access-grid { grid-template-columns: 1fr; }
  .ih-event-box { display: block; padding: 30px; }
  .ih-event-feature { grid-template-columns: 1fr; gap: 20px; padding: 28px; }
  .ih-event-date { width: 118px; min-height: 118px; }
  .ih-event-photo { min-height: 240px; }
  .ih-event-photo img { min-height: 240px; }
  .ih-foot-row { display: block; }
}

/* Responsive hero image: 2026-10-18 */
.ih-hero-bg .ih-hero-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
@media (max-width: 760px) { .ih-hero-bg .ih-hero-img { object-position: 56% center; } }
