/*
Theme Name: 田舎シェアハウス
Author: 橋本果奈
Description: 田舎シェアハウスのテーマ
Version: 1.0
*/

/*=====メモ=====*/
/*緑　#647332*/
/*茶　#371C06*/
/*水色　#88A2AA*/


/*=====共通=====*/
html {
    font-size: 62.5%;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: #fff;
  font-size: 17px;
  letter-spacing: .4px;
  line-height: 1.9;
  font-weight: 300;
  color: #333;
  margin:0;
}

a {
  color: #647332;
  text-decoration: none;
  outline: none;
}

a:hover {
  text-decoration: underline;
}

section {
    margin-top: 60px;
    margin-bottom: 100px;
}

#content {
    max-width: 80%;
    margin:0 auto;
}

/*=====ヘッダー=====*/
/*スライドショー*/
.slide {
    position: relative;
}

.logo{
    position: absolute;
    top:10px;
}

/*ナビ、ロゴ*/
.logo:hover {
    opacity: 0.95;
}

.logo img {
    height: 110px;
    margin: 5px 40px;
}

.sp-navi {
    display: none;
}

.navi {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: absolute;
    bottom:32px;
    width: 100%;
    
    background-color: #ffffffd4;
}

.navi a:hover {
    text-decoration:none;
    opacity: 0.6;
}

.navi ul{
    position: relative;
    display: flex;
    align-items: baseline;
    margin:0;
    padding: 0;
}

.navi ul li{
   list-style: none;
   font-size:2rem;
   font-weight: 600;
   margin: 10px 30px;
}

.navi p {
    margin:0;
}

.navi-upper {
    justify-content: space-between;
    justify-content: flex-start;
}

.navi-lower p:hover {
    opacity: 0.6;
}

.dropdown {
    flex-direction: column;
}
.navi .dropdown ul {
    display: none;
    position: absolute;
    margin: 0;
    top: 58px;
    background-color: #ffffffd4;
}

.navi .dropdown ul li {
    margin:13px;
}

.navi .dropdown li a{
    font-size: 1.5rem;
}

/*下層ページヘッダー*/
.eyecatch {
    display: flex;
    justify-content: center;
    height: 800px;
}

.eyecatch img {
    position: absolute;
    top:150px;
    width: 80%;
    height: 650px;
    object-fit: cover;
}

.expect-top .logo {
    z-index: 2;
}
.expect-top .navi {
    justify-content: flex-end;
    top: 30px;
    bottom: auto;
    right: 10px;
    z-index: 1;
    background:none;
    width: 80%;
}
.eyecatch-title {
    position: absolute;
    display: flex;
    flex-direction: column;
    top: 420px;
    align-items: center;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    color: #fff;
    text-shadow: 2px 2px 20px #000;
}

.en-title {
    line-height: 1.4;
    text-transform:capitalize;
}

.ja-title {
    font-size: 5rem;
    line-height: 1;
}


/*=====見出し=====*/
.section-title {
    display: flex;
}

.section-title span {
    text-align: center;
}

.section-title h2 {
    margin:0;
    font-size: 2.8rem;
    line-height: 1.2;
    border-bottom:none;
}

.section-title p {
    margin:0 0 20px;
    color: #647332;
    font-weight: 600;
    opacity: 0.8;
}

.h1 h1 {
    font-size: 2.8rem;
    font-weight: 400;
}

.h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px;
}

.h1-left {
    position: relative;
    width: 30px;
    height: 80px;
    border-top: 1.8px solid #333;
    margin-right: 20px
}

.h1-left::before {
    position: absolute;
    top:-8px;
    left: 5px;
    content: "";
    width: 30px;
    height: 50px;
    border-left:1.8px solid #333;
}

.h1-right {
    position: relative;
    width: 30px;
    height: 80px;
    border-bottom: 1.8px solid #333;
    margin-left: 20px
}

.h1-right::before {
    position: absolute;
    bottom:-8px;
    right: 5px;
    content: "";
    width: 30px;
    height: 50px;
    border-right:1.8px solid #333;
}

h2 {
    padding-bottom: 5px;
    border-bottom: 1.8px solid #808080;
    margin: 50px 0 20px;
    font-size: 2.5rem;
    font-weight: 500;
}

/*==more 矢印リンク==*/
.more {
    position: relative;

}

.more p {
    text-align: right;
    margin: 20px 130px 0 0;
    color: #000;
    font-size: 2rem;
}

.more a:hover {
    text-decoration:none;
}

.lineArrow {
    position: absolute;
    width: 200px;
    height: 15px;
    border-bottom: 1px solid #000;
    border-right: 1.8px solid #000;
    transform: skew(45deg);
    margin: -10px 0 0 auto;
    right: 0;
    transition: all 0.3s ease-out 0s;
}

.more .arrow-link {
    margin: 20px 30px 0 0;
    font-size: 1.2rem;
}

/*==お知らせ==*/
.news-list {
    margin:0;
    padding: 0;
    list-style: none;
    display: grid;
    align-items: flex-start;
    justify-content: space-between;
    grid-template-columns: 1fr 1fr 1fr;
}

.news-list li {
    margin:20px;
}

.news-list-img {
    width: 100%;
}

.news-list-img img{
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-list-img img:hover {
    opacity: 0.8;
    transition: all 0.3s ease-in 0s;
}

.news-info {
    display: flex;
    flex-wrap: wrap;
}

.news-info .post-categories {
    display: flex;
    list-style: none;
    padding-left: 10px;
}

.news-info .post-categories li {
    margin:0 10px;
    opacity: 0.8;
    font-weight: 500;
}

.news-info .post-categories a:hover {
    text-decoration: none;
}

.news-title {
    font-size: 1.8rem;
    font-weight: 400;
    color:#000;
}


/*==コンセプト、できること==*/
.img-area {
    position: relative;
    height: 700px;
}

.img-area .section-title {
    position: absolute;
    z-index: 1;
    background-color: #fff;
    padding: 15px 30px 0 0;
    border-radius: 0 0 20px/20px 0;
    top: -1px;
    left: -1px;
}

.img-area img {
    position: absolute;
    object-fit: cover;
    height: 700px;
}

.img-area-p {
    position: absolute;
    bottom: -30px;
    right: -1px;
    width: 60%;
    background-color: #fff;
    border-radius: 20px/20px 0 0 0;
    padding: 30px 10px 40px 30px;
}

.img-area img {
    width: 100%;
}


/*==興味のある方へ==*/
.contents-list {
    margin: 40px 0;
    list-style: none;
    display: flex;
    justify-content: space-around;
}

.contents-list i {
    font-size: 8.5rem;
    color: #fff;
    background-color: #647332;
    padding: 50px;
    border-radius: 50%;
    width: 10rem;
    height: 10rem;
}

.contents-list p {
    text-align: center;
    font-size:2.4rem;
    font-weight: 600;
    color: #000;
    
}

.contents-list a:hover {
    text-decoration: none;
    opacity: 0.6;
    transition: all 0.3s ease-out 0s;
}

.contents-list a p:hover {
    opacity: 0.6;
}

/*==アクセス==*/
.map {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

/*===== ページナビ =====*/
.wp-pagenavi {
    display: flex;
    justify-content: center;
}

.page-navi .wp-pagenavi a, .page-navi .wp-pagenavi span {
    border:none;
    padding: 3px 10px;
    margin: 8px;
    background-color: #371C06;
    color: #fff;
    font-size: 2rem;
}

.current {
    opacity: 0.8;
}

.page-navi .wp-pagenavi a:hover {
    opacity: 0.8;
}

/*===== カレンダー =====*/
iframe {
    width: 100%;
}


/*=====フッター=====*/
.footer-info {
    display: flex;
    justify-content: space-between;
    padding: 30px 80px;
    background-color: #647332;
}

.footer-info p {
    color: #fff;
}

.footer-info a {
    color: #fff;
}

.footer-info ul{
    margin:0;
    padding: 0;
}

.footer-info ul li {
    list-style: none;
}

.footer-info li p {
    margin:0;
}

.footer-menu {
    display: flex;
    font-weight: 500;
}
.footer-menu ul {
    margin-right: 40px;
}

.footer-sub-menu li {
    margin:0 15px;
    font-weight: 300;
}

.footer-address p {
    margin: 0.4em 0;
}

.footer-sns {
    text-align: right;
    font-size: 2.8rem;
    margin: 15px 0 15px;
}

.footer-sns i {
    margin: 0 5px;
    padding: 10px;
    background-color: #fff;
    color: #647332;
    font-weight: 400;
    width: 2.8rem;
    border-radius: 50%;
    text-align: center;
}

.footer-sns i:hover {
    opacity: 0.8;
}

.footer-logo {
    display: flex;
    justify-content: flex-end;
}

.footer-logo img{
    height: 80px;
    align-items:flex-end;
}

.footer-info .no-link {
    font-weight: 400;
    color: #d7b351;
}

.footer-sub-menu {
    border-left:.8px solid #d7b351;
}
.footer-info ul li ul {
    margin-left: 10px;
}

.pc-footer {
        display: block;
    }
    .sp-footer {
        display: none;
    }

.copyright {
    text-align: center;
    font-size: 8px;
}

/*===== aboutus =====*/
.page-id-81 section {
    margin-bottom: 45px;
}

.concept {
    width: 80%;
    margin: 0 auto;
}

.concept div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.concept h2 {
    border-bottom: none;
}

/*===== お問合せページ =====*/
.wpcf7 {
    display: flex;
    margin: 60px auto;
    width: 80%;
    justify-content: center;
}
form {
    width: 80%;
    margin: 0 auto;
}

form p {
    font-weight: 600;
    color: #371C06;
    margin:40px 0;
}

.wpcf7-list-item-label {
    font-weight: 400;
    color:#333;
}

input {
    line-height: 1.9;
    background-color: #64733220;
    border-radius: 10px;
    border:none;
    width: 90%;
    padding: 5px 15px;
}

input:focus-visible {
    outline: none;
    background-color: #64733260;
}

textarea {
    width: 90%;
    line-height: 1.9;
    background-color: #64733220;
    border-radius: 10px;
    border:none;
    padding: 5px 15px;
}

textarea:focus-visible {
    outline: none;
    background-color: #64733260;
}

.wpcf7-submit {
    width: 40%;
    margin: 30px auto;
    display: block;
    background-color: #647332;
    color: #fff;
}

.wpcf7-submit:hover {
    opacity: 0.8;
}

/*=== ラジオボタン ===*/

.wpcf7-form-control-wrap{
  display: block;
}
.wpcf7-form-control.wpcf7-radio{
  display: flex;
}

.wpcf7-list-item-label{
  color: #333;
  cursor: pointer;
  font-size: 13px
}

input[type="radio"]{
  position: absolute;
  opacity: 0;
}

.wpcf7-list-item-label:before{
  content: '';
  background: #fff;
  border-radius: 100%;
  border: 1px solid #888888;
  display: inline-block;
  width: 1.4em;
  height: 1.4em;
  position: relative;
  top: -0.2em;
  margin-right: 14px;
  vertical-align: middle;
  cursor: pointer;
  text-align: center;
  -webkit-transition: all 250ms ease;
  transition: all 250ms ease;
}

input[type="radio"]:checked + .wpcf7-list-item-label:before{
  background-color: #647332;
  box-shadow: inset 0 0 0 2px #fff;
}

/*= コメントフォーム =*/
#wp-comment-cookies-consent {
    width: auto;
}

/*===== lazy blocks =====*/
/*=== 矢印リンク ===*/
.more-c {
    position: relative;
}
.more-c .arrow-link-c {
    margin: 20px 30px 0 0;
    font-size: 1.2rem;
    font-weight: 500;
}
.more-c p {
    text-align: right;
}
.lineArrow-c {
    position: absolute;
    width: 200px;
    height: 10px;
    border-bottom: 1px solid #647332;
    border-right: 1.8px solid #647332;
    transform: skew(
45deg);
    margin: -10px 0 0 auto;
    right: 0;
    transition: all 0.3s ease-out 0s;
}

/*=== 設備紹介 ===*/
.setubi {
    display: flex;
    margin-bottom: 100px;
}
.setubi-text {
    width:50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.setubi-img {
    width: 50%;
}
.setubi img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}
.setubi-p {
    margin: 20px 25px 30px 10px;
}
.bihin {
    border: 2px #ccc solid;
    border-radius: 10px;
    margin: 10px 30px 10px 0px;
    padding: 20px;
}
.bihin span {
    display: block;
    font-weight: 500;
}

/*=== 住民紹介　===*/
.people {
    display: flex;
    margin:80px 0;
}
.people-img {
    max-width: 30%;
    min-width: 250px;
    margin-right: 20px;
}
.people-img img {
    border-radius: 50%;
    height: 250px;
    width: 250px;
    object-fit: cover;
}
.people-text {
    width: 70%;
}

/*=== ショップ紹介 ===*/
.shop {
    display: flex;
    padding: 30px;
    border: 2px #eee solid;
    margin: 30px 0;
}

.shop-img {
    width: 40%;
}
.shop-img img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}
.shop-text {
    width: 60%;
    margin: 0 30px;
}


@media screen and (max-width: 1024px){
    body {
        font-size:15px;
    }
    .navi {
        bottom: 28px;
    }
    .news-info {
        line-height: 1.4;
    }
    .section-title p{
        margin-bottom: 15px;
    }
    .img-area-p{
        padding: 20px 0 10px 30px;
    }
    .contents-list i{
        padding: 35px;
    }
    .footer-info{
        padding: 25px 50px;
        font-size:13px;
    }
    .footer-menu ul {
    margin-right: 10px;
}
    .footer-logo img {
        height: 60px;
    }
    .expect-top .navi{
        top: 20px;
    }
    .ja-title {
    font-size: 3.2rem;
    }
}

@media screen and (max-width:768px){
    h2 {
        font-size:2.3rem;
    }
    .logo img {
        height: 70px;
    }
    .navi ul li {
        font-size:1.6rem;
    }
    .navi .dropdown li a {
    font-size: 1.2rem;
    }
    .navi .dropdown ul {
        top:40px;
    }
    .news-list{
        grid-template-columns: 1fr;
    }
    .img-area .section-title{
        top:-30px;
    }
    .img-area-p{
        width: 80%;
    }
    .contents-list i {
    font-size: 5.2rem;
    padding:25px;
    width: 6rem;
    height: 6rem;
    }
    .footer-info{
        flex-direction: column;
    }
    .footer-menu{
        flex-direction:column;
    }
    .footer-address{
        margin: 20px 0 0 0;
    }
    .pc-footer {
        display: none;
    }
    .sp-footer {
        display: block;
    }
    /*=== 固定ページ ===*/
    .eyecatch {
        height: 600px;
    }
    .eyecatch img {
        height: 450px;
    }
    /*= 設備紹介 =*/
    .setubi-p {
        margin: 10px;
    }
    .bihin {
        margin: 5px 10px;
        padding: 10px;
    }
    .setubi img {
        height: 250px;
    }
    /*= ショップ=*/
    .shop{
        flex-direction: column;
    }   
    .shop-img {
        width: 100%;
    }
    /*= 住民紹介 =*/
    .people {
        flex-direction: column;
    }
    .people-text {
        width: 100%;
    }
    .people-img {
        margin-right: 0;
    }
    /*= 住民紹介 =*/
    .people {
        align-items: center;
    }
    .people-img {
        display: flex;
        justify-content: center;
    }
}
@media screen and (max-width: 500px){
    body {
        font-size:13px;
    }
    section {
        margin-bottom: 50px;
    }
    h2 {
        font-size:2rem;
    }
    .post-9 {
        margin: 0;
    }
    .news {
        margin-top: 20px;
    }
    .section-title h2 {
        font-size:1.8rem;
    }
    .logo {
        top:0px;
    }
    .logo img {
        margin:5px 10px;
    }
    .navi {
        display: none;
    }
    .sp-navi {
        display: flex;
        flex-direction: row-reverse;
        position: absolute;
        z-index: 1;
        top: 0;
        right: 0;
        background-color: rgb(255 255 255 / 90%);
        margin: 10px;
        padding: 0;
        font-size: 2rem;
        border-radius: 6px;
    }
    .close {
        font-size: 3rem;
        display: none;
    }
    .bars,.close {
        width: 20px;
        margin: 5px 10px;
    }
    .close i {
        margin: 0 -10px;
    }
    .navi-list{
        display: none;
        list-style:none;
        font-weight: 500;
        padding: 10px;
        margin: 40px;
        font-size: 2rem;
        width: 220px;
    }
    .dropdown li{
        list-style: none;
        font-size: 2rem;
    }
    .sp-dropdown-residents ul {
        display: none;
        padding: 0; 
    } 
    .sp-dropdown-visitors ul {
        display: none;
        padding: 0;
    }
    .news-title {
        font-size: 1.5rem;
        font-weight: 400;
        color: #000;
        line-height: 1.6;
    }
    .img-area {
        position: relative;
        height: 450px;
    }
    .img-area .section-title {
        top: -40px;
    }
    .img-area img {
        height: 300px;
    }
    .img-area-p {
    bottom: 0px;
    padding: 0;
    width: 100%;
    right: 0;
    border-radius: 0;
    }
    .more {
        bottom: 20px;
    }
    .more p {
      margin: 20px 30px 0 0;
        font-size: 1.5rem;
    }
    .lineArrow {
        width: 80px;
        height: 8px;
        margin: -8px 0 0 auto;
    }
    .contents-list{
        padding:0;
    }
    .contents-list i {
        font-size: 4rem;
        padding: 18px;
        width: 4.8rem;
        height: 4.8rem;
    }
    .contents-list p {
        font-size: 1.4rem;
    }
    iframe {
        height: 350px;
    }
    .footer-menu {
        line-height: 2.3;
    }
    /*=== 固定ページ ===*/
    .eyecatch {
        height: 280px;
    }
    .eyecatch img {
        top: 90px;
        width: 100%;
        height: 200px;
    }
    .eyecatch-title {
        top: 150px;
        width: 300px;
    }
    .en-title {
        font-size:1.8rem;
    }
    .ja-title {
        font-size:2rem;
    }
    /*= 設備紹介 =*/
    .setubi {
        flex-direction: column-reverse;
        margin-bottom: 40px;
    }
    .setubi-text {
        width: 100%;
    }
    .setubi-p {
        margin: 10px;
    }
    .bihin {
        margin:0;
    }
    .setubi-img {
        width: 100%;
    }
    .setubi-img img {
        height: 250px;
    }
    /*= お問合せ =*/
    form p {
        font-size: 1.2rem;
    }
    .wpcf7-list-item-label {
        font-size:1rem;
    }
    .wpcf7-form-control.wpcf7-radio {
        flex-direction: column;
    }
    /*= お知らせ = */
    .page-navi .wp-pagenavi .current,.page-navi .wp-pagenavi .pages,.page-navi .wp-pagenavi a, .page-navi .wp-pagenavi span　{
        font-size:1.5rem;
    }
    /*= 住民紹介 =*/
    .people-img img {
    height: 200px;
    width: 200px;
    }
    
}
@media screen and (max-width: 375px){
    h2 {
        font-size:1.8rem;
    }
    .close i {
        margin: 0 -8px;
    }
    .navi-list {
        margin: 20px;
        font-size: 1.8rem;
        width: 180px;
    }
    .dropdown li {
        font-size: 1.8rem;
    }
    /*=== 固定ページ ===*/
    /*= 設備紹介 =*/
    .setubi-img img {
        height: 200px;
    }
    /*= Shop =*/
    .shop {
        padding: 0 0 10px;
    }
    
}