/*
Theme Name: 菓子屋 hoshikuzu
Description: 菓子屋 hoshikuzu のウェブサイト用 WordPress テーマ。
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: hoshikuzu
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500&family=Noto+Serif+JP:wght@400;500;700&family=Crimson+Pro:wght@300;400;500&family=Zen+Kaku+Gothic+New:wght@700&display=swap');
/* RESET ------------------------- */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;scroll-padding-top:100px;}
body{font-family:"Noto Serif JP",serif;color:#231F1D;background:#fff;font-weight:400;line-height:1.8;letter-spacing:.05em;-webkit-text-size-adjust:100%;}
a{color:inherit;text-decoration:none;transition:opacity .25s;}
a:hover{opacity:.65;}
img{display:block;max-width:100%;height:auto;}
ul{list-style:none;}
button{font:inherit;color:inherit;cursor:pointer;}
h1,h2,h3,h4{font:inherit;}
figure{margin:0;}
:focus-visible{outline:2px solid #B1A081;outline-offset:5px;}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
.skip-link{position:fixed;top:10px;left:10px;z-index:1000;padding:10px 18px;background:#fff;transform:translateY(-150%);}
.skip-link:focus{transform:none;}
/* COMMON ------------------------- */
:root{--color-main:#231F1D;--color-muted:#848484;--color-accent:#B1A081;--color-beige:#F0EEEC;--color-light:#F4F4F4;--color-yellow:#F4A900;--gradient-light:linear-gradient(#fff,#F2EBE4);--gradient-dark:linear-gradient(#887C6E,#000);}
.contents{width:calc(100% - 80px);max-width:1080px;margin:0 auto;}
.flex{display:flex;align-items:center;}
.font-i{font-family:"Inter",sans-serif;letter-spacing:.05em;}
.font-n{font-family:"Noto Serif JP",serif;}
.font-c{font-family:"Crimson Pro","Noto Serif JP",serif;}
.font-g{font-family:"Zen Kaku Gothic New",sans-serif;}
.txw-3{font-weight:300;}
.txw-4{font-weight:400;}
.txw-5{font-weight:500;}
.txw-7{font-weight:700;}
.txs-12{font-size:12px;}
.txs-13{font-size:13px;}
.txs-14{font-size:14px;}
.txs-15{font-size:15px;}
.txs-16{font-size:16px;}
.txs-18{font-size:18px;}
.txs-20{font-size:20px;}
.txs-30{font-size:30px;}
.txs-32{font-size:32px;}
.txs-50{font-size:50px;}
.txs-60{font-size:60px;}
.txs-80{font-size:80px;}
.txs-100{font-size:100px;}
.tcl-1{color:#231F1D;}
.tcl-2{color:#848484;}
.tcl-3{color:#FFFFFF;}
.tcl-4{color:#000000;}
.tcl-5{color:#B1A081;}
.txa-c{text-align:center;}
.lh-1_2{line-height:1.2;}
.lh-1_8{line-height:1.8;}
.lh-2{line-height:2;}
.lh-2_4{line-height:2.4;}
.lh-2_5{line-height:2.5;}
.section-title h2{white-space:nowrap;letter-spacing:0;}
.section-title h2 span{display:inline-block;margin-left:10px;}
.section-title>p{margin-top:22px;}
.more{margin-top:52px;text-align:right;}
.more a{display:inline-block;min-width:180px;padding:0 5px 7px;border-bottom:1px solid currentColor;line-height:1.2;}
.underlined{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness: 1px; }
br.sp { display: none;}
/* HEADER ------------------------- */
#header {
  position: sticky;
  top: 0;
  z-index: 50;}
.header-inner {
  height: 100px;
  padding: 0 42px;
  gap: 24px;}
.header-logo {
  margin-right: auto;
  letter-spacing: .2em;
  white-space: nowrap;}
#gnav ul{gap:30px;}
.social{gap:12px;}
.social a {
  display: grid;
  place-items: center;
  width: 16px;
  height: 20px;}
.social svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;}
.social .icon-dot {
  fill: currentColor;
  stroke: none;}
#menu-btn {
  position: relative;
  width: 36px;
  height: 44px;
  margin-left: 20px;
  border: 0;
  background: none;}
#menu-btn span {
  position: absolute;
  left: 3px;
  right: 3px;
  height: 1px;
  background: #231F1D;}
#menu-btn span:nth-child(1){top:16px;}
#menu-btn span:nth-child(2){top:21px;}
#menu-btn span:nth-child(3){top:26px;}
#menu-panel {
  width: min(420px,100%);
  max-width: 100%;
  height: 100dvh;
  max-height: 100%;
  margin: 0 0 0 auto;
  border: 0;
  background: #F0EEEC;}
#menu-panel::backdrop{background:rgba(0,0,0,.4);}
.menu-inner {
  position: relative;
  min-height: 100%;
  padding: 120px 70px 70px;}
.menu-close {
  position: absolute;
  right: 30px;
  top: 30px;
  padding: 8px;
  border: 0;
  background: none;}
.menu-inner nav{margin:60px 0;}
.menu-inner nav li+li{margin-top:16px;}
body.menu-open{overflow:hidden;}
/* ARCH ------------------------- */
.item-curve {
  position: absolute;
  bottom: -0.5px;
  left: 0;
  width: 100%;
  height: 100px;
  transform: none;}
/* MORE FUN / ONLINE STORE ------------------------- */
.fun-section {
  min-height: 1153px;
  padding-top: 160px;
  padding-bottom: 120px;}
.fun-grid {
  display: grid;
  grid-template-columns: minmax(0,500fr) minmax(0,460fr);
  gap: clamp(60px,8.5714vw,120px);
  margin-top: 16px;}
.fun-grid>p {
  max-width: 500px;
  padding-top: 40px;}
.fun-card {
  display: grid;
  grid-template-columns: 100px minmax(0,1fr);
  gap: 20px;
  align-items: center;}
.fun-card+.fun-card{margin-top:10px;}
.fun-card img {
  width: 100px;
  height: 100px;
  object-fit: cover;}
.fun-card h3 {
  margin-bottom: 4px;
  line-height: 1.4;}
.fun-card p{line-height:1.75;}
.fun-list .more{margin-top:38px;}
.store-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 270px;
  margin-top: 80px;
  padding: 60px 80px;
  background: #F4F4F4;}
.store-banner p{margin-top:16px;}
.store-button {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 220px;
  height: 60px;
  background: #231F1D;
  color: #fff;}
/* CLOSING / FOOTER ------------------------- */
.closing-section {
  min-height: 975px;
  padding: 120px 0 150px;
  text-align: center;}
.closing-logo {
  width: 238px;
  height: 298px;
  padding-left: 100px;
  margin: 60px auto 0;
  object-fit: contain;}
#footer {
  min-height: 332px;
  padding: 30px 0 135px;
  background: linear-gradient(#fff,#F4F4F4);}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;}
.footer-name {
  margin-bottom: 18px;
  letter-spacing: .2em;}
.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  line-height: 2.5;}
.footer-bottom {
  justify-content: space-between;
  margin-top: 62px;}
@media screen and (max-width:1080px){
.txs-100{font-size:80px;}
.txs-80{font-size:64px;}
.txs-60{font-size:48px;}
.txs-50{font-size:42px;}
.header-inner{padding:0 30px;gap:18px;}
#gnav ul{gap:22px;}
#menu-btn{margin-left:8px;}
.fun-section{min-height:0;padding-top:110px;padding-bottom:110px;}
.fun-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:60px;margin-top:60px;}
.store-banner{padding:45px 60px;}
.store-button{width:190px;}
.footer-nav{gap:28px;flex-shrink:0;}
}
@media screen and (max-width:764px){
html{scroll-padding-top:76px;}
.contents{width:calc(100% - 80px);}
.txs-100{font-size:60px;}
.txs-80{font-size:50px;}
.txs-60{font-size:40px;}
.txs-50{font-size:36px;}
.txs-32{font-size:26px;}
.txs-30{font-size:24px;}
.txs-20{font-size:18px;}
.txs-18{font-size:16px;}
.txs-16{font-size:14px;}
.txs-15{font-size:14px;}
.section-title>p{margin-top:14px;}
.section-title h2 span{margin-left:6px;}
.more{margin-top:32px;}
.more a{min-width:145px;}
.header-inner{height:76px;padding:0 24px;gap:16px;}
#gnav{display:none;}
#menu-btn{margin-left:10px;}
#menu-panel { width: min(300px, 100%);}
.menu-inner{padding:100px 35px 70px;}
.item-curve{height:60px;}
.fun-section{padding-top:70px;padding-bottom:85px;}
.fun-grid{grid-template-columns:1fr;gap:45px;margin-top:40px;}
.fun-grid>p{max-width:none;padding-top:0;}
.fun-list{width:90%;margin-left:auto;}
.fun-card{grid-template-columns:90px minmax(0,1fr);gap:18px;}
.fun-card img{width:90px;height:90px;}
.store-banner{display:block;min-height:0;margin-top:70px;padding:35px 40px;}
.store-button{width:190px;height:54px;margin:28px 0 0 auto;}
.closing-section{min-height:0;padding:100px 0 110px;}
.closing-logo{width:225px;height:248px;margin-top:50px; padding-left: 80px;}
#footer{padding:30px 0 85px;}
.footer-top{display:block;}
.footer-nav{margin-top:35px;max-width:440px;gap:30px;line-height:2.8;}
.footer-bottom{margin-top:42px;}
}
@media screen and (max-width:480px){
br.sp { display: block;}
.contents{width:84vw;}
.txs-100{font-size:48px;}
.txs-80{font-size:42px;}
.txs-60{font-size:34px;}
.txs-50{font-size:30px;}
.txs-32{font-size:24px;}
.txs-30{font-size:22px;}
.txs-16{font-size:13px;}
.txs-15{font-size:13px;}
.txs-14{font-size:12px;}
.txs-13{font-size:12px;}
.header-inner{padding:0 20px;gap:12px;}
.header-logo{letter-spacing:.12em;}
.header-inner>.social{display:none;}
.item-curve {height: 20px;}
.fun-section{padding-top:55px;padding-bottom:65px;}
.fun-list{width:100%;}
.fun-card{grid-template-columns:100px minmax(0,1fr);gap:14px;}
.fun-card img{width:100px;height:100px;}
.fun-card p{line-height:1.6;}
.fun-list .more{margin-top:30px;}
.store-banner{padding:30px 8vw;margin-top:60px;}
.store-banner p br{display:none;}
.store-button{width:100%;margin-top:25px;}
.closing-section{padding:75px 0 90px;}
.closing-section p{letter-spacing:.02em;}
.closing-logo{width:160px;height:216px;padding-left: 60px;}
.footer-nav{gap:20px;}
.footer-name{margin-bottom:14px;}
}
@media (prefers-reduced-motion:reduce){
html{scroll-behavior:auto;}
a{transition:none;}
}
/* FADE IN ------------------------- */
.ef-fade.is-fade-ready {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s ease,transform .9s cubic-bezier(.2,.65,.3,1);}
.ef-fade.is-fade-ready.is-fade-visible {
  opacity: 1;
  transform: translateY(0);}
@media (prefers-reduced-motion:reduce){
.ef-fade.is-fade-ready{opacity:1;transform:none;transition:none;}
}
/* SUBPAGE COMMON ------------------------- */
.txs-24{font-size:24px;}
.txs-28{font-size:28px;}
.txs-36{font-size:36px;}
.txs-40{font-size:40px;}
.lh-1_5{line-height:1.5;}
.sub-hero {
  position: relative;
  width: calc(100% - 60px);
  margin-left: 60px;
  aspect-ratio: 1340/440;
  color: #fff;
  background: #231F1D;}
.sub-hero>img {
  width: 100%;
  height: 100%;
  object-fit: cover;}
.sub-hero-title {
  position: absolute;
  top: 50%;
  left: max(40px,calc((100vw - 1080px)/2 - 60px));
  transform: translateY(-50%);}
.sub-hero-title h1{letter-spacing:0;}
.sub-hero-title h1 span{margin-left:12px;}
.sub-hero-title>p{margin-top:14px;}
.breadcrumb {
  width: calc(100% - 120px);
  margin: 20px auto 0;
  color: #848484;}
.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;}
.breadcrumb li+li::before{content:">";margin-right:6px;}
.breadcrumb a{text-decoration:underline;text-underline-offset:2px;}
.section-nav {
  position: relative;
  padding: 20px 0;
  scroll-margin-top: 120px;}
.section-nav::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: min(720px,100%);
  height: 1px;
  background: #848484;}
.section-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;}
.section-nav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;}
.section-nav span{line-height:1; position: relative;top: -3px;}
@media screen and (max-width:1080px){
.txs-40{font-size:36px;}
.txs-36{font-size:32px;}
.txs-28{font-size:26px;}
.txs-24{font-size:22px;}
.sub-hero{width:calc(100% - 40px);margin-left:40px;}
.sub-hero-title{left:40px;}
.breadcrumb{width:calc(100% - 80px);}
.section-nav ul{gap:24px;}
}
@media screen and (max-width:764px){
.txs-40{font-size:30px;}
.txs-36{font-size:28px;}
.txs-28{font-size:24px;}
.txs-24{font-size:20px;}
.sub-hero{width:calc(100% - 24px);margin-left:24px;aspect-ratio:1.8;}
.sub-hero-title{left:30px;}
.sub-hero-title>p{margin-top:10px;}
.breadcrumb{width:calc(100% - 48px);margin-top:16px;}
.section-nav{padding:18px 0;}
.section-nav ul{gap:16px 24px;}
.section-nav a{gap:8px;}
}
@media screen and (max-width:480px){
.txs-40{font-size:26px;}
.txs-36{font-size:24px;}
.txs-28{font-size:22px;}
.txs-24{font-size:18px;}
.sub-hero{width:calc(100% - 20px);margin-left:20px;aspect-ratio:1.3;}
.sub-hero-title{left:24px;}
.breadcrumb{width:calc(100% - 40px);}
.section-nav ul{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.section-nav a{justify-content:space-between;width:100%;}
}

/* WORDPRESS CONTENT */
.hoshikuzu-page-content {padding-bottom:80px;}
.hoshikuzu-post-index {padding-block:80px 120px;}
.hoshikuzu-post-index .news-archive-grid {margin-block:30px;}
.hoshikuzu-post-index .nav-links {display:flex;flex-wrap:wrap;gap:1.5em;justify-content:center;}
.entry-content p + p {margin-top:1em;}
.entry-content ul, .entry-content ol {padding-inline-start:1.5em;}
.entry-content ul {list-style:disc;}
.entry-content ol {list-style:decimal;}
.entry-content a {text-decoration:underline;text-underline-offset:0.2em;}
.entry-content img {max-width:100%;height:auto;}
