/*
Theme Name: 結の手
Requires PHP: 7.0
Version: 1.0
*/
/*---------- リセットCSS ----------*/

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

img {
    display: block;
    width: 100%;
}

li {
    list-style: none;
}

p {
    line-height: 1.8;
    letter-spacing: 1px;
}

a {
    display: block;
    text-decoration: none;
    color: var(--font-color);

}

h2 {
    line-height: 1.4;
}

section {
    margin: 0 auto;
    max-width: 1100px;
    z-index: 5;
    position: relative;
}

p .space {
    display: block;
    margin-bottom: 1.2em;
}

/*---------- 共通色指定 ----------*/

:root {
    --base-color: #FFFFFF;
    --sub-base-color: #F8F4F1;
    --sub-color-brown: #584634;
    --sub-color-red: #E63722;
    --sub-color-green: #B9CC7F;
    --font-color: #2E1F10;
    --color-category: #8C7D6E;
}

/*---------- フォント指定 ----------*/

html {
    font-family: "Noto Sans JP", sans-serif;
    letter-spacing: 1px;
    line-height: 130%;
}

.english {
    font-family: "Albert Sans", sans-serif;
}

.point-font {
    font-family: "Shippori Mincho", sans-serif;
}

.text-font {
    font-family: "Yu Mincho" , sans-serif;
}


/*---------- ボタン指定 ----------*/

.btn-1 {
    width: fit-content;
    margin: 2em auto;
    padding: 1em 4em;
    background-color: var(--sub-color-green);
    color: var(--font-color);
}

.btn-2::before {
    content: '';
    background-image: url(img/tryangle.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 20px;

}
.btn-2 {
    width: fit-content;
    margin: 2em auto;
    padding: 1em 4em;
    background-color: var(--sub-color-brown);
    color: var(--font-color);
    display: flex;
    gap: 20px;
}

.btn-3 {
    width: 230px;
    margin: 4em auto;
    padding: 0.75em 2em;
    border: 1px solid var(--font-color);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.btn-3::after {
    content: '';
    background-image: url(img/left-arrow.svg);
    background-size: cover;
    background-repeat: no-repeat;
    width: 20px;
    height: 8px;
    margin-bottom: 4px;
    flex-shrink: 0;
}

.instagram::before {
    content: '';
    width: 26px;
    height: 26px;
    background-image: url(img/instagram.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.instagram {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    width: 280px;
    margin: 4em auto;
    gap: 14px;
    padding: 0.75em 1em;
    border: 1px solid var(--font-color);
}


/* snsボタン */
.sns-wr {
    margin: 2em auto;
    width: fit-content;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: 10px;
}
.share_button {
	display: inline-block;
    height: fit-content;
    text-align: center;
    width: clamp(130px, 40vw, 140px);
    padding: 8px 20px;
	border-radius: 8px;
	color: #fff;
	background-color: #333;
	text-decoration: none;
	transition: 0.4s;
}
.share_button:hover {
	opacity: 0.7;
}
.share_twitter {
	background-color: #0F1419;
}
.share_facebook {
	background-color: #1877f2;
}
.share_line {
	background-color: #00b900;
}
.sns-wr .instagram {
    height: fit-content;
    margin: 0;
    background: linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;/*グラデーション①*/
    overflow: hidden;
    text-decoration: none;
    position: relative;
    border: none;
}
.sns-wr .instagram::before {/*グラデーション②*/
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;/*全体を覆う*/
    height: 100%;/*全体を覆う*/
    background: -webkit-linear-gradient(15deg, #ffdb2c, rgb(249, 118, 76) 25%, rgba(255, 77, 64, 0) 50%) no-repeat;
    background: linear-gradient(15deg, #ffdb2c, rgb(249, 118, 76) 25%, rgba(255, 77, 64, 0) 50%) no-repeat;
    z-index: 10;
}
.sns-wr .instagram span {
    z-index: 20;
    position: relative;
}

/*---------- 下層FV ----------*/

.page-lower .fv .ver-text {
    writing-mode: vertical-lr;
    margin: 0 auto 2em;
}

.page-lower .fv .ver-text span {
    background: url(img/textback.svg) no-repeat center;
    background-size: 120%;
    padding-top: 4px;
}

.page-lower .fv .fv-text {
    text-align: center;
    margin: 2em auto 0;
    padding: 0 10px;
}

/*---------- 下層全体背景 ----------*/



.page-lower {
    background: url(img/mainback.png);
    background-color: #F8F4F1;
}

.page-lower .fv {
    background: url(img/fvback.svg) no-repeat center;
    background-position-y: 0px;

}

/*---------- カテゴリ共通 ----------*/

.category-wr {
    display: flex;
    gap: 8px;
}

.category {
    width: 150px;
    padding: 4px 0 0;
    margin: 8px 0;
    border-radius: 4px;
    background-color: var(--color-category);
    text-align: center;
    color: var(--font-color);
}

.category a {
    text-decoration: none;
    color: white;
}

.spring {
    --color-category: #CF5F5E;
}
.summer {
    --color-category: #00D05E;
}
.autumn {
    --color-category: #EA820B;
}
.winter {
    --color-category: #319BFF;
}

/*---------- 投稿共通 ----------*/

.thum-img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

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

    ハンバーガー関係

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

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 9999;
}
  
.ham-box {
    position: relative;
    display: flex;
    justify-content: space-between;
    border-radius: 15px;
    margin: 0 auto;
    height: auto;
    max-width: 1280px;
    align-items: center;
    box-sizing: border-box;
}

.header-img {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-flow: row nowrap;
    width: 100%;
}

#head-logo {
    width: 80px;
    height: 80px;
}

/********** スマホ関係 **********/
.hamburger_btn {
    background-color: var(--base-color);
    border-radius: 100%;
    height: 60px;
    width: 60px;
    margin-right: 16px;
    color: white;
    position: relative;
    z-index: 1000;
}
  
.hamburger_btn span {
    display: block;
    background-color: #2E1F10;
    width: 32px;
    height: 3px;
    transition: transform ease .3s, opacity .3s;
    margin: 0 auto;
    position: absolute;
    left: 14px;
}
  
.hamburger_btn span:nth-child(1) {
    top: 20px;
}
  
.hamburger_btn span:nth-child(2) {
    top: 37px;
}
    
.hamburger_btn p {
    font-size: 10px;
    position: absolute;
    bottom: 10px;
    right: 12px;
}
  
.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    transform: translateY(-200%);
    transition: all 1s;
    background-color: var(--sub-base-color);
    color: var(--font-color);
    position: fixed;
    z-index: 900;
    top: 0;
    right: 0;
    width: 100%;
    gap: 1em;
    height: 100vh;
    overflow-y: scroll;
}
  
/*-------------------------------
  
    ハンバーガーボタン押された後の動き

-------------------------------*/
.menuopen .menu {
    transform: translateY(0%);
}

.hamburger_btn .addspan:nth-child(1){
    top: 29px;
    transform: rotate(45deg);
}
  
.hamburger_btn .addspan:nth-child(2){
    top: 29px;
    transform: rotate(-45deg);
}

/********** ハンバーガーメニュー内のデザイン **********/
.head_nav {
    padding: 0;
    margin-top: 6em;
    max-width: 800px;
}
  
.head_nav li {
    list-style: none;
    font-weight: 800;
    font-size: 18px;
    text-align: center;
}
  
.head_nav li a {
    text-decoration: none;
    padding: 12px 10px;
    transition: .2s;
    display: block;
}
  
.head_nav li a:hover {
    color: #B7282E;
}
  
/********** PC関係  700pxからグロナビに切り替わる**********/  
@media(min-width:700px) {
    header {
        background-color: rgb(255 255 255 / 70%);
    }
    .ham-box {
        position: relative;
        display: flex;
        padding: 1.5em;
    }
    #head-logo {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 120px;
    height: 120px;
    }

    .hamburger_btn {
        display: none;
    }

    .menu {
        transform: translateY(0%);
        transition: all 1s;
        background-color: unset;
        justify-content: end;
        position: static;
        z-index: 900;
        width: 88%;
        height: 65%;
        gap: 1em;
        margin-right: 1em;
        overflow-y: visible;
    }
  
    .head_nav {
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: right;
    }
  
    .head_nav li {
        font-size: 1em;
    }
  
    .head_nav li a {
        padding: 8px 10px;
        color: #524B40;
    }  
    .header-img {
        width: fit-content;
    }
}

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

    フッター

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

footer::before {
    content: '';
    background-image: url(img/ribon.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    position: absolute;
    width: 200px;
    height: 150px;
    top: 20px;
    left: 0;
}

footer {
    padding-top: 4em;
    position: relative;
}

.logo-wr {
    position: relative;
    overflow: hidden;
}

.logo-wr::before {
    content: '';
    background-image: url(img/footer-line.svg);
    background-repeat: repeat-x;
    background-size: auto 100%;
    display: block;
    width: calc(100% + 60px);
    height: 70px;
    position: absolute;
    left: -10px;
    z-index: -10;
}

.footlogo {
    width: 100px;
    margin: 0 auto;
}

footer ul {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: 50px;
    max-width: 900px;
    margin: 4em auto;
    padding: 0 20px;
}

footer ul li a {
    text-decoration: none;
    color: var(--font-color);
    font-weight: bold;
}

.copyright {
    width: fit-content;
    margin: 0 auto;
    padding: 20px 0;
    color: var(--font-color);
}

@media (min-width:500px) {

}

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

    home.php

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

#home {
    background-color: var(--sub-base-color);
    overflow: hidden;
    position: relative;
}

#home p {
    max-width: 40em;
    letter-spacing: 2px;
}


@media (min-width:800px) {
    #top-body {
        padding: 80px 20px 0;
    }
}

/*=====top fv=====*/

#home .fv {
    position: absolute;
    width: 100%;
    max-width: unset;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
}

#home .fv::after {
    content: "";
    display: block;
    width: 100%;
    height: 200px;
    background: linear-gradient(rgba(248, 244, 241, 0), rgba(248, 244, 241, 1));
    position: absolute;
    bottom: 0;
}

#home .fv .fv-image {
    position: absolute;
    width: 400px;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: 65% 50%;
    -webkit-mask-composite: destination-in;
    mask-composite: intersect;
    mask-repeat: no-repeat;
    mask-size: contain;
    -webkit-mask-size: contain;
}

#home .fv .image1 {
    background-image: url('img/event-1.jpg');
    -webkit-mask: url(img/mask1.svg);
    mask: url(img/mask1.svg);
    mask-composite: intersect;
    mask-repeat: no-repeat;
    mask-size: contain;
    -webkit-mask-size: contain;
}

#home .fv .image2 {
    background-image: url('img/mask2.jpg');
    -webkit-mask: url(img/mask2.svg);
    mask: url(img/mask2.svg);
    mask-composite: intersect;
    mask-repeat: no-repeat;
    mask-size: contain;
    -webkit-mask-size: contain;
}
#home .fv .image3 {
    background-image: url('img/mask3.jpg');
    -webkit-mask: url(img/mask3.svg);
    mask: url(img/mask3.svg);
    mask-composite: intersect;
    mask-repeat: no-repeat;
    mask-size: contain;
    -webkit-mask-size: contain;
}
#home .fv .image4 {
    background-image: url('img/mask4.jpg');
    -webkit-mask: url(img/mask4.svg);
    mask: url(img/mask4.svg);
    mask-composite: intersect;
    mask-repeat: no-repeat;
    mask-size: contain;
    -webkit-mask-size: contain;
}
#home .fv .image6 {
    background-image: url('img/mask5.jpg');
    -webkit-mask: url(img/mask4.svg);
    mask: url(img/mask4.svg);
    mask-composite: intersect;
    mask-repeat: no-repeat;
    mask-size: contain;
    -webkit-mask-size: contain;
}
#home .fv .image6 {
    background-image: url('img/mask5.jpg');
    -webkit-mask: url(img/mask4.svg);
    mask: url(img/mask4.svg);
    mask-composite: intersect;
    mask-repeat: no-repeat;
    mask-size: contain;
    -webkit-mask-size: contain;
}

@keyframes move-up {
    0% {
        transform: perspective(500px) translate3d(0, 100vh, var(--z-depth)); /* ← 画面の下外から */
        opacity: 0;
    }    
    10% {
        transform: perspective(500px) translate3d(30px, 80vh, var(--z-depth));
        opacity: 1;
    }
    30% {
        transform: perspective(500px) translate3d(-30px, 40vh, var(--z-depth));
    }
    60% {
        transform: perspective(500px) translate3d(30px, -20vh, var(--z-depth));
    }
    90% {
        transform: perspective(500px) translate3d(-30px, -80vh, var(--z-depth));
        opacity: 1;
    }    
    100% {
        transform: perspective(500px) translate3d(0, -100vh, var(--z-depth)); /* ← 上の外へ */
        opacity: 0;
    }    
} 

@media (min-width:700px) {
    #home .fv {
        height: 80vh;
    }
}

/* line_block
===================================== */

.line_block {
    position: absolute;
    pointer-events: none;
    user-select: none;
    z-index: 2; /* セクションより上、要素より下 */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.line_block > div {
    overflow: visible; /* hiddenから変更 */
    position: absolute;
    right: 0;
    left: 0;
}

.line_block svg {
    position: relative;
    display: block;
    left: 50%;
    transform: translateX(-50%);
}

.line_block .svg-pc {
    display: none;
}
@media (min-width:500px) {
    .line_block .svg-pc {
        display: block;
        max-width: 1200px;
    }
    .line_block .svg-sp {
        display: none;
    }
}

.line_block svg path {
    opacity: 1;
    transition: stroke-dashoffset 0.3s ease-out;
    stroke-width: 3; /* 線を太くして見やすく */
}

.line_block svg path[style] {
    opacity: 1;
}

.line_block.line1 {
    z-index: 0; /* セクションより上、要素より下 */
}

.line_block.line1 svg {
    width: 100%;
}

/* 線が見える部分を作るためのスタイル */
.line-visible-area {
    position: relative;
    height: 200px;
    margin: 50px 0;
    z-index: 1; /* 最背面 */
    background: transparent;
}

/*---------- intro ----------*/

.intro {
    max-width: 1000px;
    margin: 10em auto 6em;
}

.head-line {
    font-size: 2rem;
    line-height: 1.5;
    max-width: 540px;
    margin: 0 auto 0 0;
    padding: 0 10px;
    color: var(--sub-color-brown);
    font-family: "Noto Serif JP", sans-serif;
    font-weight: 600;
}

.bc {
    display: inline-block;
    margin: 0.1em 0;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.8);
    box-decoration-break: clone;
}

@media (min-width: 447px) {
    .bc:nth-child(1) {
        margin: 0.1em 0;
        padding: 0.2em 0 0.2em 0.6em;
    }

    .bc:nth-child(2) {
        margin: 0.1em 0.5em 0.1em 0;
        padding: 0.2em 0.6em 0.2em 0;
    }
}

.intro .intro-text {
    width: fit-content;
    margin: 0 10px;
    padding: 0.75em;
    color: var(--sub-color-brown);
    font-family: "BIZ UDPMincho", sans-serif;
    line-height: 2em;
    background-color: rgba(255, 255, 255, 0.8);
}

.intro .fv-btn-wr {
    max-width: 26em;
}

.intro .btn-3 {
    width: 170px;
    margin: 1em auto;
    padding: 0.75em 1em;
    background-color: #ffffff8a;
    gap: 4px;
}

.intro .btn-3::after {
    margin-bottom: 0px;
}

/*---------- 結の手だより ----------*/

.latest-post {
    max-width: 1200px;
    margin: 0 auto;
}

.post-con {
    position: relative;
    background-color: #FFFBF8;
    max-width: 1045px;
    margin: 0 0 0 auto;
}

.post-con h2 {
    text-align: center;
    color: var(--sub-color-brown);
    width: 280px;
    margin: auto;
    padding: 30px 0 30px;
    font-size: clamp(24px,4vw,32px);
    font-family: "Noto Serif JP" , Sans-serif;
    font-weight: 500;
    border-bottom: 1px solid #B79A7D;
}

.post-con::before {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -60px;
    background: url(img/letter.svg) no-repeat center;
    width: 120px;
    height: 80px;
    background-size: contain;
}

.post-list {
    padding: 25px 20px 0;
}

.post-list > li {
    display: flex;
    padding-bottom: 10px;
}

.post-list > li img {
    width: 40%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.side-con {
    padding: 10px 0 10px 10px;
    flex-grow: 1;
}

.side-con .post-type {
    display: block;
    background-color: #6B9892;
    width: fit-content;
    font-size: 14px;
    font-family: "BIZ UDPMincho" , Sans-serif;
    color: #FFF;
    border-radius: 4px;
    padding: 0 6px;
}

@media (min-width: 750px) {
    .post-con {
        display: flex;
    }

    .post-con::before {
        left: 60px;
    }

    .post-con h2 {
        writing-mode: vertical-rl;
        border-bottom: unset;
        border-right: 1px solid #B79A7D;
        width: fit-content;
        padding: 0 30px;
        margin: 35px 0;
    }

    .post-list {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 0 16px;
    }

    .post-list > li {
        flex-flow: column;
    }

    .post-list > li img {
        width: 100%;
        aspect-ratio: 3 / 2;
        object-fit: cover;
    }
}


/*---------- story共通 ----------*/
.story {
    margin: 4em auto 0;
    padding: 0 10px;
    font-family: "BIZ UDPMincho" , Sans-serif;
}

.story .h2-wr hgroup .english {
    color: var(--sub-color-red);
    font-size: 18px;
}

.story .h2-wr hgroup h2 {
    font-size: 32px;
    color: var(--font-color);
}

.story .h2-wr {
    position: relative;
    margin: 2em auto;
}

.story .main-cont {
    margin: 0 auto;
    font-size: 18px;
}

@media (min-width:750px) {
    .story .h2-wr hgroup .english {
        font-size: 28px;
    }

    .story .h2-wr hgroup h2 {
        font-size: 36px;
    }
    .story .h2-wr {
        display: flex;
        justify-content: space-around;
        gap: 20px;
    }
    .story:nth-child(odd) .h2-wr {
        flex-direction: row;
    }
    .story:nth-child(even) .h2-wr {
        flex-direction: row-reverse;
    }
}

@media (min-width:1000px) {
    .story .h2-wr hgroup h2 {
        font-size: 48px;
    }
}

/*---------- story ----------*/

.story .masked-image {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    background-image: url('img/story2.jpg');
    background-size: cover;
    background-position: 50% 100%;
    -webkit-mask: url(img/story2.svg);
    mask: url(img/story2.svg);
    -webkit-mask-composite: destination-in;
    mask-composite: intersect;
    mask-repeat: no-repeat;
    mask-size: contain;
    -webkit-mask-size: contain;
}

.story svg {
    width: 0;
    height: 0;
    position: absolute;
}


/*---------- story2 ----------*/
.story2 hgroup {
    width: fit-content;
    margin: 0 0 auto auto;
}

.story2 .masked-image {
    background-image: url('img/story3.jpg');
    background-position: 50% 75%;
    -webkit-mask: url(img/story3.svg);
    mask: url(img/story3.svg);
    -webkit-mask-composite: destination-in;
    mask-composite: intersect;
    mask-repeat: no-repeat;
    mask-size: contain;
    -webkit-mask-size: contain;
    margin: 0 0 0 auto;
}

@media (min-width:750px) {
    .story2 hgroup {
        width: 250px;
        flex-shrink: 0;
        margin: 0;
        margin-left: 4em;
    }
    .story2 .masked-image {
        margin-top: 2em;
    }
    .story2 .h2-wr {
        gap: 40px;
    }
}
@media (min-width:1000px) {
    .story2 hgroup {
        width: 400px;
    }
    .story2 .masked-image {
        margin-top: 4em;
    }
}

/*---------- ボタン指定 ----------*/

.btn-1 {
    width: fit-content;
    margin: 2em auto;
    padding: 1em 4em;
    background-color: var(--sub-color-brown);
    color: var(--base-color);;
}

.btn-2::before {
    content: '';
    background-image: url(img/tryangle.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 20px;

}
.btn-2 {
    width: fit-content;
    margin: 2em auto;
    padding: 1em 4em;
    background-color: var(--sub-color-brown);
    color: var(--base-color);
    display: flex;
    gap: 20px;
}

/*---------- カテゴリ共通 ----------*/

.category-wr {
    display: flex;
    gap: 8px;
}

.category {
    width: 135px;
    padding: 8px 0 4px;
    margin: 4px 0;
    border-radius: 4px;
    background-color: var(--color-category);
    text-align: center;
    color: var(--font-color);
}

.category a {
    text-decoration: none;
    color: white;
}

.spring {
    --color-category: #CF5F5E;
}
.summer {
    --color-category: #00D05E;
}
.autumn {
    --color-category: #EA820B;
}
.winter {
    --color-category: #319BFF;
}

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

    archive.php内での共通

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

/*---------- h1 ----------*/

.archive-main h1 {
    margin: 2em auto;
    text-align: center;
}

/*---------- listのレイアウト ----------*/

.archive-main {
    margin: 0 auto;
    display: flow-root;
}

.archive-main .list {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0 10px;
    max-width: 1100px;
    margin: 4em auto;
}

@media (min-width:500px) {
    .archive-main .list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}
@media (min-width:750px) {
    .archive-main .list {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 24px;
    }
}

/*---------- list ----------*/

.archive-main .item {
    margin: 2em 0;
    cursor: pointer;
    display: flex;
    flex-flow: column;
}

.archive-main h2 {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0;
    margin: 0.6em 0;
    flex-grow: 1;
}

.archive-main h2 a {
    text-decoration: none;
    color: var(--font-color);
}

.archive-main .date {
    font-size: 16px;
    letter-spacing: 0;
    color: #6b6b6b;
    text-align: right;
}

.archive-main .contributor {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: end;
    gap: 0.8em;
}

.archive-main .contributor img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 999px;
}

.archive-main .contributor .name {
    display: flex;
    flex-flow: row nowrap;
}

@media (min-width:500px) {
    .archive-main .contributor .name p span {
        display: none;
    }
    .archive-main .date {
        text-align: left;
    }
    .archive-main .contributor {
        align-items: center;
        justify-content: start;
    }
    .archive-main .contributor .name {
        flex-flow: column nowrap;
    }
}

/*---------- 複数ページの時のページ移動 ----------*/

.archive-main .pager .pagination {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    margin: 4em 0;
    gap: 2em;
    font-size: 18px;
}

.archive-main .pager .pagination .next {
    display: none;
}

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

    記事ページ共通

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

/*---------- main ----------*/

.single-main {
    display: flex;
    flex-flow: column;
    max-width: 1000px;
    padding: 0 20px;
    margin: 6em auto 0;
    gap: 20px;
}
.single-main .article {
    flex-basis: 70%;
}

@media (min-width:700px) {
    .single-main {
        padding: 0 30px;
        margin: 8em auto 0;
    }
    .single-main {
        flex-flow: row;
        gap: 20px;
    }
}

@media (min-width:900px) {
    .single-main {
        gap: 40px;
    }
}

/*---------- head部分 ----------*/

.single-main .article .head h1 {
    font-size: 32px;
    font-weight: 500;
    margin: 0.6em 0;
    line-height: 1.2;
}

.single-main .head .category {
    width: fit-content;
    padding: 8px;
    margin: 16px 0;
    border-radius: 4px;
    text-align: center;
}

.single-main .head .category a {
    text-decoration: none;
    color: white;
}

/*---------- body部分 ----------*/

.single-main .body {
    margin: 0 0 4em;
}

.single-main .body p {
    margin: 1em 0;
}


/*---------- sidebar部分 ----------*/

.single-main .sidebar {
    width: 100%;
    max-width: 400px;

    margin: 2em auto 0;
}

.sidebar .recent-posts {
    position: sticky;
    top: 100px;
}

.sidebar h2 {
    border-bottom: 1px solid #191919;
    text-align: center;
    font-size: 20px;
}

.sidebar .recent-posts ul {
    padding: 10px;
}

.sidebar .recent-posts ul li {
    margin: 1.5em 0;
}

.sidebar .recent-posts ul li a {
    color: var(--font-color);
}

.sidebar .recent-posts ul li h3 {
    font-weight: 600;
    font-size: 16px;
    margin: 0.5em auto;
}

.sidebar .recent-posts ul li .category {
    width: 100px;
    padding: 4px 0;
}

.sidebar .recent-posts ul li img {
    display: block;
    object-fit: cover;
    aspect-ratio: 3 / 2;
}

.sidebar .recent-posts .status {
    border-radius: 8px;
    text-align: center;
    color: #fff;
}

.sidebar .recent-posts .status-open {
    background-color: #C6504F;
}

.sidebar .recent-posts .status-closed {
    background-color: #888888;
}

@media (min-width:700px) {
    .single-main .sidebar {
        width: 30%;
        max-width: 400px;
    }
}

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

    archive-recipe.php

-------------------------------*/
#archive-recipe p {
    max-width: 640px;
    padding-top: 1em;
    margin: 0 auto;
}

#archive-recipe .fv {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 60px 0;
}

#archive-recipe .fv .fv-text .st {
    margin: 0 auto;
}

#archive-recipe .ver-text {
    font-size: 32px;
    color: #900C00;
}

/*---------- fv ----------*/
.archive-recipe {
    max-width: unset;
    margin: 0 auto;
}

.archive-recipe .fv {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding-top: 60px;
}

.archive-recipe .fv p {
    padding-top: 1em;
    margin: 0 auto;
}

.archive-recipe .fv .ver-text {
    font-size: 32px;
    color: #900C00;
}

/*---------- h2-wr ----------*/

.archive-recipe .h2-wr {
    position: relative;
    display: flex;
    flex-flow: column;
    margin-top: 80px;
    gap: 8px;
}

.archive-recipe h2::before {
    content: '';
    background-image: url(img/nabe.svg);
    background-size: cover;
    background-repeat: no-repeat;
    display: block;
    width: 109px;
    height: 61px;
}

.archive-recipe h2 {
    position: absolute;
    transform: translate(0px, -80%);
    top: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
    height: 160px;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    background-color: #F5F0EB;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    z-index: 100;
}

.archive-recipe .h2-wr .reco-recipe {
    position: relative;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0 auto 0;
    text-align: center;
}

.archive-recipe .h2-wr .reco-recipe img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

#archive-recipe .h2-wr .reco-recipe p {
    position: absolute;
    left: 0;
    bottom: 0;
    max-width: 180px;
    margin: 0 0 12px 12px;
}

@media (min-width:500px) {
    .archive-recipe .h2-wr {
        flex-flow: row;
        margin: 80px auto;
        gap: 10px;
    }
    .archive-recipe .h2-wr .reco-recipe {
        width: 50%;
    }
    .archive-recipe h2 {
        top: unset;
        right: unset;
        bottom: unset;
        left: 50%;
        transform: translate(-50%,-50%);
    }
    .archive-recipe .h2-wr .reco-recipe:nth-child(2) p {
        bottom: 0;
        top: unset;
    }
}

/*---------- filter ----------*/

#category-filter {
    width: fit-content;
    max-width: 1100px;
    margin: 10px;
    padding: 10px 20px;
    border-radius: 20px;
    border: 1px solid #8C7D6E;
    background-color: #fff;
}

#category-filter h3 {
    font-size: 18px;
    padding: 2px;
    margin-bottom: 12px;
    text-align: left;
    border-bottom: 1px solid #8C7D6E;
}

#category-filter .filter-wr {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: 0px 16px;
}

#category-filter .filter-wr .f {
    width: fit-content;
    padding: 4px 12px;
}

#category-filter .filter-wr select {
    background-color: #F5F0EB;
    padding: 12px 40px;
    border-radius: 100px;
}

#category-filter #search-button {
    display: block;
    margin: 12px auto 0px;
    padding: 2px 16px;
    border-radius: 100px;
    border: 1px solid #8C7D6E;
    background-color: #F5F0EB;
}

@media (min-width:500px) {
    #category-filter {
        padding: 10px 60px;
        margin: 10px auto;
        border-radius: 120px;
    }
}

/*---------- list ----------*/

.archive-recipe .recipe-list {
    max-width: 1200px;
    margin: 4em auto;
    padding: 0 10px;
}

#archive-recipe .recipe-list p {
    padding: 0;
}

.archive-recipe .item {
    flex-flow: row;
    gap: 12px;
    align-items: flex-start;
}

.archive-recipe .item .thum-img {
    width: 45%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
}

.archive-recipe .item .category-wr {
    flex-flow: wrap;
}

#archive-recipe .item .list-cont-wr .category {
    margin: 0;
    font-size: 12px;
    width: fit-content;
    padding: 0 4px;
    border-radius: 4px;
}

.archive-recipe .item h3 {
    font-size: 16px;
    padding: 4px 0;
}

@media (min-width: 750px) {
    .archive-recipe .recipe-list {
        width: 100%;
    }
    .archive-recipe .recipe-list {
        width: 100%;
    }
    .archive-recipe .recipe-list .group {
        position: relative;
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-content: center;
        gap: 120px 70px;
    }
    .archive-recipe .recipe-list .group .item {
        width: 300px;
        flex-flow: column;
    }
    .archive-recipe .recipe-list .item-1 {
        translate: 30px 100px;
    }
    .archive-recipe .recipe-list .item-1 .list-cont-wr {
        margin-top: -50px;
        margin-left: -18px;
    }
    .archive-recipe .recipe-list .item-2 {
        translate: 0px 0px;
    }
    .archive-recipe .recipe-list .item-2 .list-cont-wr {
        margin-top: -80px;
        margin-left: 38px;
    }
    .archive-recipe .recipe-list .item-3 {
        translate: -3px 100px;
    }
    .archive-recipe .recipe-list .item-3 .list-cont-wr {
        margin-top: -130px;
        margin-left: 105px;
    }
    .archive-recipe .recipe-list .item-4 {
        translate: -103px -95px;
    }
    .archive-recipe .recipe-list .item-4 .list-cont-wr {
        margin-top: -80px;
        margin-left: 140px;
    }
    .archive-recipe .recipe-list .item-5 {
        translate: 54px 22px;
    }
    .archive-recipe .recipe-list .item-5 .list-cont-wr {
        margin-top: -50px;
        margin-left: -57px;
    }
    .archive-recipe .recipe-list .item-6 {
        translate: -34px -104px;
    }
    .archive-recipe .recipe-list .item-6 .list-cont-wr {
        margin-top: -80px;
        margin-left: 16px;
    }
    .archive-recipe .recipe-list .item-7 {
        translate: 450px -163px;
    }
    .archive-recipe .recipe-list .item-7 .list-cont-wr {
        margin-top: -220px;
        margin-left: -250px;
    }
    .archive-recipe .recipe-list .item-8 {
        translate: -267px 63px;
    }
    .archive-recipe .recipe-list .item-8 .list-cont-wr {
        margin-top: -80px;
        margin-left: 140px;
    }
    .archive-recipe .recipe-list .group .item .thum-img {
        width: 100%;
        aspect-ratio: 1 / 1;
        border-radius: 50%;
    }
    .archive-recipe .recipe-list .group .item .list-cont-wr {
        padding: 12px;
        background-color: #ffffff94;
        border-radius: 8px;
        width: 300px;
    }
}


@media (min-width:900px) {
    .archive-recipe .recipe-list .item-1 {
        translate: 100px 100px;
    }
    .archive-recipe .recipe-list .item-2 {
        translate: 40px 0px;
    }
    .archive-recipe .recipe-list .item-3 {
        translate: 72px 80px;
    }
    .archive-recipe .recipe-list .item-4 {
        translate: -46px -130px;
    }
    .archive-recipe .recipe-list .item-5 {
        translate: 185px 30px;
    }
    .archive-recipe .recipe-list .item-6 {
        translate: 50px -104px;
    }
    .archive-recipe .recipe-list .item-7 {
        translate: 196% -200px;
    }
    .archive-recipe .recipe-list .item-8 {
        translate: -267px 63px;
    }
    .archive-recipe .recipe-list .group .item .list-cont-wr {
        width: 370px;
    }
}

/*---------- recipe-list ----------*/



.archive-recipe .category-wr .category {
    width: 80px;
    padding: 4px;
    border-radius: 0px;
}
/*-------------------------------

    archive-event.php

-------------------------------*/
.archive-event #fv-wavecon .fv .ver-text {
    line-height: 1.5;
    text-align: start;
}

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

    category-blog.php

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

.archive-blog #fv-wavecon .fv #blog-fv-text {
    text-align: left;
    padding: 0 10px;
    font-size: 18px;
}

.archive-blog .thum-img {
    border-radius: 20px;
}

.archive-blog #blog {
    margin: 4em auto 0;
}

.archive-blog #blog .list {
    margin: 0 auto 4em;
}

/*---------- category ----------*/
.archive-blog {
    height: fit-content;
    line-height: 1;
    margin: auto 0;
}
.archive-blog .bt-wr {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    gap: 8px;
    padding: 0 10px;
}

.archive-blog .bt-wr .category-button {
    max-width: 1100px;
    width: fit-content;
    padding: 6px 10px;
    background-color: white;
    border-radius: 4px;
    text-align: center;
    border: 1px solid #000;
    transition: background-color 0.3s ease;
}
.archive-blog .bt-wr .category-button.active {
    background-color: #ffb74d;
    color: #fff;
}
/*---------- tags ----------*/
.archive-blog .list .tags-wr {
    margin: 0.5rem 0;
    display: flex;
    gap: 1.5rem;
}

.archive-blog .list .tags-wr ul {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.archive-blog .list .item h2 {
    margin: 1em 0;
}
.archive-blog .list .item .blog-cont {
    flex-grow: 1;
}

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

    single-blog.php

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

/*---------- head部分 ----------*/

.single-blog .head p {
    margin: 0.5em 0;
}


.single-blog .btn-1 {
    text-align: center;
}

.single-blog article figure {
    overflow-x: scroll;
    width: auto;
    max-width: 640px;
}


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

    archive-event.php

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

.recept {
    background-color: var(--color-category);
    color: var(--base-color);
    text-align: center;
    margin: 4px 0;
    border-radius: 8px;
}

.archive-event {
    margin: 4em auto;
}

.archive-event #fv-wavecon .fv #event-fv-text {
    font-size: 18px;
    letter-spacing: 0px;
}

/*---------- list ----------*/

.archive-event .speech-bubble {
    margin: 0 10px 3em;
    max-width: 600px;
}

.archive-event .list {
    margin: 0 auto;
    gap: 1em;
}

.archive-event .event-wr {
    margin: 5em auto;
}

.archive-event .event-wr .event-tags {
    display: flex;
    flex-flow: row wrap;
    gap: 12px;
    margin: 1em auto;
    padding: 0 10px;
}

.archive-event .event-wr .event-tags li a {
    display: inline-block;
    padding: 5px 10px;
    margin: 2px;
    background-color: #C6504F;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.archive-event .event-wr .event-tags li a.active {
    background-color: #fff;
    color: #C6504F;
    border: 1px solid #C6504F;
}

.archive-event .list .item {
    margin: 0;
}

.archive-event .list .item h3 {
    margin: 8px auto;
}

.archive-event .list .item .recruiting {
    text-align: center;
    padding: 2px 0px;
    margin: 4px auto;
    color: #fff;
    background-color: #C6504F;
    border-radius: 12px;
}

.archive-event .list .item .ended {
    text-align: center;
    padding: 2px 0px;
    margin: 4px auto;
    color: #fff;
    background-color: #B8B8B8;
    border-radius: 12px;
}


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

    single-recipe.php

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

/*---------- body部分 ----------*/

.single-recipe .btn-2 {
    background-color: #CF5F5E;
    color: #FFFFFF;
    padding: 1em 3em;
}

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

    page-yume.php

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

#fv-wavecon {
    position: relative;
    width: 100%;
}

.wave-con {
    width: 170px;
    aspect-ratio: 1 / 2;
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-140%);
    z-index: 10;
}

.chous {
    position: absolute;
    top: 0;
    left: 20%;
    transform: translateY(-50%);
    width: 100px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    pointer-events: none;
    z-index: 9999;
    opacity: 0; /* デフォルトは非表示 */
}

/* 画像のフェード切り替え */
.wave-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
}

.wave-image:nth-child(1) {
    animation: chou-on-slow 0.2s ease-in-out 0s 30,  /* 最初4秒：0.2s x 25回 */
               chou-on-fast 0.1s ease-in-out 5s 10; /* 次の1秒：0.1s x 10回 */
}

.wave-image:nth-child(2) {
    animation: chou-off-slow 0.2s ease-in-out 0s 30,
               chou-off-fast 0.1s ease-in-out 5s 10;
               animation-fill-mode: forwards;
}

@keyframes chou-on-slow {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

@keyframes chou-off-slow {
    0%, 49% { opacity: 0; }
    50%, 100% { opacity: 1; }
}

@keyframes chou-on-fast {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

@keyframes chou-off-fast {
    0%, 49% { opacity: 0; }
    50%, 100% { opacity: 1; }
}

/* 移動アニメーション */
.chous.animate-in {
    opacity: 1;
    offset-path: path("M 0 0 Q 10 40 15 60 Q 20 80 30 95 Q 40 110 50 120 Q 60 130 75 165 Q 90 200 95 255 Q 100 310 120 325 Q 140 340 163.63 340");
    animation: move 4s ease-out forwards;
}

@keyframes move {
    0%   { offset-distance: 0%; }
    100% { offset-distance: 100%; }
}


.page-lower #fv-wavecon p {
    max-width: 640px;
    padding-top: 1em;
    margin: 0 auto;
}

.page-lower #fv-wavecon .fv {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding-top: 100px;
}

.page-lower #fv-wavecon .fv .ver-text {
    font-size: 32px;
    color: #900C00;
}

.page-lower #fv-wavecon .fv .fv-text {
    font-size: clamp(18px,4vw,22px);
    margin-top: 50px;
    font-family: "Shippori Mincho" , sans-serif;
}

.page-lower #fv-wavecon .fv .fv-text .st {
    font-size: clamp(24px,4vw,28px);
    display: block;
    width: 250px;
    margin: 0 auto 0 0;
}


.page-lower #fv-wavecon .fv .fv-text .st .bp {
    display: inline-block;
}

.fv-subtext {
    padding-left: 16px;
}

@media (min-width: 500px) {
    .page-lower #fv-wavecon .fv .fv-text .st {
        width: unset;
    }

    .fv-subtext {
        padding-left: unset;
        text-align: center;
        margin: 0 auto;
    }
}

#yume-cont {
    padding: 0 10px;
    margin-top: 70px;
}

.cloud-btn {
    margin: 2em auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.cloud-btn::after {
    content: '';
    background: url(img/cloud-arrow.svg) no-repeat center;
    background-size: contain;
    display: block;
    width: 50px;
    height: 44px;
}

@media (min-width:600px) {
    #yume-cont {
        max-width: 640px;
    }

    #yume-cont img {
        width: 45%;
        max-width: 640px;
        float: left;
        margin-right: 1em;
        margin-bottom: 1em;
    }
}

@media (min-width: 1060px) {
    #yume-cont {
        max-width: 1100px;
        display: flex;
        align-items: flex-start;
        gap: 20px;
    }

    #yume-cont p {
        padding-top: 0;
    }
}

@media (min-width: 750px) {
    .cloud-btn {
        width: fit-content;
        margin: 2em 0 2em auto;
    }
}

/*---------- これまでの歩み ----------*/
#story {
    padding: 0 10px;
}

.speech-bubble {
    position: relative;
    margin: 1em auto 2em;
    padding: 8px 18px;
    background: linear-gradient(90deg, #8C7D6E 0%, #9B7D60 100%), linear-gradient(90deg, #8C7D6E 0%, #846F5B 100%);
    border-radius: 32px;
    max-width: 500px;
    color: #fff;
    text-align: center;
}

.speech-bubble::before {
    position: absolute;
    content: "";
    display: block;
    background: url(img/bubble.svg) no-repeat center;
    background-size: contain;
    width: 50px;
    height: 50px;
    left: 4%;
    bottom: -35px;
}

#story p {
    margin: 0 auto;
}

#story .s {
    margin: 4em auto;
}

#story .journey {
    position: relative;
    margin: 110px auto;
}

.ashiato {
    position: absolute;
    display: flex;
    aspect-ratio: 16 / 13;
    gap: 30px;
    justify-content: space-between;
    max-width: 130px;
}
.ashiato .right {
    width: 60px;
    height: auto;
    margin-bottom: auto;
}

.ashiato .left {
    width: 60px;
    height: auto;
    margin-top: auto;
}

.left-side {
    position: absolute;
    top: -14%;
    z-index: -1;
}

.right-side {
    position: absolute;
    bottom: -12%;
    right: 4%;
    z-index: -1;
}

/* 初期状態：透明にしておく */
.scroll {
    opacity: 0;
    transition: opacity 1.5s ease, transform 1.5s ease;
}

/* 表示時：フェードイン */
.scroll.show {
    opacity: 1;
}

.left .scroll {
    transition: opacity 5s ease, transform 5s ease;
}


/*---------- やさしい台所とは？ ----------*/

#about-recipe {
    padding: 30px 10px 10px;
    background: url(img/subback1.png);
}

.fade {
    position: relative;
    overflow: hidden;/* 画像のサイズに合わせて変更ください */
    width: 60vw;
    max-width: 400px;
    aspect-ratio: 3 / 2;
    margin: 30px 0 30px auto;
}

.fade.left {
    margin: 30px auto 30px 0;
}

/*=== 画像の設定 ======================================= */
.fade img {
    display: block;
    position: absolute;/* 画像のサイズを表示エリアに合せる */
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: fade 8s ease infinite;
}

/*=== 右スライドのアニメーションを段差で開始する ========= */
.fade img:nth-of-type(1) { animation-delay: 0s }
.fade img:nth-of-type(2) { animation-delay: 4s }


.fade.left img:nth-of-type(1) { animation-delay: 1s }
.fade.left img:nth-of-type(2) { animation-delay: 5s }

/*=== フェードのアニメーション ========================= */
@keyframes fade{
    0% { opacity: 0; }
    10% { opacity: 1; }
    40% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 0; }
}

@media (min-width: 750px) {
    .about-recipe {
        max-width: unset;
    }
    
    .inner-con {
        display: flex;
        position: relative;
        gap: 0 20px;
        justify-content: space-between;
        max-width: 1100px;
        margin: 0 auto;
    }

    #yume .flex-left p {
        max-width: 510px;
    }

    .flex-right {
        flex-grow: 1;
        max-width: 540px;
    }

    .fade {
        width: 40vw;
        max-width: 370px;
        aspect-ratio: 4 / 3;
        margin: 30px auto 30px 0;
    }
    
    .fade.left {
        width: 40vw;
        max-width: 370px;
        aspect-ratio: 4 / 3;
        margin: 30px 0 30px auto;
    }
}


/*---------- 結びのひとときってなに？ ----------*/

#about-event {
    padding: 0 10px 60px;
    margin-top: 60px;
}

#about-event p {
    padding-top: 0;
}

.cube {
    display: grid;
    gap: 10px;
    grid-template-areas: 
    "a a"
    "b c";
    width: 100%;
    aspect-ratio: 1 / 1;
}

.cube img:nth-child(1) {
    grid-area: a;
}

.cube img:nth-child(2) {
    grid-area: b;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.cube img:nth-child(3) {
    grid-area: c;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

@media (min-width: 750px) {
    .hitotoki {
        display: flex;
        gap: 20px;
        justify-content: space-between;
    }

    .cube {
        width: 48vw;
        height: fit-content;
    }

    .read-con {
        width: 48vw;
    }

    #about-event .cloud-btn {
        width: fit-content;
        margin: 2em 0 2em auto;
    }
}

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

    エントリーフォーム 

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

.contact {
    margin: 0 auto;
}

.contact .screen-reader-response,
.contact .wpcf7-response-output {
    max-width: 40em;
    margin: 0 auto;
    text-align: center;
}

.contact #fv-wavecon .fv {
    padding-bottom: 20px;
}

.contact h2 {
    display: block;
    margin: 2em 0 0;
	font-size: 24px;
    font-weight: bold;
    text-align: center;
    color: var(--font-color);
}

.contact h2::after {
    content: "";
    display: block;
    width: min(350px, 100%);
    margin: 1em auto 0;
    border-top: 2px solid #ffe1dd;
}

.contact .form-area p {
	margin: 8px;
	font-size: 16px;
}

@media (min-width: 500px){
	.contact .form-area h2 {
		font-size: 32px;
	}	
}

.contact dl {
	padding: 0;
    max-width: 1000px;
    margin: 0 auto 4em;
}

.contact dl div {
    margin: 30px auto;
}

.contact dt {
    text-align: left;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.contact dt .required {
    color: var(--sub-color-red);
    font-weight: normal;
    font-size: 14px;
    border-radius: 3px;
    margin-left: 4px;
}

.contact dl dd {
    margin: 0;
    text-align: left;
}

.contact dl .radio-btn span .wpcf7-form-control {
    background-color: unset;
}

.contact dl .radio-btn span .wpcf7-form-control .wpcf7-list-item{
    margin-right: 6px;
}

.contact dl .radio-btn span .wpcf7-form-control .wpcf7-list-item-label {
    margin-left: 2px;
}

.contact dl dd span .wpcf7-form-control {
	width: 100%;
	border-radius: 6px;
	border: solid 1px #ffe1dd;
    background-color: #ffe1dd;
	padding: 16px;
	box-sizing: border-box;
}

.contact dl dd span .wpcf7-form-control .wpcf7-list-item {
	margin: 0;
}

.contact dl dd span .wpcf7-radio {
	border-radius: 0;
	border: none;
	padding: 0;
}

#contact:invalid .btn-1 {
    border: solid 2px black;
    background: rgb(202, 202, 202);
}

.contact .form-area .btn-area {
    display: block;
    width: min(100%, 350px);
    background: #ffe1dd;
    border: solid 1px #ffe1dd;
    border-radius: 25px;
    padding: 24px 32px 24px 0;
    margin: 16px auto;
    text-align: center;
    box-sizing: border-box;
    text-decoration: none;
    color: black;
    font-weight: bold;
    position: relative;
    transition: .35s;
    z-index: 10;
    cursor: pointer;
}

.contact .btn-area::before {
    position: absolute;
    content: '';
    width: 20px;
    aspect-ratio: 8 / 9;
    background: black;
    clip-path: polygon(0 0, 0% 100%, 100% 50%);
    top: 50%;
    right: 32px;
    transform: translateY(-50%);
    transition: .35s;
}

.contact .wpcf7-submit {
    border: none;
	font-size: 20px;
	font-weight: bold;
    background-color: #ffe1dd;
}

.contact .wpcf7-spinner {
    display: none !important;
}

@media (min-width: 600px) {
	.contact dl div {
        display: flex;
        justify-content: space-between;
        margin: 30px auto;
	}
	.contact dt {
        flex-basis: 40%;
    }
	.contact dl dd {
		flex-basis: 60%;
	}

}

#form {
    padding-bottom: 4em;
}
