
/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+JP:wght@400;500;700&family=Special+Gothic+Expanded+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');

/* フォント設定の適用 */
body {
    font-family: var(--font-family, system-ui, -apple-system, sans-serif);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font-family, var(--font-family, system-ui, -apple-system, sans-serif));
}

/* Privacy Policy Styles */
.privacy-policy {
    padding: 0;
    background-color: #f8f9fa;
}

.privacy-policy__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.privacy-policy__title {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 2.5rem;
    font-weight: 700;
}

.privacy-policy__content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.privacy-policy__intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
    text-align: justify;
}

.privacy-policy__list {
    list-style: none;
    counter-reset: privacy-counter;
    padding: 0;
    margin: 0;
}

.privacy-policy__item {
    counter-increment: privacy-counter;
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color, #DAA520);
    position: relative;
}

.privacy-policy__item::before {
    content: counter(privacy-counter);
    position: absolute;
    left: -15px;
    top: 15px;
    background: var(--primary-color, #DAA520);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.privacy-policy__label {
    font-weight: 700;
    color: var(--primary-color, #DAA520);
    display: inline-block;
    margin-right: 10px;
}

.privacy-policy__item {
    line-height: 1.6;
    color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
    .privacy-policy {
        padding: 0;
    }
    
    .privacy-policy__container {
        padding: 0 15px;
    }
    
    .privacy-policy__title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .privacy-policy__content {
        padding: 25px;
    }
    
    .privacy-policy__intro {
        font-size: 1rem;
    }
    
    .privacy-policy__item {
        padding: 15px;
        margin-bottom: 15px;
    }
}

* {
    font-family: 'IBM Plex Sans JP', sans-serif;
    font-weight: 500;
}

.en-font {
  font-family: "Special Gothic Expanded One", sans-serif;
}

/* Hero Section */
.hero-bg {
    /* 画像もグラデーションもなし。heroheaderはindex.phpのimgのみ */
    position: relative;
    overflow: hidden;
    transform: none !important;
}

.hero-bg img {
    height: 600px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Card Styles */
.card-shadow {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Gradients */
.gold-gradient {
    background: linear-gradient(135deg, #DAA520, #FFD700);
}

.blue-gradient {
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Dividers */
.section-divider {
    position: relative;
    overflow: hidden;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(218, 165, 32, 0.3), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Icon Animations */
.icon-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Testimonial Cards */
.testimonial-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* CTA Button */
.cta-button {
    background: linear-gradient(135deg, var(--cta-hero-color, #DAA520), var(--cta-hero-hover-color, #FFD700));
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(218, 165, 32, 0.3);
}

/* Fixed CTA */
.fixed-cta {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid rgba(218, 165, 32, 0.3);
}

/* Service Tabs */
.service-tab {
    transition: all 0.3s ease;
}

.service-tab.active {
    background: linear-gradient(135deg, #eab308, #ea580c);
    color: white;
}

/* Timeline */
.timeline-item {
    position: relative;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, #DAA520, #FFD700);
}

.timeline-number {
    position: absolute;
    left: -12px;
    top: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #DAA520, #FFD700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
    border: 3px solid white;
}

/* Pricing Table */
.pricing-table {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid rgba(218, 165, 32, 0.2);
}

/* Star Rating */
.star-rating {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Navigation Styles */
.target_nav {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

.header__nav {
    display: none;
}

@media (min-width: 1024px) {
    .header__nav {
        display: block;
    }
}

.header__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.header__item {
    margin-bottom: 10px;
}

.header__link {
    display: block;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.header__link:hover,
.header__link.is-active {
    background: #DAA520;
    transform: scale(1.2);
}


/* Responsive Design */
@media (max-width: 768px) {
    .hero-bg h1 {
        font-size: 3rem;
    }

    .hero-bg p {
        font-size: 1.25rem;
    }
}

@media (max-width: 640px) {
    .hero-bg h1 {
        font-size: 2.5rem;
    }

    .hero-bg p {
        font-size: 1rem;
    }
}
h4 mark {
  background: linear-gradient(transparent 60%, #ffff00 60%);
  padding: 0 0.1em;
  display: inline;
  line-height: inherit;
  color: inherit;
}


/* 追記 */

/*--------------------------------
  全体
--------------------------------*/
html {
  font-size: 62.5%;
}

body {
  font-size: clamp(15px, 1.5vw, 16px);
  line-height: 1.6;
  letter-spacing: .05em;
  color: #230e08;
  background-color: #fdf6ed;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(../images/texture.png);
  background-repeat: repeat;
  background-size: auto;
  opacity: 0.05;
  z-index: -1;
  pointer-events: none;
}

.inner {
  margin: auto;
  width: 100%;
  padding: 14rem 2rem 16rem;
}

/* お問い合わせ送信完了ページの余白を調整 */
.contact .inner,
.contact .contact__container {
  padding-bottom: 4rem !important;
  margin-bottom: 0 !important;
}

/* main要素の余白も調整 */
.contact main {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

@media (max-width: 767px) {
  .inner {
    padding: 5rem 2rem 6rem;
  }
  
  /* お問い合わせ送信完了ページの余白を調整（モバイル） */
  .contact .inner,
  .contact .contact__container {
    padding-bottom: 2rem !important;
    margin-bottom: 0 !important;
  }
  
  /* main要素の余白も調整（モバイル） */
  .contact main {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
}

.inner800 {
  max-width: 84rem;
}

.inner1000 {
  max-width: 104rem;
}

.inner1200 {
  max-width: 124rem;
}

.common-title {
  font-size: clamp(22px, 3.9vw, 40px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 4.8rem;
}

@media (max-width: 768px) {
  .common-title {
    margin-bottom: 2.4rem;
  }
}

.button {
  background: #230e08;
  border-radius: 1rem;
  padding: 1.6rem 4rem;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.6rem;
  font-weight: 700;
  max-width: 34rem;
  min-height: 7.2rem;
  color: #fff;
  line-height: 1;
  transition: 0.3s all;
}

@media (max-width: 768px) {
  .button {
    min-height: 6.4rem;
  }
}

.button:hover {
  transform: translateY(-0.5rem);
}

.button i {
  font-size: 2.4rem;
}

.common-texture::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(../images/texture.png);
  background-repeat: repeat;
  background-size: auto;
  opacity: 0.05;
  z-index: 0;
  pointer-events: none;
}

/* animate-fade-in */
.animate-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.animate-fade-in.is-inview {
  opacity: 1;
  transform: translateY(0);
}


/*--------------------------------
  ハンバーガー
--------------------------------*/

.site-header {
  position: fixed;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  padding: 3.2rem 2.4rem 0 3.2rem;
}

/* ロゴが非表示の場合でもドロワーメニューボタンを右上に固定 */
.site-header__logo:empty + .site-header__menu-toggle {
  margin-left: auto;
}

/* ロゴが非表示の場合のヘッダーレイアウト調整 */
.site-header:has(.site-header__logo:empty) {
  justify-content: flex-end;
}

/* より確実にドロワーメニューボタンを右上に固定 */
.site-header__menu-toggle {
  margin-left: auto;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .site-header {
    padding: 2.4rem 1.6rem 0 2.4rem;
  }
}

.site-header__logo {
  width: 200px;
  height: 70px;
}

.site-header__logo img {
  width: 200px;
  height: 70px;
  object-fit: contain;
}

/* ロゴが非表示の場合の画像形跡を非表示にする */
.site-header__logo:empty {
  display: none;
}

.site-header__logo img:not([src]),
.site-header__logo img[src=""],
.site-header__logo img[src="/"] {
  display: none;
}

.site-header__menu-toggle {
  display: block;
  width: 6.4rem;
  height: 6.4rem;
  position: relative;
  cursor: pointer;
  background: #fff;
  border-radius: 50%;
  border: solid 3px var(--menu-border-color, #230e08);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  flex-direction: column;
  filter: drop-shadow(0.3rem 0.3rem 0 var(--menu-shadow-color, #230e08));
  transition: 0.3s all;
  z-index: 1001
}

@media (max-width: 768px) {
  .site-header__menu-toggle {
    width: 5rem;
    height: 5rem;
    top: -0.8rem;
  }
}

@media (min-width: 768px) {
  .site-header__menu-toggle:hover {
    scale: 1.2;
    background-color: var(--menu-icon-hover-color, #F44336);
  }
  
  /* ホバー時は線の色は変更しない */
  .site-header__menu-toggle:hover span {
    background: var(--menu-icon-color, #230e08);
  }
}

.site-header__menu-toggle span {
  display: block;
  width: 2.6rem;
  height: 3px;
  background: var(--menu-icon-color, #230e08);
  border-radius: 9999px;
  transition: all 0.3s cubic-bezier(.77,0,.18,1);
}

/* ハンバーガーがアクティブ（×状態） */
.site-header__menu-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header__menu-toggle.active span:nth-child(2) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ドロワーメニューの基本スタイル */
.drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 30%;
  height: 100vh;
  background: #fff !important;
  backdrop-filter: blur(16px) saturate(1.2);
  transition: right 0.3s cubic-bezier(.77,0,.18,1);
  z-index: 999;
  border-top-left-radius: 6.4rem;
  border-left: 2px solid #230e08;
  border-top: 2px solid #230e08;
  border-bottom: 2px solid #230e08;
  padding: 8rem 6.4rem;
}

.drawer__cta {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

@media (max-width: 768px) {
  .drawer {
    padding: 6.4rem 4rem;
    width: 100%;
    border: none;
    border-radius: 0;
  }
}

/* ドロワーメニューのアクティブ状態 */
.drawer.active {
  right: 0;
}

.drawer nav {
  display: flex;
  flex-direction: column;
  height: 100vh;
  max-height: 100vh;
  gap: 4.8rem;
}

.drawer nav ul {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

@media (max-width: 768px) {
  .drawer nav ul {
    gap: 1.6rem;
  }
}

.drawer nav ul li a {
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.8em;
  transition: 0.3s all;
}

@media (max-width: 768px) {
  .drawer nav ul li a {
    font-size: 1.6rem;
  }
}

.drawer nav ul li a::before {
  content: '\f054';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 1em;
  color: #230e08;
  transition: color 0.3s;
}

.drawer nav ul li a:hover {
  color: #F44336;
}

.drawer nav ul li a:hover::before {
  color: #F44336;
}


.drawer .cta-button,
.drawer .bg-green-500 {
  margin-left: 2rem;
  margin-right: 2rem;
  margin-bottom: 0.8rem;
  box-shadow: 0 6px 24px #c7d2fe33;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 1.5rem;
}

.drawer .cta-button {
  background: linear-gradient(135deg, #fbc2eb 0%, #a6c1ee 100%);
  color: #232946;
  border: none;
}

.drawer .cta-button:hover {
  color: #fff;
  background: linear-gradient(135deg, #a6c1ee 0%, #fbc2eb 100%);
}

.drawer .bg-green-500 {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  color: #fff;
  border: none;
}

.drawer .bg-green-500:hover {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  color: #fff;
}

/*--------------------------------
  MV
--------------------------------*/

.hero__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
  height: 46vw;
}

@media (max-width: 768px) {
  .hero__inner {
    overflow: hidden;
    height: 150vw;
  }
}

.hero__item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero__item-detective {
  width: clamp(230px, 25vw, 400px);
}

@media (max-width: 768px) {
  .hero__item-detective {
    margin-top: 5vw;
    margin-left: 6vw;
  }
}

.hero__item-text {
  margin-left: -25vw;
  margin-top: -5vw;
  display: flex;
}

@media (max-width: 768px) {
  .hero__item-text {
    margin-left: -2vw;
    margin-top: -30vw;
    scale: 2;
  }
}

.hero__item-text01 {
  width: 3.3vw;
}

.hero__item-text02 {
  width: 3vw;
  margin-top: 4vw;
  margin-left: -0.5vw;
}

.hero__item-text03 {
  width: 1.5vw;
  margin-top: 6vw;
  margin-left: 0.3vw;
}

.hero__item-text04 {
  width: 0.5vw;
  margin-top: 8vw;
}

.hero__item-text05 {
  width: 1.5vw;
  margin-top: 6vw;
  margin-left: 1.5vw;
}

.hero__item-text06 {
  width: 1vw;
  margin-top: 6vw;
  margin-left: 0.8vw;
}

.hero__item-text07 {
  width: 1.3vw;
  margin-top: 5vw;
  margin-left: 0.8vw;
}

.hero__item-text08 {
  width: 3vw;
  margin-top: 5vw;
  margin-left: 0.8vw;
}

.hero__item-text09 {
  width: 3vw;
  margin-top: 8vw;
}

.hero__item-text10 {
  width: 1.7vw;
  margin-left: -0.5vw;
  margin-top: 12vw;
}

.hero__item-text11 {
  width: 0.6vw;
  margin-top: 15vw;
  margin-left: -0.3vw;
}

/* 各文字の位置とサイズ */
.hero__item-text01 {
  width: 3.3vw;
}

.hero__item-text02 {
  width: 3vw;
  margin-top: 4vw;
  margin-left: -0.5vw;
}

.hero__item-text03 {
  width: 1.5vw;
  margin-top: 6vw;
  margin-left: 0.3vw;
}

.hero__item-text04 {
  width: 0.5vw;
  margin-top: 8vw;
}

.hero__item-text05 {
  width: 1.5vw;
  margin-top: 6vw;
  margin-left: 1.5vw;
}

.hero__item-text06 {
  width: 1vw;
  margin-top: 6vw;
  margin-left: 0.8vw;
}

.hero__item-text07 {
  width: 1.3vw;
  margin-top: 5vw;
  margin-left: 0.8vw;
}

.hero__item-text08 {
  width: 3vw;
  margin-top: 5vw;
  margin-left: 0.8vw;
}

.hero__item-text09 {
  width: 3vw;
  margin-top: 8vw;
}

.hero__item-text10 {
  width: 1.7vw;
  margin-left: -0.5vw;
  margin-top: 12vw;
}

.hero__item-text11 {
  width: 0.6vw;
  margin-top: 15vw;
  margin-left: -0.3vw;
}

/* テキストアニメーション */
.fade {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.6s ease-out forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 遅延タイミング */
.delay-01 { animation-delay: 0.1s; }
.delay-02 { animation-delay: 0.2s; }
.delay-03 { animation-delay: 0.3s; }
.delay-04 { animation-delay: 0.4s; }
.delay-05 { animation-delay: 0.5s; }
.delay-06 { animation-delay: 0.6s; }
.delay-07 { animation-delay: 0.7s; }
.delay-08 { animation-delay: 0.8s; }
.delay-09 { animation-delay: 0.9s; }
.delay-10 { animation-delay: 1.0s; }
.delay-11 { animation-delay: 1.1s; }


/* === 各グラスの配置微調整（親div） === */
.hero__item-glass01 {
  width: clamp(240px, 33vw, 500px);
  margin-left: -30vw;
  margin-top: 12vw;
}

@media (max-width: 768px) {
  .hero__item-glass01 {
    margin-left: -32vw;
    margin-top: 44vw;
  }
}

.hero__item-glass02 {
  width: clamp(230px, 37vw, 540px);
  margin-top: -18vw;
  margin-left: 28vw;
}

@media (max-width: 768px) {
  .hero__item-glass02 {
    margin-top: -37vw;
    margin-left: 40vw;
  }
}

.hero__item-glass03 {
  width: clamp(220px, 30vw, 480px);
  margin-left: 28vw;
  margin-top: 15vw;
}

@media (max-width: 768px) {
  .hero__item-glass03 {
    margin-left: 39vw;
    margin-top: 35vw;
  }
}

/* === 子要素：アニメーション（img） === */
.glass-img {
  display: block;
  width: 100%;
}

/* === アニメーション本体 === */
.glass-animate {
  opacity: 0;
  animation-duration: 0.6s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-out;
}

/* 右回転バージョン */
@keyframes fadeRotateIn-right {
  0% {
    opacity: 0;
    transform: rotate(35deg) scale(1.2);
  }
  50% {
    opacity: 1;
    transform: rotate(-5deg) scale(1);
  }
  100% {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
}

/* 左回転バージョン */
@keyframes fadeRotateIn-left {
  0% {
    opacity: 0;
    transform: rotate(-35deg) scale(1.2);
  }
  50% {
    opacity: 1;
    transform: rotate(5deg) scale(1);
  }
  100% {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
}

/* アニメーション種別 */
.rotate-right { animation-name: fadeRotateIn-right; }
.rotate-left  { animation-name: fadeRotateIn-left; }

/* 遅延タイミング */
.delay-glass01 { animation-delay: 1.8s; }
.delay-glass02 { animation-delay: 2.1s; }
.delay-glass03 { animation-delay: 2.4s; }



/*--------------------------------
  流れるテキスト
--------------------------------*/

.flow-text-gap {
  height: 7.2rem;
  width: 100%;
  position: relative;
}

@media (max-width: 768px) {
  .flow-text-gap {
    height: 0;
  }
}

.flow-text{
  align-items: center;
  color: #fff;
  display: flex;
  overflow:hidden;
  width: 100%;
  white-space:nowrap;
}

.flow-text ul {
  transform:translateX(100%);
  margin: 0;
  padding: 0;
}

.flow-text ul li{
  display: inline-block;
  padding-right: 1rem;
  font-family: "Special Gothic Expanded One", sans-serif;
  font-size: 11rem;
  letter-spacing: 0;
  line-height: 1;
}

@media (max-width: 768px) {
  .flow-text ul li {
    font-size: 6rem;
  }
}

.flow-text-l {
  margin-top: 0;
}

@media (max-width: 768px) {
  .flow-text-l {
    margin-top: 0;
  }
}

.flow-text-l ul {
  animation: flowing-l 200s linear infinite;
  color: #230e08;
}

.flow-text-r ul {
  animation: flowing-r 200s linear infinite;
  color: #F44336;
}

@keyframes flowing-l {
  0% { transform:translateX(0); }
  100% { transform:translateX(-100%); }
}

@keyframes flowing-r {
  0% { transform:translateX(-100%); }
  100% { transform:translateX(0); }
}

/*--------------------------------
  CTA
--------------------------------*/
.cta__message {
  font-size: clamp(22px, 3.9vw, 30px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .cta__message {
    margin-bottom: 2.4rem;
  }
}

.cta__features {
  font-weight: 500;
  font-size: clamp(18px, 2.6vw, 20px);
  padding: 5rem 6rem;
  border-radius: 1.6rem;
  width: 100%;
  max-width: 80rem;
  margin: auto;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  border: solid 2px #230e08;
  filter: drop-shadow(0.5rem 0.5rem 0 #230e08);
}

@media (max-width: 768px) {
  .cta__features {
    padding: 2.4rem;
  }
}

.cta__feature-item {
  position: relative;
  padding-left: 1.5em;
}

.cta__feature-item::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  color: #F44336;
}

.cta__buttons {
  display: flex;
  gap: 1.6rem;
  justify-content: center;
  margin-top: 8rem;
}

@media (max-width: 768px) {
  .cta__buttons {
    flex-direction: column;
    align-items: center;
    margin-top: 4rem;
    gap: 1.2rem;
  }
  
  .cta__buttons .button {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

.cta__button--line {
  color: #fff;
  background-color: #00B900;
}

.cta__button--tel span span {
  display: block;
  margin-bottom: 0.8rem;
  text-align: center;
}

@media (min-width: 769px) {
  .cta__button--tel {
    pointer-events: none;
  }
}

.cta--end {
  position: relative;
}

/* 各セクションのCTAボタン色設定はheader.phpで管理 */

.cta--end::before {
    opacity: 0.1;
}

.cta--end .cta__message {
  color: #fff;
  font-size: clamp(22px, 3.9vw, 40px);
  text-shadow:
  #000 1px 0 0,
  #000 -1px 0 0,
  #000 0 1px 0,
  #000 0 -1px 0,
  #000 1px 1px 0,
  #000 -1px -1px 0,
  #000 1px -1px 0,
  #000 -1px 1px 0;
}


/*--------------------------------
  悩み
--------------------------------*/

.trouble {
  position: relative;
}

.trouble__cards {
  display: flex;
  gap: 3.2rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .trouble__cards {
    flex-direction: column;
    gap: 2.4rem;
  }
}

.trouble-card {
  background-color: #fff;
  border-radius: 2.4rem;
  padding: 4rem;
  width: calc((100% - 3.2rem)/2);
  border: solid 2px #230e08;
  filter: drop-shadow(0.5rem 0.5rem 0 #230e08);
}

@media (max-width: 768px) {
  .trouble-card {
    width: 100%;
    padding: 2.4rem;
  }
}

.trouble-card__header {
  font-size: clamp(20px, 2.86vw, 22px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.6rem;
}

.trouble-card__icon {
  color: #F44336;
  font-size: clamp(34px, 6.51vw, 50px);
  margin-bottom: 1.6rem;
}

.trouble-card__text {
  line-height: 2;
}

@media (max-width: 768px) {
  .trouble-card__text {
    line-height: 1.8;
  }
}

.trouble__cta {
  margin-top: 6.4rem;
}

@media (max-width: 768px) {
  .trouble__cta {
    margin-top: 4rem;
  }
}

.trouble__cta a {
  margin: auto;
}

/*--------------------------------
  選ばれる理由
--------------------------------*/

.reasons {
  position: relative;
}

.reasons::before {
  opacity: 0.1;
}

.reasons__title {
  color: #fff;
  text-shadow:
  #000 1px 0 0,
  #000 -1px 0 0,
  #000 0 1px 0,
  #000 0 -1px 0,
  #000 1px 1px 0,
  #000 -1px -1px 0,
  #000 1px -1px 0,
  #000 -1px 1px 0;
}

.reasons__list {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}

@media (max-width: 768px) {
  .reasons__list {
    gap: 2.4rem;
  }
}

.reason-card__content {
  border-radius: 2.4rem;
  padding: 6rem;
  background: #fff;
  border: solid 2px #230e08;
  filter: drop-shadow(0.5rem 0.5rem 0 #230e08);
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  gap: 3.2rem;
  align-items: center;
}

@media (max-width: 768px) {
  .reason-card__content {
    flex-direction: column;
    gap: 1.6rem;
    padding: 2.4rem;
  }
}

.reason-card__image {
  width: 32rem;
}

@media (max-width: 768px) {
  .reason-card__image {
    width: 24rem;
  }
}

.reason-card__body {
  width: calc(100% - 32rem);
}

/* 画像がない場合のスタイル */
.reason-card__content--no-image .reason-card__body {
  width: 100%;
}

@media (max-width: 768px) {
  .reason-card__body {
    width: 100%;
  }
}

.reason-card__heading {
  font-size: clamp(18px, 2.86vw, 22px);
  font-weight: 700;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}

.reason-card__text {
  line-height: 2;
}

@media (max-width: 768px) {
  .reason-card__text {
    line-height: 1.8;
  }
}

.reason-card__text + .reason-card__text {
  margin-top: 2.4rem;
}

.reason-card__heading {
  font-size: clamp(22px, 3.64vw, 28px);
  font-weight: 700;
}

.reason-card__subheading {
  margin-bottom: 2.4rem;
}

.reason-card__subheading strong {
  background: linear-gradient(transparent 60%, #f9e972 60%);
  padding-bottom: 0.3rem;
  font-size: clamp(16px, 2.34vw, 18px);
}

.reasons__cta {
  margin-top: 6.4rem;
}

@media (max-width: 768px) {
  .reasons__cta {
    margin-top: 4rem;
  }
}

.reasons__cta a {
  margin: auto;
}

.reason-card__points {
  background-color: #eee3d6;
  padding: 2.4rem;
  border-radius: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 2.4rem;
}

.reason-card__points i {
  margin: 0 0.8rem;
}

.reason-card__point {
  position: relative;
  padding-left: 1.6rem;
}

.reason-card__point::before {
  content: "";
  display: inline;inset-block: ;
  position: absolute;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background-color: #F44336;
  top: 0.5em;
  left: 0;
}

.reason-card--price .reason-card__points {
  margin-bottom: 2.4rem;
}

/*--------------------------------
  サービス
--------------------------------*/

.service__cards {
  display: flex;
  gap: 3.2rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .service__cards {
    flex-direction: column;
    gap: 2.4rem;
  }
}

.service-card {
  background-color: #fff;
  border-radius: 2.4rem;
  padding: 4rem;
  width: calc((100% - 6.4rem)/3);
  border: solid 2px #230e08;
  filter: drop-shadow(0.5rem 0.5rem 0 #230e08);
}

@media (max-width: 768px) {
  .service-card {
    width: 100%;
    padding: 2.4rem;
  }
}

.service-card__heading {
  margin-bottom: 1.6rem;
  position: relative;
}

.service-card__heading span {
  font-size: clamp(18px, 2.86vw, 22px);
  font-weight: 700;
  padding-left: 2rem;
}

.service-card__heading::before {
  display: block;
  content: "";
  height: 2.2rem;
  width: 0.7rem;
  border-radius: 9999px;
  background-color: #F44336;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.service-card__subheading {
  font-weight: 700;
  font-size: clamp(16px, 2.34vw, 18px);
  margin-bottom: 2.4rem;
  padding-bottom: 0.8rem;
  border-bottom: dashed 1px #230e08;
}

.service-card__subheading i {
  margin-right: 0.5rem;
}

.service-card__icon {
  color: #F44336;
  font-size: clamp(20px, 6.51vw, 50px);
  margin-bottom: 1.6rem;
}

.service-card__text {
  line-height: 2;
}

.service-card__item:not(:last-child) {
  margin-bottom: 0.8rem;
}

.service-card__item i {
  margin-right: 0.8rem;
}

.service-card__cta {
  margin-top: 2.4rem;
}

.service-card__cta .button {
  min-height: 5.6rem;
}

@media (max-width: 768px) {
  .service-card__cta {
    text-align: center;
  }
  
  .service-card__cta .button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}

/*--------------------------------
  流れ
--------------------------------*/

.flow {
  position: relative;
}

.flow__timeline {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.flow__step {
  display: flex;
  gap: 1.6rem;
  position: relative;
}

.flow__step::after {
  position: absolute;
  content: "";
  display: block;
  border-left: 2px dashed #230e08;
  height: 80%;
  top: 4rem;
  left: 1.5rem;
}

.flow__heading {
  font-size: clamp(18px, 2.6vw, 20px);
  font-weight: 700;
  margin-bottom: 1.6rem;
}

.flow__number {
  font-size: 1.4rem;
  font-weight: 700;
  font-family: "Special Gothic Expanded One", sans-serif;
  background-color: #F44336;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background-color: #F44336;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  flex-shrink: 0;
  margin-top: -0.3rem;
}

/*--------------------------------
  よくある質問
--------------------------------*/

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

@media (max-width: 768px) {
  .faq__list {
    gap: 1.6rem;
  }
}

.faq__item {
  background-color: #fff;
  padding: 2.4rem 1.6rem 2.4rem 2.4rem;
  border-radius: 1.2rem;
  border: solid 2px #230e08;
  filter: drop-shadow(0.3rem 0.3rem 0 #230e08);
}

@media (max-width: 768px) {
  .faq__item {
    padding: 1.6rem;
  }
}

.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: clamp(15px, 2.34vw, 18px);
  align-items: center;
  text-align: left;
  gap: 1.6rem;
}

.faq__answer {
  margin-top: 1.6rem;
  line-height: 1.8;
}

.faq__button {
  font-size: 2.4rem;
  line-height: 1;
  background: #230e08;
  border-radius: 50%;
  width: 3.2rem;
  height: 3.2rem;
  align-items: center;
  justify-content: center;
  display: flex;
  color: #fff;
  font-weight: 400;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .faq__button {
    font-size: 1.6rem;
    width: 2.4rem;
    height: 2.4rem;
  }
}


/*--------------------------------
  フォーム
--------------------------------*/

.contact-form {
  background: #fff;
  padding: 6.4rem;
  border: solid 2px #230e08;
  filter: drop-shadow(0.5rem 0.5rem 0 #230e08);
  border-radius: 3.2rem;
}

@media (max-width: 768px) {
  .contact-form {
    padding: 2.4rem;
    border-radius: 2.4rem
  }
}

.contact-form__container {
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
}

.contact-form__heading {
  font-weight: 700;
  font-size: clamp(18px, 2.34vw, 18px);
  margin-bottom: 1.6rem;
}

.contact-form__heading i {
  color: #F44336;
}

.contact-form__submit {
  margin: auto;
}

.contact-form__kind {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.contact-form__kind div {
  margin-bottom: 0;
}

.contact-form__kind label {
  font-size: clamp(15px, 1.5vw, 16px);
  color: #230e08;
}

.contact-form__kind input {
  width: 2rem;
  height: 2rem;
}

.contact-form h4 {
  margin-bottom: 0.3rem;
}

.contact-form__privacy-confirm {
  text-align: center;
  margin-top: 0.8rem;
}

.form_all {
  padding: 1rem;
}

.items-start {
  align-items: center;
  justify-content: center;
}

/*--------------------------------
  フッター
--------------------------------*/

.footer {
  color: #fff;
  padding: 6.4rem 0 3.2rem;
}
@media (max-width: 768px) {
  .footer {
    padding: 5rem 2rem;
  }
}

.footer__container {
  margin: auto;
}

.footer__info {
  display: flex;
  justify-content: center;
  gap: 8rem;
}

@media (max-width: 768px) {
  .footer__info {
    flex-direction: column;
    gap: 2.4rem;
    align-items: center;
  }
}

.footer__logo {
  width: clamp(180px, 29.9vw, 230px);
}

/* ロゴが非表示の場合の画像形跡を非表示にする */
.footer__logo:empty {
  display: none;
}

.footer__logo img:not([src]),
.footer__logo img[src=""],
.footer__logo img[src="/"] {
  display: none;
}

.footer__item:not(:last-child) {
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .footer__item:not(:last-child) {
    margin-bottom: 0.5rem;
  }
}

.footer__bottom {
  display: flex;
  gap: 3.2rem;
  justify-content: center;
  margin-top: 6.4rem;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .footer__bottom {
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
    margin-top: 3.2rem;
  }
}

/*--------------------------------
  右下固定ボタン
--------------------------------*/

.cta-fixed {
  position: fixed;
  bottom: 2.4rem;
  right: 3.2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

@media (max-width: 768px) {
  .cta-fixed {
    right: 1.6rem;
    bottom: 1.6rem;
  }
}

.cta-fixed__button {
  display: block;
  color: #230e08;
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.4rem;
  font-weight: 700;
}

/* アイコンの大きさ */
.cta-fixed__icon {
  font-size: 1.4rem;
}

.cta-fixed__button {
  border: solid 2px #230e08;
  background-color: #fff;
}

/* 各ボタンの色設定 */
.cta-fixed__button--phone {
  background-color: #fff;
  border-color: #230e08;
  color: #230e08;
}

.cta-fixed__button--phone:hover {
  background-color: #230e08;
  color: #fff;
}

.cta-fixed__button--reservation {
  background-color: #F44336;
  border-color: #F44336;
  color: #fff;
}

.cta-fixed__button--reservation:hover {
  background-color: #d32f2f;
  border-color: #d32f2f;
}

.cta-fixed__button--line {
  background-color: #00B900;
  border-color: #00B900;
  color: #fff;
}

.cta-fixed__button--line:hover {
  background-color: #009900;
  border-color: #009900;
}

/*--------------------------------
  会社概要
---------------------------------*/
.footer__company {
  margin-top: 3.2rem;
  padding-top: 3.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer__contact {
  margin-top: 2.4rem;
  padding-top: 2.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__company-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2.4rem;
  text-align: left;
}

.footer__company-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.2rem;
  align-items: start;
}

.footer__company-info {
  flex: 1;
}

.footer__company-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer__map {
  flex: 1;
}

.footer__map-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.6rem;
}

.footer__map-container {
  border-radius: 0.8rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.footer__map-container iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: none;
}

.footer__map-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.8rem;
  border: 2px dashed rgba(255, 255, 255, 0.3);
}

.footer__company-item {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.footer__company-label {
  font-weight: 600;
  color: #fff;
  min-width: 6rem;
  flex-shrink: 0;
}

.footer__company-value {
  color: #fff;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .footer__company-content {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }
  
  .footer__company-list {
    gap: 1rem;
  }
  
  .footer__company-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
  
  .footer__company-label {
    min-width: auto;
    font-size: 1.4rem;
  }
  
  .footer__company-value {
    font-size: 1.4rem;
  }
  
  .footer__map-container iframe {
    height: 250px;
  }
}

/*--------------------------------
  フッターメニュー
---------------------------------*/
.footer__menu {
  margin-top: 3.2rem;
  padding-top: 3.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer__menu-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2.4rem;
  text-align: left;
}

.footer__nav {
  margin-bottom: 2.4rem;
}

.footer__nav-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.2rem;
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer__nav-item {
  list-style: none;
}

.footer__nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

.footer__nav-link:hover {
  color: #f0f0f0;
}

.footer__cta {
  margin-top: 2.4rem;
}

.footer__cta-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.2rem;
}

.footer__cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer__cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 2.4rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  border-radius: 0.8rem;
  font-size: 1.4rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer__cta-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.footer__cta-button--mail {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.footer__cta-button--tel {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.footer__cta-button--line {
  background: linear-gradient(135deg, #00c851 0%, #00a844 100%);
}

@media (max-width: 768px) {
  .footer__cta-buttons {
    gap: 1rem;
  }
  
  .footer__cta-button {
    padding: 1rem 2rem;
    font-size: 1.3rem;
  }
}

/*--------------------------------
  モーダル
--------------------------------*/
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow-y: auto;
}

.modal--active {
  display: block;
}

.modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.modal__content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  max-width: 60rem;
  background: #fff;
  border-radius: 1.6rem;
  transform: translate(-50%, -50%);
  padding: 4rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .modal__content {
    padding: 2.4rem;
  }
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

.modal__title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.2rem;
}

.modal__text {
  font-size: 1.3rem;
  line-height: 1.6;
}

.modal__text p {
  margin-bottom: 1.6rem;
}

.modal__text ol {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  counter-reset: item;
}

.modal__text ol li {
  position: relative;
  padding-left: 1.5em;
}

.modal__text ol li::before {
  counter-increment: item;
  content: counter(item) ". ";
  position: absolute;
  top: 0;
  left: 0;
}

body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}


/* FontAwesome色付きアイコン対応 */
.icon-with-color {
    display: inline-block;
}

/*--------------------------------
  ヒーローヘッダー
--------------------------------*/

.hero-header {
    padding: 4rem 0 2rem;
    position: relative;
    /* デフォルトの背景色 - インラインスタイルで上書きされる */
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

@media (max-width: 768px) {
    .hero-header {
        padding: 3rem 0 1.5rem;
    }
}

.hero-header__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-header__content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-header__title {
    font-size: clamp(2.4rem, 4vw, 4rem);
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-color, #230e08);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}


.hero-header__subtitle {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    color: #666;
    line-height: 1.6;
    margin-top: 2rem;
}

/* ヒーローヘッダーのアニメーション */
.hero-header__title {
    opacity: 0;
    transform: translateY(30px);
    animation: heroTitleFadeIn 0.8s ease-out 0.3s forwards;
}

.hero-header__subtitle {
    opacity: 0;
    transform: translateY(20px);
    animation: heroSubtitleFadeIn 0.8s ease-out 0.6s forwards;
}

@keyframes heroTitleFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroSubtitleFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ヒーローヘッダーの装飾要素 */
.hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/texture.png');
    background-repeat: repeat;
    background-size: auto;
    opacity: 0.03;
    pointer-events: none;
}

