@charset "utf-8";

/* BASIC CSS =================================== */

html,
body {
    overflow-x: hidden;
}

html {
    font-size: 100%;
}

body {
    color: #333;
    font-family: "Noto Serif JP", serif;
    font-weight: 500;
    letter-spacing: .03em;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Noto Serif JP", serif;
    font-weight: 600;
    /* text-align: center; */
    letter-spacing: .1em;
}

ul {
    list-style: none;
}

a {
    color: #333;
    text-decoration: none;
    transition: opacity 0.6s ease;
}

a:hover {
    opacity: 0.6;
}

iframe {
    vertical-align: bottom;
}



/* header -------------------------------------- */
#header {
    position: static;
    z-index: 9999;
    width: 100%;
}

/* counter */
.header__counter {
    display: block;
    background: url(../img/common/momen_red.jpg);
    height: 32px;
    font-family: "Roboto", "Zen Kaku Gothic Antique", sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #fff;
    text-align: right;
    padding: 2px 16px;
}

#header.fixed .header__counter {
    display: block;
}

.header__counter--number {
    font-weight: 700;
    font-size: 18px;
    padding: 0 8px;
}

.header__counter--day {
    font-size: 12px;
}

@media (min-width: 992px) {
    .header__counter {
        padding: 2px 48px;
    }
}

@media (max-width: 768px) {
    #header {
        position: fixed;
    }

    .header__counter {
        height: 32px;
        text-align: right;
        padding: 2px 16px;
    }

    #header.fixed .header__counter {
        display: none;
    }

    .header__counter--day {
        display: inline;
    }
}

@media (max-width: 576px) {
    #header {
        position: fixed;
    }

    .header__counter {
        height: 52px;
        text-align: center;
    }

    .header__counter--day {
        display: block;
    }

    #header.fixed .header__counter {
        display: none;
    }
}

/* header logo + global menu 768px～ */
.header__menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    height: 280px;
}

.header__menu--logo img {
    height: 48px;
    padding-left: 24px;
}

.openbtn {
    display: none;
}

#g-nav ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    writing-mode: vertical-lr;
    padding: 16px 16px 0 0;
    margin: 0;
}

#g-nav li {
    list-style: none;
    margin: 0 8px;
}

#g-nav li a {
    color: #333;
    text-decoration: none;
    padding: 48px 10px 10px 10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 18px;
    font-weight: 700;
}

#g-nav li a.active,
#g-nav li a:hover {
    background: url(../img/common/musubi-ume.svg) no-repeat top center;
    background-size: 36px;
}


/* header logo + global menu ～768px */
@media (max-width: 768px) {
    .header__menu {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #fff;
        height: 72px;
    }

    .header__menu--logo img {
        height: 40px;
        padding-left: 24px;
    }

    .openbtn {
        display: block;
    }

    #g-nav {
        /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
        position: fixed;
        z-index: -1;
        opacity: 0;
        /*はじめは透過0*/
        /*ナビの位置と形状*/
        top: 0;
        width: 100%;
        height: 100vh;
        /*ナビの高さ*/
        background: url(../img/common/momen_red.jpg);
        /*動き*/
        transition: all 0.6s;
        pointer-events: none;
    }

    /*アクティブクラスがついたら透過なしにして最前面へ*/
    #g-nav.panelactive {
        opacity: .9;
        z-index: 999;
    }

    /*ナビゲーションの縦スクロール*/
    #g-nav.panelactive #g-nav-list {
        /*ナビの数が増えた場合縦スクロール*/
        position: fixed;
        z-index: 999;
        width: 100%;
        height: 100vh;
        /*表示する高さ*/
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    /*ナビゲーション*/
    #g-nav ul {
        display: none;
        /*ナビゲーション天地中央揃え*/
        position: absolute;
        z-index: 999;
        top: 30%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #g-nav.panelactive ul {
        display: block;
    }

    #g-nav li {
        margin: 0 8px;
    }

    #g-nav li a {
        color: #fff;
        padding: 10px;
        font-size: 16px;
        pointer-events: auto;
    }

    #g-nav li a.active,
    #g-nav li a:hover {
        background: none;
    }
}

@media (max-width: 576px) {
    .header__menu--logo img {
        height: 32px;
        padding-left: 24px;
    }
}

/* Mobile S */
@media (max-width: 320px) {
    .header__menu--logo img {
        height: 24px;
        padding-left: 24px;
    }
}

@media (min-width: 992px) {
    .header__menu--logo img {
        height: 56px;
        padding-left: 48px;
    }

    #g-nav ul {
        padding: 16px 40px 0 0;
    }

    #g-nav li {
        margin: 0 16px;
    }
}

/* header menu openbtn ～768px */
.openbtn {
    position: relative;
    z-index: 9999;
    top: 0;
    right: 10px;
    cursor: pointer;
    width: 50px;
    height: 50px;
}

/* × */
.openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 2px;
    border-radius: 2px;
    background-color: #666;
    width: 45%;
}

.openbtn span:nth-of-type(1) {
    top: 15px;
}

.openbtn span:nth-of-type(2) {
    top: 23px;
}

.openbtn span:nth-of-type(3) {
    top: 31px;
}

.openbtn.active span {
    background-color: #fff;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 50%;
}

.openbtn.active span:nth-of-type(2) {
    opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 50%;
}



/* footer -------------------------------------- */
#footer {
    font-family: "Zen Kaku Gothic Antique", sans-serif;
    font-weight: 500;
    border-top: 1px solid firebrick;
}

.footer__inner {
    max-width: 1168px;
    padding: 40px 24px;
    margin: 0 auto;
}

.footer__inner ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0;
    margin-bottom: 40px;
}

@media (min-width: 576px) {
    .footer__inner ul {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .footer__inner {
        padding: 80px 32px;
    }

    .footer__inner ul {
        grid-template-columns: repeat(5, 1fr);
        margin-bottom: 64px;
    }
}

.footer__inner ul li img {
    border: 1px solid lightgray;
}

.footer__inner p {
    text-align: center;
}

.office {
    font-weight: 700;
}

.fno {
    margin-left: 16px;
}

@media (max-width: 325px) {
    .fno {
        display: block;
        margin-left: 0;
    }
}

.copyright {
    font-size: 14px;
}

/* page-top 768px～ */
#page-top {
    display: none;
}

@media (min-width: 769px) {
    #page-top a {
        display: flex;
        justify-content: center;
        align-items: center;
        background: url(../img/common/momen_red.jpg);
        border-radius: 24px;
        width: 48px;
        height: 48px;
        color: #fff;
        text-align: center;
        text-transform: uppercase;
        text-decoration: none;
        font-size: 0.6rem;
        transition: all 0.6s;
    }

    #page-top {
        display: block;
        position: fixed;
        right: 24px;
        bottom: 24px;
        z-index: 2;
        margin: 0;
    }
}



/* main ---------------------------------------- */
main {
    /* background-color: #ccc; */
    padding-top: 0;
}

@media (max-width: 768px) {
    main {
        padding-top: calc(32px + 72px);
    }
}

@media (max-width: 576px) {
    main {
        padding-top: calc(52px + 72px);
    }
}



/* CONTENTS CSS ================================ */
/* page header 768px～ */
.pageheader {
    position: relative;
    margin-top: 0;
}

.pageheader__img img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.pageheader__img--tachiaoi img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 160px;
}

.pageheader__title {
    font-size: 36px;
    letter-spacing: .15em;
    text-align: center;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

@media (max-width: 768px) {
    .pageheader {
        position: relative;
        margin-top: 50px;
    }

    .pageheader__img img {
        height: 240px;
    }

    .pageheader__img--tachiaoi img {
        height: 100px;
    }

    .pageheader__title {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .pageheader__title {
        font-size: 24px;
    }
}

/* page lead */
.pagelead {
    padding: 80px 0;
}

@media (max-width: 576px) {
    .pagelead {
        padding: 40px 0;
    }
}

/* background */
.washi {
    background: url(../img/common/ricepaper2.jpg) repeat;
}

/* contents wrapper */
.wide-wrapper {
    max-width: 1168px;
    padding-left: 24px;
    padding-right: 24px;
    margin: 0 auto;
}

.narrow-wrapper {
    max-width: 784px;
    padding-left: 24px;
    padding-right: 24px;
    margin: 0 auto;
}

/* contents section */
.container,
.contents__block {
    padding-top: 80px;
}

.section_title {
    font-size: 24px;
    text-align: center;
    background: url(../img/common/musubi-ume.svg) no-repeat top center;
    background-size: 40px;
    padding: 56px 0 24px;
}

.section_text {
    text-align: justify;
    line-height: 2;
}

@media (max-width: 576px) {

    .container,
    .contents__block {
        padding-top: 40px;
    }

    .section_title {
        font-size: 20px;
    }

    .section_text {
        font-size: 14px;
    }
}

/* pagenation */
.pagenation {
    display: flex;
    justify-content: center;
    font-family: "Roboto", "Zen Kaku Gothic Antique", sans-serif;
    font-weight: 600;
    font-size: 14px;
    margin: 40px auto 0;
}

.pagenation__item {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #333;
    transition: all 0.6s ease;
    margin: 0 4px;
}

.pagenation__item.invalid {
    background-color: #aaa;
	border: 1px solid #aaa;
	pointer-events:none;
	color:#fff;
}

.pagenation__item.active,
.pagenation__item:hover {
    opacity: 1;
    color: #fff;
    background: #333;
}

@media (max-width: 576px) {
    .pagenation__item {
        width: 32px;
        height: 32px;
    }
}

.news-article .pagenation {
    justify-content: space-between;
}

.pagenation__item.all {
    width: auto;
    border-radius: 20px;
    opacity: 1;
    color: #fff;
    background: #333;
    padding-left: 32px;
    padding-right: 32px;
}

/* button */
.btn {
    font-family: "Roboto", "Zen Kaku Gothic Antique", sans-serif;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
    border-radius: 24px;
    padding: 12px 32px 10px;
    transition: all 0.6s ease;
    /* color: #666; */
    /* background: #e9e4d4; */
}

.btn i {
    padding-left: 8px;
}

.btn:hover {
    opacity: 1;
    /* background: #dcd3b2; */
}

@media (max-width: 576px) {
    .btn {
        font-size: 12px;
        padding: 10px 24px 8px;
    }
}

/* 以下のスタイルは仮のものです */
.top__carousel {
    background: #ccc;
    width: calc((100vw - 1120px) / 2 + 1120px - 200px);
    margin-right: auto;
}

.top__carousel,
.about__carousel {
    overflow: hidden;
    height: 360px;
    margin-top: 80px;
}

.about__carousel ul {
    padding: 0;
    margin: 0;
}

.about__carousel ul li {
    display: inline;
}

.about__carousel ul li img {
    width: 360px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* 768px以下の高さ280px */
@media (max-width: 768px) {
    .top__carousel {
        background: #ccc;
        /* width: calc((100vw - 1120px) / 2 + 1120px - 200px); */
        width: 100%;
        margin-right: auto;
    }

    .top__carousel,
    .about__carousel {
        overflow: hidden;
        height: 280px;
        margin-top: 80px;
    }

    .about__carousel ul li img {
        width: 280px;
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }
}

/* 576px以下の高さ200px */
@media (max-width: 576px) {

    .top__carousel,
    .about__carousel {
        overflow: hidden;
        height: 200px;
        margin-top: 40px;
    }

    .about__carousel ul li img {
        width: 200px;
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }
}

a.anchor {
	height: 1px;
	display: block;
	padding-top: 60px;
	margin-top: -60px;
}