/* ========================================
ベース
======================================== */

body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  background: #fff;
}

/* ========================================
フォント
======================================== */

h1,
h2,
h3 {
  font-family: "M PLUS Rounded 1c", "Yu Gothic", sans-serif;
  line-height: 1.4;
}

h1 {
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 1rem;
}

h2 {
  font-size: 27px;
  font-weight: 500;
  margin-bottom: 0.3em;
  color: #B8330A;
  text-align: center;
}

h3 {
  font-size: 20px;
}

.sub-ttl {
  font-size: 15px;
  text-align: center;
  margin-bottom: 1em;
}

.text-small {
  font-size: 0.8em;
}

.text-xs {
  font-size: 0.65em;
}

.text-xxs {
  font-size: 0.8em;
}

.text-middle {
  font-size: 1.6em;
}

.bold {
  font-weight: 700;
}

/*テキスト強調ドット*/

.dots {
  position: relative;
  display: inline-block;
  -webkit-text-emphasis: none;
  text-emphasis: none;
}

.dots::before {
  content: "・・・・";
  position: absolute;
  top: -0.7em;
  left: 3%;
  width: 60%;
  text-align: left;
  font-size: 0.75em;
  letter-spacing: 0.355em;
  color: #AF4D2C;
}

/*PC用*/
@media screen and (min-width: 1024px) {
  .sub-ttl {
    font-size: 18px;
    text-align: center;
    margin-bottom: 1em;
  }

  .text-xs {
    font-size: 0.5em;
  }

  .text-xxs {
    font-size: 1em;
  }
}

/* ========================================
Link
======================================== */

/* PCだけhover有効 */
@media screen and (min-width: 1024px) {
  .text-link {
    position: relative;
    display: inline-block;
    text-decoration: none;
  }

  .text-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 1px;
    background: #8a3f1f;
    transform: scale(0, 1);
    transform-origin: center;
    transition: transform 0.3s ease;
  }

  .text-link:hover::after {
    transform: scale(1, 1);
  }
}


/* ========================================
レイアウト
======================================== */

.section {
  max-width: 100%;
  scroll-margin-top: 60px;
}

.section-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 3rem 1.2rem;
}

.section-bg {
  background: #FAF0E1;
}

.section-og {
  background: #F4A775;
}

.section-light-og {
  background: #FBDBC0;
}

/* ========================================
波型の区切り
======================================== */

.section__curve {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: -5px;
}

/* ========================================
フェイドアップ
======================================== */

/* 初期状態（隠れてる） */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

/* 表示された状態 */
.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
swiper スワイパー
======================================== */

/* --- 共通レイアウト設定 --- */
.swiper-container-wrapper {
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}

.swiper {
  width: 100%;
}

.swiper-slide {
  background: #fff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
}

.swiper-pagination {
  display: none;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 20px !important;
  color: #AF4D2C;
  font-weight: bold;
}

.swiper.swiper-horizontal {
  touch-action: auto;
}

/* --- デザイン01： (実績スライダー) --- */
.type-01 .swiper-slide {
  background-color: #f7f7f7;
}

.type-01-wrapper .swiper-button-prev,
.type-01-wrapper .swiper-button-next {
  display: none;
}

/* --- デザイン02： (ご利用シーンスライダー) --- */
.type-02 .swiper-slide {
  height: auto;
  display: flex;
}

.type-02-wrapper .swiper-button-prev,
.type-02-wrapper .swiper-button-next {
  display: none;
}

.type-02 .slide-card {
  background: #f7f7f7;
  overflow: hidden;
  height: 100%;
  border-radius: 0 0 12px 12px;
}

.type-02 .img-box {
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

.type-02 .img-box img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.type-02 .slide-card h3 {
  font-size: 0.8em;
  color: #AF4D2C;
  margin: 10px 20px 5px;
}

.type-02 .slide-card p {
  font-size: 0.6em;
  margin: 0 20px 12px;
  line-height: 1.5;
  font-weight: normal;
}

/* --- デザイン04： (神戸スイーツ) --- */
.type-04 .swiper-pagination {
  position: relative;
  margin-top: 25px;
  display: block;
}

@media (min-width: 1024px) {
  .type-02 .img-box img {
    height: 230px;
  }

  .type-04 .swiper-slide {
    height: 600px;
  }
}

/* ========================================
Utilities
======================================== */

.pc-only {
  display: none;
}

.sp-only {
  display: block;
}




/* ========================================
CTAボタン（ヒーロー内）
======================================== */
.estimate {
  background: linear-gradient(90deg, #c4360a, #B8330A);
  transition: all 0.2s ease;
  color: #fff;
  transition: all 0.2s ease;
}

.contact {
  background: linear-gradient(90deg, #D36E1B, #B36422);
  transition: all 0.2s ease;
    color: #fff;
    transition: all 0.2s ease;
}

/* ホバー時 */
.estimate:hover,
.contact:hover {
  opacity: 0.85;
}


/* ========================================
CTAボタン
======================================== */

.cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  max-width: 400px;

  padding: 16px 22px;
  border-radius: 9999px;

  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;

  transition: all 0.25s ease;
}

/* ホバー */
.cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* 左側（アイコン＋テキストまとめ） */
.cta-button .center-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* アイコン */
.cta-button .icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* 右側の矢印（FontAwesome） */
.cta-button i {
  position: absolute;
  right: 16px;   /* ←右端からの余白 */
  top: 50%;
  transform: translateY(-50%); /* ←縦中央揃え */

  display: flex;
  align-items: center;
  justify-content: center;

  width: 28px;
  height: 28px;
  border-radius: 50%;
}



/* ボタン並び*/

.btn-1row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* PCでは横並び */
@media (min-width: 768px) {
  .btn-1row {
    flex-direction: row;
    justify-content: center;
  }
}



/* ========================
カラー
======================== */

.cta-button.estimate {
  background: linear-gradient(90deg, #c4360a, #B8330A);
}

.cta-button.contact {
  background: linear-gradient(90deg, #D36E1B, #B36422);
}


/* ========================================
SPメニュー
======================================== */

.hamburger {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  margin: 5px 0;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: #F5F1E9;
  transform: translateX(100%);
  transition: transform .4s ease;
  z-index: 1100;
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100dvh;
  overflow-y: auto;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.close-btn {
  font-size: 2rem;
  background: none;
  border: none;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

.mobile-menu-list {
  list-style: none;
}

.mobile-menu-list li {
  margin-bottom: 1.3rem;
  font-size: 1.1rem;
}

.mobile-menu-buttons {
  margin: 3rem 0 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu-contact {
  font-size: 1.1rem;
}

.btn {
  display: inline-block;
  padding: .9rem 2rem;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 500;
}

.btn-primary {
  background: linear-gradient(90deg, #c4360a, #B8330A);
  color: #fff;
  transition: all 0.2s ease;
}

.btn-secondary {
  border: 1px solid #b58b2f;
  color: #b58b2f;
  transition: all 0.2s ease;
}



/* tel */
.tel-inline {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

/* sns */
.mobile-menu-sns {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.mobile-menu-sns a {
  color: #8B4513;
  font-size: 1.8rem;
}

/* ========================================
TOPへ戻る
======================================== */

.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  background: #8B4513;
  color: #FEFDFB;
  border: 3px solid #8B4513;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .4s;
  z-index: 9999;
}

.scroll-top.is-show {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 1024px) {
  .scroll-top {
    width: 65px;
    height: 65px;
  }
}

/* ========================================
全体的なPC用レスポンシブ
======================================== */

@media (min-width:1024px) {
  body {
    font-size: 18px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 42px;
  }

  .section-inner {
    max-width: 1080px;
    padding: 6rem 1.5rem;
  }

  #trust .section-inner {
    padding: 0 1.5rem;
  }

  #scene .section-inner {
    max-width: 100%;
  }

  #trust .section-inner {
    max-width: 100%;
  }

  .pc-only {
    display: block;
  }

  .sp-only {
    display: none;
  }
}