.block {
  font-weight: 500;
}
.block img {
  width: 100%;
  height: auto;
}

:root {
  --wrapPadding: 6vw;
}

#key {
  background: url("../img/keiji_matsumoto/key.jpg") center top no-repeat;
  background-size: cover;
}

#sec1 {
  padding: 6vw var(--wrapPadding) 12vw;
}
#sec1 .group-btn {
  position: relative;
  margin: 40px 0 0;
}
#sec1 .group-btn .link1 {
  position: absolute;
  top: 19vw;
  left: 5vw;
  width: 31.867vw;
  height: 28.267vw;
  transform: rotate(45deg);
}
#sec1 .group-btn .link2 {
  position: absolute;
  top: 1.267vw;
  left: 27.8vw;
  width: 31.53vw;
  height: 28.267vw;
  transform: rotate(45deg);
}
#sec1 .group-btn .link3 {
  position: absolute;
  bottom: 2vw;
  right: 5.67vw;
  width: 30.53vw;
  height: 28.267vw;
  transform: rotate(45deg);
}

.fw-sm {
  font-weight: 600 !important;
}

.fw-m {
  font-weight: 500 !important;
}

.fw-r {
  font-weight: 400 !important;
}

#sec2 .list {
  position: relative;
  max-width: 350px;
  margin: 0 auto;
}
#sec2 .list ul {
  display: flex;
  justify-content: center;
  gap: 9px;
}

#sec2 .list ul li {
  cursor: vertical-text;
  writing-mode: vertical-rl;
  -o-writing-mode: vertical-rl;
  -ms-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  -moz-writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  text-orientation: upright;
  word-wrap: break-word;
  margin-left: 0;
  height: 200px;
  margin-bottom: -45px;
}

#sec2 .list ul li span {
  display: block;
  font-size: 20px;
  width: 40px;
  line-height: 38px;
  border: 1px solid #940000;
  background: #fff;
  padding-top: 33px;
  position: relative;
  transition: all 0.4s ease;
  box-sizing: border-box;
}

#sec2 .list ul li span::before {
  content: "";
  background: url(../img/keiji_matsumoto/icon.png) no-repeat;
  background-size: 100% auto;
  width: 21px;
  height: 17px;
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
}

#sec2 {
  position: relative;
}
#sec2 h2 {
  text-align: center;
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  color: #fff;
  font-size: 6vw;
  line-height: 1.5;
  bottom: 3vw;
  letter-spacing: 0;
}

.btn-link {
  max-width: 100%;
}
.btn-link a {
  display: block;
  text-decoration: none;
  cursor: pointer;
  font-weight: 400;
  color: #fff;
  text-align: center;
  position: relative;
  font-size: 18px;
  line-height: 1.5;
  padding: 24px 0;
  background: url("../img/keiji_matsumoto/arrow.jpg") no-repeat center right 16px/20px auto, url("../img/shared/bg5.jpg");
}

#sec3 {
  padding: 6vw 0 10vw;
}
#sec3 .s3-slider {
  margin: 0 2.13vw;
}
#sec3 .s3-thumb {
  margin: 2.13vw 0 0;
  display: flex;
  justify-content: center;
  gap: 1.3vw;
}
#sec3 .s3-thumb .thumb {
  width: 21.867vw;
  position: relative;
  cursor: pointer;
}
#sec3 .s3-thumb .thumb::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.56;
  transition: all 0.5s;
  background: #fff;
  z-index: 1;
}
#sec3 .s3-thumb .thumb:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  border: 4px solid #be382a;
  opacity: 0;
  transition: all 0.5s;
}
#sec3 .s3-thumb .thumb.active::before {
  opacity: 0;
}
#sec3 .s3-thumb .thumb.active:after {
  opacity: 1;
}
#sec3 .box {
  position: relative;
  background: rgba(255, 250, 240, 0.4);
  border: 2px solid rgba(148, 0, 0, 0.4);
  padding: 10vw 0;
  text-align: center;
  margin: 9vw 3.3vw 0;
}
#sec3 .box::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  background: url("../img/keiji_matsumoto/s3_icon.png") no-repeat top center/auto 100%;
  height: 33px;
  top: -12px;
}
#sec3 .box h3 {
  font-size: 30px;
  line-height: 1.5;
}
#sec3 .box dl {
  width: 188px;
  margin: 17px auto 0;
  border-top: 1px solid #b8b7b6;
  border-bottom: 1px solid #b8b7b6;
  padding: 12px 0 13px;
  line-height: 1.5;
}
#sec3 .box dl dt {
  font-size: 13px;
}
#sec3 .box dl dd {
  font-size: 20px;
  margin: 10px 0 0;
}
#sec3 .box ul {
  display: flex;
  text-align: left;
  justify-content: center;
  gap: 15px;
  font-size: 15px;
  line-height: 2;
  margin: 39px 0 0;
  letter-spacing: 0;
}
#sec3 .sub-txt {
  margin: 20px 0 0;
  font-size: 12px;
  line-height: 2;
  text-align: center;
}
#sec3 .txt {
  margin: 40px var(--wrapPadding) 30px;
}
#sec3 .btn-link {
  margin: 0 var(--wrapPadding);
}

#sec4 {
  background: url("../img/keiji_matsumoto/s4_deco.png") no-repeat top center/100% auto, url(../img/keiji_suwa/bg03.jpg);
  padding: 12vw var(--wrapPadding) 15vw;
}
#sec4 h2 {
  font-size: 30px;
  line-height: 1.5;
  text-align: center;
  margin: 0 0 20px;
}
#sec4 .sub-txt {
  margin: 30px 0 25px;
  text-align: center;
}
#sec4 .item dl {
  margin: 2vw 0 0;
  text-align: center;
  line-height: 2;
  font-size: 21px;
}
#sec4 .row {
  height: 250px;
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 40px 0 0;
}
#sec4 .row .tit {
  font-size: 20px;
  line-height: 2;
}
#sec4 .row .left {
  width: 212.5px;
  line-height: 2;
  font-size: 21px;
}
#sec4 .row .left .price {
  margin: 10px 0 0;
  text-align: center;
}
#sec4 .box {
  margin: 50px 0 0;
  background: url(../img/takeout/bg2.png);
  padding: 25px 20px;
}
#sec4 .box h3 {
  font-size: 25px;
  line-height: 1.7;
  margin: 20px 0 10px;
}

#sec5 .set1 {
  position: relative;
  padding: 0 !important; /* スクロール演出用の余白を解除 */
  height: 250px; /* スマホ画面での画像の高さ（好みに応じて変更可） */
}
#sec5 .set1 .bg {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 100% !important;
}
#sec5 .set1 .bg.fixed {
  position: fixed;
}
#sec5 .set1 .bg.end {
  top: auto;
  bottom: 0;
}
#sec5 .set1 .bg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
#sec5 .set1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.77 !important; /* 最初から暗い状態に固定 */
  z-index: 1;
  background: #130d02;
}
#sec5 .set1 h2 {
  height: 100% !important; /* 100vh から 100% に変更 */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.5;
  color: #fff;
  z-index: 2;
  font-size: 24px; /* スマホで見やすい文字サイズに調整 */
  margin: 0;
  padding: 0 20px;
  box-sizing: border-box;
}
#sec5 .set1.active::before {
  opacity: 0.77;
}
#sec5 .set2 {
  margin: 10vw var(--wrapPadding) 0;
}
#sec5 .set2 .img {
  margin: 0 7.7vw 30px;
}

.slick-dots {
  display: flex;
  justify-content: center;
  position: relative;
  margin: 20px 0 0;
  gap: 18px;
  width: 100%;
}
.slick-dots li {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 0;
  margin: 0;
  outline: 0;
  font-size: 0;
  line-height: 0;
  position: relative;
  background: #d8c093;
  cursor: pointer;
}
.slick-dots li.slick-active {
  background: url("../img/shared/bg5.jpg");
}
.slick-dots li button {
  display: none;
}

#sec6 {
  padding: 0 var(--wrapPadding) 50px;
  margin: 50px 0 0;
  background: url('../img/keiji_matsumoto/s6_deco.png') no-repeat top center/ 100% auto;
}
#sec6 h3 {
  text-align: center;
  font-size: 30px;
  line-height: 1.5;
  margin: 12px 0 10px;
}
#sec6 .box {
  background: rgba(255, 250, 240, 0.4);
  text-align: center;
  padding: 20px 0;
  margin: 30px 20px 25px;
  font-size: 18px;
  line-height: 1.5;
}
#sec6 .box ul {
  display: inline-block;
  text-align: left;
}
#sec6 .bnr {
  margin: 0 -6px;
}

#sec7 {
  padding: 50px 0 50px;
  text-align: center;
  background: url("../img/keiji_matsumoto/s7_bg.jpg") no-repeat center/cover;
}
#sec7 h2 {
  color: #fff;
  text-align: center;
  font-size: 25px;
  line-height: 1.5;
  margin: 0 0 20px;
  letter-spacing: 0;
}
#sec7 .txt {
  margin: 0 var(--wrapPadding) 0;
  font-size: 15px;
  line-height: 2;
  color: #fff;
}
#sec7 .box {
  background: url("../img/ryouri_matsumoto/bg.jpg") repeat center top;
  margin: 50px 8vw 0;
  padding: 0 0 25px;
}
#sec7 .box .tel {
  margin: 5px 0 10px;
  font-size: 25px;
  line-height: 1;
}
#sec7 .box .tel span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.1em;
}
#sec7 .box .tel span::before {
  content: "";
  background: url("../img/ryouri_matsumoto/icon_tel.png") no-repeat center/100% auto;
  width: 15px;
  height: 20.5px;
}
#sec7 .box .fax {
  font-size: 18px;
  line-height: 1;
  pointer-events: none;
}
#sec7 .box .fax small {
  font-size: 13px;
  pointer-events: none;
}
#sec7 .box .sub-tel {
  font-size: 10.5px;
  margin: 8px 0 0;
  line-height: 1.5;
}