/*
Theme Name: Cocoon Child
Theme URI: https://wp-cocoon.com/
Template: cocoon-master
Author: わいひら
Author URI: https://nelog.jp/
Description: SEO・高速化・モバイルファースト最適化済みの無料テーマ。
Tags: two-columns,left-sidebar,right-sidebar
Version: 2.7.7.4.1727643695
Updated: 2024-09-30 06:01:35

*/
.sbi_bio {
	color: #000 !important;
}
/*--------------共通--------------*/
.home .entry-header,
.entry-footer,
.date-tags {
    display: none;
}

.content {
    overflow: hidden;
}

.content,
.main,
.entry-content {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.wrap {
    width: 100%;
}

img {
    width: 100%;
    height: 100%;
}

p {
    font-size: clamp(16px, 2vw, 18px) !important;
}

.video-container,
.instagram-container,
.facebook-container {
    max-width: none !important;
}

.center {
    text-align: center;
}

.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
    background: transparent;
    border: 0;
}

.sp_on {
    display: none;
}

.mb-50 {
    margin-bottom: 50px !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

/*--------------header--------------*/
.header-container {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    width: 100%;
}

/* hamburger(ハンバーガーアイコン)
=================================== */
.hamburger {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 55px;
    height: 55px;
    cursor: pointer;
    z-index: 300;
    padding: 20px;
    background: #3B477B;
    border-radius: 50%;
}

.hamburger__line {
    position: absolute;
    width: 35px;
    height: 3px;
    right: 10px;
    background-color: #fff;
    transition: all 0.5s;
}

.hamburger__line--1 {
    top: 13px;
}

.hamburger__line--2 {
    top: 25px;
}

.hamburger__line--3 {
    top: 37px;
}

.sp_inner {
    margin-top: 80px;
    padding: 10px;
    text-align: center;
}

.sp_inner img {
    max-width: 400px;
    width: 80%;
}

.sp_inner ul {
    list-style: none;
    padding-left: 20px;
    text-align: left !important;
    margin-top: 50px;
}

.sp_inner ul li {
    font-size: 20px;
    margin: 10px;
}

.sp_inner ul li a {
    text-decoration: none;
    color: #fff;
}

.sp_inner ul .header_contact {
    margin-top: 30px;
    padding: 0;
    text-align: center;
}

.sp_kamon {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150%;
}

/*ハンバーガーがクリックされたら*/
.open .hamburger__line--1 {
    transform: rotate(-45deg);
    top: 18px;
    background: #fff
}

.open .hamburger__line--2 {
    opacity: 0;
}

.open .hamburger__line--3 {
    transform: rotate(45deg);
    top: 18px;
    background: #fff
}

/* 
sp-nav(ナビ)
=================================== */
.sp-nav {
    position: fixed;
    right: -100%;
    /*ハンバーガーがクリックされる前はWindow右側に隠す*/
    top: 0;
    width: 30%;
    /* 出てくるスライドメニューの幅 */
    height: 100vh;
    background-color: #3B477B;
    transition: all 0.5s;
    z-index: 200;
    overflow-y: auto;
    /* メニューが多くなったらスクロールできるように */
}

/*ハンバーガーがクリックされたら右からスライド*/
.open .sp-nav {
    right: 0;
}

/* black-bg(ハンバーガーメニュー解除用bg)
=================================== */
.black-bg {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 5;
    background-color: #000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s;
    cursor: pointer;
    z-index: 100;
}

/*ハンバーガーメニューが開いたら表示*/
.open .black-bg {
    opacity: 0.3;
    visibility: visible;
}

/*--------------メインページ--------------*/
body {
    font-family: 'Zen Maru Gothic', sans-serif;
}

.main_content_area {
    width: 80%;
    margin: 0 auto;
    max-width: 1000px;
    position: relative;
}

.top_content {
    position: relative;
}

.main_logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30%;
}

.arched-text-svg {
    position: absolute;
    top: -8%;
    left: 10%;
    transform: translate(-50%, 0);
    font-size: 30px;
    width: 80%;
}

.arc-text {
    fill: #fff;
    font-weight: bold;
}

.main_consept {
    position: relative;
    margin-top: 50%;
    margin-bottom: 10%;
}

.main_title {
    font-size: clamp(24px, 4vw, 50px);
    color: #034180;
    width: 100%;
    text-align: center;
}

.main_consept_bg {
    width: 40%;
    max-width: 500px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 画像の回転アニメーション */
@keyframes rotate360 {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.main_consept_bg img {
    animation: rotate360 30s linear infinite;
    /* 10秒かけて360度回転し続ける */
}

.main_consept_under p {
    max-width: 640px;
    margin: 0 auto;
}

.main_title_h2 {
    font-size: clamp(20px, 2.5vw, 36px) !important;
    margin: 50px auto 0 !important;
    color: #034180 !important;
    position: relative;
}

.flower_bg_1:before {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    z-index: -1;
    padding: 280px;
    width: 100%;
    height: 100%;
    background: url(https://yamanashi-flowerproject.jp/wp-content/uploads/2024/10/main-bg01.png) center / cover no-repeat;
}

.youtube_area {
    margin: 200px auto;
    width: 80%;
    max-width: 800px;
}

.farm_logo {
    max-width: 250px;
    margin: 0 auto;
    width: 55%;
}

.sub_title {
    position: relative;
    background: #eff4ff !important;
    padding: 7px 37px 7px 30px !important;
    color: #474747;
    border-radius: 0 10px 10px 0;
    text-align: center;
    display: inline-block;
}

.sub_title:before {
    font-family: "Font Awesome 5 Free";
    content: "\f00c";
    display: inline-block;
    line-height: 40px;
    position: absolute;
    padding: 0em;
    color: white;
    background: #81a1e4;
    font-weight: 900;
    width: 40px;
    text-align: center;
    height: 40px;
    line-height: 40px;
    left: -1.35em;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    border-radius: 50%;
    box-shadow: 0px 2px 1px rgba(0, 0, 0, 0.29);
    border-bottom: solid 2px #4967b4;
}

.event_text {
    font-size: clamp(18px, 3vw, 26px) !important;
    font-weight: bold;
    margin: 0 !important;
}

.event_banner {
    margin: 50px auto;
    max-width: 1400px;
}

a.btn_link {
    display: block;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    width: 250px;
    margin: auto;
    padding: 1rem 4rem;
    font-weight: bold;
    border: 2px solid #3B477B;
    background: #3B477B;
    color: #fff;
    border-radius: 100vh;
    transition: 0.5s;
}

a.btn_link:hover {
    color: #3B477B;
    background: #fff;
}

.event_content {
    margin: 150px auto;
}

.banner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.flower_fes {
    margin: 80px auto;
}

.flower_fes .event_banner {
    margin: 0 auto;
}

.flower_fes .main_title_h2 {
    margin: 15px auto !important;
}

/*-----投稿 問い合わせ--------*/
.single .content,
.archive .content,
.error404 .content,
.page-id-162 .content,
.page-id-170 .content {
    margin: 50px auto !important;
    width: 80%;
}

.cat-label {
    background: #fff !important;
}

.admin-pv {
    display: none;
}

/*------luxy --------*/
.luxy_area {
    top: 0px;
}

.top_flower {
    width: 18%;
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}

.top_flower._1 {
    position: absolute;
    top: 20px;
    left: 30px;
}

.top_flower._2 {
    position: absolute;
    top: 15px;
    right: 30px;
}

.top_flower._3 {
    position: absolute;
    bottom: 0px;
    right: 20px;
    width: 25%;
    transform: rotate(-7deg);
}

.top_flower._4 {
    position: absolute;
    bottom: 0px;
    left: 20px;
    width: 25%
}

/*------luxy ここまで --------*/
/*------css slider --------*/
.slideshow_content {
    width: 800px;
    height: auto;
}

/* スライドレールの枠 */
.slider_wrap {
    overflow: hidden;
    display: flex;
    align-items: center;
    height: auto;
    margin: 50px auto;
}

/* contentをまとめたスライドブロック */
.slideshow {
    list-style: none;
    display: flex;
    -webkit-animation: loop-slide 40s infinite linear 1s both;
    animation: loop-slide 40s infinite linear 1s both;
}

@-webkit-keyframes loop-slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

@keyframes loop-slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

/*------css slider ここまで --------*/

/*--------------フォーム-------------*/
.page-id-131 .main,
.page-id-133 .main,
.page-id-151 .main,
.page-id-153 .main {
    width: 80% !important;
    margin: 80px auto !important;
}

table tr:nth-of-type(2n+1) {
    background-color: #fff !important;
}

table:not(.has-border-color) :where(th, td) {
    border: 0;
}

.contact_form {
    margin: 80px auto;
}

.contact_title {
    padding: 0.5em !important;
    color: #010101 !important;
    background: #eaf3ff !important;
    border-bottom: solid 3px #516ab6 !important;
}

.form-hissu,
.form-nini {
    display: block;
    text-align: center;
    color: #FFF;
    width: 30px;
    font-size: 11px;
    margin: auto;
}

.form-hissu {
    background: #FF0000;
}

.form-nini {
    background: #99CCFF;
}

.form-btn {
    text-align: center;
}

.form-btn-font-o {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all .3s;
    transition: all .3s;
    font-size: 16px;
    display: inline-block;
    text-align: center;
    border: 1px solid #000;
    border-radius: 15px;
    margin: 0 auto;
    width: 270px;
    height: 60px;
    background: none;
    color: #000;
}

.form-btn-font-o:hover {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all .3s;
    transition: all .3s;
    background: #3B477B;
    color: #FFF;
}

.form-btn-font-g {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all .3s;
    transition: all .3s;
    font-size: 16px;
    display: inline-block;
    text-align: center;
    border: 1px solid #000;
    border-radius: 15px;
    margin: 0 auto;
    width: 270px;
    height: 60px;
    background: none;
}

.form-btn-font-g:hover {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all .3s;
    transition: all .3s;
    background: #3B477B;
    color: #FFF;
}

.mwform-radio-field {
    display: block;
    margin: 10px 0;
}

.form-bikou {
    width: 100%;
}

.form-btn {
    margin-bottom: 15px;
}

.cont-form table {
    margin: 20px 0;
    width: 100%;
    border-spacing: 0 10px;
}

.cont-form th,
.cont-form td {
    padding: 15px 1% 10px 1%;
}

.cont-form th {
    width: 220px;
    font-size: 15px;
    font-weight: normal;
    text-align: left;
    background: #fff;
}

.mwform-radio-field-text {
	font-size: 15px;
}

.cont-form table input,
select,
textarea {
    border-radius: 0;
    background: #FFF;
    border: solid 1px #333333;
    padding: 9px 14px 9px 14px;
    box-sizing: border-box;
    width: 100%;
}

.contact-form p {
    margin: 0;
}

.form_s {
    width: 50px !important;
}

.form_m {
    width: 270px !important;
}

.form_l {
    height: 200px;
}

.cont-form table input[type=radio] {
    width: auto;
}

.cont-form table input[type=checkbox] {
    width: auto;
}

.cont-form table input[type=file] {
    width: auto;
}

.cont-form table select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.cont-form table select::-ms-expand {
    display: none;
}

.hissu_table {
    text-align: center;
    width: 6%;
    padding: 5px 0 5px 1% !important;
}

.cont-form table select {
    background: #FFF url(img/arrow.svg) 98% center no-repeat;
}


.ui-datepicker .ui-datepicker-title select {
    padding: 0 !important;
}

.contact_caution {
    margin: auto;
    width: 860px;
    padding: 25px 65px;
    font-size: 13px;
    background: #F7F7F7;
}

.contact_tel,
.contact_info_text {
    vertical-align: middle;
}

.cont_questionnaire {
    margin: 0;
}

.cont_questionnaire th {
    width: 120px;
    background: none;
    vertical-align: top;
}

.mwform-checkbox-field label {
    display: inline-block;
}

.mw_wp_form .horizontal-item+.horizontal-item {
    margin-left: 0 !important;
}

/*--------------fooer--------------*/
.footer-left,
.footer-right {
    display: none;
}

.body .widget,
.footer-bottom {
    margin: 0
}

.footer-center {
    width: 100%;
}

.footer_logo {
    width: 60%;
    max-width: 300px;
    margin: 0 auto;
    text-align: center;
}

.sns_area {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    /* アイコン間のスペースを調整 */
    max-width: 200px;
    margin: 0 auto;
}

.mainpage_sns_area {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    /* アイコン間のスペースを調整 */
    max-width: 100%;
    margin: 0 auto;
}

.footer_sns_logo {
    display: flex;
    justify-content: center;
    /* アイコンを中央寄せに */
    align-items: center;
}

.footer_sns_logo img {
    max-width: 50px;
}

.mainpage_sns_area .footer_sns_logo img {
    max-width: 100% !important;
}

.footer_logo img {
    max-width: 100%;
    height: auto;
    /* 画像の縦横比を保持 */
}


/*----------------追加--------------------*/
.pdf_img {
	max-width: 800px;
	margin: 80px auto;
}
.post_under,.event_contact_form {
	width: 90%;
	margin: 0 auto;
	max-width: 800px;
}

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

    .single .content,
    .archive .content {
        width: 90%;
    }

    .sp_on {
        display: block;
    }

    .sub_title {
        font-size: 15px !important;
    }

    .main_content_area {
        width: 90%;
    }

    .slideshow_content {
        width: 400px;
    }

    .youtube_area {
        margin: 80px auto;
    }

    .top_flower {
        width: 24%;
    }

    .top_flower._1 {
        top: -2px;
        left: 10px;
    }

    .top_flower._2 {
        top: -4px;
        right: 64px;
    }

    .top_flower._3 {
        right: -17px;
        width: 38%;
    }

    .top_flower._4 {
        bottom: -20px;
        left: 0px;
        width: 34%;
    }

    .cont-form {
        width: 100%;
    }

    .contact_caution {
        width: 100%;
        padding: 25px;
    }

    .contact_info_text {
        margin-top: 10px;
        display: block;
    }

    .cont-form th,
    .cont-form td {
        display: block;
        padding: 5px 2%;
        text-align: left;
        border: none;
    }

    .cont-form th {
        margin-right: 5px;
    }

    .cont-form td {
        padding-top: 10px;
        margin-bottom: 20px;
    }

    .mw_wp_form_preview .cont-form td {
        padding-top: 5px;
    }

    .contact-form p {
        float: none;
        display: inline-block;
    }

    .contact_item {
        display: inline !important;
    }

    .hissu_table {
        display: inline !important;
        text-indent: 0 !important;
        border: none !important;
    }

    .form-hissu,
    .form-nini {
        display: inline-block;
        margin-bottom: 5px;
    }

    .sp-nav {
        width: 80%;
    }

}