/* foundations：色と最大幅はここでまとめて変更できます */
:root {
  --bg: #f2ede7;
  --ink: #633215;
  --soft: #b99b89;
  --panel: #cfbba4;
  --width: 1024px;
}

html {
  scroll-padding-top: 30px;
}

/* バーのみ非表示にし、ホイール・タッチ・キーボードでのスクロールは維持 */
html,
body,
.pd {
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
.pd::-webkit-scrollbar {
  display: none;
  width: 0px;
  height: 0px;
}

body {
  margin: 0px;
  padding: 0px;
  background: var(--bg);
  color: var(--ink);
  font-family: "Yu Mincho", "YuMincho", serif;
  font-size: 18px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #a37549;
  outline-offset: 6px;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: default;
  opacity: 1;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: fixed;
  top: 5px;
  left: 5px;
  z-index: 100;
  padding: 8px 16px;
  background: white;
  transform: translateY(-150%);
}

.skip:focus {
  transform: none;
}

.en_ttl {
  font-family: "Allison", cursive;
  font-size: clamp(54px, 5.4vw, 78px);
  font-weight: 400;
  letter-spacing: 0.2em;
  line-height: 1;
  color: rgb(99 50 21 / 80%);
  text-align: center;
}

.logo_crop {
  position: relative;
  display: block;
  overflow: hidden;
}

.logo_crop img {
  position: absolute;
  width: 170.11%;
  height: 115.11%;
  max-width: none;
  left: -35.63%;
  top: -14.99%;
}

.h {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
}

/* 動画は画面幅いっぱい。他のセクションは従来の最大幅を維持 */
main {
  width: 100%;
  max-width: none;
  margin: 0px;
  padding: 0px;
}

main > :not(.fv) {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
}

/* header */
.h {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10000;
}

.h_container {
  margin-inline: auto;
  max-width: 1210px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 40px;
}

.h_logo {
  width: 96px;
  height: 134px;
  flex-shrink: 0;
}

.h_nav {
  display: flex;
  gap: 40px;
  color: #f3eadc;
  font-size: 15px;
  font-weight: 600;
}

.h_toggle {
  display: none;
}

/* first view */
.fv {
  width: 100%;
  max-width: none;
  margin: 0px;
  padding: 0px;
  height: 920px;
  position: relative;
  isolation: isolate;
}

.fv_img,
.fv_shade {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -2;
}

.fv_img img {
  position: absolute;
  width: 100.04%;
  height: 208.53%;
  left: -0.02%;
  top: -65.09%;
  max-width: none;
}

.fv_shade {
  z-index: -1;
  background: rgb(99 50 21 / 25%);
}

.fv_ttl {
  position: absolute;
  left: 14.44%;
  top: 332px;
  color: #fff;
  font-size: 56px;
  line-height: 1.25;
}

.fv_dots {
  position: absolute;
  bottom: 49px;
  left: calc(50% - 30px);
}

.fv_wave {
  position: absolute;
  left: 0px;
  right: 0px;
  top: auto;
  bottom: 0px;
  height: 320px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%, var(--bg) 100%);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 70%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 70%);
}

/* concept */
.co {
  padding: 300px 0 300px;
}

.co_container {
  position: relative;
  max-width: 1212px;
  min-height: 768px;
  margin: auto;
  display: grid;
  grid-template-columns: 607px 1fr;
  grid-template-rows: 393px auto;
  column-gap: 45px;
  row-gap: 80px;
  padding-left: 94px;
}

.co_line {
  position: absolute;
  top: 16px;
  left: 11px;
}

.co_img1 {
  width: 607px;
  height: 393px;
  object-fit: cover;
}

.co_heading {
  padding-top: 0;
  margin-top: -3px;
  margin-right: -5px;
  white-space: nowrap;
}

.co_heading h2 {
  font-size: 38px;
  line-height: 1.65;
}

.co_heading img {
  margin: 20px 0 0 auto;
}

.co_text {
  font-size: 18px;
  line-height: 2.1;
}

.co_text p + p {
  margin-top: 25px;
}

.co_img2 {
  width: 369px;
  height: 426px;
  object-fit: cover;
  margin-top: -131px;
  justify-self: end;
}

.co_en {
  position: absolute;
  top: -160px;
  inset-inline: 0px;
}

/* feature：マスク画像の外側の領域が横スクロールを作らないようにする */
.fe {
  overflow-x: clip;
  overflow-y: visible;
  padding-bottom: 100px;
}

.fe_container,
.li_container {
  max-width: 1024px;
  margin: auto;
}

.fe_heading {
  display: grid;
  gap: 44px;
  margin-bottom: 100px;
}

.fe_heading h2 {
  font-size: 40px;
  line-height: 1.7;
  letter-spacing: 0.1em;
  padding-left: 20px;
}

.fe_heading h2 span {
  font-size: 48px;
}

.fe_boxes {
  display: grid;
  gap: clamp(80px, 10vw, 145px);
  max-width: 940px;
  margin: 0 auto;
}

.fe_box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  column-gap: clamp(36px, 6vw, 90px);
}

.fe_rev .fe_visual {
  grid-column: 2;
  grid-row: 1;
}

.fe_rev .fe_text {
  grid-column: 1;
  grid-row: 1;
}

.fe_visual {
  position: relative;
  justify-self: center;
  width: 100%;
  padding-bottom: 24px;
}

.fe_visual01 {
  max-width: 375px;
}

.fe_visual02 {
  max-width: 320px;
}

.fe_visual03 {
  max-width: 425px;
}

.fe_visual > img {
  display: block;
  width: 100%;
  height: auto;
}

.fe_num {
  position: absolute;
  bottom: 0;
  left: 7%;
  color: var(--soft);
  font-family: "Calligraffitti", cursive;
  font-size: clamp(48px, 5.5vw, 80px);
  line-height: 1;
  transform: skewX(-19deg) scaleY(0.95);
}

.fe_visual01 .fe_num {
  bottom: 8%;
}

.fe_visual02 .fe_num {
  left: 0;
}

.fe_text {
  min-width: 0;
  font-size: 20px;
  line-height: 1.9;
}

.fe_text h3 {
  margin-bottom: 25px;
  font-size: 30px;
  line-height: 1.6;
}

.fe_note {
  margin-top: 25px;
  font-size: 17px;
}

@media screen and (max-width: 900px) {
  .fe_box {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    row-gap: 25px;
  }

  .fe_rev .fe_visual,
  .fe_rev .fe_text {
    grid-column: auto;
    grid-row: auto;
  }

  .fe_text {
    width: 100%;
    max-width: 540px;
  }
}

/* Line up */
.site_content > .li {
  max-width: none;
  padding: 100px 0px;
  background: #ba9175;
  color: #ffffff;
}

.li_intro {
  padding: 70px 0px 20px 0px;
  font-size: clamp(14px, 1.4vw, 18px);
  line-height: 1.7;
}

.li_intro a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.li_heading h2 {
  color: inherit;
  text-align: left;
}

.li_group + .li_group {
  margin-top: clamp(70px, 9vw, 130px);
}

.li_group_head {
  margin-bottom: clamp(42px, 6vw, 80px);
}

.li_group_title {
  font-family: "Abhaya Libre", serif;
  font-size: clamp(25px, 2.5vw, 36px);
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1.2;
}

.li_rec {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 5px;
  width: max-content;
  font-size: 13px;
  line-height: 1.5;
  pointer-events: none;
}

.li_item .li_rec img {
  width: 14px;
  aspect-ratio: auto;
  filter: brightness(0) invert(1);
}

.li_grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  column-gap: clamp(24px, calc(16.4vw - 120px), 116px);
  row-gap: clamp(46px, calc(16.4vw - 120px), 116px);
}

.li_item {
  min-width: 0px;
  text-align: center;
}

.li_photo {
  position: relative;
  display: block;
  width: min(166px, 100%);
  margin: 0px auto;
}

.li_item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 166 / 159;
  object-fit: contain;
}

.li_item p {
  margin-top: clamp(15px, 2vw, 30px);
  font-size: clamp(14px, 1.4vw, 20px);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.li_keep {
  margin: clamp(64px, 8vw, 110px) auto 0px;
  text-align: center;
  font-size: clamp(13px, 1.3vw, 18px);
  line-height: 1.7;
}

.keep_text {
  width: fit-content;
  max-width: 100%;
  margin: 24px auto 0px;
  text-align: left;
}

@media screen and (max-width: 900px) {
  .co_en {
    position: static;
    order: -1;
    align-self: stretch;
    margin-bottom: 15px;
  }

  .li_photo {
    width: min(120px, 100%);
  }
}

@media screen and (max-width: 680px) {
  .li_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 20px;
  }
}

/* photo */
.ph {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  margin-top: 414px;
}

.ph_row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 34.3fr) minmax(0, 34.3fr) minmax(0, 31.4fr);
  width: 72.5%;
  aspect-ratio: 1044 / 360;
  box-shadow: 0 10px 24px rgb(56 37 23 / 15%);
}

.ph_row::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 10%);
  pointer-events: none;
}

.ph_img {
  position: relative;
  overflow: hidden;
}

.ph_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph_img1 img {
  position: absolute;
  width: 107.26%;
  height: 100.04%;
  top: -0.02%;
  left: 0;
}

.ph_img2 img {
  position: absolute;
  width: 100.15%;
  height: 114.37%;
  top: -14.37%;
  left: -0.07%;
}

.ph_logo {
  position: relative;
  width: 48.6%;
  max-width: 700px;
  aspect-ratio: 700 / 171;
  margin: clamp(12px, 1.75vw, 25px) 0.7% 0 auto;
  overflow: hidden;
}

.ph_logo img {
  opacity: 0.06;
  position: absolute;
  width: 145.33%;
  height: 560.24%;
  left: -18.25%;
  top: -391.57%;
}

/* message */
.me {
  padding-top: 230px;
  padding-bottom: 200px;
}

.me_container {
  max-width: 1190px;
  margin: auto;
}

.me_body {
  display: grid;
  grid-template-columns: 298px 1fr;
  column-gap: 100px;
  margin: 65px 0 0 147px;
}

.me_img {
  width: 298px;
  height: 431px;
  mask: url("./assets/owner.svg") 0 0 / 298px 431px no-repeat;
  overflow: hidden;
}

.me_img img {
  width: 324.576px;
  height: 432.768px;
  max-width: none;
  margin-left: -1.648px;
  margin-top: -0.747px;
}

.me_text {
  font-size: 20px;
  line-height: 2.5;
  padding-top: 0;
}

.me_last {
  margin-top: 70px;
  font-size: 23px;
  white-space: nowrap;
}

/* news */
.ne {
  padding-top: 100px;
}

.ne_container {
  max-width: 1212px;
  margin: auto;
  position: relative;
  padding-bottom: 170px;
}

.ne_list {
  width: 100%;
  max-width: 620px;
  margin: 0px auto;
  text-align: left;
}

.ne_list li {
  position: relative;
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 24px;
  gap: 24px;
  align-items: center;
  padding: 17px 0px;
  font-size: 20px;
}

.ne_list time {
  font-size: 15px;
}

.ne_line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: url("./assets/vector1.svg") left bottom / 853px 1px no-repeat;
}

.ne_en {
  margin: 0px 0px 70px;
}

/* access */
.ac {
  padding: 180px 24px 275px;
  text-align: center;
}

.ac h2 {
  font-size: 30px;
  letter-spacing: 0.6em;
  padding-left: 0.6em;
  margin-bottom: 70px;
}

.ac_img {
  width: 307px;
  height: 328px;
  margin: auto;
  object-fit: cover;
}

.ac h3 {
  font-size: 30px;
  margin-top: 20px;
}

.ac p {
  font-size: 20px;
  line-height: 2.3;
}

.ac_map {
  display: inline-flex;
  position: relative;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  margin: 16px 0 24px;
}

.ac_line {
  position: absolute;
  left: 0;
  bottom: -2px;
}

/* footer */
.f {
  width: 100%;
  background: var(--ink) url("./assets/footer_img.png") center 45% / cover
    no-repeat;
  color: #f3eadc;
  padding: 75px 0 130px;
}

.f_container {
  max-width: 100%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 70px;
}

.f_info {
  flex: 1;
}

.f_logo {
  width: 87px;
  height: 121px;
  margin: 0 auto 8px;
}

.f_name {
  font-size: 34px;
}

.f_sub {
  font-size: 20px;
  margin-top: 14px;
}

.f_contact {
  font-size: 16px;
  letter-spacing: 0.2em;
  margin-top: 35px;
  line-height: 1.9;
}

.f_nav {
  display: flex;
  gap: 25px;
  font-size: 15px;
  margin-top: 35px;
  white-space: nowrap;
}

.f_amico {
  width: 371px;
  flex-shrink: 0;
  padding-top: 24px;
  text-align: center;
  font-size: 20px;
}

.f_brand {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.2em;
  margin-bottom: 6px;
}

.f_brand span {
  font-size: 25px;
}

.f_photos a {
  display: flex;
  gap: 0;
  margin-top: 35px;
}

.f_photos div {
  width: 121px;
  height: 169.825px;
  flex-shrink: 0;
  mask: url("./assets/202610121153241.svg") 0 0 / 121px 169.825px no-repeat;
  overflow: hidden;
}

.f_photos img {
  width: 154.08px;
  height: 180.969px;
  object-fit: cover;
  margin: -5.661px 0 0 -16.629px;
  max-width: none;
}

.f_photos div:nth-child(2) img {
  width: 144.528px;
  height: 184.861px;
  margin: -7.429px 0 0 -11.676px;
}

.f_photos div:nth-child(3) img {
  width: 153.373px;
  height: 174.778px;
  margin: -2.476px 0 0 -16.274px;
}

.f_more {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 18px;
  letter-spacing: 0.2em;
  gap: 12px;
  margin-top: 20px;
}

.f_sns {
  margin-top: 65px;
  text-align: center;
  font-size: 16px;
}

.f_sns img {
  margin: auto auto 25px;
}

.f small {
  display: block;
  margin-top: 30px;
  text-align: center;
  font-size: 20px;
}

/* shop：位置はここで変更。左右中央・下から24px、スマホは安全領域も確保 */
.shop {
  position: fixed;
  z-index: 20;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: 377px;
  height: 103px;
  border: 0;
  border-radius: 8px;
  background: #a37549;
  color: white;
  box-shadow: 10px 10px 14px rgb(0 0 0 / 25%);
  display: flex;
  align-items: center;
  padding: 18px 20px 18px 28px;
  text-align: left;
}

.shop::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid #fff;
  border-radius: 8px;
  pointer-events: none;
}

.shop_art {
  position: relative;
  width: 115px;
  height: 70px;
  flex-shrink: 0;
}

.shop_m1 {
  position: absolute;
  width: 43px;
  height: 39.3px;
  object-fit: cover;
  left: 5px;
  top: 5px;
  transform: rotate(-16deg);
}

.shop_m2 {
  position: absolute;
  width: 42.8px;
  height: 38.87px;
  object-fit: cover;
  left: 39px;
  top: 22px;
  transform: rotate(10.4deg);
}

.shop_flower {
  width: 34.85px;
  height: 31.365px;
  position: absolute;
  left: 79px;
  top: 0;
  transform: rotate(-20.68deg);
}

.shop_flower img {
  position: absolute;
  width: 100%;
  height: 100%;
  left: -35%;
  top: 4.78%;
  max-width: none;
  transform: rotate(20deg);
}

.shop_text {
  display: flex;
  flex-direction: column;
  line-height: 13px;
  letter-spacing: 2px;
  white-space: nowrap;
  text-align: center;
  padding-left: 15px;
}

.shop_text strong {
  font-family: "Abhaya Libre", serif;
  font-size: 24px;
  font-weight: 800;
}

.shop_text > span {
  font-size: 18px;
  font-weight: 600;
}

.shop_arrow {
  position: absolute;
  right: 33px;
  bottom: 30px;
}

/* 中間幅：PCの並びを保ちつつ、横にはみ出さないよう調整 */
@media screen and (max-width: 1250px) {
  .fv_img img {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    object-fit: cover;
    object-position: center 48%;
  }

  .h_container {
    margin-inline: 5%;
  }

  .co_container {
    max-width: 90%;
    padding-left: 0;
    grid-template-columns: 55% 1fr;
    gap: 60px 35px;
  }

  .co_img1 {
    width: 100%;
  }

  .co_heading h2 {
    font-size: 30px;
  }

  .co_img2 {
    max-width: 100%;
  }

  .co_line {
    left: -35px;
  }

  .co_text {
    font-size: 16px;
  }

  .fe_container,
  .li_container {
    max-width: 88%;
  }

  .fe_text {
    font-size: 18px;
  }

  .fe_text h3 {
    font-size: 25px;
    white-space: normal;
  }

  .me_container {
    max-width: 88%;
  }

  .me_body {
    margin-left: 30px;
    gap: 60px;
  }

  .me_text {
    font-size: 18px;
  }

  .me_last {
    font-size: 20px;
    white-space: normal;
  }

  .pc_br {
    display: none;
  }

  .ne_container {
    max-width: 90%;
  }

  .ne_en {
    margin-bottom: 50px;
  }

  .f_container {
    max-width: 88%;
    gap: 35px;
  }

  .f_nav {
    gap: 15px;
    flex-wrap: wrap;
  }
}

/* スマホ初稿：同じHTMLを縦に並べ、画像・文章を二重に持たない */
@media screen and (max-width: 900px) {
  body {
    font-size: 15px;
  }

  .h_container {
    padding-top: 22px;
    align-items: flex-start;
    margin-inline: 24px;
  }

  .h_logo {
    width: 55px;
    height: 77px;
  }

  .fv {
    height: 720px;
  }

  .fv_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 48%;
    left: 0;
    top: 0;
  }

  .fv_ttl {
    top: 300px;
    left: 8%;
    font-size: 38px;
    line-height: 1.5;
  }

  .fv_dots {
    bottom: 32px;
  }

  .fv_wave {
    height: 220px;
  }

  .co {
    padding: 140px 0 250px;
  }

  .co_container {
    width: 84%;
    max-width: 540px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    min-height: 0;
  }

  .co_line {
    display: none;
  }

  .co_img1 {
    width: 100%;
    height: auto;
    aspect-ratio: 607 / 393;
  }

  .co_heading {
    margin: 0;
    padding: 0;
    white-space: normal;
  }

  .co_heading h2 {
    font-size: 26px;
    line-height: 1.8;
  }

  .co_heading img {
    margin: 10px 0 0;
  }

  .co_text {
    font-size: 15px;
    line-height: 2.1;
  }

  .co_text p + p {
    margin-top: 22px;
  }

  .co_img2 {
    margin: 0 0 0 auto;
    width: 65%;
    height: auto;
  }

  .fe_container,
  .li_container {
    max-width: 84%;
  }

  .fe_heading {
    gap: 30px;
    margin-bottom: 40px;
  }

  .fe_heading h2 {
    font-size: 27px;
  }

  .fe_heading h2 span {
    font-size: 32px;
  }

  .fe_text {
    font-size: 16px;
  }

  .fe_text h3 {
    font-size: 23px;
    margin-bottom: 18px;
  }

  .fe_note {
    font-size: 13px;
    margin-top: 20px;
  }

  .ph {
    margin-top: 130px;
  }

  .ph_row {
    width: 100%;
  }

  .ph_logo {
    width: 75%;
    max-width: 450px;
  }

  .me {
    padding-top: 80px;
    padding-bottom: 100px;
  }

  .me_container {
    max-width: 84%;
  }

  .me_body {
    display: flex;
    flex-direction: column;
    margin: 55px 0 0;
    gap: 35px;
  }

  .me_img {
    align-self: center;
  }

  .me_text {
    font-size: 16px;
    line-height: 2.2;
  }

  .me_last {
    margin-top: 35px;
    font-size: 17px;
  }

  .ne {
    padding-top: 40px;
  }

  .ne_container {
    width: 84%;
    max-width: 540px;
    padding-bottom: 120px;
  }

  .ne_list li {
    grid-template-columns: 1fr 20px;
    gap: 8px 12px;
    padding: 18px 0;
    font-size: 15px;
  }

  .ne_list time {
    font-size: 12px;
    grid-column: 1;
  }

  .ne_list p {
    grid-column: 1;
  }

  .ne_list li > span {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .ne_en {
    margin-bottom: 50px;
  }

  .ac {
    padding: 100px 24px 120px;
  }

  .ac h2 {
    font-size: 24px;
    margin-bottom: 35px;
  }

  .ac_img {
    width: min(100%, 307px);
    height: auto;
    aspect-ratio: 307 / 328;
    object-fit: cover;
  }

  .ac h3 {
    font-size: 26px;
  }

  .ac p {
    font-size: 14px;
    line-height: 2;
  }

  .ac_map {
    margin-block: 20px 30px;
    font-size: 16px;
  }

  .f {
    padding: 60px 0 150px;
  }

  .f_container {
    max-width: 84%;
    flex-direction: column;
    gap: 65px;
    align-items: center;
  }

  .f_info {
    text-align: center;
  }

  .f_logo {
    margin: 0 auto;
  }

  .f_name {
    font-size: 30px;
  }

  .f_sub {
    font-size: 17px;
  }

  .f_contact {
    font-size: 14px;
    letter-spacing: 0.08em;
  }

  .f_nav {
    font-size: 13px;
    gap: 12px 18px;
    white-space: normal;
  }

  .f_amico {
    width: 100%;
    max-width: 371px;
    align-self: center;
    padding: 0;
    font-size: 15px;
  }

  .f_photos {
    width: 363px;
    transform-origin: top left;
  }

  .f_sns {
    margin-top: 55px;
  }

  .shop {
    bottom: max(16px, env(safe-area-inset-bottom));
    width: min(377px, calc(100% - 50px));
    height: 88px;
    padding-left: 18px;
  }

  .shop_art {
    width: 105px;
  }

  .shop_text strong {
    font-size: 22px;
  }

  .shop_text > span {
    font-size: 16px;
  }

  .shop_arrow {
    right: 25px;
    bottom: 22px;
  }
}

@media screen and (max-width: 550px) {
  .co_heading h2 {
    font-size: 22px;
  }

  .f_photos {
    zoom: 0.8;
  }
}

@media screen and (max-width: 360px) {
  .fv_ttl {
    font-size: 33px;
  }

  .fe_text h3 {
    font-size: 21px;
  }

  .me_img {
    zoom: 0.85;
  }

  .f_photos {
    zoom: 0.72;
  }

  .shop_art {
    width: 72px;
    transform: scale(0.65);
    transform-origin: left center;
  }

  .shop_text {
    letter-spacing: 1px;
    padding-left: 35px;
  }

  .shop_text strong {
    font-size: 18px;
  }

  .shop_text > span {
    font-size: 14px;
  }

  .shop_arrow {
    right: 20px;
    bottom: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* 全画面メニュー：調整する場所をまとめています */
.h_menu {
  display: contents;
}

.h_menu_inner,
.h_menu_body {
  display: contents;
}

.h_info {
  display: none;
}

@media screen and (max-width: 900px) {
  body.menu_open {
    overflow: hidden;
  }

  .h_toggle {
    display: flex;
    position: fixed;
    top: 22px;
    right: 24px;
    z-index: 3;
    width: 44px;
    height: 44px;
    padding: 12px 8px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: transparent;
    border: 0;
  }

  .h_toggle > span:not(.sr) {
    display: block;
    width: 28px;
    height: 1px;
    background: #fff;
    box-shadow: 0px 0px 3px rgba(99, 50, 21, 0.35);
    transition:
      transform 0.3s,
      opacity 0.3s;
  }

  .h_toggle[aria-expanded="true"] > span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .h_toggle[aria-expanded="true"] > span:nth-child(2) {
    opacity: 0;
  }

  .h_toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* 参考サイトと同じ、高さで下から開き、上へ閉じる方式 */
  .h_menu {
    display: block;
    position: fixed;
    top: 0px;
    right: 0px;
    bottom: auto;
    left: 0px;
    z-index: 2;
    height: 0px;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
    background: #633215;
    transition:
      height 1s cubic-bezier(0.19, 1, 0.22, 1),
      visibility 0s 1s;
  }

  .h_menu.is_open {
    top: auto;
    bottom: 0px;
    height: var(--menu-height, 100dvh);
    visibility: visible;
    pointer-events: auto;
    transition:
      height 0.85s cubic-bezier(0.19, 1, 0.22, 1) 0.15s,
      visibility 0s;
  }

  .h_menu_inner {
    display: block;
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: auto;
    left: 0px;
    height: var(--menu-height, 100dvh);
    overflow-y: auto;
    overscroll-behavior: contain;
    color: #f3eadc;
    background: #633215;
  }

  /* 元写真の端のドットが見えないよう、背景の表示枠内で少し拡大 */
  .h_menu_bg {
    position: absolute;
    z-index: -1;
    inset: 0px;
    overflow: hidden;
    pointer-events: none;
  }

  .h_menu_bg::before {
    content: "";
    position: absolute;
    inset: 0px;
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.43), rgba(0, 0, 0, 0.43)),
      url("./assets/image47.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transform: scale(1.06);
  }

  .h_menu.is_open .h_menu_inner {
    top: auto;
    bottom: 0px;
  }

  .h_menu_body {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    column-gap: 80px;
    width: 100%;
    max-width: 880px;
    min-height: var(--menu-height, 100dvh);
    margin: 0px auto;
    padding: 96px 64px 56px;
  }

  .h_info {
    order: -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .h_menu_logo {
    display: block;
    width: 174px;
    margin-bottom: 60px;
  }

  .h_menu_logo img {
    width: 100%;
    height: auto;
  }

  .h_name {
    font-size: 36px;
    line-height: 1.5;
    margin-bottom: 30px;
  }

  .h_address {
    font-size: 20px;
    line-height: 1.8;
    white-space: nowrap;
  }

  .h_sns {
    display: block;
    margin-top: 54px;
  }

  .h_nav {
    display: flex;
    position: static;
    flex-direction: column;
    justify-content: center;
    gap: 48px;
    min-width: 0px;
    padding: 0px;
    background: transparent;
    color: #f3eadc;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.8;
  }

  .h_nav > a {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
  }

  .h_nav > a::before {
    content: "";
    flex: 0 0 auto;
    width: 0px;
    height: 0px;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid currentColor;
  }

  .h_menu_logo,
  .h_name,
  .h_address,
  .h_sns,
  .h_nav > a {
    opacity: 0;
    transform: translateY(-30px);
    transition:
      opacity 0.3s,
      transform 1s cubic-bezier(0.19, 1, 0.22, 1);
  }

  .h_menu.is_open .h_menu_logo,
  .h_menu.is_open .h_name,
  .h_menu.is_open .h_address,
  .h_menu.is_open .h_sns,
  .h_menu.is_open .h_nav > a {
    opacity: 1;
    transform: translateY(0px);
    transition:
      opacity 0.5s 0.3s,
      transform 1s cubic-bezier(0.19, 1, 0.22, 1) 0.2s;
    animation: h_menu_in 1s cubic-bezier(0.19, 1, 0.22, 1) 0.2s both;
  }

  .h_menu.is_open .h_nav > a:nth-child(2) {
    transition-delay: 0.35s, 0.25s;
    animation-delay: 0.25s;
  }

  .h_menu.is_open .h_nav > a:nth-child(3) {
    transition-delay: 0.4s, 0.3s;
    animation-delay: 0.3s;
  }

  .h_menu.is_open .h_nav > a:nth-child(4),
  .h_menu.is_open .h_address {
    transition-delay: 0.45s, 0.35s;
    animation-delay: 0.35s;
  }

  .h_menu.is_open .h_nav > a:nth-child(5),
  .h_menu.is_open .h_sns {
    transition-delay: 0.5s, 0.4s;
    animation-delay: 0.4s;
  }

  .h_menu a:focus-visible,
  .h_toggle:focus-visible {
    outline-color: #f3eadc;
  }

  /* 閉じる途中も追従バナーを隠し、画面の切り替えを保つ */
  body.menu_cover .shop {
    visibility: hidden;
    pointer-events: none;
  }
}

/* 600px以下：メニュー項目 → ロゴ・店舗情報の順に縦配置 */
@media screen and (max-width: 600px) {
  .h_menu_body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 90px;
    padding: 120px 24px 110px;
  }

  .h_nav {
    align-self: center;
    align-items: flex-start;
    font-size: 18px;
    gap: 24px;
  }

  .h_info {
    order: 0;
    width: 100%;
  }

  .h_menu_logo {
    width: 76px;
    margin-bottom: 40px;
  }

  .h_name {
    font-size: 26px;
    margin-bottom: 0px;
  }

  .h_address {
    font-size: 13px;
  }

  .h_sns {
    margin-top: 36px;
  }
}

@media screen and (max-width: 380px) {
  .h_menu_body {
    padding-right: 18px;
    padding-left: 18px;
  }

  .h_name {
    font-size: 23px;
  }

  .h_address {
    font-size: 11px;
  }
}

@keyframes h_menu_in {
  from {
    transform: translateY(30px);
  }

  to {
    transform: translateY(0px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .h_menu,
  .h_menu.is_open,
  .h_menu *,
  .h_toggle > span {
    transition: none !important;
    animation: none !important;
  }
}

/* 商品説明：間隔とアレルギー文字サイズはここで調整できます */
.pd {
  width: 90%;
  max-width: 1302px;
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 0px;
  border: 0;
  border-radius: 70px;
  background: var(--bg, #f2ede7);
  color: var(--ink, #633215);
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: 0px 18px 60px rgba(25, 16, 10, 0.2);
}

#product_dialog {
  --allergy-gap: clamp(8px, 2dvh, 16px);
  --allergy-size: 12px;
  width: min(calc(100% - 32px), 650px);
  border-radius: clamp(24px, 7vw, 48px);
}

#product_dialog .pd_content {
  padding: clamp(54px, 10dvh, 76px) clamp(16px, 6vw, 72px)
    clamp(24px, 8dvh, 72px);
}

#product_dialog .pd_title {
  font-size: clamp(19px, 3.4vw, 24px);
}

.pd::backdrop {
  background: rgba(25, 16, 10, 0.58);
  animation: pd_backdrop_in 950ms ease both;
}

.pd.is_closing::backdrop {
  animation: pd_backdrop_out 600ms ease both;
}

body.product_open {
  overflow: hidden;
}

button.li_item {
  display: block;
  width: 100%;
  padding: 0px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.pd_closebar {
  position: sticky;
  top: 20px;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  height: 0px;
  padding-right: 28px;
}

.pd_close {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0px;
  border: 0;
  border-radius: 50%;
  background: #f2ede7;
  color: inherit;
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
}

.pd_content {
  padding: 112px 11% 90px;
}

.pd_title {
  margin: 0px;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.12em;
  overflow-wrap: anywhere;
}

/* タイトルと同じ親の中に置き、タイトルの直下を起点に配置 */
.pd_allergens {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--allergy-gap);
  text-align: left;
}

.pd_allergens[hidden],
.pd_note[hidden] {
  display: none;
}

.pd_allergens span {
  display: inline-block;
  padding: 2px 6px;
  border: 1px solid currentColor;
  border-radius: 5px;
  font-size: var(--allergy-size);
  line-height: 1.5;
}

.pd_body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(56px, 24%);
  align-items: start;
  gap: clamp(12px, 5vw, 52px);
  margin-top: clamp(12px, 4dvh, 32px);
}

.pd_photo {
  display: block;
  width: min(100%, 180px, 27dvh);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.pd_desc {
  margin-top: clamp(12px, 3dvh, 24px);
  font-size: clamp(14px, 2.6vw, 16px);
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.pd_note {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.8;
  white-space: pre-line;
}

.pd_related {
  display: grid;
  justify-items: center;
  gap: clamp(8px, 3dvh, 22px);
}

.pd_other {
  width: min(100%, 96px, 16dvh);
  min-width: 44px;
  padding: 4px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.pd_other img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  margin: 0px auto;
  transition: transform 250ms ease;
}

.pd_other:hover img {
  transform: translateY(-4px);
}

@media screen and (max-width: 900px) {
  .pd_content {
    padding: 85px 9% 60px;
  }

  .pd_title {
    font-size: 25px;
  }
}

@media screen and (max-width: 600px) {
  .pd {
    width: 80%;
    max-height: calc(100dvh - 32px);
    border-radius: 30px;
  }

  .pd_closebar {
    top: 12px;
    padding-right: 12px;
  }

  .pd_content {
    padding: 72px 9% 36px;
  }

  .pd_title {
    font-size: 20px;
    letter-spacing: 0.06em;
  }
}

@keyframes pd_backdrop_in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes pd_backdrop_out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pd::backdrop,
  .pd.is_closing::backdrop {
    animation: none;
  }
}

/* 商品画像：詳細を開けることが伝わる、控えめなズーム */
.li_item .li_photo > img {
  transform: scale(1);
  transform-origin: center;
  transition: transform 320ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .li_item:hover .li_photo > img {
    transform: scale(1.05);
  }
}

.li_item:focus-visible .li_photo > img {
  transform: scale(1.05);
}

/* ファーストビュー：ローカル動画。縦横比を保ち、枠いっぱいに表示 */
.fv_video {
  position: absolute;
  inset: 0px;
  z-index: -2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
}

.fv_video video {
  display: block;
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
  border: 0;
}

/* スクロール表示：時間・移動量はここで調整できます */
.scroll_reveal {
  opacity: 0;
  translate: 0px 20px;
  transition:
    opacity 1000ms ease var(--reveal-delay, 0ms),
    translate 1100ms cubic-bezier(0.2, 0.65, 0.3, 1) var(--reveal-delay, 0ms);
}

.scroll_reveal.is_visible {
  opacity: 1;
  translate: 0px 0px;
}

.scroll_reveal:focus-within {
  opacity: 1;
  translate: 0px 0px;
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .scroll_reveal {
    opacity: 1;
    translate: 0px 0px;
    transition: none;
  }
}

/* フッター：890pxを超える幅では、中央のロゴ＋左右の情報＋中央のSNS */
@media screen and (width > 890px) {
  .f {
    position: relative;
    padding: 300px 0px 120px;
  }

  .f_container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 363px;
    align-items: start;
    column-gap: 140px;
    row-gap: 0px;
    width: calc(100% - 96px);
    max-width: 1024px;
    margin: 0px auto;
  }

  .f_info {
    min-width: 0px;
    text-align: left;
  }

  .f_logo {
    position: absolute;
    top: 100px;
    right: 0px;
    left: 0px;
    width: 100px;
    height: 140px;
    margin: 0px auto;
  }

  .f_name {
    font-size: 34px;
    line-height: 1.5;
  }

  .f_sub {
    margin-top: 8px;
    font-size: 18px;
    line-height: 1.8;
  }

  .f_contact {
    margin-top: 36px;
    font-size: 16px;
    letter-spacing: 0.12em;
    line-height: 1.9;
  }

  .f_nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 110px;
    font-size: 14px;
    line-height: 1.9;
    white-space: normal;
  }

  .f_amico {
    align-self: start;
    width: 100%;
    max-width: none;
    min-width: 0px;
    padding: 0px;
    text-align: center;
  }

  .f_brand {
    margin-bottom: 6px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.16em;
    line-height: 1.8;
  }

  .f_brand span {
    display: block;
    margin-top: 4px;
    font-family: "Calligraffitti", cursive;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.6;
  }

  .f_amico > p:not(.f_brand):not(.f_more) {
    font-size: 16px;
    letter-spacing: 0.12em;
    line-height: 1.8;
  }

  .f_more {
    display: none;
  }

  .f_sns {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 42px;
    margin: 140px 0px 0px;
    font-size: 12px;
    line-height: 1.8;
  }

  .f_sns a {
    display: block;
  }

  .f_sns img {
    margin: 0px;
  }

  .f_sns p {
    margin: 0px;
  }
}

/* 890pxを超える中間幅では、左右の列の間隔を詰める */
@media screen and (width > 890px) and (max-width: 1100px) {
  .f {
    padding-top: 250px;
  }

  .f_container {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 48px;
    width: calc(100% - 64px);
  }

  .f_logo {
    top: 70px;
  }

  .f_name {
    font-size: 30px;
  }

  .f_sub {
    font-size: 17px;
  }

  .f_contact {
    font-size: 14px;
  }

  .f_nav {
    gap: 12px 16px;
    font-size: 13px;
  }

  .f_brand {
    font-size: 14px;
  }

  .f_amico > p:not(.f_brand):not(.f_more) {
    font-size: 15px;
  }

  .f_sns {
    margin-top: 100px;
  }
}

/* amico写真：テキストと同じ枠で中央揃え。リンクの中で3等分 */
.f_photos {
  display: block;
  width: 100%;
  max-width: none;
  margin: 8px auto 0px;
  zoom: 1;
}

.f_photos a {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0px;
  width: 100%;
  margin: 0px;
}

.f_photos div {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 121 / 169.825;
  mask-size: 100% 100%;
}

.f_photos img {
  position: absolute;
  top: -3.333%;
  left: -13.743%;
  width: 127.339%;
  height: 106.563%;
  margin: 0px;
}

.f_photos div:nth-child(2) img {
  top: -4.374%;
  left: -9.65%;
  width: 119.445%;
  height: 108.854%;
  margin: 0px;
}

.f_photos div:nth-child(3) img {
  top: -1.458%;
  left: -13.45%;
  width: 126.755%;
  height: 102.916%;
  margin: 0px;
}

/* SNSは左右どちらかの列に入れず、フッター全体の中央へ */
.f_sns {
  grid-column: 1 / -1;
  justify-self: center;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
  text-align: center;
}

.f_sns a {
  display: block;
}

.f_sns img {
  margin: 0px;
}

.f_sns p {
  width: 100%;
  margin: 0px;
  text-align: center;
}

.f_container > small {
  grid-column: 1 / -1;
  width: 100%;
  text-align: center;
}

/* 890px以下：ロゴ・店舗情報・amico・SNSを縦に並べる */
@media screen and (max-width: 890px) {
  .f_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 65px;
    width: 84%;
    max-width: 540px;
    margin: 0px auto;
  }

  .f_info {
    width: 100%;
    min-width: 0px;
    text-align: center;
  }

  .f_logo {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    margin: 0px auto 32px;
  }

  .f_nav {
    justify-content: center;
  }

  .f_amico {
    align-self: center;
    width: 100%;
    max-width: 371px;
    padding: 0px;
    text-align: center;
  }
}
