/*
Theme Name: Alpine Tour
Theme URI: https://example.com/
Author:  Alpine Tour
Author URI: 
Description: Alpine Tour
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my-original-theme
*/

/* post */
.post-mv {
    height: 524px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 0 0;
    /*margin-bottom: 14%;*/
}

.mv-text-contents {
    max-width: 500px;
    height: -webkit-fill-available;
    width: -webkit-fill-available;
    background-color: #00409D;
    margin: auto;
    color: #fff;
    padding: 3% 20px 6%;
    display: grid;
    text-align: center;
    margin: 0 auto;
    align-items: normal;
}

h2.mv-title {
    font-size: 28px;
    font-family: serif;
    font-weight: 500;
}

.mv-text-contents img {
    margin: auto;
}


/*slider↓*/
.slider-container {
    position: relative;
    width: 100%;
    /*display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;*/
    z-index: 900;
    margin-top: -80px;
}

.slider .slick-center {
    transform: scale(1);
    z-index: 2;
    margin: 0 40px;
}

.slider {
    width: 100%;
}

.slider-img {
    transition: all 0.4s ease;
    transform: scale(0.8);
}


.slick-slide img {
    display: block;
    height: auto;
    width: 100%;
    box-shadow: 0px 0px 0px 7.5px #fff !important;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

/*
.slick-track {
    display: flex !important;
    justify-content: space-around !important;
}

.slick-list {
    position: relative;
    display: block;
    overflow: auto !important;
    margin: 0;
    padding: 2% 8% 3% !important;
}
.slick-list::-webkit-scrollbar {
    display: none;
}


.slick-initialized .slick-slide {
    display: block;
    box-shadow: 0px 10px 10px #a6a6a6;
}
*/


.tour-features-contents {
    max-width: 1200px;
}

.post-top-box {
    max-width: 1200px;
    padding: 20px;
    margin: auto;
}

.post-top-text p {
    margin: 3rem auto;
    text-align: center;
    color: #00409D;
    font-size: 18px;
    font-family: serif;
    line-height: 34px;
    width: 80%;
}

.post-flex-box {
    display: flex;
    margin: 2rem auto;
    justify-content: space-between;
}

.post-flex-box-left,
.post-flex-box-right {
    width: 47%;
}

.post-flex-box-left img,
.post-flex-box-right img {
    margin: auto;
    display: block;
    width: 76%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    position: relative;
    top: 50px;
}

.post-flex-box-text {
    border: 1px solid #00409D;
    padding: 5rem 1rem 1.5rem;
}

/*
.slick-track {
    display: flex!important;
    justify-content: space-around!important;
}
*/
.post-flex-box-text h3,
.post-flex-box-text p {
    width: 80%;
    margin: auto;
    margin-bottom: 1rem;
}

.post-flex-box-title {
    margin-bottom: 1rem;
    color: #00409D;
    font-size: 24px;
}

.post-flex-box-text p {
    font-size: 14px;
}

.tour-features {
    background: #F2F2F2;
    margin: 4rem 0;
}

.tour-features-contents {
    max-width: 1200px;
    padding: 0 20px 0 80px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
    position: relative;
    bottom: 45px;
}

.tour-features-contents-right {
    width: 58%;
}

.tour-features-contents-right img {
    margin-bottom: 2rem;
}

.tour-features-contents-right p {
    font-size: 14px;
    line-height: 24px;
}

/* japan */
section.main-content.post-tab-section {
    padding-left: 20px;
    padding-right: 20px;
}

.post-tabs {
    display: flex;
    max-width: 1200px;
    margin: auto;
    gap: 1rem;
    border-bottom: 1px solid #00409D;
}

.post-tab-btn {
    flex: 1;
    padding: 10px;
    border: none;
    background-color: #E6E6E6;
    cursor: pointer;
    font-size: 26px;
    max-width: 380px;
    font-weight: 600;
    border-radius: 20px 0 0 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #00409D;
}

.post-tab-btn.active {
    background-color: #00409D;
    color: #fff;
    /*max-width: 650px;*/
}

.post-tab-contents {
    background: #fff;
}

.post-tab-content {
    display: none;
}

.post-tab-content.active {
    display: block;
}

.post-tab-contents {
    background: #fff;
    max-width: 1200px;
    margin: auto;
}

.post-tab-inner-content {
    padding: 2rem 0;
}

li.About-item h3 {
    color: #00409D;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

li.About-item h3 span img {
    display: flex;
}

p.About-item-text {
    display: flex;
    justify-content: flex-start;
    gap: 22px;
    align-items: center;
}

span.About-item-left {
    background-color: #E6E6E6;
    color: #00409D;
    width: 185px;
    min-width: 185px;
    padding: 5px 7.5px;
    text-align: center;
    margin: 0.5rem 0;
    font-weight: 500;
}

strong.xl-text {
    font-size: 22px;
}

li.About-item {
    border-bottom: 1px solid #E6E6E6;
    padding: 1.5rem 0;
    margin-bottom: 0;
}

li.About-item:last-child {
    border-bottom: 0px solid #E6E6E6;
}

p.caution {
    margin: 2rem 0;
    font-size: 14px;
}

.About-the-tour-bottom,
.leader-box {
    display: flex;
    justify-content: space-between;
}

.leader-box-contents {
    width: 67%;
    justify-content: center;
    background: #f2f2f2;
    border-radius: 20px;
    position: relative;
}

.leader-box-contents img {
    margin: auto;
    display: block;
}

.leader-box {
    width: -webkit-fill-available;
    justify-content: flex-start;
    gap: 0.5rem;
    align-items: center;
    padding: 2rem;
}

.leader-img {
    padding: 2rem;
}

.leader-img img {
    width: 85%;
}

.about-title-img {
    position: absolute;
    width: -webkit-fill-available;
    top: -25px;
}

.leader-img {
    padding: 2rem 0;
    width: 25%;
}

.leader-text-box {
    color: #00409D;
    width: -webkit-fill-available;
    padding-right: 2rem;
    padding-top: 1rem;
}

p.position-name {
    font-weight: bold;
}

p.leader-name {
    font-size: 24px;
    font-weight: bold;
}

p.leader-name-en {
    font-size: 12px;
    font-weight: 500;
}

p.leader-text {
    font-weight: 500;
    color: #333;
    margin: 1rem 0;
    line-height: 30px;
}

a.leader-link-text {
    color: #333;
    display: flex;
    justify-content: right;
    gap: 15px;
    text-decoration: none;
    align-items: center;
    font-size: 14px;
}

a.leader-link-text span img {
    display: flex;
    transform: translateY(2px);
}

a.booking-btn {
    display: flex;
    background-color: #EA5532;
    color: #fff;
    align-items: center;
    gap: 40px;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    width: 265px;
    justify-content: center;
    height: 114px;
    border-radius: 10px;
    background-image: url(/atsmgr/wp-content/uploads/2025/08/arrow-btn.png);
    background-repeat: no-repeat;
    background-position-x: 92%;
    background-position-y: center;
    margin: 0.75rem 0;
}

@media screen and (min-width:768px) {
    a.booking-btn {
        width: 100%;
        max-width:450px;
    }
}

a.request-documents-btn {
    display: flex;
    background-color: #fff;
    color: #00409D;
    align-items: center;
    gap: 40px;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    width: 259px;
    justify-content: center;
    height: 53px;
    border-radius: 10px;
    border: 3px solid;
    background-image: url(https://www.alpine-tour.com/atsmgr/wp-content/uploads/2025/08/arrow-btn-b.png);
    background-repeat: no-repeat;
    background-position-x: 92%;
    background-position-y: center;
    margin: 0.75rem 0;
    display: none;
}

.post-contact-box {
    display: inline-block;
    align-content: center;
    display: flex;
    justify-content: center;
    width: 100%;
}

/* 日程表↓ */
table.schedule {
    border-collapse: collapse;
    width: 100%;
    background: #fff;
    border-spacing: 3px !important;
}

table.schedule th,
table.schedule td {
    padding: 10px;
    vertical-align: middle;
}

.flex-item {
    display: flex;
    align-items: center;
    position: relative;
}

.flex-item::after {
    content: "";
    position: absolute;
    bottom: 0 !important;
    left: 10px;
    width: calc(100% - 10px);
    border-bottom: 1px solid #00409D;
}

.schedule-left {
    width: 25%;
    padding: 20px 20px 20px 10px;
}

.blue-box {
    text-align: center;
    display: block;
    color: #00409D;
    font-weight: bold;
    border: 1px solid;
    padding: 0.2rem;
    border-radius: 5px;
    justify-content: center;
}

.orange-box {
    background-color: #EA5532;
    display: block;
    color: #fff;
    font-weight: bold;
    border: 1px solid #EA5532;
    padding: 0.2rem;
    border-radius: 5px;
    justify-content: center;

}

.schedule-left ul li p {
    font-size: 16px;
    text-align: center;
    width: -webkit-fill-available;
}


.schedule-left p {
    font-weight: bold;
}

.schedule-right {
    width: -webkit-fill-available;
    padding: 0 1rem;
    padding-bottom: 3rem;
    position: relative;
}

.schedule-right.no-pad {
    padding-bottom: 0;
}

th.table-dec {
    background: #00409D !important;
    color: #fff !important;
    font-size: 18px !important;
    border-bottom: 1px solid #fff;
}

td.day {
    background: #00409D;
    text-align: center;
    font-weight: bold;
    width: 60px;
    color: #fff;
    font-size: 20px;
    border-bottom: 1px solid #fff !important;
}

hr.table-bar {
    height: -webkit-fill-available;
    border-left: 1px solid #00409D;
}

tr.bg-bl {
    background: #F4F9FF;
    position: relative;
}

table.schedule td {
    padding: 10px;
    vertical-align: middle;
    position: relative;
}

table.schedule th {
    background: #F4F9FF;
    color: #00409D;
    text-align: center;
    font-weight: bold;
    position: relative;
    font-size: 20px;
}

.schedule-left p strong {
    font-size: 20px;
}

.schedule-left p {
    font-size: 18px;
    font-weight: bold;
}

.schedule-box-flex {
    width: fit-content;
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
    margin-left: auto;
    position: absolute;
    right: 0;
    bottom: 0;
}

p.caution.mg {
    margin: 0.5rem;
}

.post-schedule-box {
    margin: 3rem auto;
    text-align: center;
}

a.booking-btn.schedule-tab,
a.request-documents-btn.schedule-tab {
    width: 50%;
    margin: 1.5rem auto;
    min-width: 320px;
}

img.inner-icon {
    width: 18px;
    margin: 0 10px;
    text-align: center;
    transform: translateY(2px);
}

img.inner-icon.large {
    width: 15px;
}

img.meal-icon {
    width: 20px;
    text-align: center;
    height: auto;
}

.schedule-icon p {
    display: flex;
    align-items: center;
    gap: 5px;
}

.schedule-icon {
    display: flex;
    align-items: center;
}

.schedule-right p {
    line-height: 26px;
}

.schedule-place p {
    display: flex;
    align-items: center;
    gap: 5px;
}

span.h-mark {
    display: flex;
}

.blue-text {
    color: #00409D;
    font-weight: 500;
}

.green-text {
    color: #02773A;
    font-weight: 500;
}


/* 日程表↑ */

.relation-tour-box {
    margin: 6rem auto 3rem;
    max-width: 1400px;
    padding: 0 20px;
}

h2.post-page-relation {
    background: #E6E6E6;
    color: #4D4D4D;
    font-size: 30px;
    width: -webkit-fill-available;
    max-width: 610px;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    padding-left: 100px;
    padding-right: 90px;
}

.relation-tour {
    max-width: 1200px;
    margin: auto;
}

.relation-tour ul {
    margin: 3rem 0;
}

.relation-tour ul li {
    width: 360px;
}

ul.relation-tour-list,
ul.relation-post-list {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.relation-tour-card img {
    width: -webkit-fill-available;
    aspect-ratio: 5 / 4;
    height: auto;
}

p.remaining-seats {
    color: #EA5532;
    font-size: 14px;
    font-weight: bold;
    margin: 1.25rem 0 0.5rem;
    border: 2px solid;
    width: fit-content;
    padding: 6px 26px;
    border-radius: 7px;
}

.relation-tour-card-textbox h3 {
    font-size: 20px;
    color: #00409D;
}

p.relation-tour-card-text {
    margin: 0.25rem 0;
}

.relation-tour-dp p span {
    background-color: #E6E6E6;
    color: #00409D;
    font-weight: 600;
    padding: 4px 0;
    width: 114px;
    display: inline-block;
    margin: 0.25rem 0.5rem 0.25rem 0rem;
    text-align: center;
}

.relation-post {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 60px;
    border: 1px solid #00409D;
}

li.relation-post-card {
    width: 27.5%;
}

li.relation-post-card img {
    width: -webkit-fill-available;
}

li.relation-post-card h3 {
    font-size: 20px;
    margin: 1rem 0 0.75rem;
    color: #00409D;
}

br.post-sp-only {
    display: block;
}

img.walking_time-icon,
img.overnight_altitude-icon {
    width: 180px;
    height: auto;
    display: block;
}


.schedule-left ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.5rem 0;
}


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

    .post-mv {
        /*margin-bottom: 24rem;*/
        height: 400px;
    }

    .slider-container {
        margin-top: -20px;
    }

    p.post-top-text {
        width: -webkit-fill-available;
        font-size: 16px;
        line-height: 28px;
        margin: 1rem 0;
    }

    .slider {
        width: 98%;
    }

    h2.mv-title {
        font-size: 22px;
    }


    .post-flex-box {
        display: block;
    }

    .post-flex-box-left,
    .post-flex-box-right {
        width: 100%;
    }

    .tour-features-contents {
        display: block;
        width: -webkit-fill-available;
        padding: 20px;
    }

    .tour-features-contents img {
        width: -webkit-fill-available;
    }

    .tour-features-contents-right {
        margin-top: 2rem;
        width: -webkit-fill-available;
    }

    .tour-features-contents-right img {
        width: auto;
    }

    .post-tab-btn {
        font-size: 20px;
    }

    .post-flex-box-title {
        font-size: 20px;
    }

    li.About-item h3 {
        font-size: 20px;
    }

    strong.xl-text {
        font-size: 19px;
    }

    span.About-item-left {
        width: -webkit-fill-available;
        padding: 5px;

    }

    p.About-item-text {
        gap: 10px;
        flex-wrap: wrap;
        margin-bottom: 1rem;
    }

    .About-the-tour-bottom {
        display: block;
    }

    .leader-box-contents {
        width: -webkit-fill-available;
    }

    .leader-box {
        padding: 1rem;
        display: block;
    }

    .about-title-img img {
        width: auto;
    }

    .post-contact-box,
    a.booking-btn,
    a.request-documents-btn {
        width: -webkit-fill-available;
    }

    .relation-tour-box {
        margin: 2rem 0;
        padding: 0;
    }

    h2.post-page-relation {
        padding: 1rem;
        text-align: center;
        font-size: 24px;
    }

    .relation-tour ul li {
        width: -webkit-fill-available;
    }

    li.relation-post-card {
        width: -webkit-fill-available;
    }

    .relation-post {
        margin: 2rem auto;
        padding: 15px;
    }

    .post-flex-box-text h3,
    .post-flex-box-text p {
        width: 100%;
    }

    ul.relation-post-list {
        display: block;
    }

    i.relation-post-card {
        width: min-content;
    }

    .leader-text-box {
        padding: 10px;
    }

    .leader-img {
        width: -webkit-fill-available;
        margin: auto;
    }

    table.schedule th {
        font-size: 18px;
    }


    .schedule-left p strong {
        font-size: 18px;
        font-weight: 600;
    }

    div#Schedule {
        width: -webkit-fill-available;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        position: relative;
    }

    table.schedule {
        width: 100%;
        min-width: 767px;
        border-collapse: collapse;
    }


    #Schedule::-webkit-scrollbar {
        height: 8px;
    }

    #Schedule::-webkit-scrollbar-track {
        background: #f0f0f0;
        border-radius: 4px;
    }

    #Schedule::-webkit-scrollbar-thumb {
        background-color: #00409D;
        border-radius: 4px;
        border: 2px solid #f0f0f0;
    }

    #Schedule::-webkit-scrollbar-thumb:hover {
        background-color: #002b6c;
    }

    #Schedule {
        scrollbar-width: thin;
        scrollbar-color: #00409D #f0f0f0;
    }


    td.day {
        width: 40px;
        font-size: 18px;
    }

    .schedule-right {
        padding-right: 0rem;
    }

    a.booking-btn.schedule-tab,
    a.request-documents-btn.schedule-tab {
        width: -webkit-fill-available;
    }

    br.post-sp-only {
        display: none;
    }

}

/*
@media screen and (max-width: 600px) {

    .post-mv {
        margin-bottom: 18rem;
    }
}

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

    .post-mv {
        margin-bottom: 14rem;
    }
}
*/
/* news post */
.news-post-about {
    border-top: 1px solid #00409D;
    border-bottom: 1px solid #00409D;
    max-width: 1200px;
    padding: 30px 0;
    margin: auto;
    margin-bottom: 3rem;
}

.news-post-box {
    padding: 0 20px;
}

p.news-status {
    color: #00409D;
    font-weight: 500;
    border: 1px solid;
    width: fit-content;
    padding: 1px 29px;
    margin: 0 0 1rem;
}

p.news-day {
    font-size: 20px;
    font-weight: bold;
    color: #00409D;
    margin: 1rem 0;
}

h2.news-post-title {
    color: #4D4D4D;
    margin: 1rem 0 0;
}

.news-post-title {
    word-break: break-word;
    white-space: normal;
}

p.news-textarea {
    color: #4D4D4D;
}

img.news-thumbnail {
    max-width: 700px;
    margin: auto;
    display: block;
    aspect-ratio: 7 / 5;
    object-fit: cover;
    margin-bottom: 3rem;
}

.news-main-text {
    max-width: 1160px;
    margin: auto;
    padding: 20px;
}

.news-main-text p {
    background-color: #f5f5f5;
    padding: 20px;
}

a.news-archive-btn {
    color: #00409D;
    border: 1px solid;
    width: -webkit-fill-available;
    display: flex;
    margin: 3rem auto 4rem;
    font-weight: bold;
    padding: 1rem 2rem;
    max-width: 317px;
    gap: 10px;
    justify-content: space-between;
    text-decoration: none;
}

.news-list-link {
    padding: 0 20px;
}

a.news-archive-btn span {
    display: flex;
    align-items: center;
}


@media screen and (max-width: 768px) {}

/*20251117追加*/
.tour-features-contents img {
    max-width: 400px;
    margin: 0;
}

.tour-summary {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tour-summary .img {
    background: #fff;
    padding: 5px;
    border-radius: 8px;
}

.tour-code {
    padding: 8px;
    border: 1px solid #fff;
    color: #fff;
}

@media screen and (min-width:768px) {
    .tour-summary {
        flex-direction: row;
    }
}