@charset "UTF-8";

:root {
    --ink: #101b18;
    --green: #0c453a;
    --line: #d3e1dc;
    --paper: #f5f8f6;
    --content: min(1080px, calc(100% - 36px));
    font-size: 62.5%;
    scroll-padding-top: calc(var(--header-height, 86px) + 12px);
}
*, *::before, *::after { box-sizing: border-box; }
body.mein {
    margin: 0;
    height: auto;
    color: var(--ink);
    background: var(--paper);
    font: 500 1.6rem/1.75 "Yu Gothic", Meiryo, sans-serif;
    text-align: center;
}
h1, h2, h3, p, dl, dd { margin: 0; }
a { color: var(--green); }
a:focus-visible { outline: 3px solid #a45a14; outline-offset: 3px; }
.site-header, .company-footer { background: white; border-block: 1px solid var(--line); }
.site-header { position: sticky; top: 0; z-index: 100; }
.back-to-top {
    position: fixed;
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 110;
    display: grid;
    place-items: center;
    min-height: 44px;
    padding: 6px 14px;
    border: 1px solid white;
    border-radius: 24px;
    background: var(--green);
    color: white;
    box-shadow: 0 2px 8px #173d392b;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
}
.back-to-top:hover { background: #104a40; }
@media screen and (prefers-reduced-motion: no-preference) {
    :root { scroll-behavior: smooth; }
    .scroll-enter { animation: section-enter 440ms ease-out; }
    @keyframes section-enter {
        from { opacity: .85; translate: 0 12px; }
        to { opacity: 1; translate: 0 0; }
    }
}
.header-inner {
    width: min(1200px, calc(100% - 36px));
    min-height: 84px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.brand { text-align: left; font: 700 2.4rem/1.3 "Yu Mincho", serif; text-decoration: none; }
.brand span { display: block; margin-top: 4px; font: 500 1.3rem/1.4 sans-serif; letter-spacing: .12em; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 4px; }
.site-header nav a { padding: 10px; font-size: 1.5rem; font-weight: 600; text-decoration: none; border-radius: 5px; }
.site-header nav a:hover, .site-header [aria-current] { color: var(--green); background: #e7f2eb; }
.hero {
    min-height: clamp(320px, 36vw, 480px);
    position: relative;
    display: grid;
    align-items: center;
    isolation: isolate;
    color: white;
    text-align: left;
    background: #224a41;
}
.hero .yama, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero .yama { object-fit: cover; max-height: none; }
.hero::after { content: ""; background: linear-gradient(90deg, #092821f2, #12362dbe 68%, #102d3070); }
.hero-copy, .shop-intro, .dai { width: var(--content); margin-inline: auto; text-align: left; }
.hero-copy { padding-block: 40px; }
.hero h1, .dai, .shop-intro h1 { font: 700 clamp(2.8rem, 4vw, 4.8rem)/1.4 "Yu Mincho", serif; letter-spacing: .03em; }
.hero-copy p { max-width: 32em; margin: 14px 0 24px; }
.hero-copy a, .shop-actions a:first-child { display: inline-block; background: white; color: var(--green); border-radius: 6px; padding: 10px 20px; text-decoration: none; font-weight: 700; }
.dai, .shop-intro { padding: 0; margin-block: 40px 24px; color: var(--green); }
.shop-intro a { font-size: 1.4rem; text-decoration: underline; }
.info, .info2, .info3, .blok, .shop-card, .pharmacy .big, .mein2 > div {
    width: var(--content);
    height: auto;
    margin: 24px auto;
    padding: clamp(20px, 4vw, 46px);
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: none;
}
.info:empty, .mein2 > div:empty { display: none; }
.midasi, .zikann2 {
    margin: 0 0 20px; padding: 0 0 12px; border: 0; border-bottom: 2px solid var(--line);
    color: var(--green); text-align: left; font-size: clamp(2rem, 2.3vw, 2.8rem); font-weight: 700; line-height: 1.5;
}
.midasi2, .midasi3 { margin: 24px 0 10px; padding: 0; font-size: 2rem; text-align: left; color: var(--green); }
.p, .li2, .ko2, .oya2, .syousaiLINE, .LINE2 { font-size: 1.6rem; line-height: 1.85; color: var(--ink); text-align: left; }
.osirase, .osirase2 { width: 100%; border-collapse: collapse; }
.ko2, .oya2 { padding: 12px 8px; margin: 0; border-bottom: 1px solid var(--line); vertical-align: top; text-wrap: wrap; }
.oya2 { width: 23%; color: var(--green); font-weight: 600; }
.day { border: 0; }
.ao { color: var(--green); border: 0; text-decoration: underline; }
.company-footer { margin-top: 48px; padding: 24px 18px; font-size: 1.4rem; }
.company-footer p { padding: 8px; margin: 0; color: #30433b; }
.store .big { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 420px),1fr)); gap: 20px; width: var(--content); margin: auto; top: 0; }
.shop-card { width: 100%; margin: 0; padding: clamp(16px, 2.4vw, 28px); text-align: left; }
.shop-card img { width: 100%; height: 195px; object-fit: contain; background: var(--paper); border-radius: 8px; }
.shop-card h2 { margin: 14px 0; font-size: 2.2rem; }
.shop-card dl { display: grid; grid-template-columns: 5em 1fr; gap: 6px 10px; }
.shop-card dt { font-weight: 600; color: var(--green); }
.shop-actions { display: flex; align-items: center; gap: 18px; margin-top: 20px; }
.shop-actions a:first-child { background: var(--green); color: white; }
.store .map { width: var(--content); height: clamp(280px, 40vw, 480px); margin: 32px auto 0; }
.pharmacy .big { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr)); gap: 30px; align-items: center; }
.pharmacy .aitemu { min-width: 0; }
.bigimg, .pharmacy .slider-for, .pharmacy .slider-nav, .pharmacy .tennpo { margin: 0; width: 100%; height: auto; }
.pharmacy .img { width: 100%; height: clamp(190px, 25vw, 320px); object-fit: contain; border: 0; }
.pharmacy .slider-nav { margin-top: 4px; }
.pharmacy .slider-nav .slick-slide { padding-inline: 2px; }
.pharmacy .imgs { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border: 0; }
.pharmacy .slider-for:not(.slick-initialized) > div:not(:first-child), .pharmacy .slider-nav:not(.slick-initialized) { display: none; }
.pharmacy .oyakata { color: var(--green); font-size: 2.3rem; text-align: left; }
.pharmacy .oya, .pharmacy .ko { padding: 10px 4px; font-size: 1.6rem; border-bottom: 1px solid var(--line); }
.pharmacy .oyat { padding: 0; color: var(--green); background: transparent; text-align: left; }
.mein2 { background: transparent; width: 100%; }
.mein2 > div { position: static; }
.youbi { width: 100%; grid-template-columns: minmax(84px, 2fr) repeat(8,minmax(0,1fr)); gap: 2px; }
.aqaqaqa { width: auto; }
.youbi :is(.youbi2,.youbi3,.youbi4,.youbi5) { width: 100%; max-width: none; height: auto; padding: 8px 0; font-size: clamp(1.3rem,2vw,1.8rem); background: #edf4ef; color: var(--green); }
.youbi :is(.youbi2,.youbi4) { background: var(--green); color: white; }
.pharmacy .kuwasiku { margin: 12px 0 0; }
.syousaiLINE, .LINE2 { margin: 0; }
.LINEdai { display: inline-block; margin: 16px 0 4px; padding: 4px 12px; font: 600 1.6rem/1.6 sans-serif; background: var(--green); border-radius: 5px; }
.konntena, .konntena2 { width: 100%; }
.konntena .aitemu { background: #e7f2eb; }
.event-art { width: min(100%, 360px); height: auto; }
.event .ibennto { width: 52%; padding: 16px; }
.event .info table { width: 100%; }
.event .info2 { height: auto; }
@media (max-width: 840px) {
    :root { --header-height: 112px; }
    .header-inner { flex-direction: column; align-items: stretch; gap: 4px; padding: 6px 0; }
    .site-header nav { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
    .site-header nav a { font-size: 1.4rem; padding: 4px 1px; }
    .brand { align-self: start; }
    .brand span { display: inline-block; margin-left: 8px; }
}
@media (max-width: 600px) {
    .osirase tr, .osirase2 tr { display: grid; width: 100%; padding: 10px 0; border-bottom: 1px solid var(--line); }
    .osirase td, .osirase2 td { width: 100%; margin: 0; padding: 0; border: 0; }
    .event .info tr { display: flex; flex-direction: column; width: 100%; margin-bottom: 24px; }
    .event .info .ibennto { width: 100%; padding: 0; order: 1; }
    .event-art { max-height: 170px; object-fit: contain; }
    .event .midasi3 { margin-top: 8px; }
    .pharmacy .zikann { padding-inline: 10px; }
}
