body {
  margin: 0 !important;
  font-family: "Zen Kaku Gothic New", sans-serif;
}
@media screen and (max-width: 768px) {
  body {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  body::-webkit-scrollbar {
    display: none;
  }
}

html {
  margin: 0 !important;
}

h4 {
  margin-top: 0;
}
/* topボタン */
.scroll-to-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 136px;
  height: 136px;
  background-color: rgba(255, 255, 255, 0.8); /* ボタン全体の背景 */
  border-radius: 50%;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
  font-weight: 700 !important;
  font-family: "Zen Kaku Gothic New";
  font-size: 32px !important;
  line-height: 1;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  letter-spacing: 3px;
  transition: background-color 0.3s, color 0.3s;
}

.scroll-to-top-btn::before {
  content: "";
  position: absolute;
  inset: 0; /* 全体を覆う */
  border-radius: 50%;
  padding: 4px; /* ボーダー幅 */
  background: linear-gradient(90deg, #5c1816, #a16462);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1; /* 中身に影響しないよう背面へ */
}

.scroll-to-top-btn .label {
  background: linear-gradient(90deg, #5c1816 0%, #a16462 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.scroll-to-top-btn:hover {
  background-color: #e9e9e9;
}

.scroll-to-top-btn .arrow {
  font-size: 32px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  margin-top: 8px;
}

/* top */
/* 1 */
#fv {
  background: url("images/top/BG.png") no-repeat center top;
  background-size: 100% 100%;
}

.fv-inner {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  align-items: center;
  position: relative;
  justify-content: flex-end;
}

.fv-left {
  color: #b32223;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: left;
  height: 100%;
  width: 100%;
  position: absolute;
  font-family: "Zen Old Mincho", serif;
  margin-bottom: 5%;
}

.fv-left-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* テキスト左揃え */
  text-align: left;
  max-width: 1328px;
  width: 90%;
}

.fv-left h1 {
  font-size: clamp(40px, 16.000px + 2.778vw, 64px);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 30px;
  letter-spacing: 10px;
  line-height: 2;
  margin-top: 10px;
}

.fv-left .welcome {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
  align-self: flex-start;
  margin-left: 8px;
  letter-spacing: 5px;
  margin-top: 0;
}

.fv-left .welcome::after {
  content: "";
  display: inline-block;
  width: 390px; /* Figmaの幅に合わせる */
  height: 1px; /* 線の太さ */
  background: repeating-linear-gradient(
    to right,
    #b32223 0,
    #b32223 6px,
    transparent 6px,
    transparent 12px
  );
  margin-left: 10px;
  margin-top: 25px;
  position: absolute;
  z-index: 1;
}

.fv-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 400px;
  width: 62.8%;
}

.fv-right img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.fv-image1,
.fv-image3 {
  display: flex;
  gap: 10px;
  width: 100%;
  justify-content: flex-end;
}

.fv-image1 img,
.fv-image3 img {
  max-width: calc(50% - 5px); /* 2枚並ぶように調整 */
  height: auto;
  display: block;
  object-fit: cover;
  z-index: 2;
}

.fv-image2 {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.fv-image2 img {
  max-width: 80%; /* fv-innerの幅を超えない */
  height: auto;
  display: block;
  object-fit: contain;
  z-index: 2;
}

/* 検索ボックス */

.shop-search-box {
  max-width: 650px;
  background: #ffffff;
  border: 1px solid #5c1816;
  border-radius: 12px;
  padding: 40px 30px;
  margin: 80px auto 40px;
  text-align: center;
  font-family: "Zen Kaku Gothic New", sans-serif;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.shop-search-box,
.shop-search-box * {
  font-family: "Zen Kaku Gothic New", sans-serif;
}

.shop-search-title {
  font-size: 32px;
  font-weight: 700;
  color: #5c1816;
  margin-bottom: 24px;
  margin-top: 0;
  letter-spacing: 0.1em;
}

.geo-search-button {
  width: 100%;
  background-color: #5c1816;
  color: white;
  font-weight: 5px;
  padding: 12px 0;
  font-size: 24px;
  border: none;
  border-radius: 6px;
  margin-bottom: 16px;
  cursor: pointer;
}

.geo-search-button:hover {
  opacity: 0.85;
}

.prefecture-select,
.keyword-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  border: 1px solid #611e1e;
  border-radius: 6px;
  margin-bottom: 12px;
  box-sizing: border-box;
  color: #611e1e;
}

.store-search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, #5c1816, #a16462);
  color: white;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  padding: 14px 24px;
  box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  width: 50%;
  margin-top: 12px;
}

.store-search-button:hover {
  opacity: 0.85;
}

.geo-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.search-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* 2 */

#banner {
  padding: 40px 20px 50px;
  text-align: center;
}

.banner-list {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
  justify-content: center;
  overflow-x: auto;
  margin: 40px 0 30px;
  padding-bottom: 10px;
}

.banner-list img {
  width: 200px;
  height: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.banner-button-wrap {
  text-align: center;
}

.more-button {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: linear-gradient(to right, #b32223, #e06364);
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  border-radius: 30px;
  box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease;
  padding: 6px;
  min-width: 340px;
}

.more-icon {
  width: 48px;
  height: 48px;
  background-color: #970708;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.more-icon img {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1);
}

.more-label {
  display: inline-block;
  font-size: 24px;
  line-height: 1;
  min-width: 250px;
  text-align: center;
  letter-spacing: 1px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  padding-left: 10px;
}

.banner-list img {
  width: 200px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 6px 4px rgba(0, 0, 0, 0.15); /* ← 下方向に影 */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* service */

#service {
  background: url("images/top/service/BG.png") no-repeat center top;
  background-size: 100%;
}

#service .section-description{
  margin-bottom: 50px;
}

.service-header-section {
  padding: 50px 0 100px;
  background: #fff;
  font-family: "Zen Old Mincho", serif;
}

/* .service-header-section .container {
  max-width: 1150px;
  margin: 0 auto;
} */

.section-subtitle {
  color: #b32223;
  font-size: 24px;
  letter-spacing: 2px;
  margin-bottom: 12px;
  font-weight: 500;
  letter-spacing: 5;
  font-family: "Zen Old Mincho", serif;
}

.section-title {
  font-size: 64px;
  color: #b32223;
  font-weight: 700;
  margin: 0 0 40px;
  letter-spacing: 12px;
  font-family: "Zen Old Mincho", serif;
}

.section-description {
  font-size: 20px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 2;
  letter-spacing: 1px;
  line-height: 2.5;
  margin-bottom: 70px;
  font-family: "Zen Kaku Gothic New", sans-serif;
}

.service-cards {
  padding: 10px 20px 60px;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(2, 560px); /* カード幅を固定で2列に */
  justify-content: center; /* コンテナ中央寄せ */
  gap: 40px 40px; /* カード間の余白（縦・横） */
  margin-top: 60px;
}

.service-card {
  border: 1px solid #b03b3b;
  border-radius: 8px;
  overflow: hidden;
}

.service-card img {
  width: 100%;
  height: auto;
  display: block;
}

.card-content {
  padding: 20px;
  font-family: "Zen Kaku Gothic New", sans-serif;
}

.card-title {
  font-size: 28px;
  font-weight: bold;
  color: #b03b3b;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin: 5px 0;
}

.badge {
  background: #b03b3b;
  color: white;
  font-size: 20px;
  padding: 4px 25px;
  border-radius: 20px;
}

hr.dotted {
  border: none;
  height: 1px; /* 線の太さ */
  background: repeating-linear-gradient(
    to right,
    #b32223,
    #b32223 6px,
    /* 線の長さ6px */ transparent 6px,
    /* 隙間の開始 */ transparent 12px /* 隙間の終わり (6px + 6px) */
  );
  margin: 12px 0;
  width: 700px;
  position: absolute;
}

.reason-point hr.dotted {
  position: absolute;
  border: none;
  right: 0;
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    #b32223,
    #b32223 6px,
    transparent 6px,
    transparent 12px
  );
  margin: 12px 0 12px 0;
  width: 700px; /* 必要に応じて調整 */
}

.card-content ul {
  list-style: none;
  padding: 0 90px;
  margin: 0;
}

.card-content li {
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  position: relative;
}

.card-content li::after {
  content: "›";
  color: #b03b3b;
  font-size: 20px;
  position: absolute;
  top: 40%;
  right: 0;
  transform: translateY(-50%);
}

.cards-container.three-columns {
  display: grid;
  grid-template-columns: repeat(3, 353px); /* 3列に */
  gap: 40px 50px;
  justify-content: center;
  margin-top: 40px;
}

.cards-container.three-columns .card-content ul {
  padding: 0 30px;
}

.service-footer-notes {
  font-size: 16px;
  color: #333;
  margin-bottom: 40px;
  line-height: 1.8;
}

#service .more-label {
  width: auto;
}

#service .banner-button-wrap {
  margin: 40px 0 0;
}

/* repair */

.repair-section {
  padding: 50px 0 100px;
  background: #fff;
  font-family: "Zen Old Mincho", serif;
  position: relative;
}

#repair .section-title{
  margin-bottom: 30px;
}

.repair-title {
  max-width: 1150px;
  margin: 0 auto;
}

.container .repair-header-section {
  max-width: 1150px;
  margin: 0 auto;
}

.repair-section .section-subtitle,
.repair-section .section-title {
  text-align: start;
  color: #b32223;
}

.repair-swiper {
  margin: 40px 0;
  overflow: hidden;
  padding-top: 10px !important;
}

.repair-card {
  background: #fff;
  color: #000;
  text-align: center;
  position: relative;
  padding: 10px;
  border: 2px solid #ffffff;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.repair-images {
  display: flex;
  position: relative;
}

.repair-images img {
  width: 50%;
  height: 268px;
  object-fit: cover;
}

.repair-images .label {
  position: absolute;
  top: 0;
  width: 50%;
  height: 36px;
  line-height: 32px;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  text-align: center;
}

.label.before {
  background-color: #ffd600;
  left: 0;
  color: #5c1816;
}

.label.after {
  background-color: #b33333;
  right: 0;
}

.repair-images .clip {
  position: absolute;
  top: -63px;
  right: 10px;
  width: 40px;
  filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.5));
}

.repair-info {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 15px 0;
  font-size: 16px;
  font-family: "Zen Kaku Gothic New", sans-serif;
}

.repair-info .badge-repair {
  border: 1px solid #b33333;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 16px;
  background-color: #f5f5f5;
  color: #b33333;
  font-weight: 500;
}

.repair-info .desc {
  color: #b33333;
  font-weight: bold;
  padding-top: 2px;
  font-size: 20px;
  font-weight: 500;
}
.repair-images .clip {
  position: absolute;
  top: -63px; /* 上に少しずらす */
  z-index: 2; /* 画像の上に出す */
  width: 57px;
  height: 82px;
}
/* スライダーUI */
.swiper-pagination {
  text-align: center;
  margin-top: 20px;
}

.swiper-wrapper {
  margin: 40px 0;
}

/* about */

#about {
  background: url("images/top/about/BG.png") no-repeat center top;
  background-size: 100% 100%;
}

.container .header-section {
  max-width: 1328px;
  margin: 0 13%;
  font-family: "Zen Kaku Gothic New", sans-serif;
}

.about-section {
  padding: 50px 0 100px;
  background: #fff;
  font-family: "Zen Old Mincho", serif;
}

.about-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 100%;
  padding: 0;
  gap: 60px;
}

.about-area {
  flex: 1;
  margin-left: 13%;
}
.about-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}
.about-image img {
  width: 100%;
  height: auto;
}

#about .banner-button-wrap {
  text-align: start;
}

#about .section-title {
  font-weight: 500;
  line-height: 88px;
}

#about .section-description {
  line-height: 60px;
  margin-top: 0;
}

/* reason */

#reason {
  padding-top: 50px;
  padding-bottom: 50px;
}

.reason-points {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 50px;
}

.reason-point {
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: space-between;
  margin-right: 10%;
}
.reason-point1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-left: 13%;
}

.reason-point.reverse {
  flex-direction: row-reverse;
  position: relative;
}

.reason-text {
  flex: 1;
  min-width: 625px;
}

.reason-image {
  justify-content: flex-end;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.reason-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.point-label {
  display: inline-block;
  font-family: serif;
  font-size: 20px;
  color: #b83939;
  text-align: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid #b83939;
  background-color: #f5f5f5;
  padding: 22px 0 12px;
  box-sizing: border-box;
  line-height: 1.1;
  letter-spacing: 1px;
}

.point-label span {
  font-size: 40px;
  display: block;
}
.point-item {
  display: flex;
  align-items: center; /* ← 縦方向を中央揃えにしたい場合 */
  gap: 12px; /* ← ラベルとタイトルの間に余白を入れる */
}

.point-title {
  font-size: 32px;
  font-weight: 500;
}

.dotted {
  border-top: 2px dotted #b83939;
  margin: 12px 0;
}

.point-description {
  font-size: 20px;
  line-height: 48px;
  font-weight: 500;
  color: #1a1a1a;
}

#reason .banner-button-wrap {
  margin: 50px 0;
}

/* info */

#info {
  background: url("images/top/info/BG.png") no-repeat center top;
  background-size: 100% 100%;
}

.info-section {
  background: #fff;
  padding: 50px 0 107px;
  position: relative;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0 13%;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 70px;
  padding: 24px 0;
}

#info .section-title {
  margin-bottom: 52px;
}

.info-thumb img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
}

.info-meta {
  display: flex;
  flex-direction: column;
}

.info-meta-top {
  display: flex;
  align-items: center;
  gap: 40px;
}

.info-date {
  font-size: 20px;
  font-weight: bold;
}

.info-label {
  background: #b83939;
  color: #fff;
  font-size: 16px;
  padding: 2px 10px;
  border-radius: 999px;
}

.info-text {
  margin-top: 8px;
  font-size: 20px;
  color: #333;
}
#info .banner-button-wrap {
  margin: 52px 0 0;
}

/* blog */
.blog-section {
  padding-top: 50px;
  padding-bottom: 50px;
}

.blog-images {
  display: flex;
  position: relative;
}

.blog-images img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.blog-images .label {
  position: absolute;
  top: 0;
  width: 50%;
  height: 32px;
  line-height: 32px;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
}

.blog-info {
  display: flex;
  gap: 10px;
  padding: 15px 0 0;
  font-size: 16px;
}

.blog-info .badge-repair {
  border: 1px solid #b33333;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 14px;
  color: #b33333;
}

.blog-info .desc {
  color: #b33333;
  font-weight: bold;
  padding-top: 2px;
}

#blog .banner-button-wrap {
  margin: 50px 0;
}
