@charset "utf-8";

.swiper {
    width: 600px;
    height: 300px;
  }
.wrap{
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    /* 最大幅  */
}
img{
    background-size: cover;
    object-fit: cover;
    width: 100%;
        height: 100%;
}
body {
    /* ドット柄 */
    background-color: #ffffff;
  background-image: radial-gradient(#ffffff 2px, transparent 2px);
  background-size: 16px 16px;

    margin: 0;
    /* ページの余白を消す */
    background-color: #fff2f2;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100dvh; /* 画面全体の高さを最低値に指定（スマホのツールバー対策） */
  
    font-family: "DotGothic16", sans-serif;
    font-weight: 400;
    font-style: normal;

}
.pattern{
    /* ライトグリッド */
    background-color: #ffffff;
    background-image: 
      linear-gradient(#ddc8d9 1px, transparent 1px),
      linear-gradient(90deg, #e3c3da 1px, transparent 1px);
    background-size: 50px 50px;
    margin: 0;
    background-color: #e890a6;
}
header {
    letter-spacing: 0.05em;
    /* 文字間隔を少し広げる（推奨値：0.05em～0.1em） */
    font-size: 40px;
    font-weight: bold;
    /* 太字 */
    color: rgb(253, 232, 237);
}

main {  
    /* 画面の中央に配置 */
    padding: 0 20px;
}
/* aタグにホバーした時のみ擬似クラス */
.menu a:hover{
    color: rgb(149, 147, 255);
    transition: all 0.5s;
}

.g_box a:hover{
    background-color: #ddc8d9;
}
.box1{
    width: 100%;
    height: auto;
}

.flex {
    display: flex;
}

.title-name {
    /* サイトのタイトルのスタイル*/
    font-size: 45px;
    text-shadow: 2px 2px #000000;
}
.menu {
    text-align: center;
    /* メニューのスタイル */
    font-size: 25px;

}
.menu a {
    /* メニューの各リンクのスタイル */
    /* ブロック要素を付け足す */
    /* display: block; */
    color: #ffffff;
    text-shadow: 2px 2px#1a1115;
    font-weight: bold;
    text-decoration: none;
    /* 下線をなくす */
    padding: 2em;
}

.news {
    border: 1.5px solid #3d0e26;
    background-color: #fb9fb5;
    margin: 10px;
    gap: 1em;
}
.news a{
    padding: 5px;
    background-color: #ffffff;
    color: #705a61;
    display: block;
    text-decoration: none;  
}

.news h3 {
    font-weight: bold;
    margin-left: 3px;
}
.news p{
    padding: 10px;
    background-color: #fef6f8;
    color: #3d243a;
    display: block;
    text-decoration: none;
}
.g_box{
    display: flex;
    margin: 30px;
}
.g_box img{
    display: grid;
    border-radius: 10px;
    /* グリッドレイアウトを有効化 */
    gap: 1em;
    margin-right: 20px;
    grid-template-columns: 1fr 1fr 1fr;
    height: 250px;
    background-color: #ddc8d9;
}
.t_box{
    color: #393763;
    margin: 50px 0;
    border-radius: 10px;
    border: 1px solid#86374b;
    background-color: #ffffff;
    background-color: #f799b6;
    height: 300px;
    margin-bottom: 300px;
}
.t_box img{
    float: left;
    display: flex;
    border-radius: 150px;
    /* 角を丸くする */
    background-color:#fbf0f2;
    margin: 25px;
    height: 250px;
    width: 250px;
}
.text{ 
    flex-direction: column;
    margin: 54px;
    font-size: 17px;
}
canvas {
    display: block;
}
figure{text-align:center;}
figcaption{color:grey;font:10px arial;}
#loading {
    position: fixed;
    z-index: 9999;
    background-color: #ffffff;
    background-image: radial-gradient(#fad2e7 10px, transparent 8px);
    background-size: 16px 16px;
  
    width: 100vw;
    height: 100vh;
    top: 0; left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  figcaption{
    color: #86374b;
    font-weight: bold;
    font-size: 10px;
  }
  .loader {
    border: 8px solid #ffffff;
    border-top: 8px solid #a6dff7;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
  }
 
  @keyframes spin {
    0%   { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
  }
  

.box2{
    width: 670px;
    height: 390px;
    background-color: #ffffff;
    margin: 10px;
}

.clickable-img {
    cursor: zoom-in;
  }
  
  .img-modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    cursor: zoom-out;
    align-items: center;
    justify-content: center;
  }
  
  .img-modal.open {
    display: flex;
  }
  
  .modal-photo {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
  }
  
footer {
    background-color: #e890a6;
}
   
 .footer-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
        color: #181315;
    }
    .footer-item a:hover{
        color: #ffffff;
    }
    .footer-item a{
        text-decoration: none;
        color: #070102;
        padding: 3px
        }