/**
 * Theme Name: Find Ochanomizu!
 * Description: Find Ochanomizuサイトのオリジナルテーマ
 * Author: Digital Hollywood Co., Ltd.
 * Author URI: https://www.dhw.co.jp/
 * Version: 1.0.0
 */

/*==========================
common
==========================*/
:root {
    --primary-border-black: #262525;
    --primary-border-glay: #ABABAB;
    --primary-bg-white: #FCFCFC;
    --primary-red: #CA1515;
    --primary-waku: #514949;
    --font-sanserif: "Noto Sans JP", sans-serif;
    --font-serif: "Sawarabi Mincho", serif;
}

html {
    font-size: 100%;
}

body {
    font-family: var(--font-sanserif);
    font-style: normal;
    color: var(--primary-waku);
    background-color: var(--primary-bg-white);
    line-height: 1.5;
    font-size: 1rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-style: normal;
    color: var(--primary-border-black);
}

img {
    max-width: 100%;
    height: auto;
}

p{
    font-feature-settings: "palt";
    margin: 2rem 0;
    line-height: 2;
    font-family: var(--font-serif);
    color: var(--primary-border-black);
}
p a{
    color: var(--primary-red);
    border-bottom: 1px solid var(--primary-red);
}
p a:hover{
    border-bottom: none;
}
a{
    transition: 0.3s;
}
a:hover{
    transition: 0.3s;
    opacity: 0.8;
}
.single,
.page{
    background-color: #fff;
}
.container{
    overflow: hidden;
}

/*==========================
SP
==========================*/
/*
header
--------------------------*/
.header{
    position: fixed;
    top: 0;
    z-index: 9999;
    width: 100%;
    padding: 34px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-bg-white);
}
.header__logo{
    max-width: 60%;
}
.nav{
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
    width: 100%;
    height: 100svh;
    max-width: 500px;
    visibility: hidden;
    opacity: 0;
	transition: .5s;
    background-color: var(--primary-bg-white);
}
.nav.active{
    visibility: visible;
    opacity: 1;
	transition: .5s;
}
.nav__header{
    padding: 38px 26px 0;
    display: flex;
    justify-content: flex-end;
}
.nav__list{
    padding: 38px 26px;
}
.menu-item{
    text-align: right;
    font-size: 1rem;
}
.menu-item a{
    display: inline-block;
    padding: 0.5rem 0;
    color: var(--primary-border-black);
}
.menu-item a:hover{
    color: var(--primary-red);
}
.menu-item a.current-menu-item{
    color: var(--primary-red);
}
.header__btn{
    padding-left: 44px;
    background-image: url(./assets/images/bg-ark-sp.png);
    background-position: -24px 50%;
    background-repeat: no-repeat;
    background-size: 50px auto;
}
/*
footer
--------------------------*/
.footer{
    padding: 68px 20px 30px;
    background-image: url(./assets/images/footer-line.svg);
    background-position: left top;
    background-repeat: no-repeat;
}
.footer .logo{
    max-width: 80%;
    margin: 0 auto 36px;
    text-align: center;
}
.fnav{
    display: flex;
    gap: 8%;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 120px;
}
.fnav a{
    color: var(--primary-border-black);
    font-size: 0.937rem;
}
.copyright{
    text-align: center;
    color: var(--primary-waku);
    font-size: 1rem;
}

/*
content
--------------------------*/
.error404 .main,
.search-results .main{
    margin-top: 92px;
}
.basic-section{
    padding-top: 70px;
    padding-bottom: 90px;
}
.mainvisual{
    position: relative;
}
.mainvisual::after{
    position: absolute;
    top: 0;
    z-index: 2;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(15, 1, 1, 0.30);
}
.mainvisual__mv{
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100svh;
    overflow: hidden;
}
.video-main{
    position: absolute;
	top: 50%;
	left: 50%;
	object-fit: cover;
	transform: translate(-50%, -50%);
    filter: drop-shadow(0px 0px #000);
    width: 100%;
    height: 100svh;
}
.mainvisual__textarea{
    position: absolute;
    z-index: 10;
    bottom: 30px;
    right: clamp(2%, 5%, 30px);
    text-align: right;
    color: #fff;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.45));
}
.mainvisual__textarea h2{
    font-size: 1.375rem;
    color: #fff;
    margin-bottom: 1.38rem;
}
.mainvisual__textarea p{
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.375rem;
    color: #fff;
    max-width: 390px;
}
.google-map{
    margin: 0 auto;
    width: calc(100% - 24px);
    overflow: hidden;
}
.google-map__wrap{
    width: 100%;
    max-width: 1200px;
    height: 452px;
    position: relative;
    margin: 0 auto;
    border: 1px solid var(--primary-border-glay);
}
.google-map__wrap iframe{
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    
}
.section-title{
    color: var(--primary-border-black);
    text-align: center;
    font-family: var(--font-serif);
    font-size: 2rem;
    line-height: normal;
    margin-bottom: 68px;
}
.latest-news{
    margin: 56px 24px 90px;
    padding: 24px 24px 44px;
    border: 1px dashed var(--primary-border-glay);
    background-color: var(--primary-bg-white);
    position: relative;
}
.latest-news::after {
    display: inline-block;
    width: 48px;
    height: 35px;
    content: "";
    position: absolute;
    top: -18px;
    left: calc(50% - 24px);
    background-image: url(./assets/images/infoline.png);
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 36px auto;
}
.latest-news__title {
    color: var(--primary-border-black);
    text-align: center;
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 20px;
}
.news-list__item {
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
    align-items: center;
    align-items: center;
}
.news-list__date {
    display: inline-block;
    width: 90px;
}
.news-category {
    margin-right: 20px;
    padding: 1px 10px;
    border: 1px solid;
    border-radius: 30px;
}
.news-category__single {
    padding: 5px 10px;
    border: 1px solid;
    border-radius: 30px;
    margin-bottom: 10px;
}
.post-list{
    padding: 0 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}
.news-list__sp {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}
.post-list-item{
    padding: 20px;
    border: 1px solid var(--primary-border-glay);
    background: var(--primary-bg-white);
    box-shadow: 1px 4px 6px 1px rgba(116, 116, 116, 0.10);
    width: clamp(320px, 48%, 400px);
    display: flex;
    flex-direction: column-reverse;
}
.post-list-item__thumbnail{
    border: 1px solid var(--primary-border-glay);
}
.post-list-item__thumbnail img{
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}
.post-list-item__textarea{
    display: flex;
    justify-content: space-between;
    margin: 10px 0 0;
}
.post-list-item__textarea h3{
    font-family: var(--font-sanserif);
}
.post-list-item__term{
    display: inline-block;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--primary-border-glay);
    border-radius: 16px;
    line-height: 1.3;
}
.post-list-item__term:hover{
    background-color: var(--primary-border-black);
    color: var(--primary-bg-white);
}
.archive-header{
    width: 100%;
    height: 90svh;
    position: relative;
}
.archive-header__textarea{
    position: absolute;
    bottom: 70px;
    left: 30px;
    width: calc(100% - 50px);
    z-index: 1;
}
.archive-header__title{
    color: var(--primary-bg-white);
    font-size: 2.25rem;
    font-family: var(--font-serif);
    margin-bottom: 34px;
}
.archive-header__caption,
.archive-header__caption p{
    color: var(--primary-bg-white);
    font-family: var(--font-sanserif);
    font-size: 0.9375rem;
    line-height: 1.7;
}
.archive-header__caption br{
    display: none;
}
.archive-header__img{
    position: relative;
    width: 100%;
    height: 90svh;
}
.archive-header__img::after{
    content: "";
    display: block;
    width: 100%;
    height: 90svh;
    background: rgba(15, 1, 1, 0.30);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}
.archive-header__img img{
    width: 100%;
    height: 90svh;
    object-position: center;
    object-fit: cover;
}
.archive-postlist{
    margin-top: 50px;
}
.post-header{
    margin-top: 92px;
    position: relative;
    height: 254px;
}
.post-header__title{
    padding-top: 72px;
    margin-bottom: 38px;
    font-size: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}
.page-header{
    margin-top: 92px;
    position: relative;
    height: 254px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.page-header__title{
    font-size: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
    padding-top: 40px;
    color: #fff;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.45));
}
.page-header__img{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    height: 254px;
    width: 100%;
}
.page-header__img::after{
    content: "";
    display: block;
    width: 100%;
    height: 254px;
    background: rgba(15, 1, 1, 0.30);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}
.page-header__img img{
    width: 100%;
    height: 254px;
    object-fit: cover;
}
.post-attribute{
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0 20px 1rem;
    line-height: 1.3;
    margin: 0 auto;
    max-width: 1040px;
}
.post-categories{
    display: flex;
    gap: 10px;
}
.post-attribute__term,
.post-categories a{
    display: inline-block;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--primary-border-glay);
    border-radius: 16px;
    margin-bottom: 10px;
}
.post-attribute__term:hover,
.post-categories a:hover{
    background-color: var(--primary-border-black);
    color: var(--primary-bg-white);
}
.post-attribute__date{
    color: var(--primary-waku);
}
.post-content{
    padding: 0 20px;
    margin: 0 auto;
    max-width: 1040px;
}
.page .post-content{
    padding: 90px 20px 100px;
}
.post-content h2{
    color: var(--primary-border-black);
    text-align: center;
    font-family: var(--font-serif);
    font-size: 2.25rem;
    margin-bottom: 64px;
}
.form p{
    margin-bottom: 30px;
    font-family: var(--font-sanserif);
    font-size: 0.875rem;
}
input,
textarea{
    border-radius: 5px;
    border: 1px solid #E2E1E5;
    background: #FFF;
    width: 100%;
    padding: 10px 15px;
}
::placeholder{
    color: #D2D2D2;
    font-size: 0.875rem;
}
button,
[type="button"],
[type="submit"]{
    display: flex;
    padding: 10px 48px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    border: 1px solid #2D2D2F;
    background: #2D2D2F;
    color: #fff;
    width: auto;
    margin: 52px auto 0;
}
.pagination .nav-links{
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 40px 20px;
    font-size: 16px;
}
.pagination .nav-links a{
    font-weight: bold;
}
.pagination .nav-links .current{
    color: #999;
}
.search-result{
    padding-bottom: 120px;
}


@media screen and (min-width:319px){
    .post-header{
        height: 350px;
    }
}

@media screen and (min-width:425px){
    .post-header{
        height: 310px;
    }
}

@media screen and (min-width:768px) {
    .news-list__sp {
        align-items: center;
        margin: 0;
    }

    .news-list__item{
        display: flex;
    }

    .post-header{
        height: 290px;
    }
}

@media screen and (min-width:900px)  {
/*========
PC
==========*/
/*
header
--------------------------*/
    .header{
        padding: 16px 52px 20px;
    }
    .nav{
        position: static;
        width: auto;
        height: auto;
        max-width: initial;
        visibility: visible;
        opacity: 1;
        background-color: inherit;
        padding-left: 170px;
        background-image: url(./assets/images/bg-ark-pc.png);
        background-position: left 50%;
        background-repeat: no-repeat;
        background-size: 150px auto;
    }
    .nav__btn,
    .header__btn{
        display: none;
    }
    .nav__header{
        display: none;
    }
    .nav__list{
        display: inline-flex;
        padding: 0;
    }
    .menu-item{
        padding-left: 38px;
    }
/*
footer
--------------------------*/
    .footer{
        background-position: right top;
    }
/*
content
--------------------------*/
    .error404 .main,
    .search-results .main{
        margin-top: 76px;
    }
    .latest-news{
        max-width: 680px;
        margin: 56px auto 90px;
        padding: 24px 50px 44px;
    }
    .post-list{
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 1.5%;
        position: relative;
        left: 0.75%;
    }
    .post-list-item{
        width: 23.5%;
        margin-bottom: 1.5%;
    }
    .archive-header{
        height: 38svw;
    }
    .archive-header__textarea{
        bottom: 70px;
        left: 50px;
    }
    .archive-header__title{
        font-size: 2.5rem;
        margin-bottom: 36px;
    }
    .archive-header__caption,
    .archive-header__caption p{
        font-size: 2.5rem;
        font-size: 0.9375rem;
    }
    .archive-header__caption br{
        display: inline;
    }
    .archive-header__img{
        height: 38svw;
    }
    .archive-header__img::after{
        height: 38svw;
    }
    .archive-header__img img{
        height: 38svw;
    }
    .post-header,
    .page-header{
        margin-top: 76px;
    }
    .page .post-content{
        padding: 120px 20px 160px;
    }

    .news-category {
        margin-right: 20px;
        padding: 1px 10px;
        border: 1px solid;
        border-radius: 30px;
    }
    .news-category__single {
        padding: 5px 10px;
        border: 1px solid;
        border-radius: 30px;
        margin-bottom: 10px;
    }
    
}