/*
Theme Name: 행신 명랑운동회
Version: 1.2.0
Description: 행신 명랑운동회 모바일 홈페이지와 이용자 게시판
Requires PHP: 7.4
*/
:root{--ink:#102744;--blue:#123e9d;--sun:#ffda48;--paper:#f9f8f2;--rule:#d8d9d1}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;word-break:keep-all;overflow-wrap:anywhere}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:4px}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #cb6918;outline-offset:3px}img{display:block;width:100%;height:auto}.wrap,main{width:min(1192px,calc(100% - 72px));margin:auto}header{border-bottom:1px solid var(--rule);background:var(--paper)}.mast{display:flex;align-items:center;gap:32px;min-height:85px}.brand{display:flex;gap:10px;align-items:center;font-size:24px;font-weight:900;letter-spacing:-1.5px;line-height:1.15}.brand img{width:45px;height:49px;object-fit:contain;mix-blend-mode:multiply}.brand small{display:block;font-size:8px;letter-spacing:1px;margin-top:5px}.mast nav{margin-left:auto;display:flex;gap:27px;font-size:15px;font-weight:700}.quick,.button,button.action{display:inline-flex;align-items:center;justify-content:center;gap:22px;padding:12px 21px;border-radius:6px;background:var(--blue);color:white;font-size:15px;font-weight:750}.quick{background:var(--ink)}.hero{display:grid;grid-template-columns:.88fr 1.12fr;background:var(--blue);color:white;margin-top:24px;border-radius:12px;overflow:hidden;min-height:405px}.hero-copy{padding:clamp(26px,4.3vw,68px);align-self:center}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:800;color:var(--blue);margin:0 0 13px}.hero .eyebrow{color:white;letter-spacing:.08em}.eyebrow i{display:inline-block;background:var(--sun);width:8px;height:8px;border-radius:50%;margin-right:7px}.hero h1{font-size:clamp(44px,5.1vw,78px);line-height:1.08;margin:20px 0 17px;letter-spacing:-.075em}.hero em{font-style:normal;color:var(--sun)}.hero-copy>p:not(.eyebrow){font-size:16px;color:#edf4ff;margin:0 0 23px}.hero .button{background:var(--sun);color:var(--ink)}.hero figure{position:relative;margin:0}.hero figure img{height:100%;object-fit:cover}.hero figcaption{position:absolute;right:15px;bottom:13px;background:#0b1a2edb;color:white;padding:5px 12px;border-radius:3px;font-size:12px}.hero figcaption span{color:var(--sun);margin:0 5px}.band{margin:28px 0 42px;padding:17px 0;border-block:1px solid var(--ink)}.sectionline{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.sectionline>a,.inline{color:var(--blue);font-weight:700;font-size:14px}.sectionline h2,.detail h2,.visit h2{margin:0;font-size:clamp(25px,3vw,39px);letter-spacing:-.065em;line-height:1.25}.band h2{font-size:21px}.rows{margin-top:12px}.line{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--rule)}.line small,.pill{font-size:12px;color:var(--blue);background:#e4eaf6;border-radius:4px;padding:2px 8px;white-space:nowrap}.line b{font-size:15px}.line time{margin-left:auto;color:#596676;font-size:12px}.block{margin-bottom:48px}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:22px}.thumb{position:relative;border-radius:8px;overflow:hidden}.thumb img{aspect-ratio:1.5;object-fit:cover}.thumb span{position:absolute;top:8px;left:8px;background:var(--sun);padding:3px 9px;font:bold 12px/1.4 monospace;border-radius:3px}.card small{display:block;letter-spacing:1px;margin-top:10px;font-size:10px;font-weight:800}.card h3{font-size:24px;display:flex;justify-content:space-between;align-items:center;line-height:1.2;margin:4px 0}.card h3 b{font-size:15px;color:var(--blue)}.card p{margin:4px 0}.visit,.bookingbox,.detail{display:grid;grid-template-columns:1fr 1fr;gap:clamp(22px,4vw,60px);align-items:center}.visit{padding:24px;background:#e7ede8;border-radius:12px}.visit img{height:240px;object-fit:cover;object-position:50% 57%;border-radius:8px}.intro{max-width:785px;margin:50px 0 28px}.intro h1{margin:0;font-size:clamp(36px,5vw,60px);line-height:1.2;letter-spacing:-.075em}.intro>p:last-child{color:#41536a}.chips{display:flex;gap:8px;flex-wrap:wrap}.chips a{border:1px solid var(--rule);background:white;border-radius:30px;padding:7px 14px;font-size:14px}.chips .on{background:var(--ink);color:white}.detail{padding:32px 0;border-bottom:1px solid var(--rule);scroll-margin-top:18px}.detail>img{border-radius:8px;aspect-ratio:4/3;object-fit:cover}.detail>div>img{width:65%;border-radius:4px;margin:12px 0}.price{display:inline-block;margin-top:13px;color:var(--blue)}dt{font-weight:800}dd{margin:0 0 8px;color:#43546b}.bookingbox{align-items:start}.bookingbox aside,.panel{padding:24px;background:white;border:1px solid var(--rule);border-radius:8px}.steps{counter-reset:step;padding:0;list-style:none}.steps li{padding:0 0 18px 44px;position:relative}.steps li::before{counter-increment:step;content:'0' counter(step);position:absolute;left:0;color:var(--blue);font-weight:800}.steps p,aside p{margin:4px 0 12px}aside h3{margin:0 0 8px}hr{border:0;border-top:1px solid var(--rule);margin:20px 0}main{min-height:50vh;padding-bottom:55px}footer{background:var(--ink);color:#eaf0f9;padding:32px 0}footer b{font-size:20px}footer p,footer a{font-size:14px}button,input,textarea,select{font:inherit}button.action{border:0;cursor:pointer}.panel{margin:16px 0}.panel label{display:block;font-size:14px;font-weight:700;margin:12px 0}.panel input,.panel textarea{display:block;width:100%;border:1px solid #9ea9b6;padding:9px;border-radius:4px}.panel summary{cursor:pointer;font-weight:700}.panel img{max-width:700px}.tools{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:16px 0}.posttext{white-space:pre-wrap}.skip{position:absolute;top:-99px}.skip:focus{top:0;background:white;z-index:9}.empty{color:#526073;padding:22px 0}.gridgallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}.gridgallery img{aspect-ratio:4/3;object-fit:cover;border-radius:7px}.reply{border-left:3px solid var(--blue);padding:12px;background:#edf2f7}.preview-note{font-size:14px;padding:14px;background:#fff2bf;border-radius:6px}
@media(max-width:800px){.wrap,main{width:calc(100% - 36px)}.mast{gap:14px;flex-wrap:wrap;padding-top:12px}.mast nav{order:3;width:100%;margin:0;justify-content:space-between;gap:8px;border-top:1px solid var(--rule);padding:9px 0;font-size:14px}.quick{margin-left:auto;padding:8px 12px}.hero{grid-template-columns:1fr 1fr;min-height:0}.hero-copy{padding:28px 20px}.hero h1{font-size:43px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.brand{font-size:21px}}
@media(max-width:600px){.hero{grid-template-columns:1fr;margin-top:14px}.hero-copy{padding:24px}.hero h1{font-size:46px;margin:10px 0}.hero h1 br{display:none}.hero h1 em{display:block}.hero figure img{height:auto;aspect-ratio:1.9;object-position:center 57%}.hero-copy>p:not(.eyebrow){margin-bottom:16px;font-size:14px}.band{margin:22px 0 30px}.sectionline>a{font-size:12px}.cards{gap:16px 12px}.card h3{font-size:21px}.card p{font-size:14px}.visit,.detail,.bookingbox{grid-template-columns:1fr}.visit{padding:16px}.visit img{height:180px}.intro{margin:32px 0 18px}.detail{gap:16px}.line{gap:8px}.line time{font-size:10px}.line b{font-size:14px}.brand img{width:36px;height:40px}.panel{padding:16px}}
.gridgallery .line{display:flex;flex-direction:column;align-items:flex-start;gap:5px}.panel h2{line-height:1.3}.panel>small+img{margin-top:16px}
.card.billiards{--tag:#ffca93}.card.pingpong{--tag:#b7dfff}.card.fitness{--tag:#ffc1bd}.card.tennis{--tag:#b3e7b6}.card .thumb span{background:var(--tag,var(--sun))}

.rental{margin:44px 0}.rental h2{font-size:clamp(26px,4vw,38px);letter-spacing:-.055em}.rent-grid,.photo-pair,.route-photos,.review-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.rent-grid article{border:1px solid var(--rule);padding:22px;border-radius:10px;background:white}.rent-grid h3{margin-top:0}.calc{padding:16px;background:#eef2fb;border-left:4px solid var(--blue);margin:16px 0}.calc strong{display:block;font-size:22px;color:var(--blue)}.calc p{margin:5px 0}.prices{padding:0;list-style:none}.prices li{display:flex;justify-content:space-between;border-bottom:1px solid var(--rule);padding:6px 0}.route-photos{grid-template-columns:repeat(3,minmax(0,1fr))}.photo-pair,.route-photos,.review-cards{margin:18px 0}.photo-pair figure,.route-photos figure,.gridgallery figure{margin:0}.route-photos img,.photo-pair img,.review-cards img{border-radius:8px;object-fit:cover;aspect-ratio:4/3}.photo-pair figcaption,.route-photos figcaption{margin-top:5px}.review-cards a{display:grid;align-content:start;gap:8px;padding:12px;background:white;border-radius:8px}.blog-placeholder{display:grid;place-items:center;background:#e4efea;color:#345748;aspect-ratio:2.5;font-weight:750;letter-spacing:.12em}.gridgallery a{display:block}.gridgallery b{display:block}.gridgallery small{color:var(--blue)}@media(max-width:600px){.rent-grid,.route-photos,.photo-pair{grid-template-columns:1fr}.route-photos img,.photo-pair img{max-height:280px}.review-cards{gap:8px}}

.review-cards img{object-fit:contain;background:#eef2f3}
