@charset "utf-8";


/*共通部分
-------------------------------------*/
html {
    font-size: 100%;
}

body {
    font-family: "Yu Gothic Medium","游ゴシック体","游ゴシック Medium","ヒラギノ角ゴ Pro W3","M PLUS 2", sans-serif;
    line-height: 1.7;
    background-color: rgb(255, 255, 255);
}
a {
    text-decoration: none;
}
img {
    max-width: 100%;
}
h1 {
    color: #0056b0;
    font-size:2rem;
    font-family: "M PLUS 2", sans-serif;
    font-optical-sizing: auto;
    font-weight: 850;
    font-style: normal;
}
h2 {
    color: #0056b0;
    font-size:1.5rem;
    font-family: "M PLUS 2", sans-serif;
    font-optical-sizing: auto;
    font-weight: 850;
    font-style: normal;
}
h3 {
    color: #0056b0;
    font-size 1.375rem;
    font-family: "M PLUS 2", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}
h4 {
    color: #0056b0;
    font-size:1.125rem;
    font-family: "M PLUS 2", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}
p {
    font-size: 20px;
    line-height:1.8;
    text-align: justify;
}
th {
    font-family: "M PLUS 2", sans-serif;
    color:#0056b0;
    font-size: 20px;
    line-height:2.8;
    text-align: justify;
}
td {
    font-size: 20px;
    line-height:1.8;
    text-align: justify;
}
dt {
    font-family: "M PLUS 2", sans-serif;
    color:#0056b0;
    font-size: 20px;
    line-height:2.8;
    text-align: justify;
}
dd {
    font-size: 20px;
    line-height:1.8;
    text-align: justify;  
}
li {
    font-size: 20px;
    line-height:1.8;
    text-align: justify; 
}
.wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 4%;
}

/*HEADER
----------------------------------------*/
.logo {
    width: 280px;
    margin-top: 0px;
}
.page-header {
    display: flex;
    justify-content: space-between;
}

/*MAINNAV
----------------------------------------*/
.main-nav {
    display:flex;
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-top: 34px;
    list-style: none;
}
.main-nav li {
    margin-left: 20px;
}
.main-nav a {
    color: #432;
}
.main-nav a:hover {
    color: rgb(7, 160, 180);
}

/*HOME
------------------------------------------*/
.home-content {
    text-align: center;
    margin-top: 10px;
}

.home-content p {
    font-size: 1.375rem;
    margin: 10px 0 42px;
    text-align: center;
}

/*見出し
-------------------------------------------------*/

.page-title {
    font-size:3rem;
    font-family:"M PLUS 2", sans-serif;
    font-weight: 500;
}

/*ボタン
----------------------------------------------*/
.button {
    font-size: 1.375rem;
    background: #0056b0;
    color: #fff;
    border-radius:8px;
    padding: 18px 32px;
    /* スムーズに色が変わるように transition を追加するとよりきれいです */
    transition: 0.3s; 
}

/* マウスが乗ったとき (hover) のスタイル */
.button:hover {
    background: #0055b08a; /* 少し明るい青色に変更 */
    opacity: 0.8; /* または、透明度を少し下げて暗くする */
}


/*おおきな背景画像
-------------------------------------------*/
.big-bg {
    background-size: cover;
    background-position: center top;
}
#home {
    background-image: url(images/main2-bg.png);
    min-height:100vh;
}
#home .page-title {
    text-transform:none;
}
/* 記事画像
-------------------------------------------*/
.article-image {
    max-width: 100%;
}
/*イベント
--------------------------------------------*/
#event {
    background-image: url(images/main-bg.jpg);
    height: 270px;
    margin-bottom: 40px;
}
#event .page-title {
    text-align: center;
}

/*リスト
--------------------------------------------*/
.event-list-content {
    font-size: 1.175rem;
    margin-left: 150px;
}
.event-list-content ol {
/* 行の高さをフォントサイズの2.5倍に設定する */    
    line-height: 2.5;
}

/*フッター
---------------------------------------‐‐‐‐‐‐‐‐‐-*/
footer {
    background: #0056b0;
    text-align: center;
    padding: 26px 0;
}
footer p {
    color:#fff;
    font-size: 0.875rem;
}

/*join内リスト
---------------------------------------------------*/

.join-content li {
    font-size: 1.2rem;
    color:#0056b0;
    margin-bottom: 50px;
}

#list-id {
    font-size: 1.2rem;
    color:#0056b0;
    margin-bottom: 50px;
    line-height: 40px;
}

/* 1. 記事を囲む <main> の中では、子要素を強制的に縦に並べる */
main {
    width: 74%; /* 記事エリアの幅（サイドバーと並べるため）*/
    /* *もし以前に float が設定されていた場合に解除* */
    float: none; 
}

/* 2. 記事（article）が常に親要素の幅を占有し、縦に積み重なるように強制する */
article {
    display: block; /* 念のためブロック要素を強制 */
    width: 100%;    /* 親要素の幅いっぱい（74%分）を使う */
    clear: both;    /* *floatの回り込みを完全に解除し、縦並びを確定* */
    margin-bottom: 50px; /* 記事間の余白 */
}

/*サイドバー*/
aside {
    width: 22%;
}

.news-contents {
    display:flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

/*ニュース
--------------------------------------------*/
#news {
    background-image: url(images/main-bg.jpg);
    height: 270px; /* 背景エリアの高さは270pxに固定 */
    margin-bottom: 40px;
}
#news .page-title {
    text-align: center;
    margin-bottom: 40px;
}

.post-info {
    position: relative;
    padding-top: 1px;
    margin-bottom: 50px;
}
.post-date {
    background: #0056b0;
    border-radius: 30%;
    color: #fff;
    width: 100px;
    height: 100px;
    font-size: 1.675rem;
    text-align: center;
    position: absolute;
    top: 0;
    padding-top: 10px;
    margin-top: 10px;
}
.post-date span {
    font-size: 1rem;
    border-top: 0.8px rgba(255,255,255,.5) solid;
    padding-top: 6px;
    display: block;
    width: 60%;
    margin: 0 auto;
}
.post-title {
    color: #0056b0;
    font-size:2rem;
    font-family: "M PLUS 2", sans-serif;
    font-optical-sizing: auto;
    font-weight: 850;
    font-style: normal;
}
.post-title,
.post-cat {
    font-size: 1rem;
    margin-left: 120px;
}

.news-contents {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.sub-title {
    font-size: 1.375rem;
    padding: 0 8px 8px;
    border-bottom: 2px #0056b0 solid;
    font-weight: normal;
}

aside p {
    padding: 12px 10px;
}

.sub-menu {
    margin-bottom: 60px;
    list-style: none;
    padding-left: 0%;
}

.sub-menu li {
    border-bottom: 1.5px #ddd dashed;
}

.sub-menu a {
    color: #432;
    padding: 10px;
    display: block;
}

.sub-menu a:hover {
    color: rgb(7, 160, 180);
}

/*ルート用
-------------------------------------------------------------------*/

.iframe-container {
    /* 1. グリッドレイアウトにする */
    display: grid;
    /* 2. 均等な幅の2列を作る */
    grid-template-columns: 1fr 1fr;
    /* 3. アイテム間の余白を設定 */
    gap: 30px; 
    align-content: flex-start;
}

.item iframe {
    /* これが重要！ */
    min-width: 0 !important;** width: 100%; 
    height: 700px;
    align-content: flex-start;

    /* ...その他のスタイル */
}


/*タイトル下見出し*/

.sub-title2 {
    /* フォントサイズを小さくする */
    font-size: 0.5em; /* 親要素（h2）の半分のサイズ */
    /* または具体的なサイズ (例: 24px) */
    /* font-size: 24px; */

    /* フォントの色を変えて目立たせる（例: 薄い灰色など） */
    color: #0056b0; 

    /* 日本語のフォントとは別のフォントにする（デザイン性アップ） */
    font-family: 'M PLUS 2', sans-serif; /* h2で使っているRocknRoll Oneではないフォントを指定 */

    /* 大文字・小文字の装飾（全て大文字など） */
    /* text-transform: uppercase; */ 
    
    /* 文字の間隔を少し広げる（デザイン性アップ） */
    letter-spacing: 0.1em; 

    /* ブロック要素にして、h2の中で中央に配置しやすくする */
    display: block; 
    margin-top: 10px; /* 日本語との間に少しだけスペースを開ける */
}

/*モバイル版 メディアクエリー
---------------------------------------------------------------*/

@media (max-width: 600px)  {
    #tt-page {
        font-size: 2.5rem;
        color: #0056b0;
        background: rgba(255, 255, 255, 0.3);    
        padding: 10px 10px;
        border-radius: 18px;
        text-transform: uppercase;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .page-title {
        font-size: 2.5rem;
        color: #0056b0;
    }
    .sub-title2 {
        font-size:1rem;
        color: #022957;
    }

    /*HEADER*/
    .main-nav {
        font-size: 0.7rem;
        margin-top: 10px;
    }
    .main-nav li {
        margin: 0 20px;
    }

    /*HOME*/
    .home-content {
        margin-top: 20%;
    }
    .page-header {
        flex-direction: column;
        align-items: center;
    }
    .news-contents {
        flex-direction: column;
    }
    article,
    aside {
        width: 100%;
    }
    #news.page-title {
        margin-top: 100px;
    }
    aside {
        margin-top: 60px;
    }
    .post-info {
        margin-bottom: 30px;
    }
    .post-date {
        width: 70px;
        height: 70px;
        font-size: 1rem;
    }
    .post-date span {
        font-size: 0.875rem;
        padding-top: 2px;
    }
    .post-title {
        font-size: 1.375rem;
    }
    .post-cat {
        font-size: 0.875rem;
        margin-top: 10px;
    }
    .post-title,
    .post-cat {
        margin-left: 80px;
    }
}


/*店舗情報･地図*/
#location {
    padding: 4% 0;
}
#location .wrapper {
    display: flex;
    justify-content: space-between;
}
.location-info {
    width: 22%;
}
.location-info p {
    padding:12px 10px;
}
.location-map {
    width: 74%;
}

/*iframe*/
iframe {
    width: 100%;
}

/*コンタクトページiframe直上のイメージ画像*/
.image-contact {
    display:flex;
    justify-content: center;
    align-items: center; /* 交差軸（垂直方向）で中央に寄せる */
    height: 300px; /* 垂直方向の中央配置には親要素の高さが必要です */
}

/*グリッドボタン設定*/

/* --- グリッドボタンのコンテナ設定 --- */
.grid-buttons {
    display: grid; /* グリッドレイアウトを有効化 */
    grid-template-columns: 1fr 1fr 1fr; /* 2つの列を均等幅 (1frずつ) に設定 */
    gap: 10px; /* ボタン間のスペースを設定 */
    margin-bottom: 40px; /* 下部に余白を追加 */
    text-align: center;
}

/* --- ボタン自体のスタイル設定 --- */
.grid-buttons .button {
    display: block; /* リンクをブロック要素にし、ボタン全体をクリック可能にする */
    padding: 15px 20px;
    background-color: #007bff; /* ボタンの背景色 */
    color: #ffffff; /* 文字色 */
    text-decoration: none /* 下線を削除 */
    font-weight: bold;
    border-radius: 4px; /* 角を丸くする */
    box-shadow: 0 4px 6px rgba(0, 0, 4, 0.2);
    transition: background-color 0.3s;
}

/* --- ホバー時の動作 --- */
.grid-buttons .button:hover {
    background-color: #0056b3; /* ホバーで色を濃くする */
}
