@charset "UTF-8";


.item3 .hidden{
 display:none;

}
html {

    font-size: 100%;
}
body {
    background-color: #ccc8c5;
    color: #432;
    min-height: 100vh; /* 画面全体の高さを確保 */
    margin: 0;
    padding: 0;
}
/* --- ギャラリー全体のスタイル --- */
.gallery-container {
    max-width: 1200px; /* PCでの最大幅 */
    margin: 0 auto; /* 中央揃え */
    padding: 10px;
}

/* --- メイン画像エリアのスタイル --- */
.main-image-container {
    margin-bottom: 10px;
    text-align: center; /* 画像を中央に配置 */
}

#main-image {
    width: 100%; /* 親要素の幅いっぱいに表示 */
    height: auto;
    border: 1px solid #ccc;
    cursor: pointer; /* クリックできることを示す */
    transition: opacity 0.2s;
}

#main-image:hover {
    opacity: 0.8;
}

/* --- サムネイルエリアのスタイル --- */
.thumbnail-container {
    display: flex; /* 横並びにする */
    flex-wrap: wrap; /* 折り返すようにする */
    gap: 10px; /* サムネイル間の隙間 */
    justify-content: center; /* 中央揃え */
}

.thumb-item {
    width: 120px; /* サムネイルの幅 */
    height: auto;
    border: 2px solid #ddd;
    cursor: pointer;
    opacity: 0.6; /* 通常時は少し薄くする */
    transition: all 0.2s;
}

.thumb-item:hover {
    opacity: 1; /* マウスオーバーで濃くする */
    border-color: #f0ad4e;
}

/* ★選択中のサムネイルのデザイン */
.thumb-item.active {
    opacity: 1;
    border-color: #0275d8;
}

/* --- スマホ用のレスポンシブ設定 --- */
/* 画面幅が768px以下の場合に適用される */
@media (max-width: 768px) {
    .thumb-item {
        width: 80px; /* スマホではサムネイルを少し小さくする */
    }
}

/* --- モーダル（拡大表示）のスタイル (変更なし) --- */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex; justify-content: center; align-items: center; z-index: 1000;
}
.modal-image {
    max-width: 90%; max-height: 90%;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
.modal-close-button {
    position: absolute; top: 15px; right: 20px;
    width: 40px; height: 40px; padding: 0;
    font-size: 2em; font-weight: bold; line-height: 40px; text-align: center;
    color: white; background-color: rgba(0, 0, 0, 0.5);
    border: 2px solid white; border-radius: 50%;
    cursor: pointer; transition: background-color 0.2s;
}
.modal-close-button:hover { background-color: rgba(255, 0, 0, 0.8); }
.hidden { display: none; }

.with-frame > img {
 border: 1px solid black;
}

a {
    text-decoration: none;
    color:#432;
}

h1,h2,h3,h4,h5,h6,
p{
 
    line-height: 1.7;


}
.layout-margin-bottm1{
    margin-bottom: 1em;
}
.layout-margin-bottm2{
    margin-bottom: 2em;
}
.layout-margin-bottm5{
    margin-bottom: 5em;
}
p.mb1{
    margin-bottom: 1em;
}
p.mb2{
    margin-bottom: 2em;
}
p.mb5{
    margin-bottom: 5em;
}
.normal{
line-height:1.5    
    }    
.wide{
    line-height: 2.0
}
.novel_lineheight{

    line-height: 2.0

}
.back-image3{
  padding: 5px 10px;  
  position: relative;
}

.back-image2
{
position: relative;
padding:0.5rem;
display: inline;
}
/*
background: linear-gradient(90deg,rgba(154,213,219,1),rgba(161,129,154,1)100%);
*/
.back-image2::before{
position: absolute;
display: inline;
top: 20px;
left:0;
content: '';
width: 100%;
height: 50%;
background-repeat: no-repeat;
background-image: url(../img/back_mint.png);
background-size: cover;
background-position: center center;
border-radius:  35% 72% 55% 75%;
z-index: -1;





}
.marker_mint{
    background:  linear-gradient(transparent 60% ,#71d4bf 60%);
    display: inline;
}
span.marker{
    background:  linear-gradient(transparent 60% ,#f5e380 60%);
}


.underline{

    border-top: 2px double #432;
    
    
    }

.back-image4{
position: relative;
padding:0.5rem;
display: inline;
}
.back-image4::after{
position: absolute;
display: inline;
top: 24px;
left:0;
content: '';
width: 100%;
height: 30%;
background-repeat: no-repeat;
background-image: url(../img/back_green3.png);
opacity: 0.7;
background-size: cover;
background-position: center center;
border-radius:  35% 72% 55% 75%;
z-index: -1;
}

.back-image5{
    position: relative;
    padding:0.5rem;
    display: inline;
    }
    .back-image5::after{
    position: absolute;
    display: inline;
    top: 24px;
    left:0;
    content: '';
    width: 100%;
    height: 30%;
    background-repeat: no-repeat;
    background-image: url(../img/back_orange.png);
    opacity: 0.7;
    background-size: cover;
    background-position: center center;
    border-radius:  35% 72% 55% 75%;
    z-index: -1;
    }


/*.main-image {
    position: relative;
}*/
.head2_deco{
font-size: 30px;
font-weight: bold;
line-height: 1;
margin-bottom: 30px;
}
.head2_deco::after
{
content: '';
display: block;
width:85px;
height: 5px;
background: #432;
margin-top: 30px;



}

/*.main-image img {
    width: 800px;
    height: auto;
}*/

.ghost-vew-box{

    height: 100%;
    width:auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-left:10% ;
    margin-right: 10%;
    position: relative;
    z-index: 0;
    background: #f5f5f5;


}

.bg-color
{
background-color: #f5f5f5;
padding: 10px;;
margin-top: 20px;
margin-bottom: 20px;
margin-left: 80px;
margin-right: 80px;
position: relative;
z-index: 0;

}

.ghost-vew4
{
    position: relative;
    padding: 2rem;
        background: #71d8c741;
    z-index: 0;
}
.ghost-vew4::before{
    
    
    position: absolute;

    border: solid #718181d3;
    content: '';
    display: block;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin: 5px;
    z-index: -1;
    border-radius: px;



}

a.hoge{
        width: 200px;
        height: 40px;
        display:block;
        background:#6495ED;
        color:aliceblue;
        font-size: 14;
        margin: 0 auto;
         position: relative;
        border-radius: 10px;
        text-decoration: none;
        line-height: 40px;
        text-align: center;
}
a.hoge::before{
        content: "";
        display:inline-block;
        position: absolute;
        width: 20px;
        height: 20px;
        top:50%;
        padding-bottom:10;
        background-image:url(../img/dicon.svg);
        background-size: 100% 100%;
        right: 20px;
        bottom:9px;
        top:6px;
        margin:auto; 
        
}
a.hoge:hover{
    background: #87CEFA;
     
}
.ghost-vew3
{
    position: relative;
    padding: 0.2rem 0.5rem;
    margin:2rem 0;
        background: #65c7ca56;

}
.ghost-vew2
{
    position: relative;
    padding: 1rem 2rem calc(1rem + 10px);
    background: #65c7ca56;
    border: bashed 2px whitesmoke;
}
.ghost-vew2::after{
    position: absolute;
    top: -7px;
    left: -7px;
    right: -7px;
    bottom: -7px;
    width:100%;
    height:100%;
    content: '';
  

}

/* .deco-line2のスマホ対応修正 */
.deco-line2 {
    background: #98cece;   
    border-bottom: solid 3px #0d6883;
    width: 100%; /* 固定幅から100%に変更 */
    max-width: 400px; /* 最大幅を制限 */
    height: 40px;
    border-radius: 10px;
    padding-left: 1em;
    box-sizing: border-box; /* パディングを幅に含める */
}

@media screen and (max-width: 767px) {
    .deco-line2 {
        width: 100%; /* スマホでは画面幅いっぱい */
        max-width: calc(100vw - 40px); /* 左右に20pxずつ余白 */
        font-size: 0.9em; /* フォントサイズを少し小さく */
    }
}
.home-logo{
    width: 400px;
    height: 400px;
}
.wrap
{
   width: 80% ; 
   margin: 0 auto;
    

}

.ttl-frame{
    font-weight: bold;
  
    padding: 1rem 1rem;
    border: 3px solid #737373;
background-color:  #fff;
    position:relative;


}
.ttl-frame::after{
content: '';

width: 100%;
height: 100%;
background-color: #432;
position: absolute;
top: 0;
left: 0;
border:solid 3px #432;
border-radius: 100;
transform: rotate(1deg);
z-index: -1;



}
/* 3. タイトル装飾のライン修正 */
.ttl_4 {
    padding: 1rem 1rem; /* パディングを増やして文字とラインの間隔を確保 */
    position: relative;
    text-align: center;
    color: #301e1e;
}

.ttl_4::before, .ttl_4::after {
    content: '';
    left: 0;
    width: 100%;
    height: 6px;
    position: absolute;
    box-sizing: border-box;
}

.ttl_4::before {
    top: 0;
    border-top: 1px solid #795f53;
    border-bottom: 2px solid #795f53;
}

.ttl_4::after {
    bottom: 0;
    border-top: 2px solid #795f53;
    border-bottom: 1px solid #795f53;
}
.ttl_3{
font-weight: bold;
border: 2px solid #432;
padding: 0.5rem 1rem;
position: relative;
border-radius: 3px;

}
.ttl_3::after{
content: '';
background-color: #98cace;
width: calc(100% + 3px);
height:  calc(100% + 3px);
position: absolute;
top: -7px;
left: 4px;
z-index: -1;


}
.ttl_3{
font-weight: bold;
border: 2px solid #432;
padding: 0.5rem 1rem;
position: relative;
border-radius: 3px;

}
.ttl_3::after{
content: '';
background-color: #98cace;
width: calc(100% + 3px);
height:  calc(100% + 3px);
position: absolute;
top: -7px;
left: 4px;
z-index: -1;


}

img
{
    width: 100%;
    height: auto;
}
.heading{
 align-items: center;
 display: flex;
 justify-content: center;
margin-bottom: 10px;


}
.heading::before,
.heading::after{
background-color:#432 ;
border-radius: 5px;
content: "";
border-radius: 3px;
width: 30px;
height: 3px;
}
.heading::before{
    margin-right: 10px;


}
.heading::after{

    margin-left: 10px;

}
.item3
{
    
    display: grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
        gap: 30px
   
}
.item3 .item3in{
    display: flex;
    border: 1px solid gray;
    border-radius: 10px;
    overflow: hidden;
    color:#432;
    background: #f4f4f4;
    flex-direction: column;
} 
.item3in-picture{
    background-color: #737373;
    color: #fff;
    height: 300px;
    object-fit: cover;
    display: flex;
    justify-content: center;

}
.item3in-content {
     padding:  20px;
     display: flex;
    flex-direction: column;
     flex-grow: 1;
    margin-top: auto;

}
.item3in-content p {
    margin-top: 10px;
    flex-grow: 1;
    margin-bottom: 10px;
    line-height: 1.75rem;
}
.item3in-content h3{
    text-align: center;


}
.span{
 display: inline-block;


}
.btn{
    display: block;
    text-align:center;
    margin-top: auto;
    margin-left: auto;
    margin-right: auto;
    padding: 8px 24px;
    color: #fff;
    background: #432;
    border-radius: 50px;
    font-size:10px;
    min-width: min(10em,100%);
}
.btn a  {
    color: white;

}
.btn-list{
    display: flex;
    flex-wrap: wrap;
}
.btn2{
    display:block;
    text-align: center;
    font-size:0.8em;
    margin: auto 10px 20px 0;
    color: #fff;
    padding: 6px 28px;
    background: #0d6883;
    border-radius: 50px;
    
}
.btn3{
    display:block;
    text-align: center;
    font-size:0.8em;
    margin: auto 10px 20px 0;
    color: #301e1e;
    padding: 6px 28px;
    background: #98d0da;
    border-radius: 50px;
    border: solid 1px #bdc991;
    }

.btn4{
    display:block;
    text-align: center;
    font-size:0.8em;
    margin: auto 10px 20px 0;
    color: #301e1e;
    padding: 6px 18px;
    background: #bee9d3;
    border-radius: 50px;
    
}
.btn5{
    display:block;
    text-align: center;
    font-size:0.8em;
    margin: auto 10px 20px 0;
    color: #301e1e;
    padding: 6px 28px;
    border: solid 1px #bdc991;
    border-radius: 50px;
    min-width: min(10em,100%)
}

.about
{
    max-width: 736px;
    padding: 0 1.5rem;
    margin: 3rem auto 4rem;
}
.about p{
 margin-bottom: 3rem;



}
.about h3{
    margin-top: 10px;
}
.adrres{
    max-width: 736px;
    padding: 0 1.5rem;
    margin: 3rem auto 4rem;
    color: #432;
    background-color: #f2f2f2;
    border-radius: 10px;

}
.adrres p {
   padding-top : 1rem;
   text-align: center;
}
.text_ghost
{

  padding-top: 2rem;
  padding-bottom: 2rem;
   text-align: left;




}
.adrres a {

    display: flex;
    align-items: center;
    color:#432;
    justify-content: center;
    text-align: center;
    width: 80%;
    padding-top: 20px;
    padding-bottom:20px ;
    background-color: #98cace;
    border-radius: 50px;
    }
    .adrres li {

        display: flex;
        align-items: center;
        color:#432;
        justify-content: center;
        text-align: center;
        width: 100%;
        padding-top: 20px;
        padding-bottom:20px ;
        background-color: #f2f2f2;
        }

/* border-doubleクラスの修正 */
.border-double {
    border-top: solid #98cace 3px;
    border-bottom: solid #98cece 3px;
    background: #98cece;
    height: auto; /* 高さを自動調整 */
    min-height: 2.5em; /* 最小高さを設定 */
    padding: 0.5em 0; /* 上下にパディング追加 */
    position: relative;
    display: flex;
    align-items: center; /* 縦方向中央揃え */
    justify-content: center; /* 横方向中央揃え */
}

.border-double::before {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    border-top: solid 1px #f2f2f2;
    position: absolute;
    top: 6px; /* 位置を調整 */
    border-radius: 2px;
    left: 0;
}

.border-double::after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    border-bottom: solid 1px #f2f2f2;
    border-radius: 2px;
    position: absolute;
    bottom: 6px; /* 位置を調整 */
    left: 0;
}
.main-nav
{
    border-top:2px solid #255a5c;
    border-bottom: 2px solid #255a5c;

}
.main-nav {
    display: flex;
    justify-content: center;
    font-size: 1.5rem;
    list-style: none;
    padding: 0;

}
.main-nav li{
    width:100% ;
    list-style: none;
    margin: 0;
}
.main-nav li+li{

    position: relative;
}
.main-nav li+li::before{
    content: "";
    display: block;
    height: 1em;
    border-left: 1px solid #432;
    position: absolute;
    top: 0;
    bottom:0;
    margin:auto;


}

.main-nav a {

display: flex;
align-items: center;
color:#432;
justify-content: center;
text-align: center;
width: 100%;
margin-top:10 px ;
padding-top: 20px;
padding-bottom:20px ;
background-color: #f2f2f2;
}
.main-nav a:hover{

    color: #0bd;
}


.cover-home{
    background-image: url(../images/cover-home.png);


 } 

.cover
{
    background-size: cover;
    background-position:  center bottom;
    max-height: 800px;


}

ul
{
    display: flex;


}
.header-titile
{
 font-size: 27px;
 padding: 10px;



}
.header-titile2{
    text-align: center;
    padding: 10px 0;
    display: inline-flex;
  




}
.header-titile2-item{
    list-style: none;
    display: inline-flex;
    flex-direction: column;
    margin: 0 20px;


}
.header-titile2-item > span:first-of-type{
    font-size: 14px;

}
.header-titile2-item > span{
    font-size: 10px;
}
.main-nav
{
    font-size:  16px;

}
    /*HOME*/
.align-center
{
 text-align: center;   

}
.title-item
{
    
    font-size: clamp(14px,1em,25px);
    font-weight: bold;



}
.txt_br br {
 display: none;
   
}

.gallery_body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
}

.gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.large-image {
    width: 100%;
    max-width: 500px;
    max-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #fff;
}

.large-image img {
    max-width: 100%;
    max-height: 100%;
    cursor: pointer;
    object-fit: contain; /* 縦横比を維持して中央に表示 */
}

.thumbnails {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.thumbnails img {
    width: 100px;
    height: 100px;
    margin: 0 10px;
    cursor: pointer;
    opacity: 0.6;
    object-fit: cover; /* サムネイル画像を正方形に表示 */
}

.thumbnails img.selected {
    opacity: 1;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: white;
    cursor: pointer;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

@media only screen and (max-width:1080px) {
   
    .txt_br{
    display: inline;
    font-size: 14px;
    }

}
@media screen and (max-width:767px) {
    .main-nav{
    display:block;
    padding: 4% 2%;
    }    
    .main-nav li a{
        width:100% ;
       margin: 10px auto;
        border: 1px solid #432;
        position: relative;
    }
    .home-logo{
        width: 200px;
        height: 200px;
    }

    .bg-color
    {
        margin-top: 200px;
    }

    /*.main-nav li+li::before{
        content: "";
        display: block;
        height: 1em;
        border:none;
        top: 0;
        bottom:0;
        margin:auto;
    */
}

/* 2. ギャラリーコンテナとアイテムのスマホ対応 */
@media screen and (max-width: 767px) {
    .item3 {
        display: grid;
        grid-template-columns: 1fr; /* スマホでは1列表示 */
        gap: 20px; /* 間隔を狭める */
        padding: 0 10px; /* 左右に余白 */
    }
    
    .item3in {
        width: 100%;
        max-width: none; /* 最大幅制限を解除 */
    }
    
    .item3in-picture {
        height: 200px; /* スマホでは画像高さを小さく */
    }
    
    /* ギャラリー全体のスマホ対応 */
    .gallery-container {
        padding: 5px;
        margin: 0;
    }
    
    /* サムネイル表示の修正 */
    .thumbnail-container {
        display: flex;
        flex-direction: column; /* 縦並びに変更 */
        align-items: center; /* 中央揃え */
        gap: 5px;
        justify-content: center;
    }
    
    .thumb-item {
        width: 200px; /* スマホ用のサムネイルサイズ */
        margin: 0 auto; /* 中央揃え */
    }
}
@media screen and (max-width: 480px) {
    /* より小さい画面での調整 */
    .wrap {
        width: 95%; /* 幅を広げる */
    }
    
    .bg-color {
        margin-left: 10px;
        margin-right: 10px; /* 左右マージンを小さく */
    }
    
    .thumb-item {
        width: 150px; /* より小さい画面では更にサイズ調整 */
    }
    
    .item3in-content {
        padding: 15px; /* パディングを小さく */
    }
    
    .btn-list {
        gap: 5px; /* ボタン間の隙間を小さく */
    }
    
    .btn3 {
        font-size: 0.7em; /* フォントサイズを小さく */
        padding: 4px 16px; /* パディングを小さく */
        margin: 5px 5px 10px 0; /* マージンを調整 */
        
    }
        .deco-line2 {
        max-width: calc(100vw - 20px); /* より小さい画面では更に調整 */
        height: 35px; /* 高さも少し小さく */
        font-size: 0.8em;
    }
}