@charset "utf-8";

:root {
    --c-pink: #e95389;
    --pink: #ea6180;
    --l-pink: #f399b6;
    --purple: #924898;
    --blue: #0062ac;
    --black: #001714;
    --white: #fff;
    --gray: #a0a0a0;
    --yellow: #fffbc7;

    --red: #E7211A;
    --red-deep: #B50033;
}

a:link{
    color:var(--black);
}
.w-1010{
    max-width: 1010px;
    margin: auto;
}

/***間隔調整***/
.m-t-1{
    margin-top: 1rem;
}
.m-t-2{
    margin-top: 2rem;
}
.m-b-1{
    margin-bottom: 1rem;
}
.m-t-0 {
    margin-top: 0;
}
.m-tb-1{
    margin-top:1rem;
    margin-bottom:1rem;
}
.m-tb-3{
    margin-top:3rem;
    margin-bottom:3rem;
}
.m-tb-4{
    margin-top:4rem;
    margin-bottom:4rem;
}
.m-w-1{
    margin-left:1rem;
    margin-right:1rem;
}
.m-w-2{
    margin-left:2rem;
    margin-right:2rem;
}
.m-r-1{
    margin-right:.5em;
    align-self: center;
}

/****揃え****/
.a-left{
    justify-content: start;
    text-align: left;
}
.a-center{
    text-align: center;
    margin:auto
}
.a-right{
    text-align: right;
}

/****文字****/
.note{
    /*font-size: .9em;*/
    font-size: .8em;
    font-weight: normal;
    margin-top: .5em;
}
.c-red{
    color: var(--red);
}

@media print, screen and (min-width: 768px){
    .sp-on{
        display: none;
    }
}
.pc-on{
    display: none;
}
@media print, screen and (min-width: 768px){
    .pc-on{
        display: block;
    }
}

/* keikyu-ha用 */
.keikyu-ha-bg{
    font-family: YakuHanJP, "Noto Sans JP", "メイリオ", "Meiryo", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Myriad Pro, Myriad, Arial, sans-serif;
    font-weight: 700;
    position: relative;
}
.keikyu-ha-bg::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #d1171a url(../img/keikyu-ha_bg.png) no-repeat center top;
    z-index: -1;
}

.catch-title-sub{
    text-align: center;
    width: 80%;
    margin: 0 auto;
    padding: 1.5em 0 1em 0;
}
.catch-title{
    background-image: linear-gradient(#ffffff, #dfdfe3);
    padding: 1.5em;
    position: relative;
}

.catch-title::before{
    position: absolute;
    content: "";
    left: 0;
    bottom: -20px;
    width: 100%;
    height: 40px;
    background: radial-gradient(
        ellipse at center,
        rgba(0,0,0,0.75) 0%,
        rgba(0,0,0,0.5) 40%,
        rgba(0,0,0,0) 75%
    );
    filter: blur(10px);
    z-index: -1;
}

@media print, screen and (min-width: 768px){
    .catch-title{
        padding: 2em;
    }
}


.cpmenu{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 2em 13.2em 2em 1em;
    
    background: url(../img/train.png) no-repeat right calc(50% + 20px);
    background-size: 200px;
}
.cpmenu li{
    list-style: none;
}
.cpmenu li a{
    padding: .52em 0;
    font-size: clamp(0.9em, 0.7em + 1.2vw, 1.8em);
    font-family: YakuHanJP, "Noto Sans JP", "メイリオ", "Meiryo", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Myriad Pro, Myriad, Arial, sans-serif;
    font-weight: 900;
    color: var(--red);
    text-decoration: none;
    text-align: center;
    display: block;
    background: url(../img/btn_bg.png) no-repeat center center;
    background-size: contain;
    line-height: 1.2;
    border-radius: 9px;
    filter: drop-shadow(0 6px 6px rgba(0, 0, 0, 0.25));
}
.cpmenu li a:hover{ 
    color: var(--black);
}
@media screen and (max-width: 320px) {
    .cpmenu{
        padding: 2em 10em 2em 1em;
        background: url(../img/train.png) no-repeat right calc(50% + 20px);
        background-size: 160px;
    }
    .cpmenu li a{
        padding: .4em 0;
    }
}

@media screen and (min-width: 768px){
    .cpmenu{
        padding:3em 18.5em 3em 1.5em;
        grid-template-columns: repeat(3, 1fr);
        gap: 1em;

        background: url(../img/train.png) no-repeat right calc(50% + 20px);
        background-size: 270px;
    }
}

@media print, screen and (min-width: 1024px){
    .cpmenu{
        padding:3em 22.5em 3em 0;
        grid-template-columns: repeat(3, 1fr);
        gap: 1em;

        background: url(../img/train.png) no-repeat right calc(50% + 30px);
        background-size: 360px;
    }
    .cpmenu li a{
        padding: .8em 0;
        border-radius: 16px;
    }
}

.unchin_wrap{
    padding: 0 1em;
}
.unchin_wrap_inner{
    background: var(--white);
    border-radius: 20px;
    margin-bottom: 3em;
    padding: 2rem 2rem 3.5rem 2rem;
}

.unchin-box{
    margin-bottom: 2em;
}
.unchin-box .copy{
    font-weight: 900;
    font-size: 1.8em;
    line-height: 1.35;
    text-align: center;
    margin-bottom: .5em;
}
.unchin-box .copy-sub{
    font-size: 1.1em;
    line-height: 1.5;
}

.accordion-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: .4em .6em .4em .4em;
    font-size: clamp(1.5em, 1.4em + 0.4vw, 1.8em);
    background: var(--white);
    border: none;
    font-weight: bold;
    line-height: 1.5;
    color: var(--red);
    cursor: pointer;
    font-family: YakuHanJP, "Noto Sans JP", "メイリオ", "Meiryo", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Myriad Pro, Myriad, Arial, sans-serif;
    font-weight: 900;
    border-bottom: 2px solid #9FA0A0;
}

.accordion-trigger .icon{
    position: relative;
}
.accordion-trigger .icon::before {
    position: absolute;
    top: 50%;
    right: 0px;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
    width: 24px;
    height: 24px;
    margin-top: -18px;
    border-top: 3px solid var(--red);
    border-right: 3px solid var(--red);
    content: "";
}
.accordion-trigger[aria-expanded="true"] .icon::before {
    transform: rotate(-45deg);
    margin-top: -3px;
}

.accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease-out;
    visibility: hidden;
    overflow: hidden;
}

.accordion-trigger[aria-expanded="true"] + .accordion-content {
    grid-template-rows: 1fr;
    visibility: visible;
}

.accordion-inner {
    min-height: 0;
    padding: 0;
}

.accordion.is-open .accordion-inner {
    padding: 1em;
}

.accordion-trigger[aria-expanded="true"] + .accordion-content .accordion-inner {
    padding: 1em 0; 
}
@media screen and (min-width: 768px){
    .unchin_wrap{
        padding: 0 1em;
    }
    .accordion-trigger {
        padding: .4em .6em .4em 1em;
    }
    .accordion-trigger[aria-expanded="true"] + .accordion-content .accordion-inner {
        padding: 1em; 
    }
}
@media print, screen and (min-width: 1024px){
    .unchin_wrap{
        padding: 0;
    }
}

/* アンカー先の要素 */
#area1, #area2, #area3, #area4, #area5, #area6 {
    /*scroll-margin-top: 0px;*/
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.unchin-wrap{
    padding: 1em 0 0;
}
.unchin-title{
    margin: 0;
    padding: 0 2.6em .5em 0;
    position: relative;
    width: 100%;
}
.unchin-title::after{
    position: absolute;
    content: "";
    top: 0;
    bottom: 0;
    right: 7px;
    margin: auto 0;
    background: url(../img/arrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    transform: rotate(90deg);
    width: 28px;
    height: 28px;
}
.unchin-wrap h3{
    margin: 0;
    width: 100%;
    font-size: 1.3em;
    font-weight: 900;
    line-height: 1.3;
}
.unchin-wrap h3 br{
    display: none;
}
@media print, screen and (min-width: 768px){
    .unchin-wrap{
        display: flex;
        align-items: center;
        align-items: stretch;
    }
    .unchin-title{
        width: 56%;
        border: 1px solid var(--black);
        border-right: none;
        padding: 0;
    }
    .unchin-wrap h3{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 85%;
        text-align: center;
    }
    .unchin-wrap h3 br{
        display: block;
    }
    .unchin-title::after{
        transform: rotate(0deg);
    }
}

.accordion h4{
    background: var(--red);
    color: var(--white);
    margin: 0;
    padding: .2em .4em;
    border-radius: 8px;
    text-align: center;
    font-weight: 900;
    font-size: 1.5em;
    line-height: 1.5;
}

.accordion table{
    border-collapse: collapse;
	border-spacing: 0;
    width: 100%; 
}
.accordion table tr th:first-of-type {
    width: 26%;
}
.accordion table tr th:last-of-type {
    width: 20%;
}
.accordion table tr td:last-of-type {
    text-align: right;
    color: var(--red);
}
.accordion th, .accordion td{
    line-height: 1.75;
    border: 1px solid var(--black);
    vertical-align:middle;
}
.accordion th{
    padding:0 0 0 1.2em;
    background: var(--gray);
    color: var(--white);
    border-right: 1px solid var(--black);
    border-bottom: none;
    font-weight: 500;
    letter-spacing: .8em;
    position: relative;
}
.accordion td{
    padding:0 1em;
    background:var(--white);
    text-align: center;
    font-size: 1.3em;
    font-weight: 900;
}

.accordion .dep-station{
    background: var(--red);
    color: var(--white);
    border: 1px solid var(--black);
    font-size: 1.2em;
    font-weight: 900;
    font-family: YakuHanJP, "Noto Sans JP", "メイリオ", "Meiryo", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Myriad Pro, Myriad, Arial, sans-serif;
    padding: 0 0 0 .4em;
    letter-spacing: 0.1em;
    line-height: 1.35;
}

/****フレックス****/
.flex{
    display: flex;
    flex-wrap: wrap;
    align-items:center;
    justify-content:center;
    gap: 2em;
    padding: 1em 0;
}
.flex .item-1{
    max-width: 80%;
}
.flex .item-1-2{
    max-width: 48%;
}
.flex .item-2{
    max-width: 100%;
}
.flex .item-2-2{
    max-width: 70%;
}

@media print, screen and (min-width: 768px){
    .flex .item-1{
        max-width: 30%;
    }
    .flex .item-1-2{
        max-width: 18%;
    }
    .flex .item-2{
        max-width: 65%;
    }
    .flex .item-2-2{
        max-width: 24%;
    }   
}

.kakomi{
    background: var(--yellow);
    border-radius: 20px;
    padding: 1.5em;
    border:1px solid var(--red);
}

.bn_area{
    padding: 0 1em;
}
.bn_area ul{
    padding: 3em 0;
    grid-template-columns: repeat(2, 1fr); 
    gap: 1.5em;
    display: grid;
}

@media screen and (min-width: 768px){
    .bn_area{
        padding: 0 1em;
    }
    .bn_area ul{
        grid-template-columns: repeat(4, 1fr); 
    }
}

@media print, screen and (min-width: 1024px){
    .bn_area{
        padding: 0;
    }
}