@charset "UTF-8";

/*
Theme Name : WEBSITE
Author: クローバーグラフィック
Description: corporate website
Version: 1.0
*/

/*=======================================================
Common
=======================================================*/

:root {
    --color_1: #fff;
    --color_2: #222;
    --color_3: #f74141;
    --color_4: #FEF2F2;
    --color_5: #A8E24B;
}
html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", sans-serif;
    font-size: clamp(15px, 1.11111vw, 32px);
    font-weight: 500;
    font-feature-settings: "palt";
    -webkit-font-smoothing: antialiased;
    line-height: 2.2;
    letter-spacing: 0.09em;
    color: var(--color_2);
    overflow: clip;
}

body p {
    text-align: justify;
}

body img.scaled-image {
    border: none;
    margin: 0;
}

img {
    pointer-events: none;
}

.f-20 {
    font-size: clamp(18px, 1.388vw, 40px);
}
.f-30 {
    font-size: clamp(24px, 2.08vw, 56px);
}
.f-40 {
    font-size: clamp(28px, 2.77vw, 64px);
}

.scroll-on {
  opacity: 0;
}
.scroll-active {
  opacity: 1;
  transition: 0.7s;
  transition-timing-function: ease-out;
}

.scroll-on-left {
  opacity: 0;
  transform: translateX(-30px);
}
.scroll-active-left {
  opacity: 1;
  transform: translateX(0);
  transition: 0.8s;
  transition-timing-function: ease;
}

.scroll-on-right {
  opacity: 0;
  transform: translateX(30px);
}
.scroll-active-right {
  opacity: 1;
  transform: translateX(0);
  transition: 0.8s;
  transition-timing-function: ease;
}


@media screen and (max-width: 480px) {
    body {
        line-height: 2;
        letter-spacing: 0.05em;
    }
}

/* Header
=======================================================*/
#header {
    width: 100%;
}
#toggle__btn {
    width: 94px;
    height: 90px;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 5000;
}
#toggle__btn img {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    filter: invert(36%) sepia(48%) saturate(1921%) hue-rotate(330deg) brightness(96%) contrast(102%);
}
#toggle__btn img.close {
    display: none;
}
body.toggle__open #toggle__btn img.open {
    display: none;
}
body.toggle__open #toggle__btn img.close {
    display: block;
}


.toggle__wrap {
    position: fixed;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    max-width: 750px;
    height: 100%;
    padding: 135px 70px;
    background-color: var(--color_5);
    background-image: url(img/bg-img-dots.svg);
    background-size: cover;
    filter: drop-shadow(#fff -3px 0 10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition-duration: 0.3s;
    transition-timing-function: ease-out;
    -webkit-overflow-scrolling: touch;
    z-index: 4500;
    overflow-y: scroll;
}

.toggle__wrap::-webkit-scrollbar {
    display: none;
}

body.toggle__open .toggle__wrap {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.toggle__nav a {
    display: block;
    margin-top: 3%;
    padding: 5% 0 5% 5%;
    font-weight: bold;
    color: var(--color_3);
    border-bottom: var(--color_4) 5px dotted;
    transition: 0.4s;
}
.toggle__nav a:hover {
    border-bottom: var(--color_3) 5px dotted;
    transition: 0.4s;
}

.toggle__nav ul li:last-of-type a {
    display: block;
    margin-top: 8%;
    margin-bottom: 8%;
    padding: 5% 0 5% 5%;
    font-weight: bold;
    color: var(--color_1);
    background-color: var(--color_3);
    border-bottom: none;
    border-radius: 30px;
    text-align: center;
    transition: 0.4s;
}


.toggle__info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.toggle__info img {
    width: 18%;
}
.toggle__info p {
    width: 75%;
    font-size: 80%;
    color: var(--color_3);
    font-weight: bold;
    line-height: 3em;
}
.toggle__info p span {
    color: var(--color_1);
    line-height: 1.4em;
}
.toggle__info p span.red {
    position: relative;
    color: var(--color_3);
}
.toggle__info p span.red::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 30%;
    background-color: var(--color_5);
    z-index: -1;
}

.toggle__info p .br-sp {
    display: none;
}

@media screen and (max-width: 1440px) {
    .toggle__wrap {
        max-width: 600px;
        padding: 100px 70px 40px;
    }
}

@media screen and (max-width: 896px) {
}

@media screen and (max-width: 480px) {
    #toggle__btn {
        width: 66px;
        height: 63px;
    }
    .toggle__wrap {
        padding: 70px 10% 40px;
    }
    .toggle__info p {
        line-height: 1.4em;
    }
    .toggle__info p span {
        display: inline-block;
        margin-bottom: 3%;
    }
    .toggle__info p .br-sp {
        display: block;
    }
}


/* Main
=======================================================*/
body:not(.home) main {
    background-color: var(--color_4);
}

/*=======================================================
Pagetitle
=======================================================*/
#pageTitle {
    position: relative;
    padding: 15% 0;
    z-index: auto;
}

h1.page__title {
    position: relative;
    text-align: center;
    font-size: clamp(20px, 1.66vw, 30px);
    font-weight: 600;
    font-weight: bold;
    z-index: 0;
}

h1.page__title::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -40%);
    width: 10.5vw;
    min-width: 130px;
    height: 10vw;
    min-height: 120px;
    background-image: url(img/strawberry-frame-w.svg);
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: left top;
    z-index: -1;
}

h1.page__title::first-letter {
    font-size: clamp(20px, 1.66vw, 30px);
    font-size: 150%;
}

h1.page__title span {
    color: var(--color_3);
}

/*前頁共通scroll*/
.info__text {
    display: flex;
    align-items: center;
    position: absolute;
    top: 50%;
    left: -1.5%;
    transform: rotate(90deg);
    color: var(--color_1);
    font-size: 80%;
    font-weight: bold;
    font-style: italic;
    line-height: 1.2em;
    align-content: center;
}
.info__text span {
    display: block;
    width: 5px;
    height: 5px;
    margin-left: 10px;
    background-color: var(--color_1);
    border-radius: 50%;
    opacity: 0;
}
.info__text span:nth-of-type(1) {
    animation: arrowAnime1 4s linear infinite;
}
@keyframes arrowAnime1 {
    0% {opacity: 0;}
    18% {opacity: 0;}
    20% {opacity: 1;}
    98% {opacity: 1;}
    100% {opacity: 0;}
}
.info__text span:nth-of-type(2) {
    animation: arrowAnime2 4s linear infinite;
}
@keyframes arrowAnime2 {
    0% {opacity: 0;}
    38% {opacity: 0;}
    40% {opacity: 1;}
    98% {opacity: 1;}
    100% {opacity: 0;}
}
.info__text span:nth-of-type(3) {
    animation: arrowAnime3 4s linear infinite;
}
@keyframes arrowAnime3 {
    0% {opacity: 0;}
    58% {opacity: 0;}
    60% {opacity: 1;}
    98% {opacity: 1;}
    100% {opacity: 0;}
}
.info__text span:nth-of-type(4) {
    width: 10px;
    height: 10px;
    border-radius: 0;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    animation: arrowAnime4 4s linear infinite;
}
@keyframes arrowAnime4 {
    0% {opacity: 0;}
    78% {opacity: 0;}
    80% {opacity: 1;}
    98% {opacity: 1;}
    100% {opacity: 0;}
}

/*下層ページscroll*/
body:not(.home) .info__text {
    color: var(--color_3);
}

body:not(.home) .info__text span {
    background-color: var(--color_3);
}

@media screen and (max-width: 1400px) {
    /*scroll*/
    .info__text {
        left: -2.5%;
    }
}

@media screen and (max-width: 1024px) {
    /*scroll*/
    .info__text {
        left: -3%;
    }
}

@media screen and (max-width: 896px) {
    #pageTitle {
        padding: 20% 0;
    }
    /*scroll*/
    .info__text {
        left: -3.5%;
    }
}

@media screen and (max-width: 750px) {
    /*scroll*/
    .info__text {
        left: -4.1%;
    }
}

@media screen and (max-width: 680px) {
    /*scroll*/
    .info__text {
        left: -5%;
    }
}
@media screen and (max-width: 600px) {
    /*scroll*/
    .info__text {
        left: -6%;
    }
}
@media screen and (max-width: 500px) {
    /*scroll*/
    .info__text {
        left: -7%;
    }
}

@media screen and (max-width: 480px) {
    #pageTitle {
        padding: 30% 0;
    }
    /*scroll*/
    .info__text {
        left: -8.5%;
    }
}
@media screen and (max-width: 460px) {
    /*scroll*/
    .info__text {
        left: -9.6%;
    }
}
@media screen and (max-width: 390px) {
    /*scroll*/
    .info__text {
        left: -10.8%;
    }
}

@media screen and (max-width: 375px) {
    /*scroll*/
    .info__text {
        left: -11%;
    }
}
@media screen and (max-width: 350px) {
    /*scroll*/
    .info__text {
        left: -12%;
    }
}
@media screen and (max-width: 330px) {
    /*scroll*/
    .info__text {
        left: -13%;
    }
}

/* 追従目次
=======================================================*/
.sticky__wrap {
    position: relative;
    width: 100vw;
    height: fit-content;
}
.sticky__item {
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    left: 1%;
    width: fit-content;
    color: var(--color_3);
    transform: rotate(90deg);
    transform-origin: left bottom;
    font-style: italic;
    z-index: 100;
}
/*farm独自*/
.aboutFarm .sticky__item {
    margin-bottom: 15%;
}
/*strawberries独自*/
.strawberries .sticky__item {
    margin-bottom: 20%;
}
/*service独自*/
.service .sticky__item {
    margin-bottom: 5%;
}
/*faq独自*/
.faq .sticky__item {
    margin-bottom: 10%;
}
/*kodawari独自*/
.kodawari .sticky__item {
    margin-bottom: 10%;
}
/*Message独自*/
.message .sticky__item {
    margin-bottom: 0%;
}
/*flow独自*/
.flow .sticky__item {
    margin-bottom: 10%;
}

.sticky__item span {
    display: block;
    width: 5px;
    height: 5px;
    margin-left: 10px;
    background-color: var(--color_3);
    border-radius: 50%;
    opacity: 0;
}
.sticky__item span:nth-of-type(1) {
    animation: arrowAnime1 4s linear infinite;
}
@keyframes arrowAnime1 {
    0% {opacity: 0;}
    18% {opacity: 0;}
    20% {opacity: 1;}
    98% {opacity: 1;}
    100% {opacity: 0;}
}
.sticky__item span:nth-of-type(2) {
    animation: arrowAnime2 4s linear infinite;
}
@keyframes arrowAnime2 {
    0% {opacity: 0;}
    38% {opacity: 0;}
    40% {opacity: 1;}
    98% {opacity: 1;}
    100% {opacity: 0;}
}
.sticky__item span:nth-of-type(3) {
    animation: arrowAnime3 4s linear infinite;
}
@keyframes arrowAnime3 {
    0% {opacity: 0;}
    58% {opacity: 0;}
    60% {opacity: 1;}
    98% {opacity: 1;}
    100% {opacity: 0;}
}
.sticky__item span:nth-of-type(4) {
    width: 10px;
    height: 10px;
    border-radius: 0;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    animation: arrowAnime4 4s linear infinite;
}
@keyframes arrowAnime4 {
    0% {opacity: 0;}
    78% {opacity: 0;}
    80% {opacity: 1;}
    98% {opacity: 1;}
    100% {opacity: 0;}
}
@media screen and (max-width: 896px) {
    /*farm独自*/
    .aboutFarm .sticky__item {
        margin-bottom: 20%;
    }
    /*strawberries独自*/
    .strawberries .sticky__item {
        margin-bottom: 30%;
    }
    /*service独自*/
    .service .sticky__item {
        margin-bottom: 18%;
    }
    /*faq独自*/
    .faq .sticky__item {
        margin-bottom: 25%;
    }
    /*kodawari独自*/
    .kodawari .sticky__item {
        margin-bottom: 20%;
    }
    /*Message独自*/
    .message .sticky__item {
        margin-bottom: 25%;
    }
}
@media screen and (max-width: 480px) {
    .sticky__item {
        line-height: 1.2em;
        left: 0;
    }
    /*farm独自*/
    .aboutFarm .sticky__item {
        margin-bottom: 40%;
    }
    /*strawberries独自*/
    .strawberries .sticky__item {
        margin-bottom: 45%;
    }
}

/* h2タイトル
=======================================================*/
.contents > h2 {
    display: inline-block;
    background-color: var(--color_4);
    font-weight: bold;
    line-height: 1em;
    padding: 0.8vw;
    letter-spacing: 0.12em;
}
.contents > h2 span {
    color: var(--color_3);
}

/* h3タイトル
=======================================================*/
.contents > h3 {
    position: relative;
    display: block;
    width: fit-content;
    margin: 0 auto;
    font-weight: bold;
    line-height: 1em;
    letter-spacing: 0.12em;
    padding: 0.2vw 2.5vw;
    background-image: url(img/h3-dots.png), url(img/h3-dots.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left top, right top;
}
.contents > h3 span {
    color: var(--color_3);
}

@media screen and (max-width: 600px) {
    .contents > h3 {
        padding: 0.2vw 4vw;
    }
}

@media screen and (max-width: 896px) {
}

@media screen and (max-width: 480px) {
}

/* cta
=======================================================*/
#cta {
    position: relative;
    display: flex;
    padding: 3% 8%;
    z-index: auto;
}
#cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(img/cta-bg.jpg);
    background-repeat: no-repeat;
    background-position: top left;
    background-size: cover;
    z-index: 0;
}
#cta::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #FF565699;
    z-index: 1;
}
.cta__item {
    width: 50%;
    padding: 1% 5%;
    border-right: var(--color_1) 0.2vw solid;
    color: var(--color_1);
    transition: 0.2s;
    z-index: 2;
}
.cta__item:hover {
    color: var(--color_5);
    transition: 0.2s;
}
.cta__item:first-of-type {
    padding-left: 0;
}
.cta__item:last-of-type {
    border-right: none;
}

.cta__item a {
    display: block;
    width: 100%;
    height: 100%;
}

.cta__item h2 {
    letter-spacing: 0.1em;
    line-height: 1.8em;
    font-weight: bold;
}

.cta__item i {
    display: inline-block;
    margin: 10% 0 0 90%;
    text-align: right;
    font-size: 300%;
}

@media screen and (max-width: 896px) {
    #cta {
        flex-direction: column;
    }
    .cta__item {
        width: 100%;
        padding: 5%;
        border-right: none;
        border-bottom: var(--color_1) 0.25vw solid;
    }
    .cta__item:last-of-type {
        border-bottom: none;
    }
    .cta__item i {
        font-size: 250%;
    }
}

@media screen and (max-width: 480px) {
}

/* Footer
=======================================================*/
#footer {
    background-color: var(--color_4);
}

.footer__container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    padding: 3% 10% 2%;
}

.footer__info {
    margin-bottom: 5%;
}

.footer__info .companyName {
    font-weight: bold;
}
.footer__info .companyName span {
    color: var(--color_3);
}
.footer__info address {
    font-style: normal;
    font-size: 80%;    
}/*
.footer__info .companyTell {
    font-size: 80%;
    line-height: 1.2em;
}*/

.footer__nav ul {
    display: flex;
    justify-content: space-between;
    gap: 4.86vw;
    color: var(--color_3);
    font-weight: bold;
}
.footer__nav ul li {
    position: relative;
    line-height: 1.6em;
}
.footer__nav ul li::before {
    content: "";
    position: absolute;
    top: calc(50% - 2.5px);
    left: calc(100% + 2.43vw);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--color_3);
}
.footer__nav ul li:last-of-type::before {
    display: none;
}

.footer__nav ul li::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0.138vw;
    height: 0.208vw;
    background-color: var(--color_5); 
    transition: 0.3s;       
}
.footer__nav ul li:hover::after {
    width: 100%;
    transition: 0.3s;
}

small {
    width: 100%;
    height: 35px;
    line-height: 35px;
    font-size: clamp(11px, 0.76vw, 14px);    
    color: var(--color_1);
    background-color: var(--color_3);
    text-align: center;
}

/*トップに戻るボタン*/
#pageTop {
    position: fixed;
    right: 2%;
    bottom: 3%;
    width: 100px;
    height: 92px;
    z-index: 1000;
    transition-duration: 0.5s;
    transition-timing-function: ease-out;
    opacity: 0;
    visibility: hidden;
}
#pageTop.active {
  opacity: 1;
  visibility: visible;
}
#pageTop.absolute {
    position: absolute;
    top: 13%;
    bottom: auto;
}


#pageTop:hover {
    opacity: 0.6;
    transition: 0.5s;
}

@media screen and (max-width: 1024px) {
    #pageTop {
        width: 70px;
        height: 64.4px;
    }
}

@media screen and (max-width: 896px) {
    .footer__container {
        display: block;
        padding: 3% 5% 2%;
    }
    .footer__nav ul {
        justify-content: left;
    }
}

@media screen and (max-width: 480px) {
    .footer__container {
        padding: 5%;
    }
    .footer__nav ul {
        display: block;
    }
    .footer__nav ul li {
        width: fit-content;
        margin-bottom: 2%;
    }
    .footer__nav ul li::before {
        display: none;
    }
    #pageTop.absolute {
        top: auto;
        bottom: 5%;
    }
}

/*=======================================================
投稿ページ
=======================================================*/
/* Archive（前後ページ移動）
=======================================================
.wp-pagenavi {
    margin-top: 45px;
    line-height: 1;
    text-align: center;
}

.wp-pagenavi a,
.wp-pagenavi span {
    width: 40px;
    height: 40px;
    margin: 0 5px;
    border-radius: 90px;
    font-size: 13px;
    line-height: 40px;
    text-align: center;
    background-color: rgb(230, 230, 230);
    display: inline-block;
    transition-duration: 0.3s;
    transition-timing-function: ease-out;
}

.wp-pagenavi a:hover {
    background-color: rgb(245, 245, 245);
}

.wp-pagenavi span.current {
    color: #fff;
    background-color: rgb(90, 150, 180);
}

.wp-pagenavi a.previouspostslink,
.wp-pagenavi a.nextpostslink {
    color: transparent;
    background-color: rgb(150, 150, 150);
    position: relative;
}

.wp-pagenavi a.previouspostslink:hover,
.wp-pagenavi a.nextpostslink:hover {
    background-color: rgb(180, 180, 180);
}

.wp-pagenavi a.previouspostslink:after,
.wp-pagenavi a.nextpostslink:after {
    content: "";
    width: 5px;
    height: 5px;
    border-width: 0;
    border-style: solid;
    border-color: #fff;
    box-sizing: border-box;
    display: block;
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
    position: absolute;
    top: 50%;
    left: 50%;
}

.wp-pagenavi a.previouspostslink:after {
    border-bottom-width: 1px;
    border-left-width: 1px;
}

.wp-pagenavi a.nextpostslink:after {
    border-top-width: 1px;
    border-right-width: 1px;
}

@media screen and (max-width: 1024px) {
}

@media screen and (max-width: 896px) {
}

@media screen and (max-width: 480px) {
    .wp-pagenavi {
        margin-top: 55px;
    }

    .wp-pagenavi a,
    .wp-pagenavi span {
        width: 36px;
        height: 36px;
        font-size: 11px;
        line-height: 36px;
    }
}

/* Single（前後ページ移動）
=======================================================
.pagenav {
    padding-top: 55px;
    border-top: 2px solid var(--color_2);
    margin-top: 120px;
    line-height: 1;
}

.pagenav > a {
    width: 49%;
    padding: 45px 0;
    border-bottom: 2px solid var(--color_5);
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
    display: block;
    position: relative;
}

.pagenav > a:hover {
    text-decoration: underline;
}

.pagenav > a:first-child {
    padding-left: 18px;
    float: left;
}

.pagenav > a:last-child {
    padding-right: 18px;
    float: right;
}

.pagenav > a:before {
    content: "";
    width: 9px;
    height: 9px;
    box-sizing: border-box;
    display: block;
    position: absolute;
    top: 50%;
    z-index: 50;
}

.pagenav > a:first-child:before {
    border-top: 2px solid #000;
    border-left: 2px solid #000;
    transform: rotate(-45deg);
    transform-origin: top left;
    left: 0;
}

.pagenav > a:last-child:before {
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    transform-origin: top right;
    transform: rotate(45deg);
    right: 0;
}

@media screen and (max-width: 1024px) {
}

@media screen and (max-width: 896px) {
    .pagenav {
        padding-top: 63px;
        margin-top: 120px;
    }
}

@media screen and (max-width: 480px) {
    .pagenav {
        padding-top: 0;
        border-top: none;
        margin-top: 90px;
    }

    .pagenav > a {
        width: 100%;
        padding: 21px 18px;
        border: 1px solid var(--color_3);
        border-radius: 45px;
        font-size: 13px;
    }

    .pagenav > a:before {
        width: 7px;
        height: 7px;
    }

    .pagenav > a:first-child {
        padding-left: 25px;
    }

    .pagenav > a:last-child {
        padding-right: 25px;
        margin-top: 33px;
    }

    .pagenav > a:first-child:before {
        border-top: 1px solid var(--color_4);
        border-left: 1px solid var(--color_4);
        left: 16px;
    }

    .pagenav > a:last-child:before {
        border-top: 1px solid var(--color_4);
        border-right: 1px solid var(--color_4);
        right: 16px;
    }
}
