/* サブメニュー */
.main-navigation .menu ul li a::after {
    background: deepskyblue;
}

@media only screen and (max-width: 1900px) {
    .main-navigation .menu ul li a {
        font-size: 0.9rem;
    }
}

.main-navigation .menu ul li ul.sub-menu li a {
    background: rgba(30, 144, 255, 1.0);
    border-bottom: solid 1px #ccc;
}

.main-navigation .menu ul li ul.sub-menu li a:hover {
    background: rgba(30, 144, 255, 0.7);
}

/* Flash Story */
.exclusive-now {
    background-color: #dc143c !important;
}


/* クルーズ最新情報背景 */
.banner-trending-posts-wrapper .no-gutter-col {
    background-color: #ffffe0;
}

/*** 見出し下線＆Font Awesomeアイコン ***/
span.header-after::after {
    width: 100%;
}

/* クルーズデビューガイド */
.af-main-banner-featured-posts h2.widget-title span.header-after::after {
    background: none;
}

.af-main-banner-featured-posts h2.widget-title span.header-after {
    margin-top: 1rem;
    padding-left: 2.5rem;
    width: 100%;
    border-bottom: solid 3px #f99500;
}

.af-main-banner-featured-posts h2.widget-title span.header-after::before {
    background: none;
    font-family: "Font Awesome 5 Free";
    content: "\f11e";
    font-size: 2rem;
    font-weight: 900;
    top: -5px;
    left: 0;
}

/* 初めてのクルーズ */
#covernews_double_col_categorised_posts-3 h2.widget-title span.header-after::after {
    background: none;
}

#covernews_double_col_categorised_posts-3 h2.widget-title span.header-after {
    margin-top: 1rem;
    padding-left: 2.5rem;
    width: 100%;
    border-bottom: solid 3px #1e73be;
}

#covernews_double_col_categorised_posts-3 h2.widget-title span.header-after::before {
    background: none;
    font-family: "Font Awesome 5 Free";
    content: "\f4d8";
    font-size: 2rem;
    font-weight: 900;
    top: -10px;
    left: 0;
}

/* クルーズとSDGs */
#covernews_double_col_categorised_posts-5 h2.widget-title span.header-after::after {
    background: none;
}

#covernews_double_col_categorised_posts-5 h2.widget-title span.header-after {
    margin-top: 1rem;
    padding-left: 2.5rem;
    width: 100%;
    border-bottom: solid 3px #61c436;
}

#covernews_double_col_categorised_posts-5 h2.widget-title span.header-after::before {
    background: none;
    font-family: "Font Awesome 5 Free";
    content: "\f1b8";
    font-size: 2rem;
    font-weight: 900;
    top: -5px;
    left: 0;
}

/* World Report */
#covernews_double_col_categorised_posts-10 h2.widget-title span.header-after::after {
    background: none;
}

#covernews_double_col_categorised_posts-10 h2.widget-title span.header-after {
    margin-top: 1rem;
    padding-left: 2.5rem;
    width: 100%;
    border-bottom: solid 3px #dc143c;
}

#covernews_double_col_categorised_posts-10 h2.widget-title span.header-after::before {
    background: none;
    font-family: "Font Awesome 5 Free";
    content: "\f0ac";
    font-size: 2rem;
    font-weight: 900;
    top: -5px;
    left: 0;
}

/* クルーズに関わる人々 */
#block-131 h2.wp-block-heading::after {
    background: none;
}

#block-131 h2.wp-block-heading {
    margin-top: 1rem;
    padding-left: 2.5rem;
    width: 100%;
    border-bottom: solid 3px #a66bbe;
}

#block-131 h2.wp-block-heading::before {
    background: none;
    font-family: "Font Awesome 5 Free";
    content: "\f2bb";
    font-size: 2rem;
    font-weight: 900;
    top: -5px;
    left: 0;
}


/* インターン生紹介 */
#block-193 h2.wp-block-heading::after {
    background: none;
}

#block-193 h2.wp-block-heading {
    margin-top: 1rem;
    padding-left: 2.8rem;
    width: 100%;
    border-bottom: solid 3px #61c436;
}

#block-193 h2.wp-block-heading::before {
    background: none;
    font-family: "Font Awesome 5 Free";
    content: "\f0c0";
    font-size: 2rem;
    font-weight: 900;
    top: -5px;
    left: 0;
}
/* インターン生の枠・長さ揃え */
.blockspare-posts-block-post-single {
  align-self: stretch;
}

/* 最新情報 */
#block-217 summary {
    display: block;
    background-color: lightblue;
    padding: 0.5rem 1rem;
    font-weight: bold;
    font-size: 1.2rem;
    cursor: pointer;
}

#block-217 summary::before {
    font-family: "Font Awesome 5 Free";
    content: "\f09e";
    font-size: 1.5rem;
    font-weight: 900;
    top: 0;
    left: 0;
    margin-right: 0.5rem;
}

.blockspare-posts-block-post-single {
    background-color: rgba(135, 206, 250, 0.4) !important;
    margin-top: -0.5rem;
}

/* 大調査！全国旅行代理店バナー */
#block-124 .wp-block-cover p a {
    text-decoration: none !important;
    font-weight: bold;
    text-shadow: 3px 3px #fff;
}

/* フッター */
.primary-footer {
    background-image: url("https://fbun-1.info/cruiseworld/wp-content/uploads/2025/08/footer_img.png");
    background-size: cover;
}

/* 旅行代理店アーカイブページ */
#aft-inner-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
}

#aft-inner-row article {
    background-color: #ddd;
    margin: 5px;
    padding: 15px;
    width: 24%;
}

.agency_box {
    display: flex;
    flex-direction: column;
}

.agency_box img {
    max-width: 100%;
    margin: 0 auto 10px auto;
}

.agency_name {
    font-size: 1.1rem;
    font-weight: 800;
}

.agency_address {
    font-size: 0.9rem;
    line-height: 1.3rem;
}

.site_consul {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}

.branch_url {
    width: 48%;
}

a .branch_url {
    background-color: dodgerblue;
    text-align: center;
    padding: 10px 15px;
    border-radius: 10px;
}

.branch_url a,
.branch_url a:hover,
.branch_url a:active,
.branch_url a:visited {
    display: block;
    background-color: dodgerblue;
    text-align: center;
    padding: 10px 15px;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
}

.consul {
    width: 48%;
    background-color: navy;
    text-align: center;
    color: #fff;
    padding: 10px 15px;
    border-radius: 10px;
}

@media only screen and (max-width: 2160px) {

    .branch_url,
    .consul {
        width: auto;
    }
}

*:focus {
    outline: none !important;
}

@media only screen and (max-width: 640px) {

    /* 旅行代理店アーカイブページ */
    #aft-inner-row article {
        width: 100%;
    }

    .branch_url,
    .consul {
        width: 46%;
    }

    /* スマホメニュー */
    .main-menu ul li:last-child {
        margin-bottom: 20px;
    }

    .main-navigation .toggle-menu a:focus,
    .main-navigation .menu .menu-mobile li a button:focus {
        outline: none;
    }

    .main-navigation .menu .menu-mobile li a {
        padding-left: 1rem;
    }

    .main-navigation .menu .menu-mobile li .sub-menu {
        margin-left: 0;
    }

    .main-navigation .menu .menu-mobile li .sub-menu li a {
        margin-left: 0;
    }

    .menu-item a {
        background-color: midnightblue;
    }
}