@charset "utf-8";

body {
    font-family: 'Times New Roman', Times, serif;
    font-size: 14px;
    color: #704c40;
    letter-spacing: 0.1cm;
    line-height: 1.7;
}

.inner {
    width: 90%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.comments {
    width: 90%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}


/*header*/

.top {
    color: #704c40;
}

.fa-instagram-square,
.fa-square-instagram {
    --fa: "\e055";
    font-size: 30px;
}

.slide-item {
    display: flex;
    flex-direction: column;
}

.slide-item .btns {
    margin-top: auto;
    /* 自動で下に寄せる */
    display: inline-block;
}

header {
    z-index: 30;
    padding: 30px 0 20px 0;
    background-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    margin-bottom: 50px;
}

main {
    padding-top: 60px;
}

header .inner {
    display: grid;
    grid-auto-flow: column;
    align-items: center;
    justify-content: center;
}

.aboutphoto {
    margin-top: 120px;
}

img {
    max-width: 100;
    height: auto;
    /*上記２個は各必要ないけどとりま書く*/
    vertical-align: middle;
}

.butter {
    width: 100%;
    max-width: 30px;
    margin-top: 4px;
}

.hedders {
    column-gap: 20px;
    display: flex;
    text-align: center;
}

/* トップへ戻るボタン */
#scrollTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9;
    animation: fuwafuwa 3s ease-in-out infinite alternate;
    background: url(../img/ico-apple.svg) no-repeat center center / 60px auto;
    display: inline-block;
    /* ← 常に表示 */
    transition: 1.5s ease-in-out;
    width: 70px;
    height: 70px;
    margin-top: 15px;
}

@keyframes fuwafuwa {
    0% {
        transform: translate(0, 0) rotate(-7deg);
    }

    50% {
        transform: translate(0, -7px) rotate(0deg);
    }

    100% {
        transform: translate(0, 0) rotate(7deg);
    }
}

#scrollTopBtn img {
    width: 50px;
    /* ボタンサイズ */
    height: 50px;
    margin-right: 10px;
    margin-bottom: 15px;
}

#image {
    width: 1000px;
    margin: 0 auto;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    position: relative;
    z-index: -1;
}

#image.fade-in {
    opacity: 1;
}

h1 {
    font-size: 23px;
}

.btn-text:hover {
    color: #cfbcbb;
}

.category-tag a:hover {
    color: #cfbcbb;
}

.instagram i {
    font-size: 32px;
    /* ← お好きなサイズに調整 */
}

article {
    height: 600px;
    padding-top: 70px;
}

profile {
    height: 600px;
    padding-top: 70px;
}

/*main*/


/*カテゴリーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
.category .slides,
.category .slide-item {
    display: block;
}

.category .img-box {
    overflow: none;
}

.slide-item {
    width: 100%;
    max-width: 500px;
    margin-inline: auto;
}

/*カテゴリーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/

.scroll {
    display: inline-block;
    padding-top: 70px;
    position: relative;
    margin-top: 460px;
    width: 100%;
    margin-inline: auto;
    text-align: center;
}


.scroll::before {
    animation: scroll 2.5s infinite;
    border: solid #704c40;
    border-width: 0 0 1px 1px;
    content: "";
    display: inline-block;
    margin: auto;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    transform: rotate(-45deg);
    width: 20px;
    height: 20px;
}

@keyframes scroll {
    0% {
        transform: rotate(-45deg) translate(0, 0);
    }

    80% {
        transform: rotate(-45deg) translate(-30px, 30px);
    }

    0%,
    80%,
    100% {
        opacity: 0;
    }

    40% {
        opacity: 1;
    }
}

.article {
    padding-bottom: 10px;
}

h2 {
    font-size: 32px;
    padding: 75px 0 60px 0;
    text-align: center;

}

h3 {
    padding-bottom: 10px;
    font-size: 24px;
    padding-top: 120px;
}

.mainvisual {
    margin-bottom: 100px;
    margin-top: 50px;
}

.btn {
    display: inline-block;
    margin-top: 30px;
    padding: 8px 16px;
    /* 内側の余白 */
    border: 1px solid #704c40;
    /* 線の太さ・スタイル・色 */
    border-radius: 4px;
    /* 角を少し丸くする（必要なら） */
    text-decoration: none;
    /* リンクの下線を消す（必要なら） */
}

@media(max-width:420px) {
    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 20px;
    }

}

.photos img {
    margin-top: 100px;
    width: 100%;
    max-width: 900px;
    /* ← ここで調整！ */
    height: auto;
    object-fit: cover;
}



@media (min-width: 700px) {
    body {
        font-size: 16px;
    }

    .photos {
        margin-top: 40px;
        display: flex;
        gap: 40px;
        align-items: flex-start;
        /* 上揃え */
        max-width: 900px;
        margin-inline: auto;
        margin-bottom: 85px;
    }

    .content,
    .contents {
        /* ← ここをリセット */
        text-align: left;
        margin-top: 225px;
    }
}

@media (max-width: 699px) {
    .photos {
        display: flex;
        flex-direction: column;
        /* 縦並び */
        align-items: center;
        max-width: 430px;
        margin-inline: auto;
    }

    .content,
    .contents {
        padding-bottom: 100px;
        text-align: center;
    }
}



@media(700px>width) {
    .content {
        padding-bottom: 100px;
    }

    .contents {
        padding-bottom: 100px;
    }

    .content {
        margin-top: 20px;
    }

    .contents {
        margin-top: 20px;
    }

    .photos {
        width: 100%;
        max-width: 430px;
        margin-inline: auto;
    }
}


.slides {

    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    /* 横幅が足りなくなったら折り返す */
    justify-content: center;
    /* 中央揃え */

}

.slide-item.show {
    opacity: 1;
    transform: translateY(0);
}

.slide-item {
    display: flex;
    flex-direction: column;
    width: 90%;
    /* 親に合わせて可変 */
    max-width: 300px;
    /* 最大幅は300px */
    box-sizing: border-box;
    margin-bottom: 85px;
    /* 下の余白 */
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.slide-item img {
    display: block;
    margin: auto;
    /* 枠に合わせてトリミング */
    margin-bottom: 10px;
}

.slide-item .btns {
    width: 100%;
    /* 親の幅に合わせる */
    text-align: center;
}

@media (max-width: 420px) {
    .slide-item img {
        width: 200px;
        height: auto;
        /* 縦横比を維持 */
    }

    .slide-item .btns {
        width: 200px;
        text-align: center;
        padding: 4px 8px;
        /* ボタン内の余白も調整 */
    }

    .btns {
        margin-bottom: 30px;
    }
}


.slide-item p {
    font-size: 14px;
    color: #704c40;
}

.Blogs {
    font-size: 26px;
    padding-bottom: 30px;
    padding-top: 30px;
}

@media(max-width:420px) {
    .Blogs {
        font-size: 23px;
    }
}

/* overlay-styles.css */
.hamburger-overlay {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.hamburger-overlay__line {
    position: absolute;
    left: 11px;
    width: 26px;
    height: 2px;
    background-color: #704c40;
    transition: all .8s;
}

.hamburger-overlay__line:nth-of-type(1) {
    top: 14px;
}

.hamburger-overlay__line:nth-of-type(2) {
    top: 23px;
}

.hamburger-overlay__line:nth-of-type(3) {
    top: 32px;
}

.hamburger-overlay.active .hamburger-overlay__line {
    background-color: #fff;
}

.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(1) {
    transform: translateY(9px) rotate(-45deg);
}

.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(2) {
    opacity: 0;
}

.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(3) {
    transform: translateY(-9px) rotate(45deg);
}

.nav-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    visibility: hidden;
    opacity: 0;
    transition: all .0s;
    z-index: 900;
}

.nav-overlay__blur {
    width: 100%;
    height: 100%;
    backdrop-filter: blur(20px);
    background: rgba(220, 214, 210, .5);
    position: absolute;
    top: 0;
    left: 0;
}

.nav-overlay.active {
    visibility: visible;
    opacity: 1;
}

.nav-overlay__content {
    width: 100%;
    max-width: 500px;
    height: 100%;
    margin-left: auto;
    text-align: center;
    background-color: #D6c5d5;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
}

.nav-overlay__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-overlay__item {
    opacity: 0;
    transform: translateY(20px);
    transition: all .6s;
}

.nav-overlay.active .nav-overlay__item {
    opacity: 1;
    transform: translateY(0);
}

.nav-overlay.active .nav-overlay__item:nth-child(1) {
    transition-delay: 0.1s;
}

.nav-overlay.active .nav-overlay__item:nth-child(2) {
    transition-delay: 0.2s;
}

.nav-overlay.active .nav-overlay__item:nth-child(3) {
    transition-delay: 0.3s;
}

.nav-overlay.active .nav-overlay__item:nth-child(4) {
    transition-delay: 0.4s;
}

.nav-overlay__link {
    display: inline-block;
    margin: 20px 0;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    transition: color .3s;
    line-height: 1.1;
    overflow: hidden;
}

.nav-overlay__span {
    position: relative;
}

.nav-overlay__span span {
    transition: .3s;
    display: inline-block;
}

.nav-overlay__link:hover .nav-overlay__span span {
    transform: translateY(-100%);
}

.nav-overlay__span::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(100%);
    color: #704c40;
    transition: .3s;
}

.nav-overlay__link:hover .nav-overlay__span::after {
    transform: translateY(0%);
}

.nav-overlay__link:hover {
    color: #704c40;
}


/*footer*/


footer {
    text-align: center;
    line-height: 2;
}

.adress {
    font-size: 18px;
}

.profiles {
    padding-top: 85px;
    padding-bottom: 10px;
}

.home #article {
    padding-top: 350px;
}

.heart {
    width: 100%;
    max-width: 300px;
    margin-inline: auto;
}

@media(max-width:699px) {
    .heart {
        max-width: 250px;
    }
}

@media(max-width:420px) {
    .heart {
        max-width: 200px;
    }
}

.name {
    padding-top: 50px;
}

@media(max-width:420px) {
    .name {
        padding-top: 20px;
    }
}

.sns {
    font-size: 40px;
    text-align: center;
    color: #704c40;
}

.sns a:hover {
    color: #cfbcbb;
}

.fa-brands {
    font-size: 30px;
    text-align: center;
    color: #fff;
}

.fa-brands:hover {
    color: #704c40;
}

/*--------------------------
about
----------------------------*/

@media(420px>=width) {
    h4 {
        font-size: 16px;
    }
}

h4 {
    font-size: 18px;
    padding-top: 70px;
    padding-bottom: 10px;
}

.kore {
    text-align: center;
}

.photoses {
    column-gap: 40px;
    width: 100%;
    max-width: 600px;
    margin-inline: auto;
}

.kore p {
    column-gap: 40px;
    width: 100%;
    max-width: 800px;
    margin-bottom: 20px;
    margin-inline: auto;
}

.jks {
    text-align: center;
    font-size: 16px;
}

/*footer*/
small {
    font-size: 14px;
    text-align: center;
}

small p {
    padding-bottom: 80px;
    padding-top: 40px;
}

/*collor*/
.collor {
    text-align: center;
    padding-top: 60px;
    width: 100%;
    max-width: 800px;
    margin-inline: auto;
}

.photoses {
    margin-bottom: 30px;
}

.fivepage {
    width: 100%;
    max-width: 600px;
    margin-inline: auto;
    margin-top: 80px;
    margin-bottom: 30px;
}

.sevenpage {
    padding-top: 20px;
}



.ninepage {
    width: 100%;
    max-width: 600px;
    margin-inline: auto;
    margin-top: 40px;
}

.last {
    padding-top: 10px;
}

.btnses {
    display: inline-block;
    padding: 8px 16px;
    /* 内側の余白 */
    border: 1px solid #704c40;
    /* 線の太さ・スタイル・色 */
    border-radius: 4px;
    /* 角を少し丸くする（必要なら） */
    text-decoration: none;
    /* リンクの下線を消す（必要なら） */
}

.last {
    text-align: center;
}

.btns {
    display: block;
    /* 中央寄せにしやすくする */
    width: 300px;
    /* 枠線の幅を固定 */
    margin: 8px auto 10px;
    /* 上 10px, 左右 auto, 下 45px → 中央寄せ */
    padding: 8px 16px;
    border: 1px solid #704c40;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
}


/*------------------
 single
------------------ */

.document {
    padding: 30px 0 30px 0;
}

.single {
    .contents {
        width: 600px;
        margin: auto;
    }

    .backs {
        margin-top: 80px;
        padding-top: 30px;

    }
}

dl dt {
    margin-top: 40px;
    font-size: 18px;
    /* 上に20pxの余白 */
}

.backs h1:first-of-type {
    text-align: center;
    font-size: 25px;
    padding-bottom: 10px;
}

.backs h1 {
    font-size: 20px;
}

/* .backs 内の h2 はそのまま */
.backs h2 {
    text-align: left;
    font-size: 23px;
    padding: 50px 0 20px 0;
}

.backs h3 {
    font-size: 18px;
    padding-top: 0px;
}

.backs h4 {
    font-size: 16px;
    padding-top: 40px;
}

/* 複数行のblockquoteの上に20px */
.wp-block-quote {
    margin-bottom: 20px;
}

/* cite の上に10px */
.wp-block-quote cite {
    display: inline-block;
    /* margin-top を効かせるためにブロック化 */
    margin-top: 5px;
}

.document h2 {
    text-align: left;
    padding-bottom: 20px;
}

.tag ul {
    margin-bottom: 85px;
}

p:nth-of-type(3) {
    padding-bottom: 10px;
}



.document {
    width: 90%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.post-time {
    padding-bottom: 85px;
}

.category-tag {
    padding-bottom: 10px;
}

@media (688px<width) {
    .blogtext {
        padding: 5px 0 5px 0;
    }
}

@media (max-width: 480px) {
    .btns {
        display: block;
        /* 中央寄せにしやすくする */
        width: 300px;
        /* 枠線の幅を固定 */
        margin: 8px auto 45px;
        /* 上 10px, 左右 auto, 下 45px → 中央寄せ */
        padding: 8px 16px;
        border: 1px solid #704c40;
        border-radius: 4px;
        text-decoration: none;
        text-align: center;
        box-sizing: border-box;
    }
}

@media(max-width: 420px) {
    .btns {
        display: inline-block;
        margin-top: 10px;
        margin-bottom: 30px;
        padding: 8px 16px;
        border: 1px solid #704c40;
        border-radius: 4px;
        text-decoration: none;
        width: 300px;
        text-align: center;
        /* 文字を中央揃え */
        box-sizing: border-box;
        /* padding込みで幅を調整 */
    }
}

.blogtext {
    padding-bottom: 30px;
    padding-top: 10px;
}

img {
    width: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* aspect-ratioで表示部分の縦横比を固定し、overflow:hiidenではみ出た部分を非表示  */
.img-box {
    aspect-ratio: 5/3;
    overflow: hidden;
    border-radius: 10px;
}


/*背景アニメーション*/
:root {
    --white: #cfbcbb;
    --blue: #D6c5d5;
    --green: #F2C9C9;
    --yellow: #c1afc8;
    --pink: #F7E1E1;
}

body {
    min-height: 100vh;
    /* 高さは最低1画面、内容が増えたら伸びる */
    overflow-x: hidden;
    /* 横スクロールは消す */
    overflow-y: auto;
    background:
        radial-gradient(circle at bottom, var(--white), transparent 80%),
        linear-gradient(to top, #cbc0d6 0%, transparent 70%),
        linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.4) 70%),
        var(--blue);
    animation: bg 20s infinite;
}

@keyframes bg {

    0%,
    75% {
        background-color: var(--blue);
    }

    40% {
        background-color: var(--green);
    }

    50% {
        background-color: var(--yellow);
    }

    75% {
        background-color: var(--pink);
    }
}

.comment-area img {
    width: 100%;
    max-width: 80px;
}

.category-tag {
    display: block;
    width: 150px;
    padding: 6px 14px;
    border: 1px solid #704c40;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
    margin-bottom: 10px;
}