@charset "UTF-8";

/* =========================================
   1. ベース設定 (全ページ共通・Sticky Footer対応)
   ========================================= */
html {
    height: 100%;
}

body {
    font-family: "Meiryo", "メイリオ", "sans-serif", "system-ui";
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    height: 100%;
    color: #333;
}

#main_container {
    width: 100%;
    min-height: 100vh;
    margin: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
}

a {
    color: #333;
    text-decoration: none;
    transition: 0.3s;
}
a:hover {
    opacity: 0.7;
}

/* =========================================
   2. ヘッダー関連 (全ページ共通)
   ========================================= */
#header {
    background: repeating-linear-gradient(135deg, #FF4678, #FF4678 20px, #ff628c 20px, #ff628c 40px);
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
}

#header h1 {
    margin: 0;
}

.header_inner {
    width: 80%;
    max-width: 800px;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    position: relative;
}

#logo {
    width: 150px;
    height: auto;
    margin-left: 0;
    display: block;
}

/* --- ハンバーガーメニュー --- */
.menu-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 10003;
    background-color: #ffffff;
    border: 2px solid #FF4678;
    border-radius: 50%;
    cursor: pointer;
}

.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #FF4678;
    position: absolute;
}

.menu-btn span:before { bottom: 8px; }
.menu-btn span:after { top: 8px; }

#menu-btn-check:checked ~ .menu-btn span { background-color: rgba(255, 255, 255, 0); }
#menu-btn-check:checked ~ .menu-btn span::before { bottom: 0; transform: rotate(45deg); }
#menu-btn-check:checked ~ .menu-btn span::after { top: 0; transform: rotate(-45deg); }

.menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;
    z-index: 10002;
    background-color: #FF4678;
    transition: all 0.5s;
}

.menu-content ul { padding: 70px 10px 0; }
.menu-content ul li { border-bottom: solid 1px #ffffff; list-style: none; }
.menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    color: #ffffff;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
}
.menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
}
#menu-btn-check:checked ~ .menu-content { left: 50%; }
input[type=checkbox] { display: none; }


/* =========================================
   3. 共通レイアウトコンテナ
   ========================================= */
#slider_container,
#topics_header,
#topics_container,
#topics_list_container,
#sns_container,
.info_section_container,
#line_reservation_container,
.permission,
#contact_container {
    width: 80%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

#slider_container { margin-top: 30px; margin-bottom: 70px; position: relative; z-index: 1; }
#topics_header { margin-top: 40px; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; }
#topics_container { margin-bottom: 50px; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 30px; }
#sns_container { margin-top: 50px; text-align: center; }
.info_section_container { margin-top: 50px; margin-bottom: 50px; display: flex; flex-direction: column; gap: 30px; }
#line_reservation_container { margin-top: 40px; margin-bottom: 40px; text-align: center; }
.permission { margin-top: 50px; margin-bottom: 50px; }
#contact_container { margin-top: 100px; margin-bottom: 100px; text-align: center; }


/* =========================================
   4. トップページ用スタイル
   ========================================= */
.slider { width: 100%; height: auto; margin: 0; padding: 0; }
.slider img { width: 100%; height: auto; display: block; border-radius: 8px; }

.bx-wrapper {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    margin-bottom: 0 !important;
}
.bx-wrapper .bx-pager { bottom: -30px !important; padding-top: 10px !important; }
.bx-wrapper .bx-pager.bx-default-pager a { transform: scale(0.7); margin: 0 2px !important; }
.bx-wrapper .bx-pager.bx-default-pager a.active { background: #ff628c !important; }

#icon_topics { width: 40px; height: auto; margin-right: 15px; }
#topics_title { font-size: 28px; font-weight: bold; color: #333; }

/* トピックスカード */
.topics {
    width: calc(50% - 15px);
    max-width: 100%;
    background-color: #ffffff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.topics:hover { transform: translateY(-5px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12); }

.topics > a {
    display: flex;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.topics img.topics_img {
    width: 150px;
    height: 100%;
    object-fit: cover;
    display: block;
    flex-shrink: 0; 
}

.tpc_tex { flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 15px; }
.topics-header { display: flex; align-items: baseline; }
.topics-title { font-size: 16px; font-weight: bold; color: #333; line-height: 1.4; margin-left: 10px; }
.topics-date { font-size: 12px; color: #888; text-align: right; margin-top: 10px; }

.tag { color: #fff; font-size: 11px; font-weight: bold; padding: 3px 8px; border-radius: 4px; white-space: nowrap; }
.tag-app { background-color: #E91E63; }
.tag-charter { background-color: #03A9F4; }

#topics_list_container { text-align: left; }
#topics_list_btn {
    display: inline-block;
    background-color: #FF4678;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    text-align: center;
}
#topics_list_btn:hover { background-color: #e03f6b; }


/* =========================================
   5. サブページ用スタイル (チャーター・詳細)
   ========================================= */
.charterPv { width: 100%; overflow: hidden; background: #000; }
.charterPv video { width: 100%; height: auto; display: block; max-width: 1000px; margin: 0 auto; }

.info_section {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    box-sizing: border-box;
}

.section_title {
    display: inline-block;
    font-size: 28px;
    font-weight: bold;
    color: #FF4678;
    text-align: left;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    border-bottom: none;
}
.section_title::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background-color: #FF4678;
    position: absolute;
    bottom: 0;
    left: 0;
}

.line_button_css {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background-color: #00C300;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
    text-align: center;
}
.line_button_css:hover { background-color: #00a800; }
.line_button_css .fab { margin-right: 10px; }

.price_list h3 { font-size: 20px; color: #333; margin-top: 25px; margin-bottom: 10px; border-bottom: 1px dashed #ddd; padding-bottom: 5px; text-align: left; }
.price_list p { font-size: 18px; color: #555; line-height: 1.6; margin-bottom: 10px; text-align: left; }
.price { font-size: 22px; font-weight: bold; color: #FF4678; margin-left: 5px; }

.regulation_list { list-style: none; padding: 0; margin: 0; }
.regulation_list li { font-size: 16px; color: #555; line-height: 1.8; margin-bottom: 15px; position: relative; padding-left: 20px; text-align: left; }
.regulation_list li::before { content: "・"; color: #FF4678; position: absolute; left: 0; top: 0; }

.quattro_boat_info { text-align: left; margin-top: 20px; }
.quattro_boat_img { max-width: 100%; height: auto; border-radius: 8px; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); display: block; }
.quattro_boat_info p { font-size: 16px; color: #555; line-height: 1.6; margin-bottom: 10px; text-align: left; }

.google_map { margin-top: 20px; text-align: left; }
.google_map iframe { width: 100%; height: 400px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); margin-bottom: 15px; display: block; }
.google_map p { font-size: 16px; color: #555; text-align: left; }

.permission {
    text-align: center;
    padding: 30px;
    background-color: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 8px;
    box-sizing: border-box;
}
.permission h1 { font-size: 24px; color: #333; margin-bottom: 25px; }
.permission table { width: 100%; border-collapse: collapse; margin: 0 auto; text-align: left; background: #fff; }
.permission th, .permission td { border: 1px solid #ddd; padding: 12px; font-size: 15px; }
.permission th { background-color: #f0f0f0; width: 35%; font-weight: bold; color: #555; }


/* =========================================
   6. SNS & フッター
   ========================================= */
#sns_title { text-align: center; color: gray; font-size: 20px; font-weight: 500; margin-bottom: 30px; margin-top: 0; }
#sns_icon { display: flex; gap: 15px; justify-content: center; margin-bottom: 50px; }
.icon { display: inline-block; }

#footer {
    background: repeating-linear-gradient(135deg, #FF4678, #FF4678 20px, #ff628c 20px, #ff628c 40px);
    width: 100%;
    text-align: center;
    padding: 20px 0px;
    color: white;
    margin-top: auto;
}
#tes { font-size: 14px; margin: 0; }


/* =========================================
   7. レスポンシブ対応 (重要：768pxから縦並びに変更)
   ========================================= */

/* タブレット・小さいPC (1024px以下) */
@media screen and (max-width: 1024px) {
    .header_inner,
    #slider_container,
    #topics_container,
    #topics_list_container,
    #sns_container,
    .info_section_container,
    #line_reservation_container,
    .permission,
    #contact_container {
        width: 90%; 
    }
}

/* タブレット・スマホ共通 (768px以下) */
@media screen and (max-width: 768px) {
    .header_inner { width: 95%; }
    .menu-btn { width: 50px; height: 50px; }
    .menu-btn span, .menu-btn span:before, .menu-btn span:after { width: 20px; }

    /* --- トピックスの調整（ここで縦並びに切り替え） --- */
    #topics_container {
        flex-direction: column;
        align-items: center;
        padding: 0 10px;
        width: 95%;
    }

    /* カード枠の設定 */
    .topics { 
        width: 100%; 
        max-width: 400px;
        margin-bottom: 20px; /* カード間の余白 */
    }

    /* 画像とテキストを縦並びにする */
    .topics > a {
        flex-direction: column; 
    }

    /* 画像の高さを指定して表示を整える */
    .topics img.topics_img { 
        width: 100%; 
        height: 180px; /* 見やすい高さに固定 */
    }

    /* --- コンテンツ幅調整 --- */
    #slider_container,
    #topics_list_container,
    #sns_container,
    .info_section_container,
    #line_reservation_container,
    .permission,
    #contact_container {
        width: 95%;
        padding: 0 10px;
    }

    #topics_header { margin: 30px auto 15px auto; width: 95%; }
    #icon_topics { width: 30px; }
    #topics_title { font-size: 22px; }

    .permission th, .permission td { font-size: 13px; padding: 8px; }
    .permission th { width: 40%; }
}

/* スマホ専用の微調整 (500px以下) */
@media screen and (max-width: 500px) {
    #header { padding: 0; }
    .header_inner { padding: 5px 0; }
    #logo { width: 120px; }
    
    .menu-btn { right: 0; width: 45px; height: 45px; }
    .menu-content { left: 100%; }
    #menu-btn-check:checked ~ .menu-content { left: 0; }

    #topics_header { margin: 20px auto 10px auto; }
    #icon_topics { width: 25px; margin-right: 10px; }
    #topics_title { font-size: 20px; }
    
    #sns_title { font-size: 18px; margin: 20px; }
    
    .line_button_css { width: 100%; }
    .google_map iframe { height: 250px; }

    .permission th, .permission td { display: block; width: 100%; box-sizing: border-box; }
    .permission th { background: #eee; }
    
    #contact_container { margin-top: 50px; margin-bottom: 50px; }
    .contact_box { padding: 20px; }
    .page_title { font-size: 20px; margin-bottom: 20px; }
    .contact_link { font-size: 16px; }
}


/* =========================================
   8. お問い合わせページ
   ========================================= */
.page_title {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
    font-weight: bold;
}

.contact_box {
    background: #f8f8f8;
    padding: 40px;
    border-radius: 8px;
}

.contact_label {
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
}

.contact_link {
    font-size: 18px;
    margin-bottom: 30px;
}
.contact_link:last-child {
    margin-bottom: 0;
}

.contact_link a {
    color: #FF4678;
    text-decoration: none;
    font-weight: bold;
}