@charset "UTF-8";

/* 基本 */
/* * {
    border: red solid 1px;

} */

:root {
    --v-space: clamp(90px, 9vw, 120px);

}

/* 右端のfixボタン */
.home-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: inline-block;
    text-decoration: none;
}

.home-img {
    width: 40px; /* 小さめに調整 */
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.home-img:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

body {
    margin: 0;
    background-color: #eee;
    color: #222;
    font-family: sans-serif;

}

h1, h2, h3, h4, h5, h6, p, figure, li {
    margin: 0;
    padding: 0;
    list-style: none;
}

p {
    line-height: 1.8;

}

a {
    color: inherit;
    text-decoration: none;

}

a:hover {
    filter: brightness(90%) contrast(120%);

}

img {
    display: block;
    max-width: 100%;
    height: auto;

}

/* フッターテキストメニュー */
.footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

img {
    display: block;
    max-width: 100%;
    height: auto;

}

body {
    margin: 0;
    background-color: #eee;
    color: #222;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;

}

h1, h2, h3, h4, h5, h6, p, figure, li {
    margin: 0;

}

img {
    display: block;
    max-width: 100%;
    height: auto;

}

/* 横幅と左右の余白 */
.w-container {
    width: min(98%, 1166px);
    margin: auto;
    position: relative;

}

/* ヘッダー */
.header {
    height: 112px;
    background-color: aqua;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 100;

}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;

}

.header-container > .site {
    margin-right: auto;
}

.header-container .w-container {
    position: relative;

}
.site-header-read {
    position: absolute;
    top: 40px;
    left: 80px;

}
/* 記事 */

.entry {
    padding-bottom: var(--v-space);
    padding-top: var(--v-space);
    background-color: #e4f3f8;

}

.entry h1 {
    text-align: center;
}

.entry-img img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    margin-bottom: calc(var(--v-space) * 2 / 3);

}

.entry .w-container {
    max-width: 720px;

}

.entry #heading-decoration {
    font-size: clamp(30px, 6.25vw, 48px);

}

.entry-container {
    font-size: clamp(16px, 2.4vw, 18px);

}

.entry-container {
    :where(h1, h2, h3, h4, h5, h6, p, figure, ul) {
        margin-top: revert;
        margin-bottom: revert;
        padding: revert;
        list-style: revert;
    }
}

/* ナビゲーションボタン */
.navbtn {
    padding: 0;
    outline: none;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #aaa;
    font-size: 30px;

}

.open .navbtn {
    z-index: 110;
    color: #fff;

}

.navbtn .fa-bars {
    display: revert;

}

.open .navbtn .fa-bars {
    display: none;

}

.navbtn .fa-times {
    display: none;

}

.open .navbtn .fa-times {
    display: revert;

}

/* pcの時 */
@media (min-width: 768px) {
    .navbtn {
        display: none;

    }

}


/* ナビゲーションメニュー：モバイル */
@media (max-width: 767px) {
    .nav {
        position: fixed;
        inset: 0 -100% 0 100%;
        z-index: 100;
        background-color: #4e483ae6;
        transition: transform 0.3s;

    }

    .open .nav {
        transform: translate(-100%, 0);
    }

    body.open .page-wrapper {
        position: fixed;
        overflow: hidden;
        width: 100%;

    }

    .nav ul {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        gap: 40px;
        color: #fff;

    }
}

/* ナビゲーションメニュー：PC */
@media (min-width: 768px) {
    .nav ul {
        display: flex;
        gap: 40px;
        color: #707070;

    }
}

/* ヒーロー */
.hero {
    height: 650px;
    background-image: url(img/img_top.jpg);
    background-position: center;
    background-size: cover;

}

.hero-container {
    display: grid;
    justify-items: center;
    align-content: center;
    height: 100%;

}

.hero h1 {
    margin-bottom: 0%;/* 特に必要ないかもしれない。（pがないから。） */
    color: #fff;/* 見ずらいので白に変更。理想は帯をかけたい */
    font-size: clamp(40px, 5vw, 68px);
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-weight: 400;
    line-height: 1.3;
    text-align: center;

}



.text :last-child {
    font-size: x-small;

} /* 写真の注釈 */

/* 画像とテキスト */
.imgtext {
    padding: var(--v-space) 0;
    background-color: #fff;

}

.imgtext + .imgtext {
    padding-top: 0;

}

.imgtext-container {
    display: flex;
    flex-direction: column;
    gap: clamp(45px, 6vw, 80px);

}

/* 画面幅が768以上の時に横並びに */
@media (min-width:768px) {
    .imgtext-container {
        flex-direction: row;
        align-items: center;
        
    }

    .imgtext-container.reverse {
        flex-direction: row-reverse;

    }

    .imgtext-container > .text {
        flex: 1;
        min-width: 17em;

    }

    .imgtext-container > .img {
        flex: 2;
    }

}/* @media end */

/* タイトルとサブタイトル(下線で装飾) */
.heading-decoration {
    font-size: clamp(30px, 3vw, 40px);
    min-height: 0vw;
    font-weight: 400;

}

.heading-decoration::after {
    display: block;
    content: '';
    width: 160px;
    height: 0px;
    border-top: solid 5px aqua;
    margin-top: 0.6em;

}

.heading-decoration + p {
    margin-top: 1em;
    margin-bottom: 1em; 
    color: #707070;
    font-size: 18px;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;

}

/* 記事一覧 */
.posts {
    padding: var(--v-space) 0;
    background-color: #f3f1ed;

}

.posts-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 25px;

}

/* 画面幅768px以上の場合 */
@media (min-width: 768px) {
    .posts-container {
        grid-template-columns: repeat(3, 1fr);

    }
}

/* 記事一覧の記事 */
.post a {
    display: block;

}

.post h3 {
    margin: 1em 0 0.5em;
    font-size: clamp(12px, 2vw, 20px);
    min-height: 0vw;

}

.post p {
    max-width: 23em;
    font-size: clamp(10px, 1.6vw, 14px);
    min-height: 0vw;

}

/* content.html */
/* 岩手観光ポスター */
#poster h1 {
    padding-bottom: 25px;

}

#poster {
    padding-bottom: 100px;    
    display: flex;
    flex-direction: column;
    gap: 15px;

}
/* 温泉 */
#spa {
    display: flex;
    flex-direction: column;
    padding-bottom: 100px;
    
}

#spa h1 {
    padding-bottom: 25px;    

}

/* あとがき */
#column h1 {
    padding-bottom: 25px;

}

.entry h1::after {
    display: block;
    content: '';
    width: 300px;
    height: 0px;
    border-top: solid 5px aqua;
    margin: 0.2em auto 0 auto;

}

.entry h1 + p + #poster {
    margin-top: 1em;
    margin-bottom: 2em;
    color: #707070;
    font-size: 18px;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    width: 100%;
}


/* 観光ポスターの設定 */
.poster-btn {
    display: block;
    width: 260px;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 4px;
    background-color: aqua;
    color: #fff;
    font-size: 18px;
    text-align: center;
    text-shadow: 0 0 6px #00000052;
    
}



/* サポートしていないブラウザでは高さ180で固定して */
@supports not (aspect-ratio: 3 / 2) {
    .post img {
        height: 180px;

    }
}


/* パーツ見出し */
#heading {
    position: absolute;
    top: calc((var(--v-space) + 0.8em) * -1);
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: clamp(40px, 5.2vw, 60px);
    min-height: 0vw;
    font-weight: 300;

}

#heading span {
    display: block;
    color: #666;
    font-size: 18px;

}

/* NEWS */
.news-list {
    list-style-type: none; /* デフォルトの・を消す */
    padding: 0;
    max-width: 600px;
    margin: 20px auto;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;

    }

.news-item {
    border-bottom: 2px dotted aqua;
    padding: 10px 0;
    }

.news-date {
    font-weight: bold;
    color: #555;
    margin-bottom: 5px;
    }

.news-content {
    color: #333;
    }

#news h2 {
    font-size: clamp(30px, 3vw, 40px);
    min-height: 0vw;
    font-weight: 400;
    text-align: center;
}

/* ポスターリンクボタン */
.poster-btn {
    display: block;
    width: 100px;
    padding: 5px;
    box-sizing: border-box;
    border-radius: 4px;
    background-image: linear-gradient(130deg,rgb(0, 247, 255),rgb(62, 116, 231));
    color: #fff;
    font-size: 10px;
    text-align: center;
    text-shadow: 0 0 6px #00000052;
    white-space: nowrap;

}

/* 次のページへ行く　*/
.works-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 50px;
}
.next-button {
    color: #fff;
    background-color: aqua;
    border: 2px solid aqua;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 1rem;
    transition: 0.3s ease-in-out;
    width: 200px;

}

.next-button:hover {
    background-color: #fff;
    color: blue;

}

/* フッター */
footer {
    padding-bottom: 20px;
    background-color: #f5f5f5;
    text-align: center;
    opacity: 0.7;
    background-repeat: no-repeat;      
}

.title {
    background: rgba(255,255,255,0) url(img/img_umi.webp) no-repeat 0 90% / cover ;
    background: linear-gradient(rgba(255, 255, 255, 0.5),rgba(255, 255, 255, 0.5)),url(img/img_umi.webp) no-repeat 0 90% / cover ;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    height: 100%;
    width: 100%;
    
}

.title .btn {
    margin-top: 50px;
}

#footer_inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 400px;
    background-color: rgba(255, 255, 255, 0);
}

.footer-btn {
    padding: 0;

}

/* （フッター）ボタン */
.footer-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    width: 100%;
    align-items: center;

}


.btn {
    color: #fff;
    background-color: aqua;
    border: 2px solid aqua;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 1rem;
    transition: 0.3s ease-in-out;
    width: 200px;

}




