@charset "utf-8";


.top_plan {
    padding-top: 500px;
    padding-bottom: 500px;
    background: url(../img/main_background.jpg) no-repeat center ;
    background-size: contain;
}

.top_plan h2 {
    font-size: 30px;
    text-align: center;
    /* letter-spacing: 0.2em; */
    margin-bottom: 100px;
}

.plan_box {
    width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 600px;
    gap: 100px; 
}

.plan_line {
    width: 300px;
    height: 600px;
    background-color: #fff;
    border-radius: 20px;
    position: relative;
}

.plan_line:hover {
    opacity: 0.7;
    transition: transform .2s;
    transform: scale(1.05);
}

.plan_line .point {
    position: absolute;
    top: 210px;
    left: 20px;
    color: #fff;
    padding: 2px 10px;
    background-color: rgb(36, 188, 248);
    border-radius: 20px;
}

.plan_line a {
    display: block;
    text-decoration: none;
    color: #000;
}

.plan_line p,.plan_line h3 {
    text-align: center;
}

.plan_img {
    width: 300px;
    height: 250px;
    border-radius: 20px 20px 0 0;
}

.text_box {
    margin: 20px 0;
    /* letter-spacing: 0.15em; */
}

.text_box h3 {
    font-size: 18px;
    line-height: 1.5em;
}

.text_box p {
    margin-top: 40px;
    line-height: 1.8em;
}

.price_line {
    margin-top: 30px;
    padding: 20px 0 30px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.price_line p {
    font-weight: bold;
    margin-top: 0;
    /* letter-spacing: 0.1em; */
}

.price_line img {
    width: 50px;
}

/* top_lineここまで */

.choice {
    padding-top: 200px;
    padding-bottom: 200px;
    position: relative;
}

.choice img {
    transform: rotate(-15deg);
    position: absolute;
    top: 20px;
    left: 250px;
}

.choice_box {
    width: 800px;
    margin: 0 auto;
    padding: 50px 100px;
    text-align: center;
    line-height: 6em;
    /* letter-spacing: 0.15em; */
    font-weight: bold;
    background-color: #f4e8c1;
    border-radius: 20px;
    border: 5px solid #ffb540;
}

.choice_box h2 {
    font-size: 30px;
    color: #2525ce;
}

.choice_box h3 {
    font-size: 24px;
    color: #489a84;
}

.choice_box p {
    font-size: 18px;
    line-height: 2em;
}

.top_map {
    margin-bottom: 150px;
}

.top_map h2 {
    text-align: center;
    font-size: 30px;
    font-weight: bold;
}

.text_flex {
    display: flex;
    justify-content: center;
    align-items: center;
}

.text_port {
    text-align: left;
    font-size: 18px;
    font-weight: bold;
    margin: 50px 50px 20px;
    line-height: 2em;
}

.port_logo {
    margin-right: 5px;
    width: 15px;
}

.map {
    text-align: center;
    margin: 50px 0;
}

.map img {
    border-radius: 20px;
    width: 1000px;
}

.top_map button {
    width: 300px;
    height: 50px;
    font-size: 20px;
    text-align: center;
    border-radius: 10px;
    color: #fff;
    margin: 0 auto;
    display: block;
    border: none;
    background-color: #479a84;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;;
    letter-spacing: 0.15em;
}

.top_map button:hover {
    opacity: 0.7;
    cursor: pointer;
}

.top_map .time{
    text-align: center;
    font-weight: bold;
    letter-spacing: 0.1em;
    font-size: 14px;
    margin: 5px 0;
}

@media screen and (max-width: 959px) {

    .top_plan {
    margin: 100px auto;
    background: none;
    padding: 0;
    background-color: #d0d8fd;
    padding: 50px 0 200px;
    border-radius: 40px;
    /* background-color: #d0d8fd; */
    
    }

    .top_plan h2 {
        font-size: 22px;
        text-align: center;
        margin: 0 auto 50px;
    }
  
    .plan_box {
        width: 95%;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr;
        /* grid-template-rows: 600px; */
        gap: 5%; 
        place-items: center;
    }

    .plan_line {
        width: 200px;
        height: 450px;
        box-shadow: 10px 10px 1px #666;
        /* background-color: #d0d8fd; */
    }

    .plan_line img {
        width: 200px;
        height: 150px;
    }

    .plan_line .point {
        position: absolute;
        top: 115px;
        left: 10px;
        color: #fff;
        padding: 2px 10px;
        background-color: rgb(36, 188, 248);
        border-radius: 20px;
        font-size: 14px;
    }

    .text_box {
        font-size: 14px;
    }

    .text_box h3 {
        font-size: 16px;
    }

    .text_box p {
        margin-top: 20px;
    }

    .price_line {
        height: 100px;
        margin-top: 0;
        padding: 0;
    }

    .price_line img {
        width: 30px;
    }

    /* ここまでプラン紹介 */

    .choice {
        padding: 0;
    }

    .choice_box {
        margin: 0 auto 100px;
        width: 80%;
        padding: 80px 30px 50px;
        line-height: 4em;
        position: relative;
    }

    .choice_box h2 {
        font-size: 22px;
    }

    .choice_box h3 {
        font-size: 16px;
    }

    .choice_box p {
        font-size: 14px;
    }

    .choice img {
        width: 300px;
        position: relative;
        top: 90px;
        left: 130px;
        z-index: 100;
    }

    /* ここまでchoiceコンテンツ */

    .top_map {
        margin-bottom: 100px;
    }

    .top_map h2 {
        font-size: 18px;
    }

    .text_flex {
        display: grid;
        grid-template-columns: 1fr;
        place-items: center;
    }

    .text_port {
        width: 299px;
        font-size: 14px;
        text-align: center;
        margin: 0 auto ;
    }

    .text_port:first-child {
        margin-top: 30px;
    }

    .text_port p {
        text-align: left;
        padding-top: 10px;
    }

    .map img {
        width: 80%;
    }

    .top_map button {
        width: 200px;
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {

    .top_plan {
        width: 95%;
        margin: 100px auto 0;
    }

    .top_plan h2 {
        font-size: 16px;
    }

    .plan_box {
        grid-template-columns: 1fr;
    }

    .none {
        display: none;
    }

    .plan_line {
        width: 250px;
    }

    .plan_line img:first-child  {
        width: 250px;
    }

    .choice_box {
        position: relative;
        margin-top: 100px;
        line-height: 3.5em;
        padding: 60px 20px 40px;
    }

    .choice_box h2 {
        font-size: 18px;
    }

    .choice_box h3 {
        color: rgb(245, 132, 2);
    }

    .choice_box p {
        display: none;
    }

    .choice img {
        width: 200px;
        position: absolute;
        top: -60px;
        left: 20px;
    }
}