/*
Theme Name: TAKUMI うどん
Author: TAKUMI
Description: 大阪・千船の「削り節うどん たくみ」公式サイト用の和モダンなWordPressテーマです。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: takumi-udon
*/

:root {
  --ink: #111111;
  --paper: #f5f4f0;
  --white: #ffffff;
  --gray: #d4d3ce;
  --muted: #706e68;
  --wood: #8b5e38;
  --wood-light: #c69a68;
  --line: rgba(17, 17, 17, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; font-size: 16px; line-height: 1.8; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { position: absolute; z-index: 20; top: 0; left: 0; width: 54%; min-height: 100px; display: grid; grid-template-columns: auto auto auto; justify-content: start; align-items: center; column-gap: clamp(18px, 2vw, 32px); padding: 20px clamp(24px, 3vw, 50px); color: white; }
.brand { display: inline-flex; width: fit-content; }
.brand-logo { width: 74px; height: 74px; object-fit: contain; }
.site-header nav { display: flex; gap: clamp(14px, 1.5vw, 24px); font-size: .78rem; letter-spacing: .08em; white-space: nowrap; }
.site-header nav a { position: relative; }
.site-header nav a::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 0; height: 1px; background: white; transition: width .25s; }
.site-header nav a:hover::after, .site-header nav a:focus-visible::after { width: 100%; }
.header-call { justify-self: start; display: flex; align-items: center; gap: 7px; font-size: .78rem; letter-spacing: .04em; white-space: nowrap; }
body:not(.home) .site-header { position: relative; width: 100%; background: var(--ink); }

.hero { min-height: 820px; position: relative; display: grid; grid-template-columns: minmax(0, 54%) minmax(0, 46%); background: var(--ink); color: white; overflow: hidden; }
.hero-copy { min-width: 0; min-height: 820px; padding: 190px clamp(36px, 5vw, 82px) 110px clamp(40px, 7vw, 110px); display: flex; gap: clamp(28px, 4vw, 68px); align-items: flex-start; position: relative; z-index: 2; }
.hero-media { min-width: 0; height: 100%; margin: 0; overflow: hidden; border-left: 1px solid rgba(255,255,255,.16); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 56% center; }
.vertical-copy { writing-mode: vertical-rl; letter-spacing: .35em; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: .9rem; padding-top: 6px; opacity: .72; }
.hero-title-wrap { max-width: 570px; }
.kicker, .eyebrow { margin: 0 0 24px; font-size: .76rem; font-weight: 700; letter-spacing: .32em; }
.hero h1, .section h2, .contact h2 { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-weight: 500; letter-spacing: .1em; }
.hero h1 { font-size: clamp(2.8rem, 4.1vw, 4.6rem); line-height: 1.35; margin: 0 0 36px; }
.hero h1 span { display: block; white-space: nowrap; }
.lead { margin: 0; color: rgba(255,255,255,.72); line-height: 2.2; letter-spacing: .06em; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 48px; }
.button { min-height: 54px; padding: 13px 24px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; letter-spacing: .08em; font-size: .9rem; border: 1px solid transparent; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: white; }
.hero .button-dark { background: white; color: var(--ink); }
.text-link { font-size: .88rem; padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.45); }
.wood-strip { position: absolute; bottom: 0; left: 0; width: 100%; height: 22px; background: repeating-linear-gradient(90deg, #755035 0 120px, #8f6748 120px 250px, #68442d 250px 380px); opacity: .9; }

.notice-strip { display: grid; grid-template-columns: 1.1fr .65fr 1fr; background: white; border-bottom: 1px solid var(--line); padding: 0 clamp(24px, 7vw, 110px); }
.notice-strip > div { min-height: 96px; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 16px; border-right: 1px solid var(--line); }
.notice-strip > div:last-child { border-right: 0; }
.notice-strip .icon { color: var(--wood); font-size: 1.15rem; }
.notice-strip span { font-size: .72rem; letter-spacing: .14em; color: var(--muted); }
.notice-strip strong { font-family: "Yu Mincho", serif; font-size: 1.15rem; letter-spacing: .06em; }
.notice-strip small { color: var(--muted); font-size: .75rem; }

.section { padding: 130px clamp(24px, 8vw, 130px); }
.story { display: grid; grid-template-columns: 60px minmax(280px, .78fr) minmax(0, 1.22fr); gap: clamp(28px, 6vw, 100px); align-items: start; background-image: linear-gradient(rgba(17,17,17,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(17,17,17,.035) 1px, transparent 1px); background-size: 34px 34px; }
.section-number { font-family: Georgia, serif; color: var(--wood); border-top: 1px solid var(--wood); padding-top: 8px; }
.eyebrow { color: var(--wood); }
.section h2 { margin: 0; font-size: clamp(2.2rem, 4vw, 4.1rem); line-height: 1.55; }
.story-heading h2 { font-size: clamp(2rem, 3.6vw, 3.7rem); }
.story-heading h2 span { display: block; white-space: nowrap; }
.story-body { width: 100%; max-width: 760px; min-width: 0; color: #55524d; }
.story-media { width: 100%; aspect-ratio: 4 / 3; margin: 0 0 34px; overflow: hidden; border: 1px solid var(--line); background: white; }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-lead { font-family: "Yu Mincho", serif; color: var(--ink); font-size: 1.3rem; line-height: 2; }
.story-lead span { display: block; white-space: nowrap; }
.principles { margin-top: 42px; border-top: 1px solid var(--line); }
.principles span { display: flex; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.principles b { color: var(--wood); font-family: Georgia, serif; font-weight: 400; }

.menu-section { background: #171717; color: white; }
.menu-intro { display: flex; justify-content: space-between; align-items: end; gap: 40px; padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,.18); }
.eyebrow.light { color: var(--wood-light); }
.menu-intro > p { max-width: 430px; color: rgba(255,255,255,.64); }
.menu-groups { max-width: 1260px; margin: 0 auto; }
.menu-group { display: grid; grid-template-columns: minmax(380px, .95fr) minmax(0, 1.25fr); gap: clamp(64px, 6vw, 96px); padding: 82px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.menu-group-copy { min-width: 0; position: relative; z-index: 1; }
.menu-group-copy > span { display: block; color: var(--wood-light); font-family: Georgia, serif; margin-bottom: 28px; }
.menu-group-copy > p { font-size: .75rem; letter-spacing: .23em; color: rgba(255,255,255,.58); }
.menu-group h3 { max-width: 100%; white-space: pre-line; font-family: "Yu Mincho", serif; font-size: clamp(2.1rem, 3vw, 3.2rem); font-weight: 700; line-height: 1.35; letter-spacing: .04em; margin: 12px 0 24px; }
.menu-group h3::after { content: ""; display: block; width: 64px; height: 3px; margin-top: 22px; background: var(--wood-light); }
.menu-group-featured h3 { font-size: clamp(2.8rem, 3.7vw, 3.8rem); line-height: 1.18; letter-spacing: .06em; margin-top: 16px; }
.menu-group small { display: block; max-width: 34rem; white-space: pre-line; color: rgba(255,255,255,.58); line-height: 1.9; font-size: .82rem; }
.menu-images { width: min(100%, 760px); justify-self: end; }
.menu-images a { display: block; background: #eee; overflow: hidden; }
.menu-images img { width: 100%; height: auto; transition: transform .35s, filter .35s; }
.menu-images a:hover img { transform: scale(1.018); filter: brightness(1.03); }
.menu-note { max-width: 1260px; margin: 32px auto 0; color: rgba(255,255,255,.48); font-size: .75rem; }

.access { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(54px, 10vw, 150px); background: #e6e5e1; }
.access-heading > p:not(.eyebrow) { color: var(--muted); margin: 26px 0 34px; }
.shop-details { margin: 0; border-top: 1px solid var(--line); }
.shop-details div { display: grid; grid-template-columns: 110px 1fr; padding: 22px 0; border-bottom: 1px solid var(--line); }
.shop-details dt { font-size: .76rem; color: var(--muted); letter-spacing: .12em; }
.shop-details dd { margin: 0; font-weight: 600; }
.shop-details small { font-weight: 400; color: var(--muted); }
.shop-details .access-logo { align-items: center; }
.access-logo img { width: 145px; height: 145px; object-fit: contain; border: 1px solid var(--line); }

.contact { padding: 90px clamp(24px, 8vw, 130px); background: var(--wood); color: white; display: grid; grid-template-columns: 1fr auto; gap: 36px 70px; align-items: center; }
.contact p { margin: 0 0 8px; font-size: .76rem; letter-spacing: .2em; }
.contact h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 3rem); }
.phone-large { display: flex; align-items: center; gap: 18px; border: 1px solid rgba(255,255,255,.42); padding: 24px 32px; min-width: 330px; }
.phone-large .phone-icon { font-size: 1.7rem; }
.phone-large span { font-family: Georgia, serif; font-size: 1.7rem; letter-spacing: .04em; line-height: 1.2; }
.phone-large small { display: block; font-family: "Yu Gothic", sans-serif; font-size: .68rem; letter-spacing: .17em; margin-bottom: 6px; }
.social-placeholder { grid-column: 2; justify-self: end; display: flex; align-items: center; gap: 8px; font-size: .82rem; opacity: .8; }
.social-placeholder span { padding: 1px 8px; border: 1px solid rgba(255,255,255,.5); font-size: .65rem; }

.site-footer { min-height: 230px; background: var(--ink); color: white; padding: 54px clamp(24px, 8vw, 130px); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 18px; }
.footer-brand img { width: 128px; height: 128px; object-fit: contain; }
.site-footer p { grid-column: 1; margin: 0; color: rgba(255,255,255,.55); font-size: .8rem; }
.site-footer small { grid-column: 2; grid-row: 1 / span 2; color: rgba(255,255,255,.4); }
.mobile-actions { display: none; }

.content-page { max-width: 900px; min-height: 65vh; margin: 0 auto; padding: 150px 24px 90px; }
.content-page h1 { font-family: "Yu Mincho", serif; font-size: clamp(2rem, 5vw, 3.5rem); }
.content-page article { padding: 28px 0; border-bottom: 1px solid var(--line); }

@media (max-width: 1050px) {
  .site-header { width: 100%; grid-template-columns: 1fr auto; justify-content: stretch; min-height: 84px; }
  .site-header nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { min-height: 670px; padding: 150px 28px 80px; gap: 22px; }
  .hero-media { height: 440px; border-top: 1px solid rgba(255,255,255,.16); border-left: 0; }
  .notice-strip { grid-template-columns: 1fr; padding: 0 24px; }
  .notice-strip > div { border-right: 0; border-bottom: 1px solid var(--line); justify-content: flex-start; min-height: 72px; }
  .notice-strip > div:last-child { border-bottom: 0; }
  .story { grid-template-columns: 38px 1fr; }
  .story-body { grid-column: 2; }
  .menu-intro { align-items: start; flex-direction: column; }
  .menu-group { grid-template-columns: 1fr; }
  .menu-images { justify-self: start; }
  .access { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .phone-large { min-width: 0; width: 100%; }
  .social-placeholder { grid-column: 1; justify-self: start; }
}

@media (max-width: 600px) {
  body { padding-bottom: 62px; }
  .site-header { padding: 16px 20px; }
  .header-call span { display: none; }
  .hero-copy { min-height: 620px; padding-top: 132px; }
  .hero-media { height: 300px; }
  .vertical-copy { font-size: .72rem; }
  .hero h1 { font-size: 2.55rem; }
  .lead br { display: none; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .section { padding: 88px 22px; }
  .story { gap: 18px; }
  .section h2 { font-size: 2.1rem; }
  .story-lead { font-size: 1rem; }
  .story-lead span { white-space: normal; }
  .menu-group { padding: 58px 0; gap: 28px; }
  .menu-group h3 { font-size: clamp(2rem, 9vw, 3rem); }
  .menu-group-featured h3 { font-size: clamp(2.4rem, 11vw, 3.4rem); letter-spacing: .04em; }
  .shop-details div { grid-template-columns: 84px 1fr; gap: 12px; }
  .contact { padding: 72px 22px; }
  .phone-large { padding: 20px; }
  .phone-large span { font-size: 1.35rem; }
  .site-footer { grid-template-columns: 1fr; padding: 48px 22px; min-height: 240px; }
  .site-footer p, .site-footer small { grid-column: 1; grid-row: auto; }
  .mobile-actions { position: fixed; z-index: 30; bottom: 0; left: 0; right: 0; height: 62px; display: grid; grid-template-columns: 1fr 1fr; background: #101010; color: white; box-shadow: 0 -8px 30px rgba(0,0,0,.18); }
  .mobile-actions a { display: flex; align-items: center; justify-content: center; gap: 9px; font-size: .82rem; letter-spacing: .1em; }
  .mobile-actions a + a { border-left: 1px solid rgba(255,255,255,.2); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
