/* headernavi＝＝＝start */
header {
    padding-top: 65px;
}
.navbar img {
    width: 150px;
}
.nav-link {
    font-size: 16px;
    font-weight: bold;
    margin: 0 10px;
    padding: 15px 0;
}
.nav-background {
    padding: 6px 30px;
}
.contact_button {
    width: 100px;
}
.navbar-toggler:hover, .navbar-toggler {
    border: none;
}
@media screen and (max-width:991px){
    .nav-link {
        padding: 20px 0; 
    }
    .nav-item a {
        border-bottom: 1.5px dotted #bbbbbb;
    }
    .contact_button {
        width: 230px;
        margin: 20px auto 30px auto;
        display: block;
    }
    .me-auto {
        margin-left: initial;
    }
    .navbar img {
        width: 130px;
    }
    .nav-background {
        padding: 15px 10px;
    }
    header {
        padding-top: 75px; 
    }
}
/* headernavi＝＝＝end */

/* ベース設定 */
body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #a8dbf8;
    font-size: 18px;
}

h1, h2, h3, .features-title, .qr-main, .detail-label, .app-title {
    font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
    font-weight: 900;
}

.main-contents {
    padding-top: 0;
    margin-top: 0;
}

/* アイキャッチ画像の切り替え */
.eye-catch-section {
    background-color: #a8dbf8;
    padding-top: 0; 
    position: relative;
    margin: 0 auto; 
}

.eye_catch {
    text-align: center;
}
.eye_catch img {
    margin: 0 auto; 
}

@media screen and (max-width:768px){
    .bustracker_pc_ec {
        display: none;
    }
}
@media screen and (min-width:769px){
    .bustracker_sp_ec {
        display: none;
    }
}

/* ラインのスタイル */
.back-page-separator {
    height: 14px;
    border-top: 10px solid #009fbf;
    border-bottom: 2px solid #009fbf;
    margin: 0;
}

/* 日本語タイトル（h2本体）のスタイル */
.modern-title {
    color: #3b4363;
    font-size: 4vw !important;
    font-weight: bold;
    text-align: left;
    position: relative; 
    z-index: 10;
    padding-top: 100px !important; 
    padding-bottom: 50px !important;
    margin: 0 0 0 100px; 
}

/* 英語タイトル（背景として配置）のスタイル */
.modern-title::before {
    content: attr(data-en) !important;
    position: absolute !important;
    transform: translateY(-30%) !important;
    z-index: 5 !important;
    font-size: 5vw !important;
    font-weight: bold !important;
    color: rgba(0, 0, 0, 0.05) !important; 
    letter-spacing: 0.1em !important;
    white-space: nowrap !important;
    text-transform: uppercase !important; 
    line-height: 1 !important;
}

/* ===============================
    【システム紹介】ここから
=============================== */
/* ===特徴セクション=== */
.features-section {
    padding: 30px 20px;
    background-color: #fff;
    border-radius: 10px;
    max-width: 750px; 
    margin: 0 auto 50px auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.features-title {
    color: #3b4363;
    position: relative;
    margin: 0 0 25px;
    padding: 0.2em 0.5em 0.4em 2em;
    border-bottom: 3px solid #e4719a;
}

.features-title:before {
    position: absolute;
    top: -8px;
    left: 30px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    height: 14px;
    width: 14px;
    background: #ef5350;
    content: "";
}

.features-title:after {
    position: absolute;
    top: 11px;
    left: 24px;
    transform: rotate(15deg);
    -webkit-transform: rotate(15deg);
    height: 10px;
    width: 10px;
    background: #ff99cf;
    content: "";
}

.feature-list {
    display: flex;
    flex-direction: column; 
    gap: 20px;
    align-items: center;
}

.feature-item {
    background-color: #e0f7fa; 
    padding: 15px;
    display: flex;
    align-items: center;
    box-shadow: 5px 5px 0px #e4719a;
    width: 100%;
    max-width: 500px;
}

.feature-item .number {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    background-color: #009fbf;
    margin-right: 15px;
    margin-left: 30px;
    min-width: 40px;
    height: 40px;
    line-height: 33px;
    text-align: center;
    border-radius: 50%;
    border: 3px solid #009fbf;
}

.feature-item p { margin: 0; }
.feature-item strong { color: #3b4363; }

.scroll-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}
.scroll-in.displayed {
  opacity: 1;
  transform: translateY(0);
}

/* ===詳細セクション (契約・支払方法・料金)=== */
.details-section {
    display: block; 
    padding: 25px 40px 20px;
    background-color: #f5f5f5;
    max-width: 750px; 
    margin: 0 auto 50px auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.detail-row {
    width: 100%;
    border-bottom: 1px dashed #ccc;
    padding: 15px 0;
    display: flex; 
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    background-color: #009fbf;
    color: #fff;
    padding: 8px 15px;
    margin-right: 20px;
    border-radius: 5px;
    font-size: 1.3rem;
    align-self: flex-start;
    min-width: 150px;
    text-align: center;
}

.detail-content { flex-grow: 1; }
.detail-content p { font-weight: bold; }
.detail-content strong { color: #ef5350; }
.detail-content small { display: block; color: #666; font-size: 1rem; }
.price-text { font-size: 1.5rem; margin-top: 5px;}

/* ===アプリダウンロードセクション=== */
.app-download-section {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    max-width: 750px; 
    margin: 0 auto 50px auto;
}

.app-column {
    width: 50%;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
}

.app-column:hover {
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2); 
    transform: translateY(2px);
}

.iphone-app { background-color: #e3f2fd; }
.android-store { background-color: #e8f5e9; }

    /* 破線のデザイン */
.app-column::before {
    content: "";
    position: absolute;
    top: 45px;
    left: 5%;
    width: 90%;
    border-top: 3px dashed #009fbf;
    
}

.app-title { font-size: 1.5rem; color: #3b4363; margin-top: 0; }
.app-qr { 
    width: 100px; 
    height: 100px; 
    background-color: #fff; 
    margin-bottom: 20px;
    transition: all 0.2s ease;
}

.qr-box {
    padding-top: 20px; 
    padding-bottom: 0;
}

.qr-box p {
    margin-top: 0;
    margin-bottom: 0; 
    font-size: 0.9rem;
}

/* ===アプリ操作説明セクション=== */
.app-guide-section {
    max-width: 750px;
    margin: 0 auto 50px auto;
}

.guide-inner-box {
    display: flex; 
    width: 100%;
    /* max-width: 750px;  */
    border-radius: 10px;
    padding: 20px 10px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    margin: 0 auto; 
}

.guide-left, .guide-right { 
    flex: 1; 
    padding: 0 10px; 
    text-align: left; 
}
.user-screen{
    width: 190px;
}

.app-screen { 
    height: auto; 
    max-width: 100%; 
    display: block; 
    margin: 0; 
    border-radius: 10px; 
}

.image-text-wrapper {
    display: flex;
    align-items: center; 
    gap: 10px; 
    margin: 0 auto; 
}

.guide-left p {
    font-size: 0.9rem; 
    line-height: 1.3; 
    max-width: 350px; 
    text-align: left; 
    color: #1a4d7a;
    font-weight: bold;
}

.guide-right { position: relative; } 

.app-screen,
.image-note,
.app-features-list {
    margin-left: auto;
    margin-right: auto;
}

.map-screen {
    margin: 0 auto 10px auto; 
}

.image-note { 
    position: static; 
    font-size: 0.8rem; 
    color: #666; 
    margin: 0 auto 5px auto; 
    display: block; 
}

.app-features-list { 
    list-style: none; 
    padding-left: 0; 
    font-size: 0.9rem; 
    margin: 0 auto; 
}
.app-features-list li { 
    padding-left: 25px; 
    margin-bottom: 5px; 
    color: #1a4d7a; 
    font-weight: bold;
    position: relative;
}
.app-features-list li::before {
    content: "●"; 
    color: #009fbf;
    font-weight: bold;
    position: absolute;
    left: 0;
}
/* 【システム紹介】ここまで */

/* =============================================
   【プライバシーポリシー】、【利用規約】ここから
============================================= */
.r-body { 
    width: 80%;
    text-align: left;
    margin: 0 auto 20px auto;
}
.r-body h3 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.2rem; 
    margin-top: 1.5em; 
    margin-bottom: 0.5em;
}
.r-body p{
    font-size: 16px;
}
/* .privacy_since {
    text-align: right;
} */
.r-body ol,
.r-body ul {
  font-size: 16px;
  line-height: 1.6;
  padding-left: 1.5em; /* インデント調整 */
  margin-bottom: 1em;
}
.r-body ol > li:has(ul) {
  font-weight: bold;
}
.r-body ol li ul li {
  font-weight: normal;
}

/* 【プライバシーポリシー】、【利用規約】ここまで */


/* ===============================
    【特定商取引法】ここから
=============================== */

.legal-table-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    border: 1px solid #ddd;
}

.legal-header {
    width: 30%;
    background-color: #f7f7f7;
    text-align: left;
    padding: 12px 15px;
    font-weight: bold;
    color: #333;
    border: 1px solid #ddd;
    border-left: none;
}

.legal-data {
    width: 70%;
    text-align: left;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-right: none;
    background: #fff;
}
/* 【特定商取引法】ここまで */

/* ------------------------------------------------------------
 * メールアドレス画像用のスタイル
 * ------------------------------------------------------------ */
.r-body .email-image,
.legal-table-wrapper .email-image {
  display: inline-block; 
  height: 20px; 
  width: auto; 
  vertical-align: middle; 
}

/* ===============================
     【お問い合わせ】ここから
=============================== */
.contact-section {
    display: flex;
    padding: 30px 20px;
    background-color: #a8dbf8;
    align-items: center;
    justify-content: center; 
    max-width: 650px;
    margin: 0 auto;
}

.contact-left { flex: 2; padding-right: 20px; }
.contact-left h3 { color: #3b4363; font-size: 1.8rem; margin-top: 0; margin-bottom: 15px; }
.contact-left address { font-style: normal; }
.contact-left p { margin: 5px 0; }

.contact-right { flex: 1; display: flex; justify-content: center; }

/* QRコード部分 */
.qr-code { 
    width: auto; 
    height: auto; 
    background-color: #a8dbf8; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    margin-top: 5px; 
    border-radius: 3px;
    gap: 10px; 
}

.qr-text-wrapper {
    text-align: right; 
}

.qr-sub { 
    font-size: 0.8rem; 
    margin: 0; 
    white-space: nowrap; 
    line-height: 1.2; 
}

.qr-main { 
    font-size: 1.2rem; 
    margin: 0; 
    line-height: 1; 
    white-space: nowrap; 
}

.qr-code img { 
    width: 100px; 
    height: auto; 
}
/* 【お問い合わせ】ここまで */


/* ============================
   セクションごとの背景と装飾
============================ */

/* システム紹介セクション */
.system-intro-section {
    position: relative; 
    padding: 0 10px 50px 10px;
    background: linear-gradient(to right, #009fbf 0%, #a8dbf8 100%); 
    z-index: 1; 
    min-height: 500px;
    overflow: hidden; 
}

.system-intro-section::after {
    content: ''; 
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; 
    background-image: url('../img/overview_img.png');
    background-repeat: no-repeat;
    background-position: 5% 90%; 
    background-size: 500px auto;
    background-attachment: fixed; 
    opacity: 0.2;
}

/* プライバシーポリシーセクション */
.privacy_policy {
    background-color: #f0f0f0;
    padding-bottom: 50px;
}

/* 利用規約セクション */
.terms_section {
    background-color: #ffffff; /* ベースの白 */
    background-image: linear-gradient(90deg, #f0f0f0 1px, transparent 1px),
                      linear-gradient(0deg, #f0f0f0 1px, transparent 1px);
    background-size: 20px 20px;
    padding: 0 0 60px 0;
}

/* 特定商取引法に基づく表記セクション */
.legal_notice {
    background-color: #f0f0f0;
    padding: 0 0 60px 0;
}

/* ============================
        【コピーライト】
============================ */
.p-copyright{
    color: #fff;
    font-size: 12px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: #009fbf;
    margin: 0;
}

/* ==============================================
   レスポンシブ調整 - スマートフォン (650px以下)
============================================== */
@media (max-width: 650px) {
    /* --- 全体/セクション共通 --- */
    .flyer-container {
        max-width: 100%;
        margin: 0;
        box-shadow: none;
    }
    .features-section, .details-section, .contact-section, 
    .app-download-section, .app-guide-section {
        max-width: 96%;
        margin: 30px auto;
    }

    /* --- タイトル --- */
    .modern-title {
        font-size: 30px !important;
        text-align: center !important; 
        margin: 0 auto !important;
        border-bottom: none !important; 
        padding-top: 75px !important;
        padding-bottom: 0 !important;
        position: relative;
    }
    .modern-title::after {
        content: "";
        display: block;
        width: 60px;
        height: 3px;
        margin: 10px auto 10px;
        background-color: #3b4363;
        border-radius: 2px;
    }
    .modern-title::before {
        content: none !important;
    }
    
    /* --- 特徴セクション --- */
    .feature-item .number {
        margin-left: 0px;
    }

    /* --- 詳細セクション --- */
    .detail-row {
        flex-direction: column;
        gap: 5px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .detail-label {
        align-self: stretch;
        min-width: unset;
        margin-right: 0px;
    }

    /* --- アプリダウンロードセクション --- */
    .app-download-section {
        flex-direction: column;
        gap: 10px;
    }
    .app-column {
        width: 100%;
        box-sizing: border-box;
    }
    
    /* --- アプリ操作説明セクション --- */
    .user-screen{
        width: 250px;
    }
    .guide-inner-box {
        flex-direction: column; 
        padding: 50px;
        border: none; 
    }
    .guide-left{
        padding-bottom: 10px;
    }
    .guide-right {
        padding: 10px 0;
    }
    .image-text-wrapper {
        flex-direction: row;
        align-items: center;
        max-width: 100%;
    }
    .app-screen,
    .guide-right .app-screen {
        margin: 10px auto;
    }
    .guide-left {
        margin: 0px auto;
    }    
    .guide-left p {
        text-align: left;
        max-width: 100%;
    }
    
    /* --- プライバシーポリシー、利用規約 --- */
    .r-body { 
    width: 90%;
    text-align: left;
    margin: 0 auto 20px auto;
    }

    /* --- 特定商取引法 --- */
    .legal-table {
        font-size: 14px;
        display: block;
        border: 0px;
    }
    .legal-table tr {
        display: flex;
        flex-direction: column;
        margin-bottom: 10px;
        border: 1px solid #ddd;
    }
    .legal-header, .legal-data {
        width: 100%;
        padding: 8px 15px;
        border: none;
        box-sizing: border-box;
    }
    .legal-header {
        background-color: #f7f7f7;
        color: #333;
        border-bottom: 1px solid #ddd;
    }

    /* --- お問い合わせセクション --- */
    .contact-section {
        flex-direction: column;
        text-align: center;
    }
    .contact-left {
        padding-right: 0;
        margin-bottom: 20px;
    }
    .contact-right {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 550px) {
    .guide-inner-box {
        padding: 40px 25px;
    }
    .user-screen{
        width: 170px;
    }
}

