@charset "utf-8";

/*-------------------------------------------
  common
-------------------------------------------*/
* {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-family: "Roboto", serif;
    color: #262626;
    word-wrap: break-word;
}


.wrapper {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

li {
    list-style-type: none;
}

a {
    text-decoration: none;
    transition: all 0.5s;
    color: inherit;
}

a:hover {
    opacity: 0.7;
}

.section-title {
    font-size: 5.6rem;
    text-align: center;
    position: relative;
    font-weight: normal;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -33px;
    /* タイトルの下に配置 */
    height: 8px;
    width: 120px;
    background-image: url("../images/underline.png");
    background-size: cover;
}
.info {
    margin-top: 30px;
    padding: 40px 80px;
    background-color: #fff;
}
.info dl {
    display: flex;
    flex-wrap: wrap;
    font-size: 1.6rem;
}
 .info dt {
    width: 10%;
    margin-top: 16px;
    font-weight: bold;
}
 .info dd {
    width: 90%;
    margin-top: 16px;
    text-indent: -0.5em;
    padding-left: 0.5em;
}

.info dd::before {
    content: ':';
}
.info dd a {
    color: #0099ff;
    text-decoration: underline;
}
.info dd a[href^="tel:"] {
    color: inherit;
    text-decoration: none;
}
.common-btn {
    margin: 54px auto 0;
    width: 206px;
    height: 48px;
    background-color: #008ae6;
    border-radius: 8px;
    text-align: center;
    position: relative;
}

.common-btn::before {
    position: absolute;
    top: 8px;
    left: 12px;
    content: '';
    width: 32px;
    height: 32px;
    background-color: #fff;
    border-radius: 16px;
}

.common-btn a {
    color: #fff;
    font-size: 1.6rem;
    font-weight: bold;
    display: block;
    padding: 8px 12px;
    line-height: 32px;
}
.sp-active {
    display: none;
}
/*-------------------------------------------
  header
-------------------------------------------*/
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: #fff;
    padding-left: 80px;
    display: flex;
    height: 80px;
    justify-content: space-between;
    align-items: center;
}

.page-title {
    line-height: 1;
}

.page-title a {
    font-size: 2.6rem;
}

.nav-pc_item {
    display: flex;
    align-items: center;
}

.nav-pc_item li {
    margin-left: 60px;
}

.nav-pc_item li a {
    font-size: 1.8rem;
    font-weight: bold;
}

.nav-pc_item li.jp {
    background-color: #0099ff;
}

.nav-pc_item li.jp a {
    display: block;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    color: #fff;
}

/* SP用メニュー */
.hamburger {
    display: none;
    position: relative;
    width: 32px;
    height: 32px;
    margin-right: 20px;
    cursor: pointer;
}

.hamburger span {
    position: absolute;
    display: block;
    left: 4px;
    width: 24px;
    height: 2px;
    background-color: #0099ff;
    transition: 0.5s;
}

.hamburger span:nth-child(1) {
    top: 8px;
}

.hamburger span:nth-child(2) {
    top: 15px;
}

.hamburger span:nth-child(3) {
    top: 22px;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(-315deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(315deg);
}

.nav-sp_item {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #e5f5ff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
    transition: 0.5s;
    height: calc(100vh - 60px);
    overflow-y: scroll;
}

.nav-sp_item.active {
    opacity: 1;
    visibility: visible;
}

.nav-sp_item li {
    padding: 10px;
    font-size: 2rem;
    font-weight: 500;
}

.nav-sp_item .jp {
    background-color: #fff;
    width: 164px;
    text-align: center;
    color: #0099ff;
    padding: 0;
    height: 40px;
text-align: center;
}
.nav-sp_item .jp a {
    display: block;
    line-height: 40px;
}

/*-------------------------------------------
  mainvisual
-------------------------------------------*/
.mainvisual {
    position: relative;
    padding-top: 80px;
}
.mainvisual .mainvisual-inner {
    position: relative;
}
.mainvisual .mainvisual-inner>img {
    /* height: 880px; */
    width: 100%;
    object-fit: cover;
    object-position: center top;
    position: relative;
    z-index: -2;
}

.mainvisual-sp {
    display: none;
}

.mainvisual_text {
    margin-top: 67px;
    font-size: 2.4rem;
    text-align: center;
    line-height: 1.8;
    position: relative;
    z-index: 2;
    padding: 0 35px;
    width: 80%;
    margin: 0 auto;
}

.mainvisual::after {
    content: 'Welcome to Ginoza Village';
    display: block;
    margin-top: 32px;
    text-align: center;
    font-size: calc(100vw / 13);
    line-height: 1;
    color: #f7f7f7;
}

.map-img {
    position: absolute;
    object-fit: cover;
    top: 82%;
    right: 9.8%;
    z-index: 1;
    width: 25%;
}

.map-img-sp {
    display: none;
}

/*-------------------------------------------
  Ginoza spots
-------------------------------------------*/
.ginoza-spots {
    margin-top: 90px;
}

.ginoza-spots .items {
    position: relative;
    margin-top: 190px;
    background-size: cover;
}

.ginoza-spots .items::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    clip-path: polygon(0% 0%,
            100% 10%,
            100% 90%,
            0% 100%);
    z-index: -1;
}

/* .ginoza-spots .items:first-of-type::before {
    background-image: url('../images/bg-img1@2x.png');
} */

.ginoza-spots .items:nth-of-type(even)::before {
    clip-path: polygon(0% 10%,
            100% 0%,
            100% 100%,
            0% 90%);
}

/* .ginoza-spots .items:nth-of-type(2)::before {
    background-image: url('../images/bg-img2@2x.png');
}

.ginoza-spots .items:nth-of-type(3)::before {
    background-image: url('../images/bg-img3@2x.png');
} */

.ginoza-spots .flex {
    display: flex;
    gap: 40px;
}

.ginoza-spots .items:nth-child(odd) .flex {
    flex-direction: row-reverse;
}

.ginoza-spots .text {
    padding-top: 100px;
}

.ginoza-spots .text h3 {
    font-size: 4rem;
    font-weight: 300;
}

.ginoza-spots .text p {
    margin-top: 41px;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.8;
}

.ginoza-spots .img {
    flex-shrink: 0;
    width: 56%;
}

.ginoza-spots .img img {
    width: 680px;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    box-shadow: 2px 2px 10px rgba(50, 66, 77, 0.4);
}

.other-spots {
    margin-top: 82px;
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

.other-spots::before {
    content: 'Other spots';
    position: absolute;
    top: -42px;
    width: 146px;
    height: 42px;
    background-color: #0099ff;
    font-weight: 700;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
}

.other-spot {
    width: calc(100% / 3);

}

.other-spot img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 400 / 300;
}

.other-spot p {
    position: relative;
    margin-top: 12px;
    padding-left: 22px;
    padding-right: 20px;
    font-size: 1.6rem;
    font-weight: 700;
}

.other-spot p::before {
    position: absolute;
    content: '';
    width: 16px;
    height: 2px;
    left: 0;
    top: 9px;
    transform: translateY(-50%);
    background-color: #0099ff;
}

.other-spot p::after {
    position: absolute;
    content: '';
    width: 2px;
    height: 16px;
    left: 4px;
    top: 8px;
    transform: translateY(-50%);
    background-color: #0099ff;
}

.other-spot:nth-child(n + 4) {
    margin-top: 20px;
}

/*-------------------------------------------
  rent bicycles
-------------------------------------------*/
.rent-bicycles {
    margin-top: 197px;
    padding-bottom: 80px;
    background-image: url('../images/bg-img4@2x.png');
    background-size: cover;
}

.rent-bicycles .contents {
    margin-top: 97px;
}

.rent-bicycles p {
    font-size: 2rem;
    text-align: center;
    font-weight: 500;
    line-height: 2;
}

.rent-bicycles .gallery {
    margin-top: 64px;
    position: relative;
    padding-bottom: 36.33%;
}

.rent-bicycles .gallery .img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    box-shadow: 2px 2px 8px rgba(77, 77, 77, 0.3);
}

.rent-bicycles .gallery .img1 {
    max-width: 596px;
    top: 0;
    left: 0;
    width: 49.66%;
}

.rent-bicycles .gallery .img2 {
    position: absolute;
    max-width: 294px;
    top: 2.5%;
    left: 52%;
    width: 24.5%;
}

.rent-bicycles .gallery .img3 {
    position: absolute;
    max-width: 246px;
    right: 0;
    top: 14%;
    width: 20.5%;
}

.rent-bicycles .gallery .img4 {
    position: absolute;
    max-width: 378px;
    left: 23%;
    top: 48%;
    max-width: 378px;
    width: 31.5%;
}

.rent-bicycles .gallery .img5 {
    position: absolute;
    max-width: 378px;
    right: 0;
    bottom: 0;
    width: 31.5%;
}
.rent-bicycles .info dt {
    width: 15%;
}
.rent-bicycles .info dd {
    width: 85%;
}
/*-------------------------------------------
  News
-------------------------------------------*/
.news {
    background-color: #e5f5ff;
    padding: 120px 0;
}

.news .cards {
    display: flex;
    gap: 12px;
    margin-top: 120px;
}

.news .cards .card {
    width: calc((100% - 24px) / 3);
    display: flex;
}

.news .cards .card a {
    display: flex;
    flex-direction: column;

}
.news .cards .card-head {
    /* flex: 7; */
}

.news .cards .card-head img {
    height: 294px;
    width: 392px;
    object-fit: cover;
}

.news .card-body {
    background-color: #fff;
    padding: 12px 20px;
    font-weight: bold;
    font-size: 1.6rem;
    color: #262626;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* flex: 3; */

}

.news .card-body time {
    font-size: 1.4rem;
}

.news .card-body p {
    margin-top: 12px;
    margin-bottom: auto;
}
.no-news-message {
    font-size: 24px;
    margin: 0 auto;
}
.news .card-body .card-btn {
    display: inline-block;
    position: relative;
    margin-top: 33px;
    color: #0099ff;
    width: max-content;

}

.news .card-body .card-btn::before {
    content: '';
    background-color: #0099ff;
    position: absolute;
    width: 32px;
    height: 2px;
    top: 50%;
    right: -44px;
    transform: translateY(-50%);

}

.news .card-body .card-btn::after {
    content: '';
    background-color: #0099ff;
    position: absolute;
    width: 10px;
    height: 2px;
    right: -44px;
    top: 50%;
    transform-origin: right center;
    /* ← 回転の起点を右端に */
    transform: translateY(-50%) rotate(45deg);
}

.news .common-btn a::before {
    content: '';
    background-color: #0099ff;
    position: absolute;
    width: 20px;
    height: 2px;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
}

.news .common-btn a::after {
    content: '';
    background-color: #0099ff;
    position: absolute;
    width: 9px;
    height: 2px;
    left: 28px;
    top: 50%;
    transform-origin: right center;
    /* ← 回転の起点を右端に */
    transform: translateY(-50%) rotate(45deg);
}

/*-------------------------------------------
  Contact Us
-------------------------------------------*/
.contact {
    padding-top: 120px;
    font-size: 1.6rem;
    text-align: center;
}

.contact .contents {
    max-width: 910px;
    margin: 104px auto 0;
    padding: 0 20px;
}

.contact .contents p {
    font-weight: 500;
}

.contact .contents p:first-of-type {
    line-height: 1.8;
}

.contact .common-btn::after {
    position: absolute;
    top: 8px;
    left: 12px;
    content: '';
    width: 32px;
    height: 32px;
    background-image: url('../images/mail.svg');
    background-size: 20px 20px;
    background-position: center;

}

.contact .contents p:nth-of-type(2) {
    font-size: 2rem;
    margin-top: 40px;
    font-weight: 700;
}

.contact .contents p:nth-of-type(3) {
    font-size: 1.6rem;
    margin-top: 32px;
}

.contact .sp-active {
    display: none;
}

.contact .contact-tel {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 20px;
}

.contact .contact-tel a {
    font-size: 2.6rem;
    font-weight: 500;
    color: #008ae6;
}

.contact .contact-tel .contact-icon img {
    width: 16px;
    height: 21px;
}

.contact .contact-img img {
    width: 100%;
    object-fit: cover;
}

/*-------------------------------------------
  footer
------------------------------------- */
.footer {
    padding: 20px 0;
    text-align: center;
    font-size: 1.2rem;
}

/*-------------------------------------------
トップへ戻るボタン
-------------------------------------------*/
/*
右下に固定で配置
*/
.to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 64px;
    height: 64px;
    background-color: #fff;
    border: solid 1px #008ae6;
    display: flex;
    align-items: center;
    justify-content: center;

}
/*
  中の三角は疑似要素で作成
  */
.to-top::after {
    content: "";
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #008ae6;
    position: absolute;
}

@media screen and (max-width: 900px) {

    /*-------------------------------------------
    common
    -------------------------------------------*/
    .sp-active {
        display: block;
    }

    .pc-active {
        display: none;
    }

    /*-------------------------------------------
    header
    -------------------------------------------*/
    header {
        padding-left: 20px;
    }

    .nav-pc_item li {
        margin-left: 30px;
    }
}

@media screen and (max-width: 768px) {

    /*-------------------------------------------
    common
    -------------------------------------------*/
    .section-title {
        font-size: 2.8rem;
    }

    .section-title::after {
        bottom: -16px;
        height: 4px;
        width: 60px;
        background-image: url("../images/underline.png");
    }

    .common-btn {
        margin-top: 32px;
    }

    .info dl {
        flex-direction: column;
        font-size: 1.5rem;
    }

    .info dd::before {
        display: none;
    }

    .info dt {
        width: 100%;
        margin-top: 8px;
    }

    .info dd {
        width: 100%;
        margin-top: 3px;
        text-indent: 0;
        padding-left: 0;
    }

    /*-------------------------------------------
    header
    -------------------------------------------*/
    header {
        padding-left: 20px;
        display: flex;
        height: 60px;
    }

    .page-title a {
        font-size: 1.8rem;
    }

    .nav-pc_item {
        display: none;
    }


    .hamburger {
        display: block;
    }

    /*-------------------------------------------
    mainvisual
    -------------------------------------------*/
    .mainvisual {
        padding-top: 60px;
    }

    .mainvisual-pc {
        display: none;
    }

    .mainvisual-sp {
        display: block;
    }

    .mainvisual_text {
        margin-top: 40px;
        font-size: 1.6rem;
        padding: 0 20px;
    }

    .map-img {
        top: 89%;
        right: 6%;
        width: 40%;
    }

    .map-img-pc {
        display: none;
    }

    .map-img-sp {
        display: block;
    }

    .mainvisual_text {
        font-size: 1.6rem;
    }

    .mainvisual::after {
        font-size: 3rem;
    }

    /*-------------------------------------------
    Ginoza spots
    -------------------------------------------*/
    .ginoza-spots {
        margin-top: 45px;
    }

    .ginoza-spots .items {
        margin-top: 20%;
    }

    .ginoza-spots .wrapper {
        padding: 0;
    }

    .ginoza-spots .items::before {
        clip-path: polygon(0% 0%,
                100% 2%,
                100% 98%,
                0% 100%);
    }

    /* .ginoza-spots .items:first-of-type::before {
        background-image: url('../images/bg-img1-sp.png');
    } */

    .ginoza-spots .items:nth-of-type(even)::before {
        clip-path: polygon(0% 2%,
                100% 0%,
                100% 100%,
                0% 98%);
    }

    /* .ginoza-spots .items:nth-of-type(2)::before {
        background-image: url('../images/bg-img2-sp.png');
        background-position: 0 -40px;
    }

    .ginoza-spots .items:nth-of-type(3)::before {
        background-image: url('../images/bg-img3-sp.png');
    } */

    .ginoza-spots .flex {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .ginoza-spots .items:nth-child(odd) .flex {
        flex-direction: column-reverse;
    }

    .ginoza-spots .text {
        padding: 0 10px;
        text-align: center;
    }

    .ginoza-spots .text h3 {
        font-size: 2.6rem;
    }

    .ginoza-spots .text p {
        font-size: 1.5rem;
        margin-top: 32px;
    }

    .ginoza-spots .img {
        width: 85%;
        margin-left: auto;
        margin-top: -40px;
    }

    .ginoza-spots .img img {
        width: 100%;
        aspect-ratio: 320 / 180;
        object-fit: cover;
        display: block;
        box-shadow: 2px 2px 10px rgba(50, 66, 77, 0.4);
    }

    .ginoza-spots .items:nth-child(odd) .img {
        margin-left: 0;
        margin-right: auto;
    }

    .ginoza-spots .info {
        margin: 60px 25px 0;
        padding: 20px;
    }



    .ginoza-spots .info dd a[href^="tel:"] {
        color: #0099ff;
        text-decoration: underline;
    }


    .ginoza-spots .info dt:first-child,
    .ginoza-spots .info dd:first-child {
        margin-top: 0;
    }

    .other-spots {
        margin: 48px 25px 0;
        display: flex;
        flex-wrap: wrap;
        position: relative;
    }

    .other-spots::before {
        top: -28px;
        width: 102px;
        height: 28px;
        color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.5rem;
    }

    .other-spot {
        width: 100%;
        margin-top: 24px;
    }

    .other-spot img {
        width: 100%;
        aspect-ratio: 640 / 364;

    }

    .other-spot:first-child {
        margin-top: 0;
    }

    .other-spot p {
        margin-top: 9px;
        padding-right: 16px;
        font-size: 1.5rem;
    }

    /*-------------------------------------------
    rent bicycles
    -------------------------------------------*/
    .rent-bicycles {
        height: auto;
        margin-top: 60px;
        padding-bottom: 40px;
        background-image: url('../images/bg-img4-sp.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center bottom;
    }

    .rent-bicycles .contents {
        margin-top: 60px;
    }

    .rent-bicycles p {
        font-size: 1.5rem;
    }

    .rent-bicycles .wrapper {
        padding: 0 18px;
    }

    .rent-bicycles .gallery {
        margin-top: 64px;
        position: relative;

        padding-bottom: 92.6%;
    }

    .rent-bicycles .gallery .img img {
        width: 100%;
        height: 100%;
    }

    .rent-bicycles .gallery .img1 {

        width: 64.7%;
    }

    .rent-bicycles .gallery .img2 {
        position: absolute;
        max-width: 294px;
        top: 2.5%;
        left: auto;
        right: 0;
        width: 31.76%;
    }

    .rent-bicycles .gallery .img3 {
        position: absolute;
        max-width: 246px;
        right: 0;
        top: auto;
        bottom: 12.27%;
        width: 42.64%;
    }

    .rent-bicycles .gallery .img4 {
        position: absolute;
        max-width: 378px;
        left: 23%;
        top: 30%;
        max-width: 378px;
        width: 50.73%;
    }

    .rent-bicycles .gallery .img5 {
        position: absolute;
        max-width: 378px;
        right: auto;
        bottom: 0;
        left: 0;
        width: 52.94%;
    }

    .rent-bicycles .info dl {
        flex-direction: column;
        font-size: 1.6rem;
    }

    .rent-bicycles .info {
        margin-top: 23px;
        padding: 20px 15px;
        background-color: #fff;
    }

    .rent-bicycles .info dt {
        width: 100%;
    }

    .rent-bicycles .info dd {
        width: 100%;
        margin-top: 3px;
    }

    .rent-bicycles .info dt:first-child,
    .rent-bicycles .info dd:first-child {
        margin-top: 0;
    }

    /*-------------------------------------------
    News
    -------------------------------------------*/
    .news {
        padding: 40px 0;
    }

    .news .wrapper {
        padding: 0 18px;
    }

    .news .cards {
        flex-direction: column;
        gap: 4px;
        margin-top: 60px;
    }

    .news .cards .card {
        padding: 15px;
        display: block;
        background-color: #fff;
        width: 100%;
    }

    .news .cards .card a {
        flex-direction: row;
        justify-content: center;
        gap: 9px;
    }

    .news .cards .card-head {
        width: 37%;
        text-align: center;
        height: 100%;
        flex: auto;
    }

    .news .card-head {}

    .news .card-body {
        width: 50%;
        padding: 0;
        font-size: 1.4rem;
        flex: auto;
    }

    .news .cards .card-head img {
     width: 100%;
     height: 100%;
    }

    .news .card-body time {
        font-size: 1.2rem;

    }

    .news .card-body p {
        margin-top: 10px;

    }
    .no-news-message {
        font-size: 16px;
    }

    .news .card-body .card-btn {
        display: inline-block;
        position: relative;
        margin-top: 33px;
        color: #0099ff;
        width: max-content;

    }

    .news .card-body .card-btn {
        margin-top: 22px;

    }

    /*-------------------------------------------
    Contact Us
    -------------------------------------------*/
    .contact {
        padding-top: 40px;
        font-size: 1.5rem;
    }

    .contact .contents {
        margin: 65px auto 0;
    }

    .contact .wrapper {
        padding: 0 18px;
    }

    .contact .contents p:nth-of-type(2) {
        font-size: 1.5rem;
    }

    .contact .contents p:nth-of-type(3) {
        font-size: 1.5rem;
        margin-top: 12px;
        line-height: 1.4;
    }

    .contact .sp-active {
        display: block;
    }

    .contact .contact-tel {
        gap: 9px;
        margin-top: 10px;
    }

    .contact .contact-tel a {
        font-size: 2rem;
    }

    /*-------------------------------------------
    footer
    -------------------------------------------*/
    .footer {
        padding: 12px 0;
    }

    /*-------------------------------------------
トップへ戻るボタン
-------------------------------------------*/
    /*
右下に固定で配置
*/
    .to-top {
        width: 32px;
        height: 32px;
        right: 17px;
        bottom: 60px;
    }

    /*
  中の三角は疑似要素で作成
  */
    .to-top::after {
        content: "";
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-bottom: 4px solid #008ae6;
    }

}