@charset "utf-8";

/* *{
    outline: 1px solid red;
} */

:root {
    --maincolor: #f7f5f4;
    /* --pointcolor: #f68e80; */
    --pointcolor: #a6baae;
    --textcolor: #333;
    --titlecolor: #5d3e3f;
    --bgcolor: #ece0ca34;
    --white: #f2f2f2;
    --titlefont: "Sorts Mill Goudy", serif;
    --mainfont: "Zen Kaku Gothic New", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bgcolor);
    color: var(--textcolor);
    font-family: var(--mainfont);
    scroll-padding-top: 100px;
    position: relative;
}

h1,
h2,
h3 {
    font-family: var(--titlefont);
    font-weight: 400;
    font-style: italic;
    line-height: 1;
}

h1 {
    font-size: clamp(2.5rem, 2.273rem + 3.64vw, 4rem);
    line-height: 1.2;
}

h2 {
    font-size: 54px;
    text-align: center;
}

h3 {
    font-size: 40px;
    text-align: center;
}

h4 {
    font-size: 24px;
    text-align: center;
}

img {
    height: auto;
}

ul {
    list-style: none;
}

/* ------------------------------------------------ */

.section_title {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.w-container {
    width: min(90%, 1080px);
    margin-left: auto;
    margin-right: auto;
    padding-top: 80px;
}

.sec_margin_top {
    margin-top: 3rem;
}

.con_margin_top {
    margin-top: 1rem;
}

.blur {
    animation-name: blurAnime;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

@keyframes blurAnime {
    from {
        filter: blur(10px);
        transform: scale(1.02);
        opacity: 0;
    }

    to {
        filter: blur(0);
        transform: scale(1);
        opacity: 1;
    }
}

.blurTrigger {
    opacity: 0;
}

/* ------------------------------------------------header----------------------------------------------------- */

.header {
    height: 80px;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
}

.header-in {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: min(94%, 1440px);
    margin: 0 auto;
}

.header-in .site a img {
    height: 50px;
}

/* ----------------------------------------------ナビゲーションボタン -----------------------------------------------*/

.header_nav ul {
    display: flex;
    align-items: center;
    margin: 0 auto;
    justify-content: space-between;
}

.header_nav li a {
    margin-left: 1rem;
    margin-right: 1rem;
    position: relative;
    font-size: 1.5rem;
    font-family: var(--titlefont);
    font-weight: 400;
    font-style: italic;
}

.header_nav ul li a:hover {
    color: var(--pointcolor);
}

.header_nav li > a::after {
    position: absolute;
    left: 0;
    content: "";
    width: 100%;
    height: 1px;
    background: var(--pointcolor);
    bottom: -1px;
    transform: scale(0, 1);
    transform-origin: center top;
    transition: transform 0.3s;
}
.header_nav li > a:hover::after {
    transform: scale(1, 1);
}

/* Responsive Styles */
@media (max-width: 900px) {
    #menu-btn {
        display: block;
        width: 30px;
        height: 20px;
        position: fixed;
        top: 2rem;
        right: 2rem;
        z-index: 3;
        cursor: pointer;
    }

    #menu-btn span,
    #menu-btn span::before,
    #menu-btn span::after {
        content: "";
        height: 2px;
        width: 100%;
        border-radius: 3px;
        background: var(--textcolor);
        position: absolute;
        transition: 0.2s;
    }

    #menu-btn span::before {
        top: 8px;
    }

    #menu-btn span {
        top: 0;
    }

    #menu-btn span::after {
        top: 16px;
    }

    #menu-btn.open span {
        top: 8px;
        transform: rotate(45deg);
        background-color: var(--white);
    }

    #menu-btn.open span::before {
        opacity: 0;
    }

    #menu-btn.open span::after {
        top: 0;
        transform: rotate(-90deg);
        background-color: var(--white);
    }

    .header_nav {
        width: 100%;
        height: 60vh;
        position: fixed;
        top: -120%;
        right: 0;
        z-index: 2;
        color: var(--white);
        background-color: #333333c0;
        transition: 0.5s;
    }

    .header_nav.open {
        top: 0;
    }

    .header_nav ul {
        display: flex;
        flex-direction: column;
        padding: 4rem 2rem;
    }

    .header_nav li {
        padding-bottom: 1.5rem;
        opacity: 0;
    }

    .header_nav.open ul li:nth-child(1) {
        animation: anim1 0.5s ease 0.2s forwards;
    }

    .header_nav.open ul li:nth-child(2) {
        animation: anim1 0.5s ease 0.3s forwards;
    }

    .header_nav.open ul li:nth-child(3) {
        animation: anim1 0.5s ease 0.4s forwards;
    }

    .header_nav.open ul li:nth-child(4) {
        animation: anim1 0.5s ease 0.5s forwards;
    }
    .header_nav.open ul li:nth-child(5) {
        animation: anim1 0.5s ease 0.6s forwards;
    }

    @keyframes anim1 {
        0% {
            opacity: 0;
            transform: translateX(-50%);
        }
        100% {
            opacity: 1;
            transform: translateX(0);
        }
    }
}

/* --------------------------ボタン------------------------- */

.viewmore_btn a {
    font-family: var(--titlefont);
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    color: #333;
    font-weight: 400;
    display: block;
    position: relative;
    box-sizing: border-box;
    max-width: 180px;
    text-align: center;
    padding: 4px 16px 4px 0;
    margin: 24px;
    margin-inline: auto;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}

.viewmore_btn a::before {
    content: "";
    display: block;
    position: absolute;
    width: 180px;
    height: 1px;
    background: var(--textcolor);
    bottom: 0;
    transition: all 0.3s;
}

.viewmore_btn a::after {
    content: "";
    display: block;
    position: absolute;
    width: 30px;
    height: 1px;
    background: var(--textcolor);
    rotate: 40deg;
    right: -3px;
    bottom: 10px;
    transition: all 0.3s;
}

.viewmore_btn a:hover::after,
.viewmore_btn a:hover::before {
    translate: 20px 0;
    transition: all 0.3s;
}

.btn-to-page {
    margin-top: 5rem;
    margin-bottom: 5rem;
    text-align: center;
}
.btn-to-page a {
    display: inline-block;
    width: 60%;
    max-width: 320px;
    padding: 1rem;
    background-color: rgb(from var(--maincolor) r g b / 0.7);
    border: 3px solid var(--pointcolor);
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    position: relative;
    transition: 0.2s linear;
}

.btn-to-page a:hover {
    border-radius: 16px;
}

.btn-to-page i {
    margin-left: 0.5rem;
}

/* ------------------------------footer------------------------------ */

.footer {
    width: 100%;
    text-align: center;
    background-color: rgb(from var(--pointcolor) r g b / 0.7);
    color: var(--white);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.footer .btn-to-page {
    color: var(--textcolor);
}

.footer-in {
    width: 90%;
    margin: 0 auto;
}

.footer_nav ul {
    display: flex;
    width: 50%;
    margin: 0 auto;
    color: var(--white);
    justify-content: space-between;
}

.footer-in .nav li {
    color: var(--white);
}

.footer_nav ul li a {
    font-family: var(--titlefont);
    font-weight: 400;
    font-style: italic;
    font-size: 1.5rem;
}

.footer_nav ul li a:hover {
    color: var(--pointcolor);
}

/* ----------ContactSection---------- */
.contact_sec {
    padding: 3rem 0;
    text-align: center;
}

.contact_sec .container {
    margin: 0 auto;
}

.contact_sec p {
    font-size: 1.2em;
    color: var(--textcolor);
    cursor: pointer;
}

.contact_sec .btn-to-page {
    margin-top: 0;
    margin-bottom: 0;
}

.sns_link {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.sns_link .line {
    height: 2.5rem;
}

.sns_link img {
    height: 100%;
}

.sns_link .x_twitter {
    font-size: 2.5rem;
}

/* 右下に固定 */
/*---------------------------トップへ戻るボタン---------------------------*/
#page-top {
    position: fixed;
    right: 5px;
    bottom: 20px;
    height: 50px;
    text-decoration: none;
    font-weight: bold;
    transform: rotate(90deg);
    font-size: 90%;
    line-height: 1.5rem;
    color: #737373;
    padding: 0 0 0 35px;
    border-top: solid 1px;
}

#page-top::before {
    content: "";
    display: block;
    position: absolute;
    top: -1px;
    left: 0px;
    width: 15px;
    border-top: solid 1px;
    transform: rotate(35deg);
    transform-origin: left top;
}

/*---------------------------各ページ共通---------------------------*/

.section {
    padding: 100px 0;
}

.section_body {
    width: 90%;
    max-width: 1080px;
    margin: 2rem auto 0;
}

.content {
    width: 90%;
    margin: 0 auto;
}

.content p {
    word-break: auto-phrase;
}

.page_title h1 {
    font-family: var(--titlefont);
}

.page_title {
    text-align: center;
}

.page_title p {
    word-break: auto-phrase;
}
.page_title a:hover {
    color: var(--pointcolor);
}

/* パンくずリスト */
.breadcrumb {
    width: 100%;
    color: var(--textcolor);
    border-bottom: 1px dotted var(--white);
    margin-top: 2rem;
}

.breadcrumb_inner {
    width: 90%;
    margin: 0 auto;
    padding: 0.5rem;
}

/* ぺーじナビ */

.pagenation {
    width: 90%;
    margin: 0 auto;
}

/* .wp-pagenavi{
    width: 50%;
    margin: 2rem auto 0;
    display: flex;
    justify-content: center;
} */

.wp-pagenavi {
    margin: 40px auto;
    font-size: 14px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}
.wp-pagenavi a {
    color: #333;
}
.wp-pagenavi a:hover {
    color: #77a0d1;
}
.wp-pagenavi span.current,
.wp-pagenavi a.page {
    margin: 0 10px;
    line-height: 2;
    padding: 0 12px;
    transition: 0.03s;
    display: block;
    border-bottom: 4px solid transparent;
}
.wp-pagenavi span.current {
    border-bottom: 4px solid var(--pointcolor);
}
.wp-pagenavi a.page {
    background: none;
}
.wp-pagenavi a.page:hover {
    border-bottom: 4px solid var(--pointcolor);
}
.wp-pagenavi .first,
.wp-pagenavi .extend {
    margin-right: 15px;
}
.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {
    display: none;
}

@media (max-width: 900px) {
    .section_body {
        width: 90%;
        margin: 0 auto;
    }

    .content {
        width: 100%;
    }
}
