/* ========================================
   カラー設定
======================================== */
:root {
    --main-color: #A2E54B;
    --dark-color: #53c741;
    --accent-color: #ec0000;
    --text-color: #000;
    --bg-white: #ffffff;
    --gray-100: #f5f5f5;
    --gray-200: #e0e0e0;
    --gray-300: #cccccc;
    --gray-700: #555555;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* ========================================
   リセット & 基本設定
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

section {
    margin-bottom: 80px;
}

.bg {
    background: #f6f6f6;
    padding: 80px;
}

/* ========================================
   コンテナ
======================================== */
.container {
    max-width: 736px;
    margin: 0 auto;
    /* padding: 0 20px; */
    background: #fff;
}

.header-container,.footer-container,.contact-container {
    max-width: 1200px;
     margin: 0 auto;
    padding: 0 20px;
}

.top-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ========================================
   ヘッダー
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo h1 {
    font-size: 0;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color);
    font-size: 15px;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--main-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ========================================
   ボタン
======================================== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 600;
    text-align: center;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 15px;
}

.btn-primary {
    background: linear-gradient(to right, var(--dark-color), var(--main-color));
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: transform 0.15s ease, filter 0.3s ease, box-shadow 0.3s ease;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
}

/* 光エフェクト */
.btn-primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.25);
    transform: skewX(-25deg);
    transition: 0.5s ease;
}

/* ホバー時 */
.btn-primary:hover {
    /* filter: brightness(1.2);
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.7); */
    cursor: pointer;
}

.btn-primary:hover::after {
    left: 100%;
}

/* クリック時（押し込み感） */
.btn-primary:active {
    transform: scale(0.92);
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background-color: #fff;
    color: var(--dark-color);
    border: 2px solid var(--main-color);
}

.btn-secondary:hover {
    background-color: var(--main-color);
    color: var(--text-color);
}

.btn-large {
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 700;
}

.btn-header {
    padding: 10px 24px;
    font-size: 14px;
    white-space: nowrap;
}

.common-btn {
    display: block;
    width: 250px;
    margin: 80px auto 40px auto;
}

/* ========================================
   はいけい
======================================== */
#circuit-canvas {
        position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(135deg, #e0ffeb 0%, #cdffd6 50%, #fefeff 100%);
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: linear-gradient(rgba(249, 226, 226, 0.05) 1px), linear-gradient(90deg, rgba(216, 236, 237, 0.05) 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    animation: gridMove 20s linear infinite;
}


/* ========================================
   タイトル
======================================== */

.section-title {
    background: #000;
    color: #fff;
    width: auto;
    margin: 40px auto;
    padding: 8px 24px;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
}

.section-title2 {
    color: var(--dark-color);
    text-align: center;
        font-size: 2.5rem;
        margin-bottom: 16px;
        font-weight: 800;
}

.section-title3 {
    color: #000;
    text-align: center;
        font-size: 2rem;
        margin-bottom: 16px;
        font-weight: 800;
}

.problem-timeline-title {
    font-size: 2.5rem;
    font-weight: 800;
}

.content-title {
    color: #000;
    font-size: 3rem;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 900;
}

.solution-how-title,.flow-title,.comparison-title,.section-title5 {
    font-size: 2.3rem;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(to right, var(--main-color) 0%, var(--dark-color) 100%);
    color: #fff;
    max-width: 450px;
    margin:0 auto 24px auto;
    display: block;
}

/* 基本設定（インライン要素で使いやすく） */
.text-anime{
  position: relative;
  display: inline-block; /* inline 要素にも使えるように */
  color: inherit;
  text-decoration: none; /* 元の下線があるなら消す */
  cursor: pointer;
}

/* 下線（元の指定を置き換え） */
.text-anime::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;               /* 幅を要素幅に合わせる */
  bottom: -3px;           /* 文字下からの余白。調整可 */
  height: 10px;            /* 線の太さ */
  background: #53c741;    /* 線の色（ユーザー指定） */
  will-change: transform, opacity;
  opacity: 0.95;
  border-radius: 2px;     /* 角丸にして柔らかく */
  box-shadow: 0 0 12px rgba(83,199,65,0.18); /* ほのかな光り */
}

/* ========================================
   ヒーローセクション
======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 100px;
    /* padding-bottom: 80px; */
    overflow: hidden;
    margin-bottom: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(162, 229, 75, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 60px;
    min-height: calc(100vh - 180px);
}

.hero-wrap{
    display: flex;
    gap: 5%;
    justify-content: center;
    padding: 48px 0;
}

/* ========================================
   ヒーロー左側：画像エリア（50%）
======================================== */

.hero-img {
    width: 28%;
}

.hero-img img {
    max-width: 100%;
}

/* ========================================
   ヒーロー右側：テキストエリア（50%）
======================================== */


.hero-text {
    width: 60%;
}

.target {
    display: inline-block;
    font-weight: 600;
    padding: 8px 16px;
    font-size: 1rem;
    background: #fff;
    border-radius: 30px;
    border: #000 1px solid;
    margin-bottom: 16px;
}

h1 {
    color: var(--dark-color);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
}

.sub-text {
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.figure-wrap ul {
    display: flex;
    gap: 16px;
    /* justify-content: center; */
    align-items: center;
}

.figure-wrap ul li {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    list-style: none;
    font-size: .9rem;
    text-align: center;
    font-weight: 800;
    border-radius: 50%;
    background: var(--dark-color);
    color: var(--dark-color);
    line-height: 1.3;
    height: 100px;
    width: 100px;
    background: #ECFFD3;
    
}

.tax {
    width: 95%;
    margin: 0 auto;
}

.tax-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5%;
    height: auto;
    margin: 40px auto;
    padding: 32px;
    border: 3px solid#A2E54B;
    border-radius: 10px;
}

.logo {
    width: 25%;
    height: auto;
}

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

.tax-text {
    width: 65%;
}

.tax-text .title {
    text-align: center;
    font-weight: 700;
}

.tax-strong {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5%;
    margin: 16px 0;
}

.monthlyfee {
    width: 45%;
    margin: 0 auto;
    text-align: center;
    background: #ECFFD3;
    height: 70px;
    border-radius: 10px;
}

.monthlyfee p,.initialcost p {
    font-size: 0.8rem;
}

.strong-tax {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 8px;
    background: linear-gradient(135deg, var(--dark-color), var(--main-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sm {
    font-size: 0.6rem;
    text-align: center;
}

.initialcost {
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background: #ECFFD3;
    height: 70px;
    border-radius: 10px;
    text-align: left;
}

.initialcost p {
    line-height: 1.1;
}



/* ヘッダーのスタイル（既存のコードに合わせて調整） */
.header {
    position: absolute; /* ヒーローセクションの上に表示 */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background-color: #fff; /* 背景透過 */
    padding: 20px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header .logo h1 img {
    height: 40px; /* ロゴの高さ */
    width: auto;
}

.header .nav-link {
    color: var(--text-color); /* テキストカラーを調整 */
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.header .nav-link:hover {
    color: var(--main-color);
}

.btn-header {
    background-color: var(--main-color);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-header:hover {
    background-color: var(--dark-color);
}

.service {
    padding: 0 20px;
}

.service-title {
    width: 80%;
    margin: 40px auto;
}

.service h3 {
    margin-bottom: 24px;
}

.bg-text {
    background: #000;
    color: #fff;
    padding: 4px;
    margin-right: 8px;
}


.service-text {
    margin-bottom: 40px;
    text-align: center;
}

.service-text3 {
    margin-top: 32px;
    background: #ECFFD3;
    color: var(--dark-color);
    padding: 20px;
}

.btn-wrap {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 64px;
}

/* --------------------------------------------------------------------------
   問題提起セクション
   -------------------------------------------------------------------------- */
.problem {
    padding: 40px 0 0px 0;
    background: #fff;
}   

.problem h2 {
    margin-bottom: 40px;
}

.worry-img {
    width: 100%;
}

.worry-img img {
    display: block;
    width: 100%;
    margin: 0 auto;
}

.triangle {
  margin: 80px auto 0 auto;
  width: 160px;
  height: 80px;
  background: var(--main-color);
  clip-path: polygon(
    50% 100%,
    0 0,
    100% 0
  );
  animation: floatY 2s ease-in-out infinite;
}

@keyframes floatY {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(15px);
  }
  100% {
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   ガイドセクション
   -------------------------------------------------------------------------- */

.installation-container {
    padding: 40px 24px;
    text-align: center;
}

.installation-container h4 {
    display: inline-block;
    padding: 4px 8px;
    background: #000;
    color: #fff;
    font-size: 2rem;
    margin-bottom: 24px;
}

.installation-container ul li {
    list-style: none;
}

.point {
    color: var(--main-color);
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.installation-wrap {
    display: flex;
    justify-content: space-between;
    margin: 80px 0 0 0;
    background: #fff;
    padding: 24px;
}

.installation-img {
    width: 40%;
}

.installation-img img {
    display: block;
    width: 100%;
    margin: 0 auto;
}

.find {
    text-align: center;
    background: #ffffff;
    width: 100%;
    padding: 40px 24px;
}

.find-img-wrap {
    display: flex;
    gap: 24px;
    margin-top: 40px;
}

.find h3 {
    color: #000000;
    font-size: 1.3rem;
}


/* --------------------------------------------------------------------------
   ソリューションセクション
   -------------------------------------------------------------------------- */

.solution {
    margin-bottom: 80px;
    /* padding: 0px 0; */
}

.solution-intro{
    text-align: center;
    margin-bottom: 64px;
}

.solution-intro h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
}

.solution-intro h2 span {
    color: var(--dark-color);
}

.solution-intro p {
    color: #000;
    font-size: 1.1rem;
}

.solution-how {
    /* background-color: var(--bg-white); */
    margin-top: 80px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 40px;
}

.solution-how h3,.solution-how p {
    text-align: center;
    font-size: 1.5rem;
}


.solution-how p{
    font-size: 1rem;
    margin-bottom: 48px;
}

.solution-wrap {
    display: flex;
    gap: 5%;
    justify-content: space-around;
}

.solution-img {
    width: 100%;
}

.solution2-img {
    width: 40%;
}

.solution-steps {
    display: flex;
    flex-direction: column;
    margin-bottom: 32px;
    width: 50%;
    padding: 24px 0;
}

.solution-step {
    display: flex;
    text-align: left;
}

.solution-step-number {
    width: 60px;
    height: 60px;
    background-color: var(--main-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    margin: 0 16px 0 0;
}

.solution-step-content {
    width: 80%;
}

.solution-step-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.solution-step-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    text-align: left;
}

.solution-step-arrow {
    font-size: 32px;
    color: var(--main-color);
    font-weight: 700;
    text-align: center;
}

.solution-result {
    text-align: center;
}

.solution-result-box {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 24px 40px;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.solution-result-icon {
    font-size: 32px;
    color: var(--secondary-color);
}

.solution-result-text {
    font-size: 16px;
    text-align: left;
    line-height: 1.7;
}

.structure-img img {
    box-shadow: var(--shadow-sm);
}

/* --------------------------------------------------------------------------
   選ばれる理由セクション
   -------------------------------------------------------------------------- */
   .select-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5%;
    height: auto;
    margin-bottom: 40px;
   }

   .select-img {
    width: 100%;
    margin-bottom: 40px;
   }
   
   .solution

   .select-text-wrap {
    width: 45%;
    display: flex;
    flex-direction: column;
    gap: 16px;
   }

   .select-text {
    border-radius: 50px;
    border: 2px solid #53c741;
    padding: 16px;
    display: flex;
    background: #fff;
   }

   .select-text p{
    font-size: 1.3rem;
    font-weight: 600;
   }

.number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #A2E54B; /* 好きな色に変更OK */
    color: #fff;
    font-weight: 700;
    margin-right: 8px;
    font-size: 18px;
}

.select-item-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 5%;
    justify-content: center;
}

.select-item {
    width: 45%;
    margin-bottom: 48px;
}

.select-item-img img {
    border-radius: 10px;
    display: block;
    margin-bottom: 24px;
}

.select-item-text {
    color: #000;
    font-size: .9rem;
}



/* --------------------------------------------------------------------------
   比較表セクション
   -------------------------------------------------------------------------- */
.comparison-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-light);
}

.section-header {
    margin-bottom: 16px;
    text-align: center;
}

.comparison-section p {
    text-align: center;
    font-size: 1.1rem;
}

.comparison-table-wrapper {
    overflow-x: auto;
    background-color: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table thead {
    background-color: #a6d569;
    color: var(--bg-white);
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: center;
    border: 1px solid #e5e5e5;
}

.comparison-table th {
    font-size: 18px;
    font-weight: 700;
}

.comparison-table th.highlight {
    background-color: var(--dark-color);
}

.comparison-table td {
    font-size: 15px;
}

.comparison-table td.highlight {
    background-color: #eff3fe;
    font-weight: 600;
}

.comparison-table .table-subtitle {
    display: block;
    font-size: 12px;
    font-weight: 400;
    opacity: 0.8;
}

.comparison-table .table-note {
    display: block;
    font-size: 12px;
    color: #000;
    margin-top: 4px;
}

.comparison-table i {
    color: var(--dark-color);
    margin-right: 8px;
}

/* --------------------------------------------------------------------------
   協業セクション
   -------------------------------------------------------------------------- */
.collaboration {
    padding: 0 24px;
}

   .collaboration-wrap {
    display: block;
    /* background: #fff; */
    /* border-radius: 10px; */
    /* box-shadow: var(--shadow-md); */
}

.collaboration-text {
    /* width: 45%; */
    padding: 32px;
}

.collaboration-text h3 {
    display: inline;
    font-size: 1.3rem;
    line-height: 2;
    background: var(--dark-color);
    color: #fff;
    padding: 4px;
    margin-bottom: 32px;
}

.collaboration-text .strong {
    font-weight: 600;
}

.collaboration-img {
    width: 45%;
    margin: 0 auto;
}

.collaboration-img img {
    display: block;
}


/* --------------------------------------------------------------------------
   導入の流れセクション
   -------------------------------------------------------------------------- */
.flow-section {
    padding: var(--section-padding) 0;
    /* background-color: var(--bg-white); */
    padding: 80px 0;
}

.flow-section p {
    text-align: center;
    font-size: 1rem;
}

.flow-timeline {
    /* display: flex; */
    /* gap: 20px; */
    align-items: center;
}

.flow-step {
    text-align: center;
    width: 100%;
    padding: 24px;

}

.flow-step-icon {
    border-radius: 50%;
    height: auto;
    /* padding: 40px; */
    height: 200px;
    width: 200px;
    /* padding: 40px; */
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0px auto 16px auto;
}

.flow-step-icon img {
    color: var(--dark-color);
    width: 100%;
}

.flow-connector {
    font-size: 28px;
    color: var(--dark-color);
    font-weight: 700;
    text-align: center;
}

.flow-step-number {
    display: inline-block;
    background: var(--dark-color);
    border-radius: 20px;
    color: #fff;
    padding: 4px 16px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.flow-step-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.flow-step-description {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}


/* --------------------------------------------------------------------------
  お客様の声
   -------------------------------------------------------------------------- */
.voices {
    margin-bottom: 80px;
}

.voices .voices-sub {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    justify-content: center;
}

.card {
    width: 100%;
    max-width: 320px;
    padding: 24px;
    border: 1px solid var(--main-color); /* 仮ボーダー：色検討後変更OK */
    border-radius: 12px;
    box-sizing: border-box;
    background: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.voice-text {
    font-size: 0.95rem;
    line-height: 1.6;
}

.voice-author {
    margin-top: 16px;
    text-align: right;
    font-size: 0.9rem;
}

.voice-name {
    font-weight: bold;
}

/* --------------------------------------------------------------------------
   信頼性セクション
   -------------------------------------------------------------------------- */
   .trust-section {
    margin-top: 160px;
   } 

   .trust-section p {
        text-align: center;
        font-size: 1.1rem;
    }

    .media-grid {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        margin-top: 40px;
    }

    .media-item {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .media-item .media-name {
        color: var(--dark-color);
        font-size: 2rem;
        font-weight: 700;
    }


/* --------------------------------------------------------------------------
   FAQセクション
   -------------------------------------------------------------------------- */
.faq-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-light);
    padding: 0 20px 80px 20px;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-white);
    border-radius: 10px;
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid var(--main-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    
}

.faq-question {
    width: 100%;
    padding: 24px;
    background-color: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--bg-light);
}

.faq-icon {
    flex-shrink: 0;
    font-size: 16px;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--text-light);
    line-height: 1.8;
}

/* --------------------------------------------------------------------------
   悩みセクション
   -------------------------------------------------------------------------- */
.worry {
    text-align: center;
    margin-bottom: 80px;
    padding:0 24px 40px 24px;
}
.section-title4 {
  display: inline;
  background: linear-gradient(transparent 60%, var(--main-color) 60%);
  line-height: 1.8;
  font-size: 2rem;
  font-weight: 800;
  padding: 0 4px;
}

.check-list { 
    list-style: none;
     padding: 0;
      /* margin: 64px 0; */
      text-align: left;
    }

/* 各項目 */
.check-list li {
  position: relative;
  padding-left: 40px;       /* アイコン分の余白 */
  margin-bottom: 10px;
  line-height: 1.4;
  font-size: 1.5rem;
  color: #000;
  font-weight: 600;
}

/* 左にアイコンを表示 */
.check-list li::before {
  content: "";
  position: absolute;
  left: 0%;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;              /* アイコンサイズ */
  height: 28px;
  background-image: url("assets/images/check.webp");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.emphasis {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    padding: 16px 32px;
    text-align: center;
    background: linear-gradient(to top,var(--dark-color)0%,var(--main-color)100%);
}

/* --------------------------------------------------------------------------
   お問い合わせセクション
   -------------------------------------------------------------------------- */
.contact-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-white);
    padding: 80px 0;
    margin-bottom: 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.contact-info {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
    height: fit-content;
}

.contact-info-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    margin-top: 32px;
}

.contact-info-title:first-child {
    margin-top: 0;
}

.contact-phone,
.contact-email {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.contact-phone i,
.contact-email i {
    font-size: 20px;
}

.contact-hours {
    font-size: 14px;
    color: #000;
    margin-bottom: 24px;
}

.contact-address {
    margin-top: 32px;
}

.contact-address h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-address p {
    font-size: 14px;
    color: #000;
    line-height: 1.7;
}

.contact-website {
    margin-top: 24px;
}

.contact-website a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--dark-color);
    font-weight: 600;
}

.contact-website a:hover {
    text-decoration: underline;
}

.contact-form-wrapper {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.required {
    color: var(--accent-color);
}

.form-input,
.form-textarea {
    padding: 12px 16px;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--font-ja);
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.form-checkbox input {
    cursor: pointer;
}

.form-checkbox a {
    color: var(--primary-color);
    text-decoration: underline;
}

.btn-submit {
    margin-top: 16px;
}

/* --------------------------------------------------------------------------
   フッター
   -------------------------------------------------------------------------- */
.footer {
    background-color: #fff;
    color: #000;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    width: 150px;
    margin-bottom: 16px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.7;
}

.footer-heading {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 16px;
}

.footer-links,
.footer-contact {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #000;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--main-color);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #374151;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: #9ca3af;
}

/* ========================================
   レスポンシブ対応
======================================== */
@media (max-width: 1200px) {
    .top-container {
        padding: 0 20px;
    }
    
    .hero-content {
        gap: 40px;
    }
    
}

@media (max-width: 1024px) {
    .nav {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-title-emphasis {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .slide-wrap {
        width: 350px;
        height: 450px;
    }
    
    .moshimo-hero-img {
        width: 300px;
        height: 400px;
        left: -30px;
    }
}

@media (max-width: 768px) {
    .hero-wrap {
        display: block;
    }

    .hero-img {
        height: 200px;
        margin-bottom: 40px;
    }

    .hero-img img{
        width: 50%;
        display: block;
        margin: 0 auto;
    }

    .container, .header-container {
        padding: 0;
    }

    section {
        margin-bottom: 80px;
    }

    .header-content {
        flex-wrap: wrap;
    }
    
    .nav {
        display: none;
    }
    
    .btn-header {
        font-size: 13px;
        padding: 8px 20px;
    }
    
    .hero {
        align-items: baseline;
        padding-bottom: 0;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 50px;
        min-height: auto;
    }
    
    .hero-text {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-title-main {
        font-size: 22px;
    }
    
    .hero-title-emphasis {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-note {
        justify-content: center;
    }
    
    .hero-img {
        max-width: 100%;
        height: 500px;
        margin: 0 auto;
    }
    
    .slide-wrap {
        width: 220px;
        height: 220px;
        right: 50%;
        transform: translate(80%, -20%);
    }
    
    .moshimo-hero-img {
        width: 230px;
        height: 230px;
        left: 50%;
        top: 45%;
        transform: translate(-70%, -10%);
    }

    .hero-title {
        font-size: 24px;
    }

        .hero-content {
        display: flex;
        flex-direction: column-reverse;
        gap: 32px;
    }

    

    
    /* hero-text は幅100%に */
    .hero-text {
        max-width: 100%;
        text-align: left;
    }

    /* hero-img の “浮いてる” 指定を全部解除 */
    .hero-img {
        position: static !important;
        max-width: 100%;
        width: 100%;
        height: auto;
        transform: none !important;
        margin: 0 auto;
        padding: 0;
    }

    /* スライド画像をスマホ用にリサイズ */
    .slide-wrap {
        position: static !important;
        width: 20%;
        max-width: 350px;
        height: auto;
        transform: none !important;
        margin: 0 auto 20px;
        border-radius: 20px;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-large {
        width: 100%;
        padding: 14px 30px;
        font-size: 15px;
    }
    
    .moshimo-hero-img {
        width: 240px;
        height: 320px;
    }

    .container {
        width: 90%;
    }

    .content-title {
        font-size: 1.8rem;
    } 

    .recommend-content-wrap {
        display: block;
    }

    .recommend-item {
        margin-bottom: 24px;
    }

    .probrem-txt p {
        font-size: 0.9rem;
    }

    .graph-img {
        margin-top: 40px;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .section-title2 {
        font-size: 1.5rem;
    }

    .section-title3 {
        font-size: 1.5rem;
    }

    .section-title4 {
        font-size: 1.3rem;
    }

    .section-title5 {
        font-size: 1.5rem;
    }

    .reason-text p {
        font-size: 0.9rem;
    }

    .reazon-img {
        display: block;
    }

    .reazon-img img {
        display: block;
        margin: 0 auto 24px auto;
        width: 100%;
    }

    .problem-timeline {
        padding: 20px;
    }

    .problem-timeline-title {
        font-size: 1.3rem;
    }

    .timeline-time {
        font-size: 1rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
    }

    .loss-section {
        margin-bottom: 0;
    }

    .loss-wrap {
        display: block;
    }

    .loss-img {
        width: 100%;
        margin-bottom: 24px;
    }

    .loss-items {
        width: 100%;
    }

    .loss-total {
        padding: 0px;
    }

    .loss-total-amount {
        font-size: 1.3rem;
    }

    .avoid-text h2 {
        font-size: 1.3rem;
    }

    .solution-intro h2 {
        font-size: 1.3rem;
    }

    .solution-intro h2 span {
        font-size: 2.2rem;
    }
    
    .solution-intro p {
        font-size: 0.9rem;
        margin-bottom: 32px;
    }

    .solution-how {
        padding: 0;
        margin-top: 60px;
    }

    .solution-how-title {
        font-size: 1.8rem;
    }

    .solution-how p {
        font-size: 0.9rem;
    }

    .solution-steps {
        display: block;
    }

    .solution-step-arrow {
        display: none;
    }

    .flow-section p  {
        font-size: 0.9rem;
    }

    .select-wrap {
        display: block;
    }

    .select-img {
        width: 100%;
    }

    .select-text-wrap {
        width: 100%;
        margin-bottom: 54px;
    }

    .number {
        font-size: .9rem;
        width: 24px;
        height: 24px;
    }

    .select-text p{
        font-size: .9rem;
    }

    .select-item-wrap {
        display: block;
    }

    .select-item {
        width: 100%;
    }

    .select-item-text p {
        font-size: .9rem;
    }

    .comparison-section p {
        font-size: 0.9rem;
    }

    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
        font-size: 13px;
    }

    .bg {
        padding: 40px 0;
    }

    .collaboration-wrap {
        display: block;
        padding: 24px;
    }

    .collaboration-text {
        width: 100%;
        padding: 0px;
        margin-bottom: 24px;
    }

    .collaboration-text h3 {
        font-size: 1.2rem;
    }

    .collaboration-text p {
        font-size: .9rem;
    }

    .collaboration-img {
        width: 100%;
    }

    .trust-section {
        margin-top: 80px;
    }

    .trust-section p {
        font-size: 0.9rem;
    }

    .media-grid {
        display: block;
    }

    .media-item {
        display: flex;
        align-items: center;
        flex-direction: row;
    }

    .media-item .media-name {
        font-size: 1.1rem;
        margin-right: 8px;
    }

    .faq-question {
        font-size: 1rem;
    }

    
    .check-list li {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .emphasis {
        padding: 8px;
        font-size: 1rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

        .form-row {
        flex-direction: column;
    }

/* 左右2カラム → 縦並び */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info {
        padding: 30px;
    }

    .contact-form-wrapper {
        padding: 30px;
    }
    
    /* パディング縮小 */
    .contact-section {
        padding: 40px 0;
    }

    .contact-wrapper {
        gap: 32px;
    }

    /* フォームの2カラム → 1カラム */
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* 入力欄の最適化 */
    .form-input,
    .form-textarea {
        font-size: 15px;
        padding: 12px 14px;
    }

    /* インフォの余白調整 */
    .contact-info {
        padding: 24px;
    }

    .contact-info-title {
        font-size: 18px;
        margin-top: 24px;
    }

    .contact-phone,
    .contact-email {
        font-size: 20px;
        gap: 10px;
    }

    .contact-address p,
    .contact-hours {
        font-size: 13px;
    }

    /* ボタン */
    .btn-submit {
        font-size: 15px;
        padding: 14px 0;
    }

    .hero-text {
    width: 100%;
    margin-top: 40px;
}
}