@charset "utf-8";

body {
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: #fff;
    color: #333;
    font-size:18px;
    line-height: 1.6;
    font-family: 'M PLUS Rounded 1c', sans-serif;
}
.only-pc {
    display: block;
}
.only-sp {
    display: none;
}
.only-600sp {
    display: none;
}
.no-only-600sp {
    display: block;
}
.inner-wrop{
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}
iframe {
  aspect-ratio: 16 / 9;
  width: 100%;
}
.fade-in {
    opacity: 0;
    transform: translateY(20px); 
    transition: opacity 1s ease-out, transform 1s ease-out;
}
.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.small {
    font-size: 1rem;
}
h1 {
    font-size: 2rem;
}
.mv {
    background-image: url('../img/hero-test02.png'); 
    background-size: cover; 
    background-position: center;
    height: 800px;
}
.mv > .mv-itembox {
    text-align: center;
    padding: 20px;
    letter-spacing: 2px;
    
}
.mv > .mv-itembox h2 {
    font-size: 3rem;
    color: #334180;
    font-weight: normal;
    text-shadow: 0 4px 6px rgba(255, 255, 255, 1);
}
.mv > .mv-itembox h3 {
    font-size: 3rem;
    color: #fff;
    margin: 0 auto;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 5);
}
.mv-ttl-img {
    margin: 20px auto;
    width: 100%;
    max-width: 500px;
}
.mv-ttl-img img {
    width: 100%; 
    height: auto;
}
.top-line {
    height: 30px;
    background: linear-gradient(to right, #67ac3e, #d6d651, #67ac3e);
}
.border-yellow {
    display: inline-block;
    animation-name: bounce-up;
    animation-duration: 1.5s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: 1; 
    animation-fill-mode: forwards;
    transform-origin: center;
}
.bounce-anshinn {
    animation-delay: 0s;
}
.bounce-annzenn {
    animation-delay: 1.0s; 
}
.bounce-bennri {
    animation-delay: 2.0s; 
}
@keyframes bounce-up {
    0% {
        transform: scale(1) translateY(0);
    }
    50% {
        transform: scale(1.4) translateY(-15px);
    }
    100% {
        transform: scale(1) translateY(0);
    }
}

/* ヘッダーメニュー */
.header-menu {
    width: 100%;
    /* max-width: 1200px; */
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 auto;  
}
.header-logo {
    width: 100%;
    max-width: 180px;
    margin-left: 30px;
}
.header-logo img {
    width: 100%;
}


/* ==================================== */
/* 共通（全画面サイズ）設定 */
/* ==================================== */

/* ハンバーガーボタンはデフォルトで非表示 */
.hamburger {
    display: none; 
}

/* デスクトップメニューの基本スタイル */
.nav-menu {
    position: fixed;
    top: 0;
    right: 20px;
    z-index: 900;
    background: linear-gradient(90deg, #F5D808 0%, #C0D632 100%);
    padding: 8px;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    border: 2px solid #fff;
    /* デスクトップでは常に表示を保証 */
    visibility: visible; 
    transform: none;
    transition: none; /* デスクトップではアニメーションを無効化 */
}

.nav-menu ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: center
}

.nav-menu li {
    padding: 12px 16px;
    white-space: nowrap;
    font-weight: 700;
    color: #fff;
    border-right: 1px solid rgba(255, 255, 255, 0.6)
}

.nav-menu li:last-child {
    border-right: none
}

.nav-menu a {
    color: #fff;
    text-decoration: none
}

.nav-menu li:hover {
    opacity: 0.8
}


/* ==================================== */
/* 768px以下のモバイル用スタイル */
/* ==================================== */

@media (max-width: 768px) {

    /* --- ハンバーガーボタンの表示とスタイル --- */
    .hamburger {
        display: block; /* モバイルで表示 */
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 1000;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        width: 30px;
        height: 30px;
    }
    .hamburger-box {
        display: inline-block;
        width: 100%;
        height: 100%;
        position: relative;
    }
    .hamburger-inner {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #333;
        border-radius: 4px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        transition: transform 0.3s, opacity 0.3s;
    }
    .hamburger-inner::before,
    .hamburger-inner::after {
        content: "";
        display: block;
        width: 100%;
        height: 3px;
        background-color: #333;
        border-radius: 4px;
        position: absolute;
        transition: transform 0.3s;
    }
    .hamburger-inner::before { top: -10px; }
    .hamburger-inner::after { bottom: -10px; }

    /* --- 開閉時のボタンアニメーション (Xマークへ) --- */
    .hamburger[aria-expanded="true"] .hamburger-inner {
        background-color: transparent;
    }
    .hamburger[aria-expanded="true"] .hamburger-inner::before {
        top: 0;
        transform: rotate(45deg);
    }
    .hamburger[aria-expanded="true"] .hamburger-inner::after {
        bottom: 0;
        transform: rotate(-45deg);
    }


    /* --- ナビゲーションメニューのスタイル --- */
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        z-index: 950;
        border-radius: 0;
        padding: 60px 20px 20px;
        box-sizing: border-box;
        border: none;
        overflow-y: auto;
        
        /* 初期状態：画面外へ隠す */
        transform: translateX(100%);
        visibility: hidden; 
        transition: transform 0.4s ease-in-out, visibility 0.4s;
    }

    /* メニューが開いた状態 (JavaScriptで .is-open クラスが付く) */
    .nav-menu.is-open {
        transform: translateX(0); /* 画面内に表示 */
        visibility: visible;
    }

    /* --- メニュー内のリンクの配置 --- */
    .nav-menu ul {
        display: block; /* 縦並び */
        text-align: center;
    }
    .nav-menu li {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.6);
        font-size: 1.1em;
        padding: 15px 16px;
    }
    .nav-menu li:last-child {
        border-bottom: none;
    }
}

/* メニュー非表示時はアクセシビリティのため非表示属性を付ける */
/* .nav-menu:not(.is-open) {
    visibility: hidden;
} */


/* 中古車保証買得典保証の必要性って？ */
.ttl-box {
    background: url(../img/ttl-bk.png) center bottom no-repeat;
    background-size: cover;
    width: 100%;
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.ttl-box-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.ttl-item h1 {
    font-size: 3rem;
}
.ttl-item-blue {
    color: #1b3795;
}
.ttl-item-red {
    color: #bc2757;
}
.img-koutokuten {
    width: 100%;
    max-width: 300px;
}
.img-koutokuten img {
    width: 100%;
}

.mainpig-img {
	width: 350px;
	position:relative;
}
.mainpig-img .ttl-bgwhite {
	background-color:#fff;
	min-height:200px;
	position:relative;
}
.mainpig-img .ttl-bgwhite .ttl-circle {
	width:350px;
	height:350px;
	border-radius:200px;
	background:url(../img/main-pig.png) center center no-repeat #fff;
	background-size: 320px;
    position:absolute;
	top:-75px;
	left:0;
	right:0;
	z-index:1;
}
.main-pig {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: grid; 
    grid-template-columns: 1fr auto 1fr; 
    align-items: center; 
    gap: 10px; 
}
.pig-item {
    text-align: center;
}
.pig-item p {
    font-size: 1.4rem;
}

/* 最近の車は壊れないと思ってませんか？ */
.main-itemBox {
    background-color: #f7ffe4; 
    background-image:
        repeating-linear-gradient(to right, transparent, transparent 29px, #e9f0d0 30px),
        repeating-linear-gradient(to bottom, transparent, transparent 29px, #e9f0d0 30px);
    background-size: 30px 30px;
    padding: 100px 0;
}
.sub-inner-wrop {
    max-width: 900px;
    margin: 0 auto;
}
.sub-totalbox {
    background-color: #fff;
    border-radius: 20px;
    margin: 0 auto;
    padding: 70px 0;
}
.main-subttl {
    text-align: center;
    padding-bottom: 50px;
}
.main-subttl h2 {
    font-size: 2rem;
    margin: 0;
}
.flex-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.pig-img {
    width: 100%;
    max-width: 180px;
}
.pig-img img {
    width: 100%;
}
.subttl-boxItem {
    text-align: left;
    color: #2B376A;
}
.subttl-boxItem p {
    font-size: 1.8rem;
}
.subttl-red {
    font-size: 2.8rem;
    color: #BC2757;
}
.img-pie {
    width: 100%;
    margin: 40px auto;
}
.cost-img {
    width: 70%;
    margin: 40px auto 0 auto;
}
.img-pie img,
.cost-img img {
    width: 100%;
}
.pie-text {
    margin: 0 auto;
}
.pie-text p {
    font-size: 1.2rem;
}
.pie-text .red {
    color: #BC2757;
}
.cost-totalItem {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px auto 0 auto;
}
.cost-text {
    text-align: center;
    line-height: 1.2;
}
.cost-text h3 {
    font-size: 3.2rem;
    font-weight: bold;
    margin: 0;
    letter-spacing: 4px;
}
.big-green {
    font-size: 5rem;
    color: #3B9827;
}
.green {
    color: #3B9827;
}
.cost-text p {
    font-size: 1.3rem;
    margin: 0;
}
.repair-case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.repair-case-item {
    background: #fff;
    border: 3px solid #334180;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px; /* 高さ統一 */
}
.repair-case-grid h3 {
    font-size: 2.1rem;
    display: inline-block;
    background-color: #2B376A;
    color: #FFF;
    padding: 5px 20px;
    margin: 5px 0;
}

.repair-case-item h4 {
    font-size: 1.2rem;
    margin: 10px 0;
    text-align: center;
}
.repair-case-item img {
    width: 100%;
    object-fit: contain;
}
.repair-endttl .subttl-boxItem {
    text-align: center;
}
.repair-endttl .subttl-boxItem p {
    margin-bottom: 10px;
}
.repair-endttl .usedcar-sub p {
    text-align: center;
    margin: 0 0 40px 0;
}


/* 車両保険に入っていれば安心…そう思ってませんか？ */
.accident-ttl {
    text-align: center;
    margin: 50px auto 30px auto;
    padding: 10px;
    background-color: #334180;
    color: #fff;
    letter-spacing: 3px;
}
.accident-ttl h2 {
    font-size: 2.1rem;
    margin: 0;
}
.speech-bubble-container-unique {
    display: flex;
    justify-content: center;
    align-items: flex-start; 
    gap: 20px; 
}
.speech-bubble-unique {
    position: relative;
    background-color: #fff; 
    border: 4px solid #334180;
    border-radius: 70px; 
    padding: 15px 20px;
    width: 450px;
    font-size: 16px;
    line-height: 1.6;

    text-align: center;
    color: #3c9927;
}
.speech-bubble-unique::after {
    content: "";
    position: absolute;
    top: 50%; 
    right: -12px; 
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-top: 4px solid #334180;
    border-right: 4px solid #334180;
    transform: translateY(-50%) rotate(45deg);
    box-sizing: border-box;
}
.textblue-big {
    font-size: 2rem;
    color: #1b3694;
}
.textred-big {
    font-size: 2rem;
    color: #BC2757;
}
.speech-bubble-unique p {
    font-size: 1.5rem;
    margin: 0;
}
.character-image-unique {
    width: 200px; 
    height: 200px; 
    background-image: url('../img/pig_icon8.png');
    background-size: 180px;
    background-repeat: no-repeat;
}
.icon-container {
    display: flex;
    justify-content: space-between; 
    align-items: flex-start; 
    padding: 20px 0;
    max-width: 900px;
    margin: 0 auto 50px auto; 
}
.icon-item {
    width: 100%;
    max-width: 180px;
    text-align: center; 
    margin: 0; 
}
.icon-item img {
    width: 100%; 
    height: auto;
    margin-bottom: 10px; 
}
.icon-item p {
    font-size: 1.3rem;
    color: #333;
    margin: 0;
}
.dotted-line {
    border: none;
    border-top: 2px dashed #2B376A; 
}
.text-center {
    text-align: center;
}
.border-yellow {
    border-bottom: 7px solid #F4DA6E80;
    border-radius: 2px;
}
.movie-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}
.movie-text p {
    font-size: 1.1rem;
}
.movie-text a {
    text-decoration: none;
    color: #666;
    border-bottom: 1px solid #666;
}
.waranty-logo {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}
.waranty-logo img {
    width: 100%;
    margin: 0 auto;
}
.movie {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
}
.demo-text-box {
    width: 100%;
}
.demo-flex {
    display: flex;
    justify-content: center;
    align-items: center;
}
.demo-img {
    width: 100%;
    max-width: 200px;
}
.demo-img img {
    width: 100%;
}
.text-demo {
    text-align: left;
}
.text-demo p {
    font-size: 2rem;
    margin: 0;
    margin-top: 60px;
}

/* 「買得典」のここが安心！ */
/* ポイント1.2 */
.security-ttl {
    position: relative;
    width: 100%;
    background: #33A134;
    color: #fff;
    text-align: center;
    padding: 40px 0;
    font-size: 20px;
    font-weight: bold;
    clip-path: polygon(0 0,50% 12%,100% 0,100% 88%,50% 100%,0 88%);
}
.security-ttl h1 {
    margin: 0;
    padding: 0 16px;
    font-size: 3rem;
    display: inline-flex;      
    align-items: center;       
    gap: 12px;  
    letter-spacing: 2px;              
}
.security-ttl h1::after {
    content: "";
    display: inline-block;
    width: 150px;   
    height: 150px;
    background: url("../img/pig_icon2.png") no-repeat center/contain;
}
.security-ttl h1::before {
    content: "";
    display: inline-block;
    width: 150px;   
    height: 150px;
    background: url("../img/pig_icon1.png") no-repeat center/contain;
}
.security-padding {
    padding: 40px 0 50px 0;
}
.gradient-border-box {
    border: 20px solid transparent;
    border-image: linear-gradient(to right, #67ac3e, #d6d651, #67ac3e) 1;
    border-radius: 20px;
    margin: 40px auto;
}
.security-ttl-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}
.point-icon-img {
    width: 100%;
    max-width: 100px;
}
.point-icon-img img {
    width: 100%;
}
.point-icn-ttl h2 {
    color: #009C26;
    font-size: 2.8rem;
    letter-spacing: 2px;
    margin: 0;
}
.iconBig-green {
    color: #009C26;
    font-size: 4rem;
}
.security-point-box {
    max-width: 800px;
    margin: 0 auto;
}
.security-point-box .subttl-boxItem p {
    text-align: center;
}
.total-security {
    display: flex;
    justify-content: center; 
    align-items: flex-end;
    gap: 10px;
}
.security-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.security-list ul,
.notes-list ul {
    padding: 0;
}
.security-list li {
    list-style-type: none;
    display: flex; 
    align-items: center; 
    background-color: #28a745; 
    color: white; 
    padding: 10px 20px; 
    margin: 10px 0;
    border-radius: 5px; 
    font-size: 1.4rem; 
    width: 600px; 
    box-sizing: border-box; 
}
.security-list li::before {
    content: "✓"; 
    font-size: 24px;
    margin-right: 10px; 
    line-height: 1; 
}
.notes-list {
    max-width: 800px;
    font-size: 1rem;
    text-align: left;
    margin: 0 auto 60px auto;
}
.notes-list li {
    list-style-type: none;
}
.notes-list li::before {
    content: "※"; 
    font-size: 15px;
    margin-right: 5px; 
    line-height: 1;
}
.usedcar-totalbox {
    max-width: 800px;
    margin: 0 auto;
}
.usedcar-totalbox .subttl-boxItem {
    text-align: center;
}
.usedcar-sub {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}
.usedcar-sub p {
    font-size: 1.3rem;
}
.point2-car-image {
    width: 100%;
    margin-top: 30px;
}
.point2-car-image img {
    width: 100%;
}


/* ポイント3 */
.minimal-plan-container-green {
    max-width: 800px;
    margin: 20px auto;
    border: 3px solid #8cc63e;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    overflow: hidden;
}
.minimal-plan-container-blue {
    max-width: 800px;
    margin: 0 auto 20px auto;
    border: 3px solid #3380ae;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    overflow: hidden;
}
.minimal-plan-container-red {
    max-width: 800px;
    margin: 20px auto;
    border: 3px solid #d75b63;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    overflow: hidden;
}
.plan-header-section {
    position: relative; 
    text-align: center;
}
.plan-header-banner-green {
    background-color: #8cc63e;
    color: #fff;
    padding: 5px 20px;
    font-size: 2.5rem;
    font-weight: bold;
    position: absolute;
    top: 10px;
    left: -15px;
    transform: rotate(-10deg);
}
.plan-header-banner-blue {
    background-color: #3380ae;
    color: #fff;
    padding: 5px 20px;
    font-size: 2.5rem;
    font-weight: bold;
    position: absolute;
    top: 10px;
    left: -15px;
    transform: rotate(-10deg);
}
.plan-header-banner-red {
    background-color: #d75b63;
    color: #fff;
    padding: 5px 20px;
    font-size: 2.5rem;
    font-weight: bold;
    position: absolute;
    top: 10px;
    left: -15px;
    transform: rotate(-10deg);
}
.green-car {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    margin-top: 10px;
}
.blue-car {
    width: 100%;
    max-width: 550px;
    margin-top: 10px;
    margin: 0 auto;
}
.red-car {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    margin-top: 10px;
    padding-top: 60px;
}
.green-car img,
.blue-car img,
.red-car img {
    width: 100%;
}
.guarantee-period-banner {
    position: absolute;
    top: 38%;
    right: 10%;
    width: 100%;
    max-width: 200px;
    transform: rotate(15deg);
}
.guarantee-period-banner img {
    width: 100%;
}
.main-content-section {
    padding: 20px;
    background-color: #fff;
}
.guarantee-explanation-title {
    font-size: 1.8rem;
    margin: 0;
    color: #2B376A;
}
.guarantee-explanation-list {
    padding: 0;
    margin: 0 auto;
}
.guarantee-explanation-list li {
    font-size: 1.3rem;
    list-style: none;
}
.guarantee-explanation-note {
    font-size: 1.2rem;
    color: #BC2757;
    margin-left: 15px;
}
.fault-example-visual {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    margin-top: 20px;
}
.engine-fault-item,
.throttle-fault-item {
    text-align: center;
    width: 35%;
}
.engine-fault-label,
.throttle-fault-label {
    background-color: #d60e61;
    color: #fff;
    font-weight: bold;
    padding: 10px 3px;
    border-radius: 30px;
    margin-bottom: 5px;
}
.fault-visual-image {
    width: 100%;
    max-width: 200px;
}
.fault-visual-image img {
    width: 100%;
}
.guarantee-limit-text {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #BC2757;
    margin-top: 0;
    margin-bottom: 0;
}
.plan-footer-section {
    background-color: #fff;
    display: flex;
    align-items: center;
    padding: 15px;
    gap: 20px;
    border-top: 1px dashed #ccc;
}
.triangle-icon {
    width: 100%;
    max-width: 100px;
}
.triangle-icon img {
    width: 100%;
}
.plan-details-text {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.4;
    margin: 0;
}
.fault-visual-text {
    margin: 30px auto 0 auto;
    color: #ec963d;
    
}
.fault-visual-text p {
    margin-bottom: 0;
}
.fault-visual-text p::before {
    content: "※";
    margin-right: 5px; 
}
.usedcar-susub {
    max-width: 800px;
    margin: 30px auto;
}
.usedcar-ttl h2 {
    margin-bottom: 0;
    color: #2B376A;
    font-size: 2rem;
}
.usedcar-text p {
    margin-top: 10px;
    font-size: 1.3rem;
}
.usedcar-text h3 {
    margin: 0;
    color: #ec963d;
    font-size: 1.8rem;
}
.usedcar-text ul {
    margin: 0;
    font-size: 1.3rem;
}
.usedcar-red {
    color: #BC2757;
    font-size: 1.5rem;
}
.usedcar-text-red {
    color: #BC2757;
}
.usedcar-red-small {
    color: #BC2757;   
}
.usedcar-red-big p {
    color: #BC2757;
    font-size: 2rem;
}
.usedcar-text dt {
    font-size: 1.3rem;
}
.usedcar-text dd {
    margin-left: 15px;
}
.usedcar-image {
    width: 100%;
    margin: 50px 0;
}
.usedcar-image img {
    width: 100%;
}
.fault-item-grid-one {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 15px;
    margin: 20px auto;
    max-width: 800px;
}
.fault-item-grid-two {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 15px; 
    margin: 20px auto;
    max-width: 800px;
}
.grid-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.grid-item-label {
    width: 120px;
    background-color: #d60e61;
    color: #fff;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 20px;
    white-space: nowrap; 
}
.grid-item-image {
    width: 100%;
    max-width: 80px;
    height: auto;
    margin: 10px 0;
}
.grid-item-text {
    font-size: 0.9rem;
    color: #333;
    margin: 0;
}
.basic-plan {
    max-width: 800px;
    color: #BC2757;
    margin: 0 auto;
}
.basic-plan h2 {
    margin-top: 30px;
    margin-bottom: 0;
    animation-name: blink;
    animation-duration: 2s; 
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite; 
}
@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.2; 
    }
    100% {
        opacity: 1;
    }
}

/* ポイント4 */
.usedcar-flex {
    max-width: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    gap: 20px;
}
.usedcar-flex > .usedcar-sub {
    max-width: unset;
    margin: 0;
}
.usedcar-flex > .pig-img {
    max-width: 120px;
}
.usedcar-itembox {
    margin: 50px auto 20px 0;
}
.usedcar-itembox > .usedcar-sub p {
    font-size: 2.3rem;
}
.car-label-map-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}
.label-greencar-img {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}
.label-greencar-img img {
    width: 100%;
    height: auto;
    display: block;
}
.car-label-map-item {
    cursor: pointer;
    position: absolute;
    background: #334180;
    color: #fff;
    font-size: 1.3rem;
    padding: 4px 8px;
    border-radius: 5px;
    white-space: nowrap;
    transform: translate(-50%, -50%);
}
.car-label-map-engine   { top: 30%; left: 30%; }
.car-label-map-ac       { top: 42%; left: 30%; }
.car-label-map-steer    { top: 45%; left: 55%; }
.car-label-map-brake    { top: 69%; left: 32%; }
.car-label-map-hybrid   { top: 30%; left: 70%; }
.car-label-map-axle     { top: 50%; left: 83%; }
.car-label-map-dor      { top: 57%; left: 55%; }
.car-label-map-dvanced  { top: 56%; left: 14%; }
.car-label-map-lock     { top: 69%; left: 55%; }
.car-label-map-kit      { top: 15%; left: 55%; }

.car-label-map-item:hover {
    background: #1b3694;
}
.car-label-map-description-wrapper {
    max-width: 800px;
    margin: 20px auto;
}
.car-label-map-description {
    display: none; /* 最初は非表示 */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    position: relative;
    padding: 15px;
    margin-bottom: 10px;
    background: #fff;
    border: 4px solid #1b3694;
    border-radius: 8px;
}
.car-label-map-description.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.car-label-map-description .close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    border: none;
    font-size: 3rem;
    cursor: pointer;
    color: #3B9827;
    transition: color 0.2s ease;
}
.car-label-map-description .close-btn:hover {
    color: #666;
}
.gradient-border-box .subttl-boxItem {
    text-align: center;
}
.gradient-border-box .subttl-boxItem h3 {
    margin: 0;
}
.car-label-map-item:hover {
  background: #1b3694;
  transform: translate(-50%, -50%) scale(1.05); /* 少し大きくする */
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);       /* 影を付ける */
}
.desc-title {
    text-align: center;
    font-size: 2rem;
}
.desc-title-small {
    font-size: 1.6rem;
}
.heading-ttl {
    position: relative;
    padding: .5em .7em .4em;
    border-bottom: 6px solid #BC2757;
    color: #333333;
    display: inline-block;
    margin: 10px auto;
}
.heading-ttl::before,
.heading-ttl::after {
    position: absolute;
    left: 30px;
    bottom: -15px;
    width: 30px;
    height: 15px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
}
.heading-ttl::before {
    background-color: #BC2757;
}
.heading-ttl::after {
    bottom: -11px;
    background-color: #fff;
}
ul > .desc-text {
    padding: 0;
}
.desc-text {
    display: flex;
    justify-content: space-around;
    padding: 10px 0 10px 10px;
}
.desc-text li {
    font-size: 1.2rem;
}
.heading {
    font-size: 1.5rem;
    margin-top: 20px;
    text-align: center;
}
.dotted-line > .subttl-boxItem p {
    text-align: center;
}
.border-yellow-used {
    border-bottom: 7px solid #F4DA6E80;
    border-radius: 2px;
}
.troubleshooting-item-basic a,
.troubleshooting-item-premium a {
    text-decoration: none;
    color: #fff;
    font-size: 1.8rem;
}
.troubleshooting-item-basic p,
.troubleshooting-item-premium p {
    margin: 10px;
}
.troubleshooting-item-basic {
    background-color: #3380ae;
    border-radius: 20px;
    width: 300px;
    padding: 10px;
    text-align: center;
}
.troubleshooting-item-premium {
    background-color: #d75b63;
    border-radius: 20px;
    width: 300px;
    padding: 10px;
    text-align: center;
}
.troubleshooting-item-basic:hover,
.troubleshooting-item-premium:hover {
    transform: translateY(2px); 
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); 
    cursor: pointer; 
}
.troubleshooting-item-basic,
.troubleshooting-item-premium {
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); 
}


/* 他にも充実した加入POINT */
.point-ttl {
    position: relative;
    width: 100%;
    background: #F4C900;
    color: #fff;
    text-align: center;
    padding: 40px 0;
    font-size: 20px;
    font-weight: bold;
    clip-path: polygon(0 0,50% 12%,100% 0,100% 88%,50% 100%,0 88%);
}
.point-ttl h1 {
    margin: 0;
    padding: 0 16px;
    font-size: 3rem;
    display: inline-flex;      
    align-items: center;       
    gap: 12px;  
    letter-spacing: 2px;              
}
.point-ttl h1::after {
    content: "";
    display: inline-block;
    width: 150px;   
    height: 150px;
    background: url("../img/pig_icon2.png") no-repeat center/contain;
}
.point-ttl h1::before {
    content: "";
    display: inline-block;
    width: 150px;   
    height: 150px;
    background: url("../img/pig_icon1.png") no-repeat center/contain;
}
.bk-green-ttl {
    text-align: center;
    background-color: #009C26;
    color: #fff;
    padding: 10px 0;
}
.bk-green-ttl h1 {
    font-size: 2rem;
    margin: 0;
}
.point-total-box > .usedcar-sub p {
    margin: 0;
    padding-top: 40px;
}
.point-total-box {
    background-color: #E8FFCD; 
}
.point-flex-box {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px auto;
    gap: 20px;
}
.troubleshooting-item {
    background-color: #009C26;
    color: #fff;
    border-radius: 20px;
    width: 250px;
    padding: 10px;
    text-align: center;
}
.troubleshooting-item p {
    font-size: 2.3rem;
    margin: 0;
}
.point-total-box > .notes-list {
    padding-bottom: 40px;
}
.point-map {
    width: 100%;
    max-width: 600px;
    margin: 40px auto;
    padding-bottom: 40px;
}
.point-map img {
    width: 100%;
}
.service-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    max-width: 800px;
    margin: 20px auto;
}
.service-item-towing,
.service-item-battery {
    border-right: 4px solid #336699;
    padding: 20px;
    text-align: center;
}
.service-item-towing,
.service-item-key {
    border-bottom: 4px solid #336699;
    padding: 20px;
    text-align: center;
}
.service-item-tire {
    text-align: center;
    padding: 20px;
}
.service-item-towing img,
.service-item-key img,
.service-item-battery img,
.service-item-tire img {
    width: 80px;
    height: auto;
    margin-bottom: 10px;
}
.service-title-towing,
.service-title-key,
.service-title-battery,
.service-title-tire {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    line-height: 1.4;
    height: 60px;
    color: #009C26;
}
.service-title-towing::before,
.service-title-key::before,
.service-title-battery::before,
.service-title-tire::before {
    content: "◆";
    margin-right: 0.5em;
    font-size: 1.5rem;
    color: #009C26;
}
.service-note-towing,
.service-note-key,
.service-note-battery,
.service-note-tire {
    font-size: 1.1rem;
    color: #555;
    margin-top: 30px;
}
.security-subttl {
    max-width: 800px;
    margin: 0 auto;
}
.security-subttl h2 {
    margin-bottom: 0;
    margin-top: 30px;
    color: #BC2757;
    font-size: 2rem;
}
.security-textBox {
    max-width: 800px;
    margin: 0 auto;
}
.small-black {
    font-size: 1rem;
    color: #333;
}
.security-sub-list ul {
    padding: 0;
    color: #ec963d;
    font-size: 1.8rem;
    margin: 0;
}
.security-sub-list li {
    list-style-type: none;
}
.security-list-text p {
    margin: 10px 0;
}
.plus-red {
    color: #BC2757;
    font-size: 1.5rem;
    margin-top: 30px;
}

/* 故障の流れ */
.breakdown-ttlbox {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    letter-spacing: 2px;
}
.breakdown-img-inFlex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.img-pigpig {
    width: 100%;
    max-width: 160px;
}
.breakdown-logo {
    width: 100%;
    max-width: 200px;
}
.img-pigpig img,
.breakdown-logo img {
    width: 100%;
}
.breakdown-ttl {
    font-size: 2rem;
    font-weight: bold;
}
:root{
    --bg: #f6fbff;
    --shadow: rgba(30,40,50,0.12);
    --line: #6b6b6b;
}
.flow-canvas{
    position: relative;
    max-width: 850px;
    margin: 0 auto;
    padding: 50px 0 10px 0;
}
.card{
    flex: 1;
    min-width: 0;
    padding: 18px 20px;
    border-radius: 18px;
    box-shadow: 0 8px 20px var(--shadow);
    border: 3px solid rgba(0,0,0,0.04);
    background: #fff;
    /* max-width: 50%; */
    margin: 20px 0;
    text-align: center;
    transition: transform .22s ease, box-shadow .18s;
}
.card:hover{
    transform: translateY(-6px) rotate(-0.6deg) scale(1.01);
    box-shadow: 0 18px 36px rgba(0,0,0,0.14);
}
.card .title{
    font-size:18px;
    margin:0 0 6px;
}
.card .note{
    font-size:14px;
    margin:0;
    opacity:0.95;
}
.row{
    display:flex;
    justify-content: center;
    flex-wrap:wrap;
}
.card-flexflex-area {
    display: flex;
    flex-direction: column; 
    width: 50%;
}
.card-flexflex {
    display: flex;
    justify-content: space-around;
}
.arrow-wrap{
    display:flex;
    justify-content:center;
    margin: 10px 0;
}
.arrow-wrap svg {
    display:block;
}
.stamp{
    display:inline-block;
    padding:6px 12px;
    background:linear-gradient(180deg,#fff,#ffeef2);
    border-radius:999px;
    border:2px solid rgba(200,50,90,0.18);
    font-weight:700;
    transform: rotate(-3deg);
    box-shadow: 0 6px 14px rgba(255,120,150,0.08);
}
.flow-image {
    width: 100%;
    max-width: 200px;
}
.flow-image img {
    width: 100%;
}
.flow-box {
    max-width: 900px;
    margin: 0 auto;
}
.top-big-red h3 {
    font-size: 2.2rem !important;
    color: #BC2757;
    text-align: center;
}
.top-big-ttl h3 {
    font-size: 2rem !important;
    line-height: 1.3;
    margin: 0;
    text-align: center;
}
.top-big-blue h3 {
    font-size: 2rem !important;
    color: #2B376A;
    text-align: center;
    line-height: 1;
}
.top-big-blue .small-p {
    text-align: center;
    font-size: 1.2rem;
    color: #333;
}
.flow-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 0;
}
.flow-content-x {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.flow-text {
    flex: 0 0 65%; 
    text-align: left;
}
.flow-text h3 {
    font-size: 2rem;
    text-align: center;
}
.flow-text-Pcenter {
    text-align: center;
}
.flow-text ul {
    padding: 0;
}
.flow-text li {
    list-style-type: none;
}
.flow-text p {
    font-size: 1.2rem;
    line-height: 1.5;
}


/* よくあるお問い合わせ */
.query {
    /* background-color: #F3FCDC; */
    margin: 0 auto;
    padding: 50px 0;
}
.query-ttlBox {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}
.query-ttl {
    text-align: center;
    margin: 0 0 40px 0;
    color: #333;
}
.query-ttl h1 {
    font-size: 2.3rem;
    padding-top: 30px;
}
.faq-item {
    margin-bottom: 20px;
}
.faq-question {
    display: flex;
    align-items: center;
    color: #333;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 1.5rem;
    position: relative;
}
.query-ttlBox .pig-img {
    max-width: 150px;
}
.faq-item.active .faq-question {
    background-color: #E8FFCD; /* 展開時の背景色 */
}
.question-text {
    flex-grow: 1;
    margin: 0 15px;
}
.toggle-btn {
    font-size: 2rem;
    line-height: 1;
    transition: transform 0.3s;
    color: #009C26;
}
.faq-item.active .toggle-btn {
    transform: rotate(180deg);
}
.faq-answer {
    display: none; 
    padding: 20px;
    background-color: #f8f8f8;
    
    margin-top: 10px;
    animation: slideDown 0.5s ease-out; 
    border-radius: 0 5px 5px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.faq-item.active .faq-answer {
    display: flex; /* JavaScriptで表示する */
}
.faq-q-badge,
.faq-a-badge {
    display: flex;
    align-items: center;
    justify-content: center;
}
.faq-a-badge {
    align-items: flex-start;
}
.faq-q-badge {
    width: 100%;
    max-width: 100px;
}
.faq-a-badge {
    width: 100%;
    max-width: 100px;
    flex-shrink: 0;
}
.faq-q-badge img,
.faq-a-badge img {
    width: 100%;
}
.answer-text {
  margin: 0 15px;
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.anser-table {
    width: 100%;
    overflow-x: scroll;
}
.anser-table table {
    min-width: 700px;
}
.anser-table table,
.anser-table td,
.anser-table th {
	border: 1px solid #333;
	border-collapse: collapse;
}
.anser-table td,
.anser-table th {
	padding: 3px;
    height: 120px;
}
.anser-table th {
	background: #ccc;
    width: 35%;
}
.anser-table td {
    width: 65%;
}

/* お問合せ */
.contact {
    width: 100%;
}
.contact-ttl {
    position: relative;
    padding: 15px;
    text-align: center;
    color: #fff;
    background: linear-gradient(to right, #67ac3e, #d6d651, #67ac3e);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 0 auto 50px auto; 
}
.contact-ttl::after {
    content: '';
    position: absolute;
    bottom: -15px; 
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #d6d651;
}
.contact-ttl h1 {
    font-size: 2rem;
    margin: 0;
}
.call-item,
.contact-text {
    text-align: center;
    padding: 20px 0;
}
.contact-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.img-call {
    width: 100%;
    max-width: 100px;
    margin-bottom: 5px;
}
.img-call img {
    width: 100%;
}
.call-item p,
.contact-text p {
    margin: 0;
}
.call-item p {
    font-size: 3rem;
    line-height: 0.7;
}
.rotated-number {
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    letter-spacing: 4px;
}
.contct-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.contact-text p {
    font-size: 2rem;
    font-weight: bold;
}
.big{
    font-size: 2.6rem;
}
.nms-jump {
  max-width: 1000px;
  background-color: #33A134;
  padding: 10px 0;
  margin: 20px auto 40px auto;
  text-align: center;
  opacity: 0;
  transform: translateX(-120px);
}
.nms-jump a {
  text-decoration: none;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;    
}
.fadein-left.show {
  animation: slideBounce 1s ease forwards;
}
@keyframes slideBounce {
  0% {
    opacity: 0;
    transform: translateX(-120px);
  }
  60% {
    opacity: 1;
    transform: translateX(0);
  }
  75% {
    transform: translateX(-10px);
  }
  90% {
    transform: translateX(5px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* フッター */
.footerbox {
    background-color: #D7D7D7;
    width: 100%;
    margin: 0 auto;
    padding: 40px 0;
    position: relative;
}
.footer-logo {
    width: 100%;
    max-width: 180px;
    margin: 0 auto;
}
.footer-logo img {
    width: 100%;
}
.top-box {
    width: 100%;
    max-width: 80px;
    position: absolute;
    top: -16%;
    right: 4%; 
}
.top-box img{
    width: 100%;
}
.copyright {
    font-size: 0.9rem;
    text-align: center;
    color: #333;
}

@media (max-width: 1000px) {
    .img-koutokuten {
        max-width: 250px;
    }
    .ttl-item h1 {
        font-size: 2.8rem;
    }
    .main-pig {
        grid-template-columns: 1fr 0.8fr 1fr;
        gap: 0;
    }
    .main-itemBox {
        padding: 80px 0;
    }
    .mainpig-img {
        width: 0;
    }
    .mainpig-img .ttl-bgwhite .ttl-circle {
        width: 300px;
        height: 300px;    
        background-size: 300px;
        top: -45px;
        left: 0;  
    }
    .pig-item p {
        font-size: 1.4rem;
        width: 300px;
        margin: 0 auto;
    }
    .sub-totalbox {
        width: 95%;
    }
    .subttl-boxItem p {
        margin: 0;
        font-size: 2rem;
    }
    .subttl-red {
        font-size: 2.5rem;
    }
    .flex-box {
        margin: 0 10px;
    } 
    .img-pie {
        width: 95%;
    }
    .pie-text p {
        margin: 0 10px;
    }
    .cost-img {
        width: 90%;
    }
    .subttl-box {
        width: 95%;
        margin: 0 auto;
    }
    .speech-bubble-container-unique {
        width: 90%;
        margin: 0 auto;
    }
    .repair-case-item {
        min-height: 330px;
    }
    .repair-endttl .subttl-boxItem p {
        margin-top: 15px;
    }
    .subttl-boxItem {
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .security-padding {
        padding: 0px 0 50px 0;
        width: 95%;
    }
    .total-security {
        flex-direction: column;
        align-items: center;
    }
    .point-icn-ttl h2 {
        font-size: 2.5rem;
        line-height: 1.3;
    }
    .notes-list {
        width: 90%;
        margin: 10px auto 60px auto;
    }
    .usedcar-sub {
        width: 90%;
    }
    .minimal-plan-container-green,
    .minimal-plan-container-blue,
    .minimal-plan-container-red {
        width: 95%;
    }
    .usedcar-susub {
        width: 95%;
    }
    .usedcar-flex {
        flex-direction: column;
        gap: 0;
    }
    .usedcar-flex > .pig-img {
        max-width: 180px;
    }
    .usedcar-sub p {
        font-size: 1.3rem;
        text-align: center;
        margin: 0 auto;
        margin-top: 30px;
    }
    .usedcar-itembox > .usedcar-sub p {
        text-align: left !important;
    }
    .car-label-map-description {
        width: 95%;
        padding: 0;
        margin: 0 auto 15px auto;
    }
    .security-ttl h1,
    .point-ttl h1 {
        font-size: 2.8rem;
        gap: 5px;
    }
    .bk-green-ttl {
        margin-top: 30px;
    }
    .point-flex-box {
        width: 95%;
    }
    .service-grid-wrapper {
        width: 95%;
    }
    .security-textBox {
        width: 95%;
    }
    .security-sub-list ul {
        font-size: 1.6rem;
    }
    .point-total-box > .notes-list {
        margin-bottom: 0;
    }
    .point-total-box > .usedcar-sub p {
        text-align: left;
    }
    .point-spwidth {
        width: 95%;
    }
    .breakdown-ttlbox {
        flex-direction: column;
        gap: 5px;
    }
    .breakdown-ttl {
        font-size: 1.8rem;
    }
    .breakdown-ttl h2 {
        margin: 0 auto;

    }
    .flow-canvas {
        width: 95%;
    }
    .query {
        width: 95%;
    }
    .contact-allitem {
        width: 95%;
        margin: 0 auto;
        padding-bottom: 60px;
    }
    .basic-plan {
        width: 95%;
    }
    .main-content-section {
        padding: 10px;
    }
    .fault-item-grid-two {
        gap: 5px;
    }
    .point-icon-img {
        max-width: 150px;
    }
    .top-big-ttl h3 {
        font-size: 1.8rem !important;
    }
    .top-big-red h3 {
        font-size: 2.5rem !important;
    }
    .top-big-blue h3 {
        font-size: 2.5rem !important;
    }
    .flow-text h3 {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    .only-pc {
        display: none;
    }
    .only-sp {
        display: block;
    }
    .mv {
        background-image: url(../img/hero-sp-test02.png);
        background-size: cover;
        background-position: center;
        height: 800px;
    }
    .mv > .mv-itembox h2 {
        font-size: 2.5rem;
    }
    .mv > .mv-itembox h3 {
        font-size: 2.5rem;
    }
    .main-pig {
        width: 100%;
        margin: 20px auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    } 
    .pig-item p {
        font-size: 1.6rem;
        width: 75%;
        margin: 0 auto;
        line-height: 1.5;
    }
    .mainpig-img {
        width: 100%;
        margin: 0 auto;
    }
    .main-pig {
        gap: 40px;
    }
    .mainpig-img .ttl-bgwhite .ttl-circle {
        left: 33%;
        top: -13%;
        width: 250px;
        height: 250px;    
        background-size: 225px;
        position: absolute;
    }
    .ttl-box {
        background: url(../img/ttl-bk768sp.png) center bottom no-repeat;
        background-size: cover;
        width: 100%;
        height: 250px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .flow-canvas {
        width: 90%;
    }
    .ttl-box-flex {
        flex-direction: column;
        gap: 0;
    }
    .ttl-item h1 {
        font-size: 2.4rem;
        margin: 0 auto;
    }
    .main-subttl {
        padding-bottom: 5px;
    }
    .flex-box {
        flex-direction: column;
        gap: 0;
        align-items: center;
    }
    .subttl-boxItem p {
        font-size: 1.7rem;
    }
    .subttl-red {
        font-size: 2rem;
    }
    .cost-totalItem {
        flex-direction: column;
        align-items: center;
    }
    .cost-text h3 {
        font-size: 2rem;
    }
    .big-green {
        font-size: 3rem;
    }
    .cost-text p {
        font-size: 1.1rem;
    }
    .sub-totalbox {
        padding: 40px 0;
    }
    .main-subttl h2 {

        line-height: 1.4;
    }
    .subttl-boxItem {
        margin: 0 auto;
    }
    .accident-ttl h2 {
        font-size: 2rem;
    }
    .demo-flex {
        flex-direction: column;
        align-items: normal;
    }
    .text-demo p {
        text-align: center;
        font-size: 1.9rem;
        margin: 0 auto;
        margin-bottom: 30px;
        margin-top: -30px;
    }
    .repair-endttl .subttl-boxItem p {
        margin-top: 30px;
        line-height: 1.4;
        text-align: left;
    }
    .repair-endttl > .usedcar-sub p {
        text-align: center;
        margin: 30px auto 40px auto;
        text-align: left;
    }
    .security-ttl h1, .point-ttl h1 {
        font-size: 1.8rem;
        gap: 5px;
        padding: 0;
    }
    .security-ttl h1::before,
    .security-ttl h1::after,
    .point-ttl h1::before,
    .point-ttl h1::after {
        width: 70px;
        height: 80px;
    }
    .point-icon-img {
        max-width: 100px;
    }
    .security-ttl-flex {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        margin-top: 20px;
    }
    .point-icn-ttl h2 {
        font-size: 2rem;
        line-height: 1.3;
        text-align: center;
    }
    .iconBig-green {
        font-size: 2rem;
    }
    .point-icn-ttl {
        margin-bottom: 30px;
    }
    .usedcar-sub p {
        margin-top: 0;
        text-align: left;
    }
    .security-list li {
        margin: 10px auto;
        width: 95%;
    }
    .notes-list {
        margin: 10px auto 30px auto;
    }
    .usedcar-sub p {
        text-align: left;
        margin-bottom: 20px;
    }
    .plan-header-banner-green,
    .plan-header-banner-blue,
    .plan-header-banner-red {
        font-size: 1.5rem;
    }
    .green-car img,
    .blue-car img {
        margin-top: 40px;
    }
    .guarantee-period-banner {
        max-width: 100px;
        top: 66%;
        right: 3%;
    }
    .guarantee-explanation-title {
        font-size: 1.5rem;
    }
    .guarantee-explanation-list li {
        font-size: 1.2rem;
    }
    .fault-example-visual {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 15px;
    }
    .engine-fault-item,
    .throttle-fault-item {
        width: 100%;
    }
    .engine-fault-item p,
    .throttle-fault-item p {
        margin: 0;
        font-size: 1.3rem;
    }
    .guarantee-limit-text {
        font-size: 2rem;
    }
    .plan-footer-section {
        flex-direction: column;
        gap: 0;
    }
    .basic-plan h2 {
        font-size: 1rem;
    }
    .fault-item-grid-one {
        grid-template-columns: 1fr 1fr;
    }
    .fault-item-grid-two {
        grid-template-columns: 1fr 1fr;
    }
    .fault-visual-text p {
        text-align: center;
        font-size: 0.98rem;
    }
    .bk-green-ttl h1 {
        font-size: 1.6rem;
    }
    .troubleshooting-item p {
        font-size: 1.8rem;
    }
    .security-subttl h2 {
        margin: 0;
        font-size: 1.6rem;
        line-height: 1.1;
    }
    .security-textBox h3 {
        font-size: 1.2rem;
        line-height: 1.4;
    }
    .security-sub-list ul {
        font-size: 1.2rem;
    }
    .point2-car-image {
        width: 95%;
        margin: 0 auto;
        margin-bottom: 15px;
    }
} 

@media (max-width: 600px) {
    .only-600sp {
        display: block;
    }
    .no-only-600sp {
        display: none;
    }
    .header-logo {
        max-width: 120px;
        margin-left: 10px;
        margin-top: 15px;
    }
    .mv-ttl-img {
        max-width: 300px;
    }
    .mv > .mv-itembox { 
        padding: 10px;
    }
    .mv > .mv-itembox h2 {
        font-size: 1.8rem;
        line-height: 1.4;
    }
    .mv > .mv-itembox h3 {
        font-size: 2rem;
        line-height: 1.5;
    }
    .main-subttl h2 {
        font-size: 1.8rem;
    }
    .accident-ttl {
        margin: 30px auto 0 auto;
    }
    .ttl-box {
        background: url(../img/ttl-bk400sp.png) center bottom no-repeat;
        background-size: cover;
        width: 100%;
        height: 200px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .img-koutokuten {
        max-width: 230px;
    }
    .ttl-item h1 {
        font-size: 2rem;
        margin: 0 auto;
        text-align: center;
    }
    .accident-ttl h2 {
        font-size: 1.5rem;
    }
    .icon-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding-top: 30px;
        margin: 0 auto;
    }
    .icon-item {
        margin: 20px 0;
        max-width: 250px; 
    }
    .icon-item p {
        font-size: 1.5rem;
    }
    .guarantee-limit-text {
        font-size: 1.6rem;
    }
    .fault-visual-text p {
        text-align: left;
        margin-bottom: 15px;
    }
    .red-car {
        max-width: 230px;
    }
    .demo-img {
        max-width: 100px;
    }
    .usedcar-sub p {
        line-height: 1.5;
    }
    .usedcar-ttl h2 {
        font-size: 1.6rem;
    }
    .usedcar-text p {
        font-size: 1.2rem;
        line-height: 1.5;
    }
    .usedcar-text h3 {
        font-size: 1.3rem;
    }
    .usedcar-text ul {
        font-size: 1.1rem;
        padding: 20px;
    }
    .usedcar-red {
        font-size: 1.3rem;
    }
    .repair-case-item h4 {
        text-align: left;
    }
    .repair-case-grid {
        grid-template-columns: 1fr;
    }
    .usedcar-text dt {
        font-size: 1.2rem;
        line-height: 1.5;
        margin: 10px 0;
    }
    .usedcar-text dd {
        margin-left: 0;
    }
    .usedcar-red-big p {
        font-size: 1.8rem;
        text-align: center;
    }
    .usedcar-text li {
        padding-bottom: 10px;
    }
    .usedcar-sub {
        width: 95%;
    }
    .usedcar-image {
        margin: 30px 0;
    }
    .usedcar-flex .usedcar-sub p {
        width: 95%;
    }
    .usedcar-itembox .usedcar-sub p {
        font-size:  1.8rem;
    }
    .grid-item-label {
        width: 100px;
        white-space: unset;
        font-size: 1rem;
    }
    .car-label-map-item {
        font-size: 12px;
        padding: 3px 6px;
    }
    .car-label-map-item {
        font-size: 12px;
        padding: 3px 6px;
    }
    .heading-ttl {
        padding-top: 50px;
        font-size: 1.6rem;
    }
    .mainpig-img .ttl-bgwhite .ttl-circle {
        position: absolute;
        left: 18%;
        top: -13%;
    }
    .service-grid-wrapper {
        width: 100%;
    }
    .car-label-map-description-wrapper .subttl-boxItem p {
        width: 95%;
        font-size: 1.2rem;
        margin: 0 auto;
    }
    .car-label-map-description-wrapper .subttl-red {
        font-size: 1.8rem;
    }
    .speech-bubble-container-unique {
        flex-direction: column;
        margin-top: 40px;
        align-items: center;
    }  
    .speech-bubble-unique {
        width: unset;
        border-radius: 40px;
        padding: 20px 15px;
    }  
    .speech-bubble-unique::after {
        top: 100%;
        right: 223px;
        border-top: 4px solid #fff;
        border-bottom: 4px solid #334180;
        border-right: 4px solid #334180;
        transform: translateY(-50%) rotate(45deg);
        box-sizing: border-box;
    }
    .speech-bubble-unique p {
        font-size: 1.1rem;
    }
    .textblue-big,
    .textred-big {
        font-size: 1.8rem;
    }
    .security-padding {
        width: 100%;
    }
    .security-list li {
        padding: 10px;
        font-size: 1.2rem;
    }
    .point-flex-box {
        flex-direction: column;
        gap: 10px;
        margin: 20px auto 50px auto;
    }
    .service-item-towing, 
    .service-item-key,
    .service-item-battery,
    .service-item-tire {
        padding: 15px 10px;
    }
    .service-title-towing,
    .service-title-key,
    .service-title-battery,
    .service-title-tire {
        text-align: left;
        font-size: 1.2rem;
        line-height: 1.3;
    }
    .service-title-towing::before,
    .service-title-key::before,
    .service-title-battery::before,
    .service-title-tire::before {
        margin: 0;
        font-size: 1.2rem;
    }
    .service-note-towing,
    .service-note-key, 
    .service-note-battery, 
    .service-note-tire {
        margin-top: 25px;
        text-align: left;
        line-height: 1.4;
    }
    .notes-list {
        width: 95%;
        margin: 30px auto;
    }
    .point-total-box > .usedcar-sub p {
        line-height: 1.5;
    }
    .point-map {
        margin: 20px auto;
        padding-bottom: 30px;
    }
    .security-padding {
        padding: 0;
    }
    .main-itemBox {
        padding: 30px 0;
    }
    .breakdown-ttl h2 {
        width: 100%;
        font-size:1.8rem;
    }
    .card {
        padding: 10px;
    }
    .flow-content {
        flex-direction: column;
        gap: 10px;
    }
    .flow-image {
        max-width: 140px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }
    .flow-image img {
        margin-bottom: 0 !important;
    }
    .top-big-red h3 {
        font-size: 1.8rem !important;
        margin: 10px;
    }
    .top-big-blue h3 {
        font-size: 1.8rem !important;
    }
    .flow-text h3 {
        font-size: 1.8rem;
        margin-top: 10px;
    }
    .card {
        margin: 10px 0;
    }
    .card-flexflex-area {
        flex-direction: column;
        width: 100%;
    }
    .query {
        padding: 10px 0;
    }
    .query-ttlBox {
        flex-direction: column;
    }
    .query-ttl {
        margin-bottom: 0;
    }
    .query-ttl h1 {
        font-size: 2rem;
        padding-top: 0;
        margin-bottom: 0;
    }
    .faq-question {
        padding: 10px;
    }
    .faq-q-badge,
    .faq-a-badge {
        max-width: 50px;
    }
    .faq-answer {
        padding: 10px;
    }
    .question-text,
    .answer-text {
        margin: 0 10px;
        font-size: 1.2rem;
    }
    .contact-ttl h1 {
        font-size: 1.8rem;
    }
    .img-call {
        max-width: 50px;
    }
    .call-item p {
        font-size: 2rem;
    }
    .pig-img { 
        max-width: 150px;
    }
    .contct-box {
        flex-direction: column;
        gap: 0px;
    }
    .contact-text p {
        font-size: 1.4rem;
    }
    .big {
        font-size: 2rem;
    }
    .nms-jump {
        margin: 15px auto;
    }
    .nms-jump a {
        font-size: 1.8rem;
    }
    .contact-allitem {
        padding-bottom: 20px;
    }
    .footerbox {
        margin-top: 30px;
        padding: 30px 0;
    }
    .copyright {
        font-size: 0.6rem;
    }
    .subttl-boxItem p {
        line-height: 1.5;
        text-align: left;
        margin-top: 30px;
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    .security-point-box .subttl-boxItem p {
        font-size: 1.4rem;
        margin-top: 0;
        margin-bottom: 0;
    }
    .security-point-box .subttl-red {
        font-size: 1.5rem;
    }
    .repair-case-item {
        padding: 15px;
    }
    .repair-case-item {
        justify-content: center;
        gap: 10px;
    }
    .text-demo {
        text-align: center;
        width: 95%;
        margin: 0 auto;
    }
    .subttl-red {
        font-size: 1.8rem;
    }
    .desc-text {
        width: 80%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 10px;
        margin: 0 auto 30px auto;
    }
    .desc-text li {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    .gradient-border-box .subttl-boxItem {
        width: 95%;
    }
    .repair-endttl .subttl-boxItem p {
        text-align: center;
    }
    .heading {
        width: 90%;
        font-size: 1.4rem;
        text-align: left;
        margin-left: auto;
        margin-right: auto;
    }
    .car-label-map-engine { top: 24%; }
    .car-label-map-brake { top: 76%; }
    .car-label-map-hybrid { top: 24%; }
    .car-label-map-steer { top: 37%; left: 49%; }
    .car-label-map-kit { top: 10%; left: 50%; }
    .car-label-map-dvanced { top: 63%; left: 30%; }
    .car-label-map-dor { top: 63%; left: 72%; }
    .car-label-map-ac { top: 50%; left: 19%; }
    .car-label-map-lock { top: 76%; left: 72%; }

    .troubleshooting-item-basic a,
    .troubleshooting-item-premium a {
        font-size: 1.3rem;

    }
    .troubleshooting-item-basic,
    .troubleshooting-item-premium {
        width: 250px;
        padding: 5px;
    }

}

