/*
Theme Name: LP_Theme
Author: takasan
Description: セントラル自動車LP用テーマ
Version: 1.0
*/

/* ========================================
   リセット・ベーススタイル
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
    padding: 0;
	width: 100%;
}

/* ========================================
   ヘッダー
======================================== */
#header-mobile {
    display: none;
}

#toppc-head {
    background-color: #ffffff;
    margin: 0 0 30px;
    padding: 0 10px;
    border-bottom: 5px solid #D62227;
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-between;
}

#header-title {
    padding: 0;
    height: 100px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#header-title .site-title {
    margin: 10px 0;
}

#header-title .site-title a {
    font-size: 40px;
    height: auto;
    margin: 5px 0 0;
}

#header-title .site-title img {
    max-width: 100%;
    height: auto;
}

#header-info {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-right: 3%;
}

.time {
    color: #ffffff;
    background-color: #D62227;
    padding: 10px 20px;
    margin: 0 10px 0 0;
    font-size: 18px;
}

.time .bick {
    font-size: 20px;
}

.tel {
    font-size: 28px;
    font-weight: bold;
    color: #d62227;
    margin: 0 10px 0 0;
}

/* ========================================
   メインセクション
======================================== */
.header-section {
    margin: 0 auto -10px;
    padding: 20px;
    position: relative;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 1000px;
}

/* ========================================
   比較バブル
======================================== */
.comparison-bubble {
    position: relative;
    background-color: white;
    border-left: 4px solid #e91e63;
    border-right: 8px solid #e91e63;
    border-top: 4px solid #e91e63;
    border-bottom: 8px solid #e91e63;
    border-radius: 50px;
    width: 40%;
    padding: 10px 40px;
    margin-right: 20px;
}

.comparison-bubble::after {
    content: "";
    position: absolute;
    bottom: -30px;
    left: 60px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 30px solid #e91e63;
}

.comparison-bubble::before {
    content: "";
    position: absolute;
    bottom: -26px;
    left: 64px;
    width: 0;
    height: 0;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-top: 26px solid white;
    z-index: 1;
}

.title-text {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 5px;
}

.my-car-lease {
    color: #ffd700;
    text-shadow: 2px 2px 0 #333;
}

.vs-text {
    font-size: 20px;
    color: #ffffff;
    margin: 5px 0 5px 100px;
    text-shadow: -1px -1px 0 #000, 0 -1px 0 #000, 1px -1px 0 #000, 
                 -1px 0 0 #000, 1px 0 0 #000, -1px 1px 0 #000, 
                 0 1px 0 #000, 1px 1px 0 #000;
}

.car-loan {
    color: #2196f3;
    text-shadow: 2px 2px 0 #333;
}

.comparison-diamond {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%) rotate(45deg);
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #e91e63, #ff4081);
    border: 3px solid #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 24px;
    z-index: 2;
}

.diamond-text {
    transform: rotate(-45deg);
    text-align: center;
    line-height: 1.2;
}

/* ========================================
   車両情報
======================================== */
.car-info-section {
    display: flex;
    flex-flow: wrap;
    justify-content: flex-start;
    width: 40%;
    margin-left: 30px;
}

.car-icon {
    background-image: url(img/car2.png);
    margin-right: 20px;
    position: relative;
    width: 150px;
    height: 80px;
}

.car-details {
    display: flex;
    flex-direction: column;
}

.car-price {
    font-size: 48px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.car-price-unit {
    font-size: 24px;
}

.car-subtitle {
    font-size: 14px;
    color: #666;
    padding-bottom: 2px;
}

.car-description {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    padding: 5px;
    width: 100%;
    border-top: 2px solid #333;
    border-bottom: 2px solid #333;
}

/* ========================================
   比較コンテナ
======================================== */
.comparison-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* セクションレイアウト */
.section1, .section2, .section3 {
    position: relative;
    display: flex;
    gap: 5px;
    align-items: stretch; /* 子要素の高さを揃える */
}

.lease-section {
    background-color: #fff8dc;
    padding: 30px 15px;
    width: 50%;
    display: flex;
    flex-direction: column; /* 内容を縦方向に配置 */
}

.loan-section {
    background-color: #e6f3ff;
    padding: 30px 15px;
    width: 50%;
    display: flex;
    flex-direction: column; /* 内容を縦方向に配置 */
}

.section-header {
    position: relative;
    margin-bottom: 30px;
}

.section3 .lease-section,
.section3 .loan-section {
    padding-bottom: 80px; /* section3の最小高さを設定 */
}

/* スマホ対応 */
@media (max-width: 768px) {
    .section1, .section2, .section3 {
        flex-direction: column;
        align-items: stretch;
    }
    
    .lease-section,
    .loan-section {
        width: 100%;
        height: auto; /* スマホでは高さを自動に */
    }
}

/* ========================================
   タイトルバー
======================================== */
/* タイトルセクション */
.title1 {
    position: absolute;
    left: 0px;
    top: 40px;
    width: 100%;
    z-index: 99;
}

.title-bar {
    position: relative;
    height: 40px;
    width: 100%;
    margin-bottom: 10px;
    border-bottom: 3px solid #c7346b;
}

.condition-label {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #c7346b;
    color: #fff;
    font-weight: bold;
    padding: 10px 20px 10px 15px;
    clip-path: polygon(0 0, 80% 0, 100% 100%, 0% 100%);
    font-size: 16px;
    line-height: 20px;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin: 0 0 20px;
}

.lease-title {
    color: #ffd700;
    text-shadow: 2px 2px 0 #333;
}

.loan-title {
    color: #2196f3;
    text-shadow: 2px 2px 0 #333;
}

/* ========================================
   車両イラスト
======================================== */
.car-container {
    display: flex;
    align-items: flex-start;
    margin: 50px 0 30px;
}

.car-illustration1 {
    background-image: url(img/car1.png);
    background-repeat: no-repeat;
    background-size: 100%;
    margin-right: 20px;
    position: relative;
    width: 150px;
    height: 98px;
}

.car-illustration2 {
    background-image: url(img/car3.png);
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 20px;
    position: relative;
    width: 150px;
    height: 98px;
}

/* ========================================
   価格情報
======================================== */
.pricing-info {
    display: flex;
    flex-direction: column;
}

.price-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.price-label {
    background-color: #333;
    color: white;
    padding: 5px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: bold;
    margin-right: 15px;
    min-width: 60px;
    text-align: center;
}

.price-value {
    font-size: 32px;
    font-weight: bold;
    color: #333;
}

.price-detail {
    font-size: 18px;
    color: #333;
    font-weight: bold;
    margin-left: 10px;
}

.bonus-label {
    background-color: #333;
}

/* ========================================
   合計セクション
======================================== */
.total-section {
    margin: 10px 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-label {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0 5px;
}

.total-amount {
    background-color: #ffffff;
    border: 3px solid #e91e63;
    color: #333;
    padding: 10px;
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    display: inline-block;
}

.loan-total {
    background-color: #2196f3;
}

.additional-costs {
    margin-top: 20px;
    font-size: 14px;
    color: #333;
}

.cost-row {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 10px 0 0;
    padding: 10px 0 0;
    border-top: 1px solid #333;
}

.residual-value {
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 10px;
}

.residual-label {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.residual-amount {
    font-size: 32px;
    font-weight: bold;
    color: #333;
}

/* ========================================
   注意事項
======================================== */
.notes-section {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    line-height: 1.6;
    margin-top: 30px;
}

.notes-icon {
    background-image: url(img/chec.png);
    width: 80px;
    height: 40px;
    display: inline-block;
}

.notes-list {
    margin-left: 28px;
    margin-top: 10px;
}

.notes-item {
    margin-bottom: 8px;
    position: relative;
    padding-left: 5px;
}

.notes-item::before {
    content: "";
    display: inline-block;
    border-style: solid;
    border-width: 0.5em 0 0.5em 0.865em;
    border-color: transparent transparent transparent #000;
    transform: translateY(0.1em) scale(0.8);
}

.arrow-indicator {
    position: absolute;
    top: -10px;
    left: -5px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 15px solid #e91e63;
}

/* ========================================
   情報バー
======================================== */
.title2 {
    width: 1100px;
    margin: 0 auto;
}

.info-bar {
    display: flex;
    align-items: center;
    font-family: sans-serif;
    background-color: #fcdde4;
    font-size: 20px;
    font-weight: bold;
    min-height: 50px;
    height: auto;
}

.info-label {
    background-color: #d9437f;
    color: white;
    padding: 10px 30px 10px 15px;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    min-height: 50px;
}

.info-text {
    padding: 10px 15px;
    line-height: 1.4;
}

/* ========================================
   コストサマリー
======================================== */
.cost-summary {
    margin: 30px 0;
    padding: 20px;
    font-family: sans-serif;
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.cost-summary-m {
    margin: 30px 0 30px;
    padding: 20px;
    font-family: sans-serif;
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.cost-summary-mm {
    margin: 30px 0 30px;
    padding: 20px;
    font-family: sans-serif;
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.row {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 10px;
    margin: 5px 0;
}

.label {
    font-size: 28px;
    font-weight: bold;
}

.price {
    font-size: 32px;
    font-weight: bold;
}

.plus,
.arrow {
    font-size: 28px;
    font-weight: bold;
    margin: 5px 0;
}

.total-box {
    border: 3px solid #d9437f;
    background-color: #fff;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
    gap: 10px;
    margin-top: 10px;
}

.total-box .small {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-align: left;
}

.total-box .total {
    font-size: 32px;
    font-weight: bold;
    color: #000;
}

.yen {
    font-size: 14px;
}

/* ========================================
   バッジ
======================================== */
.badge-img {
    position: absolute;
    left: 460px;
    top: 130px;
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
}

.badge-img2 {
    position: absolute;
    left: 460px;
    top: 180px;
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
}

.badge-content {
    font-family: sans-serif;
    font-size: 16px;
    font-weight: bold;
	padding: 20px 0;
    color: #ffffff;
    width: 180px;
    height: 180px;
    text-align: center;
    line-height: 1.5;
    letter-spacing: 3px;
    background: url("./img/badge-bg.png") no-repeat center/contain;
}

.badge-label {
    font-size: 20px;
    color: #000000;
    background-image: url("./img/yazirusi.png");
    background-repeat: no-repeat;
    padding: 0 6px;
    width: 80px;
    height: 30px;
    line-height: 30px;
    margin: 0 auto 5px;
    display: block;
}

.badge-value {
    font-size: 28px;
}

.badge-value span {
    font-size: 20px;
}

.badge-text strong {
    font-size: 28px;
    display: block;
}

/* ========================================
   人物イラスト
======================================== */
.hito1 {
    background-image: url(img/hito1.png);
    background-repeat: no-repeat;
    position: absolute;
    right: 0px;
    top: 0;
    z-index: 999;
    width: 190px;
    height: 312px;
}

.hito2 {
    background-image: url(img/hito2.png);
    background-repeat: no-repeat;
    width: 400px;
    height: 231px;
    margin: 50px 0 0 80px;
}

.hito3 {
    background-image: url(img/hito3.png);
    background-repeat: no-repeat;
    position: absolute;
    left: -80px;
    top: -150px;
    z-index: 9999;
    width: 380px;
    height: 385px;
}

/* ========================================
   タイトル3
======================================== */
.title3 {
    width: 1100px;
    margin: 0 auto;
}

/* ========================================
   フッター
======================================== */
.footer-content {
    margin: 0 auto 100px;
    position: relative;
    width: 1000px;
}

.footer-top-infos {
    display: flex;
    justify-content: flex-start;
}

.diagonals {
    margin: 50px 30px 10px 150px;
    width: 200px;
}

.diagonal-label1 {
    width: 180px;
    height: 3px;
    margin: 0 0 5px;
    background: deeppink;
    transform: rotate(15deg);
}

.diagonal-text {
    transform: rotate(5deg);
    margin: 10px 0;
    font-size: 22px;
    color: deeppink;
    font-weight: bold;
    white-space: nowrap;
}

.diagonal-label2 {
    width: 180px;
    height: 3px;
    margin: 5px 0;
    background: deeppink;
    transform: rotate(-3deg);
}

.footer-top-info {
    width: 300px;
    margin: 30px 0 10px;
}

.footer-top-info1 {
    font-size: 23px;
    font-weight: bold;
    color: deeppink;
    margin: 0;
    padding: 0;
}

.footer-top-info2 {
    font-size: 26px;
    font-weight: bold;
    color: #0E6EAC;
    margin: 0;
    padding: 0;
}

.footer-top-info2 strong {
    font-size: 30px;
    font-weight: bold;
    color: #0E6EAC;
}

.footer-top-info2 small {
    font-size: 22px;
    font-weight: bold;
    color: #0E6EAC;
}

.footer-top-info1 strong {
    font-size: 30px;
}

.footer-btn {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    width: 560px;
    margin: 0 0 0 140px;
}
footer {
	text-align: center;
	margin: 5px auto;
}
/* ========================================
   ボタン
======================================== */
.tuitel-btn {
    background-image: url(img/btn1.png);
    background-repeat: no-repeat;
    width: 280px;
    height: 148px;
    position: absolute;
    right: 0px;
    bottom: 30px;
    z-index: 99;
}
.mob-title {
    display: none;
}
/* ========================================
   レスポンシブ
======================================== */
@media (max-width: 1100px) {
    .header-section {
        max-width: 100%;
    }
    .comparison-container {
        max-width: 100%;
    }
    .title1, .title2, .title3 {
        width: 100%;
    }
.badge-img {
    left: 40%;
}

.badge-img2 {
    left: 40%;
}
}

@media (max-width: 768px) {
    /* メインコンテナを縦積みに */
.comparison-diamond {
    right: 0;
    width: 100px;
    height: 100px;
}
    .comparison-container {
        flex-direction: column;
        margin: 0 10px;
    }
    
    /* ヘッダーセクション */
    .header-section {
        flex-direction: column;
        padding: 10px;
        max-width: 100%;
    }
    
    .comparison-bubble {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .car-info-section {
        width: 100%;
        margin-left: 0;
        justify-content: center;
    }
.mob-title {
	text-align: center;
	display: block;
}
    /* 車のコンテナ */
    .car-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .car-illustration,
    .car-illustration1,
    .car-illustration2 {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    /* 人物イラストの調整 */
  .hito1, .hito2, .hito3 {
    position: static !important;
    width: 100%;
    max-width: 500px;
    height: 300px; /* ← ← ← これが重要 */
    margin: 10px auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
  }    
    /* タイトルバーの調整 */
    .title1, .title2, .title3 {
        position: static;
        margin: 0;
        width: 100%;
        height: auto;
        z-index: auto;
    }
    
    /* 情報バーのスマホ対応 */
    .info-bar {
        flex-direction: column;
        align-items: stretch;
        font-size: 16px;
        min-height: auto;
        height: auto;
        padding: 10px 0;
    }
    
    .info-label {
        clip-path: none;
        border-radius: 5px 5px 0 0;
        padding: 15px;
        font-size: 16px;
        min-height: auto;
        height: auto;
        white-space: normal;
        text-align: center;
        line-height: 1.4;
    }
    
    .info-text {
        padding: 15px;
        font-size: 16px;
        line-height: 1.5;
        background-color: #fcdde4;
        border-radius: 0 0 5px 5px;
    }
    
    /* バッジの調整 */
    .badge-img, .badge-img2 {
        position: static;
        margin: 0 auto;
		width: 100%;
		padding:0;
        left: auto;
        top: auto;
        background: linear-gradient(to bottom, #fff8dc 50%, #e6f3ff 50%)
    }
    /* セクションの調整 */
    .section1, .section2, .section3 {
        gap: 0;
    }
    .lease-section, .loan-section {
        padding: 20px 15px;
    }
    
    /* フォントサイズの調整 */
    .title-text {
        font-size: 24px;
    }
    
    .car-price {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .price-value {
        font-size: 28px;
    }
    
    .total-amount {
        font-size: 28px;
        padding: 8px;
    }
    
    /* フッター調整 */
    .footer-content {
        width: 100%;
        margin: 0 auto 50px;
        padding: 0 15px;
    }
    
    .footer-top-infos {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .diagonals {
        margin: 20px 0;
    }
    
    .footer-top-info {
        width: 100%;
        margin: 20px 0;
        text-align: center;
    }
    
    .footer-btn {
        width: 100%;
        margin: 20px 0;
    }
    
    .tuitel-btn {
        position: static;
        margin: 20px auto;
        right: auto;
        bottom: auto;
    }
    
    /* ヘッダー調整 */
    #toppc-head {
        flex-direction: column;
        height: auto;
        padding: 15px 10px;
    }
    
    #header-info {
        margin-top: 15px;
        padding-right: 0;
    }
    
    .time {
        font-size: 16px;
        padding: 8px 15px;
    }
    
    .tel {
        font-size: 24px;
    }
}
@media (max-width: 460px) {
.total-section {
    flex-direction:column;
}
.row {
    flex-direction:column;
}

.total-box {
    flex-direction:column;
}
  .sp-br {
    display: none;
  }
}