/*
Theme Name: 1-column
*/
.wrapper {
    max-width: 1300px;
    margin: 0 auto;
}
/*　グリッド　*/
body, html {
    margin: 0;
    padding: 0;
}
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.shell {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.shell.reverse {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
}
.shell.nowrap-x {
    flex-wrap: nowrap;
}
.shell.left {
    justify-content: flex-start;
}
.shell.center, .shell.x-center {
    justify-content: center;
}
.shell.right {
    justify-content: flex-end;
}
.shell.fill, .shell.fill-x, .shell.split {
    justify-content: space-between;
}
.shell.equalize {
    justify-content: space-around;
}
.shell.top {
    align-items: flex-start;
}
.shell.middle, .shell.y-center {
    align-items: center;
}
.shell.baseline {
    align-items: baseline;
}
.shell.bottom {
    align-items: flex-end;
}
.shell > .grow-x {
    flex-grow: 1;
}
.stretch, .grow-y {
    align-self: stretch;
}
.solo, .full {
    width: 100%;
}
.duo, .half {
    width: 50%;
}
.trio, .one-third {
    width: calc(100% / 3);
}
.two-thirds {
    width: calc(100% / 3 * 2);
}
.quad, .quarter {
    width: 25%;
}
.three-quarters {
    width: 75%;
}
.penta, .twenty {
    width: 20%;
}
.thirty {
    width: 30%;
}
.forty {
    width: 40%;
}
.sixty {
    width: 60%;
}
.seventy {
    width: 70%;
}
.eighty {
    width: 80%;
}
.solo.gutter, .full.gutter {
    width: 98%;
    margin: 1em 1%;
}
.duo.gutter, .half.gutter {
    width: 48%;
    margin: 1em 1%;
}
.trio.gutter, .one-third.gutter {
    width: calc(94% / 3);
    margin: 1em 1%;
}
.two-thirds.gutter {
    width: calc(97% / 3 * 2);
    margin: 1em 1%;
}
.quad.gutter, .quarter.gutter {
    width: 23%;
    margin: 1em 1%;
}
.three-quarters.gutter {
    width: 73%;
    margin: 1em 1%;
}
.penta.gutter, .twenty.gutter {
    width: 18%;
    margin: 1em 1%;
}
.thirty.gutter {
    width: 28%;
    margin: 1em 1%;
}
.forty.gutter {
    width: 38%;
    margin: 1em 1%;
}
.sixty.gutter {
    width: 58%;
    margin: 1em 1%;
}
.seventy.gutter {
    width: 68%;
    margin: 1em 1%;
}
.eighty.gutter {
    width: 78%;
    margin: 1em 1%;
}
.centering {
    text-align: center;
}
.centering > * {
    margin-left: auto !important;
    margin-right: auto !important;
}
/* Universal Padding Class --- as you like */
.pd-around {
    padding: 1.5em 1.5em;
}
.pd-side {
    padding: 0 1.5em;
}
.pd-top-bottom {
    padding: 1.5em 0;
}
.pd-right {
    padding-right: 1.5em;
}
.pd-left {
    padding-left: 1.5em;
}
/* clearfix --- for use together with legacy float layout */
.clearfix:before, .clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}
.clear {
    clear: both;
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
}
/*** Media Query ***/
@media only screen and (max-width: 899px) {
    .shell.break900:not(.step) {
        flex-direction: column;
    }
    .shell.break900 > .solo, .shell.break900 > .full, .shell.break900 > .duo, .shell.break900 > .half, .shell.break900 > .trio, .shell.break900 > .one-third, .shell.break900 > .two-thirds, .shell.break900 > .quad, .shell.break900 > .quarter, .shell.break900 > .three-quarters, .shell.break900 > .penta, .shell.break900 > .twenty, .shell.break900 > .thirty, .shell.break900 > .forty, .shell.break900 > .sixty, .shell.break900 > .seventy, .shell.break900 > .eighty {
        width: 100%;
    }
    .shell.break900 > .solo.gutter, .shell.break900 > .full.gutter, .shell.break900 > .duo.gutter, .shell.break900 > .half.gutter, .shell.break900 > .trio.gutter, .shell.break900 > .one-third.gutter, .shell.break900 > .two-thirds.gutter, .shell.break900 > .quad.gutter, .shell.break900 > .quarter.gutter, .shell.break900 > .three-quarters.gutter, .shell.break900 > .penta.gutter, .shell.break900 > .twenty.gutter, .shell.break900 > .thirty.gutter, .shell.break900 > .forty.gutter, .shell.break900 > .sixty.gutter, .shell.break900 > .seventy.gutter, .shell.break900 > .eighty.gutter {
        width: 98%;
        margin: 1em 1%;
    }
    .shell.step {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .shell.step > .duo, .shell.step > .half, .shell.step > .trio, .shell.step > .one-third, .shell.step > .two-thirds, .shell.step > .quad, .shell.step > .quarter, .shell.step > .three-quarters, .shell.step > .penta, .shell.step > .twenty, .shell.step > .thirty, .shell.step > .forty, .shell.step > .sixty, .shell.step > .seventy, .shell.step > .eighty {
        width: 50%;
    }
    .shell.step > .duo.gutter, .shell.step > .half.gutter, .shell.step > .trio.gutter, .shell.step > .one-third.gutter, .shell.step > .two-thirds.gutter, .shell.step > .quad.gutter, .shell.step > .quarter.gutter, .shell.step > .three-quarters.gutter, .shell.step > .penta.gutter, .shell.step > .twenty.gutter, .shell.step > .thirty.gutter, .shell.step > .forty.gutter, .shell.step > .sixty.gutter, .shell.step > .seventy.gutter, .shell.step > .eighty.gutter {
        width: 48%;
        margin: 1em 1%;
    }
}
/* Mobile Single Column ( like 7-10 inch Tablet ) */
@media only screen and (max-width: 768px) {
    .container, .wide-container {
        padding: 0 0.3em;
    } /* as you like */
    .shell.break768:not(.step) {
        flex-direction: column;
    }
    .shell.break768 > .solo, .shell.break768 > .full, .shell.break768 > .duo, .shell.break768 > .half, .shell.break768 > .trio, .shell.break768 > .one-third, .shell.break768 > .two-thirds, .shell.break768 > .quad, .shell.break768 > .quarter, .shell.break768 > .three-quarters, .shell.break768 > .penta, .shell.break768 > .twenty, .shell.break768 > .thirty, .shell.break768 > .forty, .shell.break768 > .sixty, .shell.break768 > .seventy, .shell.break768 > .eighty {
        width: 100%;
    }
    .shell.break768 > .solo.gutter, .shell.break768 > .full.gutter, .shell.break768 > .duo.gutter, .shell.break768 > .half.gutter, .shell.break768 > .trio.gutter, .shell.break768 > .one-third.gutter, .shell.break768 > .two-thirds.gutter, .shell.break768 > .quad.gutter, .shell.break768 > .quarter.gutter, .shell.break768 > .three-quarters.gutter, .shell.break768 > .penta.gutter, .shell.break768 > .twenty.gutter, .shell.break768 > .thirty.gutter, .shell.break768 > .forty.gutter, .shell.break768 > .sixty.gutter, .shell.break768 > .seventy.gutter, .shell.break768 > .eighty.gutter {
        width: 98%;
        margin: 1em 1%;
    }
    .shell:not(.keep) > .solo, .shell:not(.keep) > .full, .shell:not(.keep) > .duo, .shell:not(.keep) > .half, .shell:not(.keep) > .trio, .shell:not(.keep) > .one-third, .shell:not(.keep) > .two-thirds, .shell:not(.keep) > .quad, .shell:not(.keep) > .quarter, .shell:not(.keep) > .three-quarters, .shell:not(.keep) > .penta, .shell:not(.keep) > .twenty, .shell:not(.keep) > .thirty, .shell:not(.keep) > .forty, .shell:not(.keep) > .sixty, .shell:not(.keep) > .seventy, .shell:not(.keep) > .eighty {
        width: 100%;
        margin: 0;
    }
    .shell:not(.keep) > .solo.gutter, .shell:not(.keep) > .full.gutter, .shell:not(.keep) > .duo.gutter, .shell:not(.keep) > .half.gutter, .shell:not(.keep) > .trio.gutter, .shell:not(.keep) > .one-third.gutter, .shell:not(.keep) > .two-thirds.gutter, .shell:not(.keep) > .quad.gutter, .shell:not(.keep) > .quarter.gutter, .shell:not(.keep) > .three-quarters.gutter, .shell:not(.keep) > .penta.gutter, .shell:not(.keep) > .twenty.gutter, .shell:not(.keep) > .thirty.gutter, .shell:not(.keep) > .forty.gutter, .shell:not(.keep) > .sixty.gutter, .shell:not(.keep) > .seventy.gutter, .shell:not(.keep) > .eighty.gutter {
        width: 98%;
        margin: 1em 1%;
    }
    .shell.step {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .shell.step > .duo, .shell.step > .half, .shell.step > .trio, .shell.step > .one-third, .shell.step > .two-thirds, .shell.step > .quad, .shell.step > .quarter, .shell.step > .three-quarters, .shell.step > .penta, .shell.step > .twenty, .shell.step > .thirty, .shell.step > .forty, .shell.step > .sixty, .shell.step > .seventy, .shell.step > .eighty {
        width: 50%;
    }
    .shell.step > .duo.gutter, .shell.step > .half.gutter, .shell.step > .trio.gutter, .shell.step > .one-third.gutter, .shell.step > .two-thirds.gutter, .shell.step > .quad.gutter, .shell.step > .quarter.gutter, .shell.step > .three-quarters.gutter, .shell.step > .penta.gutter, .shell.step > .twenty.gutter, .shell.step > .thirty.gutter, .shell.step > .forty.gutter, .shell.step > .sixty.gutter, .shell.step > .seventy.gutter, .shell.step > .eighty.gutter {
        width: 48%;
        margin: 1em 1%;
    }
    .shell.keep-half:not(.keep), .shell.keep-half:not(.keep) {
        flex-direction: row;
    }
    .shell.keep-half:not(.keep) > .solo, .shell.keep-half:not(.keep) > .full, .shell.keep-half:not(.keep) > .duo, .shell.keep-half:not(.keep) > .half, .shell.keep-half:not(.keep) > .trio, .shell.keep-half:not(.keep) > .one-third, .shell.keep-half:not(.keep) > .two-thirds, .shell.keep-half:not(.keep) > .quad, .shell.keep-half:not(.keep) > .quarter, .shell.keep-half:not(.keep) > .three-quarters, .shell.keep-half:not(.keep) > .penta, .shell.keep-half:not(.keep) > .twenty, .shell.keep-half:not(.keep) > .thirty, .shell.keep-half:not(.keep) > .forty, .shell.keep-half:not(.keep) > .sixty, .shell.keep-half:not(.keep) > .seventy, .shell.keep-half:not(.keep) > .eighty {
        width: 50%;
    }
    .shell.keep-half:not(.keep) > .solo.gutter, .shell.keep-half:not(.keep) > .full.gutter, .shell.keep-half:not(.keep) > .duo.gutter, .shell.keep-half:not(.keep) > .half.gutter, .shell.keep-half:not(.keep) > .trio.gutter, .shell.keep-half:not(.keep) > .one-third.gutter, .shell.keep-half:not(.keep) > .two-thirds.gutter, .shell.keep-half:not(.keep) > .quad.gutter, .shell.keep-half:not(.keep) > .quarter.gutter, .shell.keep-half:not(.keep) > .three-quarters.gutter, .shell.keep-half:not(.keep) > .penta.gutter, .shell.keep-half:not(.keep) > .twenty.gutter, .shell.keep-half:not(.keep) > .thirty.gutter, .shell.keep-half:not(.keep) > .forty.gutter, .shell.keep-half:not(.keep) > .sixty.gutter, .shell.keep-half:not(.keep) > .seventy.gutter, .shell.keep-half:not(.keep) > .eighty.gutter {
        width: 48%;
        margin: 1em 1%;
    }
    /* Universal padding class --- as you like */
    .pd-around {
        padding: 1.5em 1.5em;
    }
    .pd-side {
        padding: 0 1.5em;
    }
    .ttal {
        text-align: left !important;
    }
    .ttal:not(.pd-side) {
        padding: 0 1.5em;
    }
    .pd-around .ttal:not(.pd-side), .pd-side .ttal:not(.pd-side) {
        padding: 0;
    }
}
/* Traditional SmartPhone Portrait Size */
@media only screen and (max-width: 479px) {
    .shell:not(.keep), .shell.step:not(.keep) {
        flex-direction: column;
    }
    .shell.step:not(.keep) > .solo, .shell.step:not(.keep) > .full, .shell.step:not(.keep) > .duo, .shell.step:not(.keep) > .half, .shell.step:not(.keep) > .trio, .shell.step:not(.keep) > .one-third, .shell.step:not(.keep) > .two-thirds, .shell.step:not(.keep) > .quad, .shell.step:not(.keep) > .quarter, .shell.step:not(.keep) > .three-quarters, .shell.step:not(.keep) > .penta, .shell.step:not(.keep) > .twenty, .shell.step:not(.keep) > .thirty, .shell.step:not(.keep) > .forty, .shell.step:not(.keep) > .sixty, .shell.step:not(.keep) > .seventy, .shell.step:not(.keep) > .eighty {
        width: 100%;
        margin: 0;
    }
    .shell.step:not(.keep) > .solo.gutter, .shell.step:not(.keep) > .full.gutter, .shell.step:not(.keep) > .duo.gutter, .shell.step:not(.keep) > .half.gutter, .shell.step:not(.keep) > .trio.gutter, .shell.step:not(.keep) > .one-third.gutter, .shell.step:not(.keep) > .two-thirds.gutter, .shell.step:not(.keep) > .quad.gutter, .shell.step:not(.keep) > .quarter.gutter, .shell.step:not(.keep) > .three-quarters.gutter, .shell.step:not(.keep) > .penta.gutter, .shell.step:not(.keep) > .twenty.gutter, .shell.step:not(.keep) > .thirty.gutter, .shell.step:not(.keep) > .forty.gutter, .shell.step:not(.keep) > .sixty.gutter, .shell.step:not(.keep) > .seventy.gutter, .shell.step:not(.keep) > .eighty.gutter {
        width: 98%;
        margin: 1em 1%;
    }
    /* Single Column --- Universal margin-bottom class */
    .shell.automa > , .shell.automa > .gutter {
        margin-bottom: 1.5em !important;
    }
    /* Universal padding class --- as you like */
    .pd-around {
        padding: 6% 3%;
    }
    .pd-side, .pd-right, .pd-left {
        padding: 0 3%;
    }
    .stal {
        text-align: left !important;
    }
    .stal:not(.pd-side) {
        padding: 0 3%;
    }
    .pd-around .stal:not(.pd-side), .pd-side .stal:not(.pd-side) {
        padding: 0;
    }
}
/*　ウェジェット　*/
.sidebar-wrapper {
    margin-bottom: 2rem;
}
.sidebar-title {
    /*font-size: 1.1rem;
  box-sizing: border-box;
  margin: 0 0 1.2rem;
  padding: .5rem;
  color: #000;
  border-bottom: 4px solid #593915;
  background: url(../../img/point01-bg.png)no-repeat top right, #01479d;*/
    display: inline-block;
    padding: 10px 15px;
    color: #333;
    font-size: 1.2rem;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 20px;
    width: 100%;
    max-width: 500px;
    /*border-bottom: 2px solid #CCCCCC;*/
}
/*　罫線　*/
.content hr {
    border-top: 1px solid #ccc;
    border-bottom-style: none;
    margin-block-start: 0;
    margin-block-end: 0;
}
/*　一覧レイアウト　*/
.list dt {
    float: left;
}
.list dd {
    padding-left: 10em;
}
@media screen and (max-width: 480px) {
    .list dt {
        /*float: none;*/
    }
    .list dd {
        padding-left: 7.5em;
    }
}
.quarter.gutter ul li {
    list-style-type: none;
}
/*.main-nav ul li a {
    line-height: 125px;
}*/
/* Fパターン */
.contNews ul li {
    display: block;
    justify-content: start;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 0;
    padding-bottom: 1em;
    margin-right: 0;
    border-bottom: 0px dotted #CCCCCC;
}
.contNews ul li:first-child {
    margin-top: 0;
}
/* 1カラムここから */
/* 共通 */
.changeCard ul {
    padding: 0;
    list-style: none;
    border: none;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0;
    /*margin-top: 20px;*/
}
.changeItemTxt {
    width: 62%;
}
.changeItemTxt p.itemTitle {
    font-size: 1.6rem;
    line-height: 1.56;
    margin: 0;
    font-weight: bold;
    color: #313131;
    margin-bottom: 10px;
}
.changeItemTxt ul.itemTag {
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.changeItemTxt ul.itemTag li {
    background: #f1f1f1;
    color: #707070;
    font-size: 0.7rem;
    padding: 2px 10px;
    position: relative;
}
.changeItemTxt ul.itemTag li:before {
    padding-right: 3px;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 1em;
    content: "\f02b";
    vertical-align: baseline;
    color: #aaa;
}
p.itemCat {
    position: absolute;
    left: 22px;
    top: 22px;
    background: #696b60; /* 色替え */
    color: #FFF;
    border-radius: 9999px;
    font-size: 0.7rem;
    display: inline-block;
    padding: 1px 12px 0px;
    z-index: 2;
}
/* 共通ここまで */
/* List */
li.changeItem.defaultList {
    width: 100%;
    padding: 0;
}
li.changeItem.defaultList a {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    border-radius: 2px;
    background: #fff;
    cursor: pointer;
    transition: 0.2s ease-in-out;
    padding: 15px;
    position: relative;
    align-items: center;
    text-decoration: none;
    border-top: solid 1px #eee;
    padding-right: 10px;
    cursor: pointer;
}
li.changeItem.defaultList:last-child a {
    border-bottom: solid 1px #EEE;
}
li.changeItem.defaultList a:hover {
    background: #fafafa;
}
li.changeItem.defaultList a img {
    /*width: 35%;*/
    margin-right: 3%;
    height: auto;
}
@media screen and (max-width: 767px) {
    /* （ここにモバイル用スタイルを記述） */
    li.changeItem.defaultList a {
        flex-direction: column;
    }
    li.changeItem.defaultList a img {
        width: 100%;
        margin: 0 0 15px;
    }
    li.changeItem.defaultList a .changeItemTxt {
        width: 100%;
    }
}
a {
    color: #222;
}
/* 1カラムここまで */
/*===========================
list-nav
===========================*/
.list-nav {
    margin: 0 auto 50px;
    display: flex;
    flex-wrap: wrap;
    /*justify-content: space-between;*/
    position: relative;
}
.list-nav li {
    width: 24%;
    margin-right: 1%;
    text-align: center;
    margin-bottom: 10px;
}
@media screen and (max-width: 768px) {
    .list-nav li {
        width: 23.5%;
        margin-right: 2%;
        margin-bottom: 2%;
        text-align: center;
    }
}
@media screen and (max-width: 600px) {
    .list-nav li {
        width: 49%;
        margin-right: 2%;
        margin-bottom: 2%;
        text-align: center;
    }
}
.list-nav li a {
    text-decoration: none;
    height: 54px;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
    cursor: pointer;
    transition: 0.4s;
    background: #fff;
    color: #333;
}
.list-nav li a:hover, .list-nav li a.active {
    background-color: #918176;
    color: #fff;
}
.list-nav li:last-child {
    margin-right: 0;
}
@media screen and (min-width: 601px) and (max-width: 768px) {
    .list-nav li:nth-child(4n) {
        margin-right: 0;
    }
}
@media screen and (max-width: 600px) {
    .list-nav li:nth-child(2n) {
        margin-right: 0;
    }
}
/*===========================
list-box
===========================*/
.list-box {
    display: flex;
    flex-wrap: wrap;
}
.list-box a {
    width: 23.5%;
    margin-right: 2%;
    margin-bottom: 2%;
    box-sizing: border-box;
    padding: 15px;
    text-decoration: none;
    box-shadow: 0 0 4px rgba(0, 0, 0, .2);
    text-decoration: none;
    color: #333;
}
.photo img {
    height: auto;
}
@media screen and (max-width: 768px) {
    .list-box a {
        width: 48%;
        margin-right: 4%;
        margin-bottom: 4%;
    }
}
.list-box a:nth-child(4n) {
    margin-right: 0;
}
@media screen and (max-width: 768px) {
    .list-box a:nth-child(2n) {
        margin-right: 0;
    }
}
.list-box .photo {
    margin-bottom: 15px;
    box-shadow: none;
}
.list-box img {
    box-shadow: none;
    border-radius: 0 !important;
}
.list-box h3 {
    margin: 0;
    padding: 0;
    font-size: 1.2em;
    text-align: left;
}
.list-box h3::after {
    background: none;
}
/*===========================
list-details
===========================*/
.list-details {
    width: 70%;
    margin: 0 auto;
}
@media screen and (max-width: 768px) {
    .list-details {
        width: 100%;
    }
}
.list-details .ph {
    text-align: center;
    margin-bottom: 80px;
}
@media screen and (max-width: 768px) {
    .list-details .ph {
        margin-bottom: 40px;
    }
}
.list-details .ph img {
    border-radius: 0;
    box-shadow: none;
    height: auto;
}
.list-details .det-box {
    margin-bottom: 80px;
}
@media screen and (max-width: 768px) {
    .list-details .det-box {
        margin-bottom: 40px;
    }
}
.list-details .det-box:last-child {
    margin-bottom: 0;
}
.list-details .det-box h3 {
    text-align: left;
    margin: 0 0 10px;
    padding: 0 0 10px;
    border-bottom: 1px solid #cfcfcf;
    font-size: 1.5em;
    font-weight: bold;
}
.list-details .det-box h3::after {
    content: none;
}
@media screen and (max-width: 768px) {
    .list-details .det-box h3 {
        font-size: 1.2em;
    }
}





/* ギャラリーのセクション */
.gallery-section {
    padding: 20px;
}
/* ギャラリーのレイアウト */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4列を設定 */
    gap: 15px; /* 各アイテム間のスペース */
}
/* ギャラリーアイテムの正方形設定 */
.gallery-item {
    position: relative;
    width: 100%; /* 親要素に基づいた幅 */
    padding-top: 100%; /* 高さを幅と同じにして正方形に */
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}
/* 画像を正方形内で調整 */
.gallery-item img {
    position: absolute; /* 親要素の中で絶対位置 */
    top: 0;
    left: 0;
    width: 100%; /* 横幅いっぱいに */
    height: 100%; /* 高さも枠に合わせる */
    object-fit: cover; /* 画像を正方形に調整 */
    transition: transform 0.3s ease;
}
/* ホバー時の拡大効果 */
.gallery-item:hover img {
    transform: scale(1.1);
}
/* モーダル用スタイル */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 60%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 800px;
    max-height: 100%;
    animation-name: zoom;
    animation-duration: 0.6s;
}
@media screen and (max-width: 768px) {
    .modal-content {
        max-width: 100%;
    }
}
@keyframes zoom {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}
.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px
}


/* 三角形の矢印ボタン */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    cursor: pointer;
    z-index: 1001;
}

/* 左矢印（prev） */
.prev {
    left: 20px;
    border-width: 15px 20px 15px 0; /* 上、右、下、左の順 */
    border-color: transparent #fff transparent transparent; /* 三角形の色 */
}

/* 右矢印（next） */
.next {
    right: 20px;
    border-width: 15px 0 15px 20px;
    border-color: transparent transparent transparent #fff;
}

/* ホバー時のエフェクト */
.prev:hover {
    border-color: transparent rgba(255, 255, 255, 0.7) transparent transparent; /* 左矢印 */
}

.next:hover {
    border-color: transparent transparent transparent rgba(255, 255, 255, 0.7); /* 右矢印 */
}











/* ギャラリーの基本レイアウト */
#lightgallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4列レイアウト */
    gap: 15px; /* アイテム間の間隔 */
    padding: 20px; /* ギャラリー全体の余白 */
}

/* レスポンシブ対応：スマホでは2列表示 */
@media screen and (max-width: 768px) {
    #lightgallery {
        grid-template-columns: repeat(2, 1fr); /* 2列レイアウト */
    }
}


/* ギャラリーアイテムの親要素を正方形に設定 */
#lightgallery a {
    display: block;
    position: relative;
    width: 100%;
    padding-top: 100%; /* 高さを幅の100%にして正方形に */
    overflow: hidden;
    border-radius: 8px; /* オプション: 角丸にする場合 */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

/* 画像を親要素内で正方形に調整 */
#lightgallery a img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像を親要素に合わせて調整 */
    transition: transform 0.3s ease; /* オプション: ホバー時のアニメーション */
}

/* ホバー時の拡大効果 */
#lightgallery a:hover img {
    transform: scale(1.1); /* 拡大 */
}

