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

:root {
    --primary-color: #C8E6C9;  /* 薄緑をプライマリカラーに */
    --secondary-color: #81C784;  /* 少し濃いめの緑 */
    --light-color: #E8F5E9;  /* とても薄い緑 */
    --dark-color: #4CAF50;  /* アクセント用の濃い緑 */
    --d-color: #005203;  /* アクセント用の濃い緑 */
    --text-color: #2E7D32;  /* テキストカラーを濃い緑に */
    --text-light: #689F38;  /* 明るい緑色 */
    --white: #fff;
    --transition: all 0.3s ease;
    --kiiro: #F1F8E9;  /* 薄い黄緑に変更 */
    /* シンプルなフォントファミリーに変更 */
    --main-font: 'Helvetica Neue', Arial, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', YuGothic, Meiryo, sans-serif;
}

body {
    font-family: var(--main-font);
    color: rgb(162, 162, 162);
    background: var(--white);
    line-height: 1.8;
    overflow-x: hidden;
    
}

.logo,
.section-title,
.about-text h3,
.special-text h3,
.container-content h3,
.line-contact-text h3,
.footer-logo {
    font-family: var(--main-font);
    font-weight: 400;
}

nav a,
.btn-special,
.btn-line-contact,
.tab-btn,
.client-name {
    font-family: var(--main-font);
    font-weight: 500;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

/* ヘッダー */
.header {
    position: fixed;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-size: 20px;
    font-weight: 700;
    color: rgb(0, 97, 0);
    letter-spacing: 1px;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav li {
    margin-left: 30px;
}

.nav a {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.nav a.active {
    color: var(--secondary-color);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ソーシャルアイコン */
.social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: auto;
    padding-left: 30px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--white);
    transition: var(--transition);
}

.social-icon img {
    width: 100%;
    height: 100%;
    transition: var(--transition);
    border-radius: 10px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .social-icons {
        position: absolute;
        top: 15px;
        right: 80px;
        padding-left: 0;
        margin-right: 0;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
        padding-top: 10px;
    }
    
    .social-icon img {
        width: 30px;
        height: 30px;
        border-radius: 7px;
    }
}

@media (max-width: 480px) {
    .social-icons {
        right: 65px;
        gap: 10px;
    }
    
    .social-icon {
        width: 32px;
        height: 32px;
        padding-top: 20px;
    }
    
    .social-icon img {
        width: 25px;
        height: 25px;
        border-radius: 5px;
    }
}

/* フローティング電話ボタン */
.floating-phone-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-phone-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
    background: linear-gradient(135deg, #43A047, #1B5E20);
}

.floating-phone-btn i {
    font-size: 24px;
}

/* パルスアニメーション */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .floating-phone-btn {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
    
    .floating-phone-btn i {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .floating-phone-btn {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
    
    .floating-phone-btn i {
        font-size: 20px;
    }
}

/* ヒーロー画像 */
.hero-bottom-image {
    padding: 0;
    padding-top: 20px;
    margin: 0;
}

.hero-bottom-image .container {
    padding: 0;
    max-width: 100%;
}

.responsive-hero-image {
    width: 100%;
    height: auto;
    display: block;
}

/* セクション共通スタイル */
.okoe-section {
    padding: 100px 50px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    color: var(--d-color);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
    margin: 20px auto;
}

.bg-gray {
    background: var(--light-color);
}

/* ポートフォリオスライダー */
.slider-section{
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px;
}

.slider-triple {
    position: relative;
    max-width: 100%;
    margin: 3rem auto;
    overflow: hidden;
    padding: 0 50px;
}

.triple-track {
    display: flex;
    transition: transform 0.5s ease;
    margin: 0 -5px;
}

.triple-slide {
    flex: 0 0 calc(33.333% - 10px);
    min-width: 0;
    margin: 0 5px;
    transition: transform 0.3s ease;
}

.triple-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.triple-slide:hover {
    transform: translateY(-5px);
}

.slider-triple button {
    position: absolute;
    top: 50%;
    transform: translateY(-70%);
    background: rgba(129, 199, 132, 0.7);
    color: white;
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1.2rem;
    z-index: 10;
}

.slider-triple button:hover {
    background: var(--dark-color);
}

.slider-triple .triple-prev {
    left: 10px;
}

.slider-triple .triple-next {
    right: 10px;
}

.triple-dots {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    gap: 10px;
}

.triple-dots span {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.triple-dots span.active {
    background: var(--dark-color);
    transform: scale(1.2);
}

/* ポートフォリオ詳細ボタン */
.portfolio-detail-btn-container {
    text-align: center;
    margin-top: 20px;
    padding-bottom: 30px;
}

.btn-portfolio-detail {
    display: inline-block;
    padding: 12px 30px;
    background: var(--white);
    color: var(--dark-color);
    border: 2px solid var(--dark-color);
    font-weight: 600;
    border-radius: 30px;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(129, 199, 132, 0.1);
    text-decoration: none;
}

.btn-portfolio-detail:hover {
    background: var(--dark-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(129, 199, 132, 0.2);
}

/* 追加メッセージセクション */
.message-section {
    padding: 80px 100px;
    background-image: url(image/ベージュ　ピンク　パステル　かわいい　赤ちゃん　ベビーマッサージ　よくある質問　インスタグラム投稿　のコピー2.png);
    background-size:cover;
    text-align: center;
}

.main-message {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--d-color);
    margin-bottom: 40px;
    line-height: 1.6;
}

.sub-message {
    font-size: 0.8rem;
    line-height: 1.9;
    color: rgb(88, 88, 88);
    max-width: 800px;
    margin: 0 auto 5px auto;
}

@media (max-width: 768px) {
    .message-section {
        padding: 80px 100px;
        background-image: url(image/ggggg.png);
        background-size:cover;
    }
    
    .main-message {
        font-size: 1rem;
    }

    .sub-message {
        font-size: 0.6rem;
    }
}

@media (max-width: 680px) {
    .message-section {
        padding: 40px 50px;
        background-image: url(image/kkkkk.png)
    }
    .main-message {
        font-size: 0.8rem;
    }

    .sub-message {
        font-size: 0.6rem;
    }
}

/* Aboutセクション */
.about-section {
    padding: 100px 50px;
    background-image: url('image/33064871_s.jpg'); /* お好みの画像パスに変更 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    
}

/* オーバーレイで読みやすさを確保 */
.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85); /* 白いオーバーレイ */
    z-index: 0;
}

.about-section .container {
    position: relative;
    z-index: 1;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 0 0 35%;
    max-width: 350px;
    margin: 0 auto;
}

.about-text {
    flex: 0 0 60%;
}




.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.8s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text h3 {
    font-size: 1.8rem;
     color: var(--d-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: #555; /* 読みやすい色に変更 */
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .about-image {
        flex: 0 0 40%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .about-image {
        flex: none;
        width: 70%;
        max-width: 250px;
        margin-bottom: 30px;
    }
    
    .about-text {
        flex: none;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .about-image {
        width: 80%;
        max-width: 200px;
    }
}

/* 料金詳細ボタン */
.price-detail-btn-container {
    text-align: center;
    margin-top: 30px;
}

.btn-price-detail {
    display: inline-block;
    padding: 12px 30px;
    background: var(--white);
    color: var(--dark-color);
    border: 2px solid var(--dark-color);
    font-weight: 600;
    border-radius: 30px;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(129, 199, 132, 0.1);
    text-decoration: none;
}

.btn-price-detail:hover {
    background: var(--dark-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(129, 199, 132, 0.2);
}

/* 特別サービスセクション */

.special-section{
    padding-top: 80px;
}

.special-content {
    position: relative;
    display: flex;
    align-items: center;
    padding: 50px 1px;
    gap: 15px;
    overflow: hidden;
}

.special-content.reverse {
    flex-direction: row-reverse;
}

.special-image {
    flex: 1;
    overflow: hidden;
    text-align: center
}

.special-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    transition: transform 0.5s ease;
}

.special-image:hover img {
    transform: scale(1.03);
}

.special-text {
    flex: 1;
    text-align: center;
}

.special-text h3 {
    font-size: 3.5vw;
    color: var(--d-color);
    margin-bottom: 20px;
}

.special-list {
    list-style: none;
    margin: 25px 0;
}

.special-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 30px;
    color: rgb(160, 160, 160);
}

.special-list i {
    color: var(--secondary-color);
    position: absolute;
    left: 30%;
    top: 3px;
}

.btn-special {
    display: inline-block;
    padding: 12px 30px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(129, 199, 132, 0.3);
}

.btn-special:hover {
    background: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(129, 199, 132, 0.4);
}






/* レスポンシブ対応 */
@media (max-width: 768px) {

    .special-content {
        flex-direction: column;
    }

    .special-content,
    .special-content.reverse {
        flex-direction: column;
    }
    
    .special-image {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .special-text {
        width: 100%;
        order: 1;
        font-size: 0.8rem;
    }
    .special-text h3 {
        font-size: 1.8rem;
    }

    .special-content::before {
        top: 15px;
        width: 25px;
        height: 25px;
    }
}










.worries-section-1 {
    background-image: url('image/haikei3.png');
    background-size: cover; /* 背景画像を要素のサイズに合わせてカバー */
    
}



/* 悩みセクション */
.worries-section {
    padding: 5px 10px;
    background-image: url('image/haikei.png');
}



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

.worries-list {
    list-style: none;
    margin: 30px 0;
    text-align: center;
}

.worries-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: var(--d-color);
}



/* 悩みセクションの画像スタイル修正 */
.worries-images {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 40px 0 30px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 10px;
}

.worries-image-item {
    text-align: center;
    flex: 0 0 auto;
    min-width: 120px;
    max-width: 200px;
}

.worries-image-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 5px solid white; /* 白い枠線を追加 */
   
}

.worries-image-item p {
    margin-top: 15px;
    font-weight: 500;
    color: var(--d-color);
    font-size: 0.9rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .worries-images {
        gap: 15px;
    }
    
    .worries-image-item {
        min-width: 100px;
    }
    
    .worries-image-item p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .worries-images {
        gap: 10px;
        justify-content: space-around;
    }
    
    .worries-image-item {
        min-width: 80px;
        max-width: 100px;
    }
    
    .worries-image-item p {
        font-size: 0.7rem;
    }
}


/* サービス紹介セクション */
.services-intro-section {
    padding: 80px 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.service-item {
    background: var(--light-color);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.service-item h3 {
    color: var(--d-color);
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    margin: 20px 0;
}

.service-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    text-align: left;
}

.service-features i {
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    top: 3px;
}

.service-item p {
    color: var(--text-light);
    line-height: 1.6;
}
















/* 横長画像セクションのスタイル */
.horizontal-image-section {
    width: 100%;
    overflow: hidden;
    padding: 0;
    margin: 40px 0; /* 上下にマージンを追加 */
}

.horizontal-image-section .container {
    max-width: 100%;
    padding: 0;
    margin: 0;
    height: 100%; /* コンテナの高さを親に合わせる */
}

.horizontal-image {
    width: 100%;
    height: 100%; /* 高さをセクションに合わせる */
    display: block;
    object-fit: cover; /* 画像のアスペクト比を維持しながら領域を埋める */
    min-height: 60px; /* 最低高さを設定 */
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
   .horizontal-image {
    min-height: 60px; /* 最低高さを設定 */
}
}

@media (max-width: 480px) {
    .horizontal-image {
    min-height: 60px; /* 最低高さを設定 */
}
}














/* 3つの横並びコンテナセクション */
#three-containers {
    padding: 80px 0;
    background-color: var(--kiiro);
}

.three-container-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 20px;
}

/* スクロールバーのカスタマイズ */
.three-container-wrapper::-webkit-scrollbar {
    height: 8px;
}

.three-container-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.three-container-wrapper::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 10px;
}

.three-container-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--dark-color);
}

.single-container {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 250px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.single-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.container-image {
    width: 100%;
    padding-top: 75%;
    position: relative;
    overflow: hidden;
}

.container-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.single-container:hover .container-image img {
    transform: scale(1.05);
}

.container-content {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.container-content h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.container-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .single-container {
        flex: 0 0 calc(33.333% - 20px);
        min-width: 220px;
    }
    
    .container-content {
        padding: 15px;
    }
    
    .container-content h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .three-container-wrapper {
        gap: 20px;
        padding-bottom: 15px;
    }
    
    .single-container {
        flex: 0 0 calc(50% - 10px);
        min-width: 200px;
    }
    
    .container-content h3 {
        font-size: 1.1rem;
    }
    
    .container-content p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .three-container-wrapper {
        gap: 15px;
    }
    
    .single-container {
        flex: 0 0 calc(100% - 30px);
        min-width: 180px;
    }
    
    .container-image {
        padding-top: 70%;
    }
    
    .container-content {
        padding: 12px;
    }
    
    .container-content h3 {
        font-size: 1rem;
    }
    
    .container-content p {
        font-size: 0.8rem;
    }
}

@media (max-width: 320px) {
    .single-container {
        min-width: 150px;
    }
    
    .container-content {
        padding: 10px;
    }
    
    .container-content h3 {
        font-size: 0.9rem;
    }
    
    .container-content p {
        font-size: 0.75rem;
    }
}

/* お客様のお声セクション */
.testimonial-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0;
}

.section-subtitle{
    text-align: center;
    padding: 0 40px;
}

.tab-btn {
    padding: 12px 24px;
    background: white;
    border: 1px solid var(--primary-color);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-btn.active, .tab-btn:hover {
    background: var(--dark-color);
    color: white;
    border-color: var(--dark-color);
}

.testimonial-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.testimonial-item {
    display: flex;
    gap: 25px;
    padding: 25px 0;
    border-bottom: 1px solid #eee;
}

.testimonial-item:last-child {
    border-bottom: none;
}

.testimonial-details {
    flex: 1;
}

.client-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.client-name {
    font-weight: bold;
    font-size: 18px;
}

.client-category {
    background: var(--light-color);
    color: var(--dark-color);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 14px;
}

.rating {
    color: #FFD700;
    font-size: 20px;
    margin-bottom: 10px;
}

.testimonial-text {
    line-height: 1.7;
    color: #666;
}

/* LINEお問い合わせセクション */
.line-contact-section {
    padding: 80px 0;
}

.line-contact-content {
    display: flex;
    align-items: center;
    gap: 50px;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.line-contact-image {
    flex: 1;
    text-align: center;
}

.line-contact-image img {
    max-width: 200px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.line-contact-text {
    flex: 2;
}

.line-contact-text h3 {
    font-size: 28px;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.line-contact-list {
    list-style: none;
    margin: 25px 0;
}

.line-contact-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 30px;
    color: var(--text-light);
}

.line-contact-list i {
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    top: 3px;
}

.btn-line-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: #06C755;
    color: white;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(6, 199, 85, 0.3);
}

.btn-line-contact:hover {
    background: #05a845;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(6, 199, 85, 0.4);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .line-contact-content {
        flex-direction: column;
        text-align: center;
    }
    
    .line-contact-list li {
        padding-left: 0;
        justify-content: center;
    }
    
    .line-contact-list i {
        position: static;
        margin-right: 8px;
    }
}

/* フッター */
.simple-footer {
    background: #2b441b;  /* 落ち着いたグレーグリーンに変更 */
    color: white;
    padding: 40px 0 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 1px;
}

.footer-address {
    margin-bottom: 20px;
    font-size: 14px;
    opacity: 0.9;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

.footer-links a {
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    opacity: 0.7;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        align-items: flex-start;
    }
    

    
    .nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav.active {
        max-height: 300px;
    }
    
    .nav ul {
        flex-direction: column;
        width: 100%;
    }
    
    .nav li {
        margin: 10px 0;
        width: 100%;
    }
    
    .hamburger {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image, .about-text {
        flex: none;
        width: 100%;
    }
    
    .about-image {
        margin-bottom: 30px;
    }
    
    .triple-slide {
        flex: 0 0 calc(100% - 10px);
    }
    
    .slider-triple button {
        top: 40%;
    }
    
    .special-content {
        flex-direction: column;
    }
    
    .special-content.reverse {
        flex-direction: column;
    }
    
    .special-image, .special-text {
        flex: none;
        width: 100%;
    }
    
    .special-image {
        margin-bottom: 30px;
    }
    
    .testimonial-item {
        flex-direction: column;
    }
    
    .client-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn-special, .btn-line-contact {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .line-contact-content {
        padding: 20px;
    }
}

/* インフィニティスライダー */
.slider-infinity {
    max-width: 100%;
    overflow: hidden;
    margin: 2rem 0;
    position: relative;
}

.infinity-track {
    display: flex;
    width: max-content;
    animation: infinityScroll 30s linear infinite;
}

.infinity-slide {
    width: 300px;
    height: 200px;
    margin-right: 15px;
    flex-shrink: 0;
}

.infinity-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

@keyframes infinityScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.slider-infinity:hover .infinity-track {
    animation-play-state: paused;
}










/* ロゴコンテナのスタイル */
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-image {
    width: 50px; /* 画像サイズを調整 */
    height: 50px;
    object-fit: contain;
}

/* 既存のロゴスタイルを調整 */


/* レスポンシブ対応 */
@media (max-width: 768px) {
    .logo-container {
        gap: 8px;
    }
    
    .logo-image {
        width: 40px;
        height: 40px;
    }
    
    .logo {
        font-size: 18px;
        padding-top: 8px;
    }
}

@media (max-width: 480px) {
    .logo-container {
        gap: 5px;
        padding-top: 8px;
    }
    
    .logo-image {
        width: 35px;
        height: 35px;
    }
    
    .logo {
        font-size: 16px;
        padding-top: 6px;
    }
}





/* スマホ用改行スタイル */
.mobile-break {
    display: inline-block;
}

.mobile-br {
    display: none;
}

/* スマホサイズでの改行設定 */
@media (max-width: 768px) {
    .mobile-break {
        display: block;
    }
    
    .mobile-br {
        display: block;
    }
    
    /* 特定の要素の余白調整 */
    .text-container p,
    .price-note,
    .side-text-container p {
        line-height: 1.6;
    }
    
    /* 長い単語の改行を許可 */
    .text-container div,
    .price-note,
    .side-text-container p {
        word-break: keep-all;
        overflow-wrap: break-word;
    }
}

/* 小さなモバイルデバイス用のさらに細かい調整 */
@media (max-width: 480px) {
    .mobile-break {
        display: block;
    }
    
    /* 非常に長いテキストの調整 */
    .price-note {
        font-size: 0.85rem;
        line-height: 1.7;
    }
    
    .text-container div {
        font-size: 1rem;
        line-height: 1.5;
    }
}
















/* =========================
   追加：画像のプラン表デザイン
   ========================= */
.buying-plan-matrix{
  margin: 35px auto 10px;
  max-width: 920px;
  width: 100%;
}

.plan-table-wrap{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 5px 0;
}

.plan-table{
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  margin: 0 auto 22px;
}

.plan-table th,
.plan-table td{
  border: 2px solid #2f2f2f;
  padding: 14px 12px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgb(97, 96, 96);
  vertical-align: middle;
}

.plan-table thead th{
  background: #93d1ad;
  text-align: center;
  font-weight: 700;
}

.plan-table tbody th{
  background: #f8fffa;
  text-align: left;
  font-weight: 700;
  min-width: 220px;
}

.plan-table td{
  text-align: center;
  min-width: 140px;
}

.plan-table td.text-left{
  text-align: left;
}

.plan-table .small{
  font-size: 0.9rem;
  line-height: 1.6;
}

/* スマホ：読みやすく */
@media (max-width: 768px){
  .buying-plan-matrix{ margin-top: 25px; }

  .plan-table th,
  .plan-table td{
    padding: 10px 10px;
    font-size: 0.78rem;
  }

  .plan-table tbody th{ min-width: 170px; }
  .plan-table td{ min-width: 120px; }
  .plan-table .small{ font-size: 0.75rem; }
}

@media (max-width: 480px){
  .plan-table th,
  .plan-table td{
    padding: 9px 8px;
    font-size: 0.72rem;
  }
}
