/* 
Theme Name: KOMOREBI
 */

 @charset "utf-8";

 /* 共通CSS */

 header{
    display: flex;
    margin: 10px 20px 0;
    position: absolute;
    z-index: 1;
    width: 98%;
    justify-content: right;
 }

 img{
    width: auto;
    height: auto;
    margin: 0 auto;
 }

 body{
    font-family: "Zen Kaku Gothic New", "ヒラギノ角ゴ ProN", sans-serif;;
    font-weight: 500;
    font-style: normal;
    color: #333;
 }

 li{
    list-style: none;
 }

 a{
    color: #333;
    text-decoration: none;
    cursor: pointer;
 }

 ul{
    margin: 0;
    padding: 0;
 }

 table{
    display: table;
    border-collapse: collapse;
    border: 2px solid #698a70;
 }
 th{
    background-color: #9ACBA4;
    color: #fff;
    font-weight: normal;
 }
 th, tr{
     border: 2px solid #698a70;
 }
 th, td{
    padding: 10px;
 }

 .pc{
    display: block;
 }

 .sp{
    display: none;
 }

 /* ヘッダー */

 .site-branding {
    width: 6%;
    position: fixed;
    left: 15px;
}

.menu {
    display: flex;
    margin-top: 65px;
    flex-direction: column;
    align-items: end;
}

.menu li:first-child{
    background-color: #CA6979;
    border-radius: 20px;
    padding: 5px 20px;
}

.menu li:first-child a{
    color: #fff;
}

.menu li:first-child a:hover{
    color: #fff;
    opacity: .6;
    transition: .5s;
}

.menu li{
    margin: 20px 30px;
    font-size: 18px;
}

.menu li a:hover{
    color: #CA6979;
    transition: .5s;
}

.openbtn1{
    /*はじめは非表示に*/
  display: none;
    /*ボタンの位置*/
  position:fixed;
  top:10px;
  right: 10px;
  z-index: 999;
    /*ボタンの形状*/
  background:#666;
  cursor: pointer;
    width: 50px;
    height:50px;
  border-radius: 5px;
}

/*ボタンのアイコン設定*/
.openbtn1 span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
  background-color: #fff;
    width: 45%;
  }

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

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

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

/*activeクラスが付与された後のボタンのアイコン設定*/
.openbtn1.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

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

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

/*fadeDownクラスが付与された後のボタンの出現アニメーション設定*/
.fadeDown {
    animation-name: fadeDownAnime;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
    display: block;
}
@keyframes fadeDownAnime{
  from {
    opacity: 0;
  transform: translateY(-100px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}

.main-navigation.dnone.panelactive {
	opacity: 1;/*不透明にして出現*/
}

.main-navigation.dnone{
    /*固定位置にして最背面に*/
	top: 0;
    right: 0;
	z-index: -1;
    /*高さと幅*/  
	width:30%;
	height: 100vh;
    /*天地中央＆テキスト中央揃え*/  
	display: block;
	justify-content: center;
	align-items: center;
	text-align: center;
    /*はじめは透過0に*/  
    opacity: 0;
}

/*メニューボタンをクリックした際に付与されるpanelactiveクラスがついたナビゲーションの形状*/
.main-navigation.dnone.panelactive{
	opacity: 1;/*不透明に*/
    position:fixed;
	z-index:3;/*最前面に*/
	background:#eee;
    width: 30%;
    right: 0;
	transition: all 0.4s;
}

.main-navigation.dnone.panelactive .menu{
    flex-direction: column;
    justify-content: space-between;
    height: 90vh;
}

.main-navigation.dnone.panelactive .menu li{
    margin: 20px 30px 0;
}



/* TOP */

.page-subtitle {
    text-align: center;
    font-size: 36px;
    margin: 80px 0;
    letter-spacing: 4px;
    font-weight: bold;
    color: #CA6979;
}

.column_content {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
}

.column_content_left {
    width: 30%;
}

.column_content_right {
    width: 70%;
    margin-left: 30px;
}

.column_01_title {
    font-size: 20px;
    border-bottom: 2px solid #CA6979;
    padding-bottom: 5px;
}

.column_01_text {
    margin-top: 20px;
}

.column_02 .column_content {
    flex-direction: row-reverse;
    margin-top: 40px;
}

.column_02 .column_content_right{
    margin: 0 30px 0 0;
}

.area_color {
    background-color: #9acba4;
    margin-top: 10vw;
}

.item_wrapper {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 0;
    justify-content: space-between;
}

.item {
    background-color: #fff;
    width: 30%;
    border-radius: 15px;
}

.item_img img{
    border-radius: 15px 15px 0 0;
}

.item_title {
    color: #CA6979;
    text-align: center;
}

.item_content {
    padding:10px;
}

.item_link {
    text-align: center;
    margin: 15px 0px;
}

.item_link a{
    background-color: #CA6979;
    color: #fff;
    padding: 5px 20px;
    border-radius: 5px;
}

.item_link a:hover{
    opacity: .5;
    transition: .5s;
}

.item_text {
    margin: 5px 0;
    height: 7vw;
}

/* フッター */

.contact {
    max-width: 1000px;
    margin: 8vw auto 0;
}

.contact_title {
    text-align: center;
    font-size: 30px;
    color: #CA6979;
}

.footer-text {
    text-align: center;
    margin: 15px 0 30px;
}

.contact_flex {
    text-align: center;
    font-size: 18px;
}


.contact_link {
    text-align: center;
    margin: 30px 0 0;
}

.contact_link a{
    color: #fff;
    background-color: #CA6979;
    padding: 5px 15px;
    border-radius: 5px;
}

.map_area {
    margin: 9vw 0 0;
    background-color: #CA6979;
}

.map_area small{
    color: #fff;
    display: block;
    text-align: center;
    padding: 10px 0;
}

iframe {
    width: 100%;
    height: 30vw;
}

.site-info {
    background-color: #CA6979;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
}

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

.footer-navigation ul {
    display: flex;
    max-width: 1000px;
    margin: 0 auto 3px;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.site-info small{
    color: #fff;
}
.n2-section-smartslider.fitvidsignore.sp.n2_clear{
    display: none;
}

.map_area .gm-control-active {
    z-index: 1000;
}

@media screen and (max-width: 768px) {
    body{
        font-size: 14px;
    }
    .site-branding{
        width: 15%;
    }

    .n2-section-smartslider.fitvidsignore.pc.n2_clear {
        display: none;
    }

    .main-navigation{
        display: none;
    }
    .page-subtitle{
        font-size: 26px;
        margin: 80px 20px;
    }
    .main-navigation.dnone{
        position: fixed;
    }
    .main-navigation.dnone.panelactive{
        width: 100%;
        background-color: #eeeeeec2;
    }
    .column_01,
    .column_02 {
        margin: 0 20px;
    }
    .column_content{
        flex-direction: column;
    }

    .column_content_left {
        width: auto;
    }

    .column_content_right {
        width: auto;
        margin: 25px 0 0;
    }
    .column_02 .column_content{
        flex-direction: column;
    }
    .column_02 .column_content_right {
        margin: 25px 0 0;
    }
    .item_wrapper{
        flex-direction: column;
        margin: 0 20px;
    }
    .item{
        width: auto;
        margin-bottom: 30px;
    }
    .item:last-child{
        margin: 0;
    }
    .item_text{
        height: 20vw;
    }
    .footer-text {
        text-align: center;
        margin: 15px 20px 30px;
    }
    .contact_title{
        font-size: 25px;
    }
    .contact_flex{
        flex-direction: column;
        margin: 0 20px;
        text-align: center;
    }
    .contact_flex--left {
        margin: 0;
    }
    .contact_flex--right {
        margin: 20px 0 0;
    }
    .footer-navigation ul{
        margin: 0 20px 3px;
        justify-content: center;
        flex-wrap: wrap;
    }
    .footer-navigation ul li{
        width: 32%;
        margin-top: 5px;
        text-align: center;
        font-size: 12px;
    }
    .map_area small{
        font-size: 10px;
    }
    .area_color {
        margin-top: 25vw;
    }
    .contact {
        margin: 25vw auto;
    }
    .n2-section-smartslider.fitvidsignore.sp.n2_clear{
        display: block;
    }
    .pc{
        display: none;
    }
    .sp{
        display: block;
    }
}

.mv {
    overflow: hidden;
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    align-items: flex-end;
    position: relative;
}

.head_contact{
    position: absolute;
    top: 0;
    right: 0;
    text-align: right;
    margin: 10px 10px 0 0;
    font-size: 18px;
    font-weight: 600;
}


.page-head{
    background:linear-gradient(rgba(255, 255, 255, .4),  rgba(255, 255, 255, .4)),url(assets/img/img_01.jpg?2555);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 26vw;
    max-height: 500px;
    min-height: 450px;
    max-width: 1000px;
    margin: 0 auto;
}

@media screen and (max-width:1000px) {
    .page-head{
        height: 57vw;
    }
    .page-fixed .page-subtitle {
        padding: 200px 0 0;
    }
}

@media screen and (max-width:768px) {
    .page-head{
        height: 76vh;
    }
    
}

.page-fixed .page-subtitle {
    text-align: center;
    font-size: 40px;
    color: #AECDEA;
    width: 100%;
    padding: 220px 0 0;
    margin: 0;
    letter-spacing: 0;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #843C0C;
    text-shadow: 3px 3px 0px #AECDEA;
}



/* page-outline */

.page-outline-block {
    max-width: 1200px;
    margin: 80px auto 0;
}

.page-outline-item:first-of-type{
    text-align: center;
}

.page-outline-title{
    font-size: 30px;
    color: #CA6979;
    text-align: center;
    margin-bottom: 15px;
}

.page-outline-item:nth-child(2){
    margin: 80px 0 0;
}

.page-outline-table{
    margin: 0 auto;
}

@media screen and (max-width:768px) {
    .page-fixed .page-subtitle{
        font-size: 26px;
        padding: 145px 0 0;
    }
    .page-head{
        background-attachment: initial;
    }
    .page-outline-title{
        font-size: 25px;
    }
    .page-outline-table {
        margin: 0 20px;
    }
    .page-outline-table th{
        width: 25%;
    }
    .page-outline-table td{
        width: 75%;
    }
}

/* page-greeting */

.page-greeting-block {
    max-width: 1200px;
    margin: 80px auto 0;
}

.page-greeting-flex {
    display: flex;
    justify-content: center;
    margin: 20px 0 0;
}

.page-greeting--left {
    width: 60%;
    margin-right: 40px;
}

.page-greeting--left .page-txt {
    margin: 20px 0 0;
    line-height: 1.6;
}

.page-greeting--left .page-txt:first-of-type{
    margin:0;
}

.page-greeting--right {
    width: 17%;
}

.page-txt-caption {
    font-size: 12px;
    margin: 5px 0 0;
    text-align: center;
}

@media screen and (max-width:768px) {
    .page-greeting-flex{
        flex-direction: column;
    }
    .page-greeting-flex{
        margin: 20px 20px 0;
    }
    .page-greeting--right {
        width: 65%;
        margin: 20px auto 0;
    }
    .page-greeting--left {
        width: auto;
        margin:0;
    }
}

/* page-service */

.page-service-block{
    max-width: 800px;
    margin: 80px auto 0;
}

.page-service-title {
    font-size: 22px;
    color: #9acba4;
    border-bottom: 2px solid #9acba4;
    padding-bottom: 5px;
}

.page-service-flex {
    display: flex;
    margin-top: 15px;
}

.page-service-flex.reverse {
    flex-direction: row-reverse;
}

.page-service-flex--left {
    width: 70%;
    margin-right: 25px;
}

.page-service-flex.reverse .page-service-flex--left {
    text-align: left;
    margin-right: 0;
    margin-left: 25px;
}

.page-service-flex--left ul{
    margin: 10px 0;
}

.page-service-flex--left li{
    font-size: 14px;
}

.page-service-flex--left .list-title{
    font-size: 16px;
}

.page-service-flex--right {
    width: 65%;
}

.page-txt.mt15 {
    margin-top: 15px;
}

.page-service-item {
    margin-top: 50px;
}

.page-service-item a{
    color: #CA6979;
}

.page-service-item a:hover{
    opacity: .5;
    transition: 1s;
}

@media screen and (max-width:768px) {
    .page-service-block{
        margin: 80px 20px 0;
    }
    .page-service-title{
        font-size: 18px;
    }
    .page-service-flex{
        flex-direction: column-reverse;
    }
    .page-service-flex--right {
        width: auto;
    }
    .page-service-flex--left {
        width: auto;
        margin-top: 5px;
        margin-right: 0;
    }
    .page-service-flex.reverse {
        flex-direction: column-reverse;
    }
    .page-service-flex.reverse .page-service-flex--left {
        text-align: left;
        margin-left: 0;
    }
    .page-service-item .page-txt.mt20{
        margin-top: 20px;
    }
    .page-service-flex--left .list-title{
        font-size: 14px;
    }
    .page-service-flex--left li{
        font-size: 12px;
    }
}

/* page-other */

.page-other-block {
    max-width: 1200px;
    margin: 80px auto 0;
    text-align: center;
}

.page-other-title {
    font-size: 30px;
    color: #CA6979;
    text-align: center;
    margin-bottom: 15px;
}


.page-other-block ul {
    line-height: 3;
    text-align: left;
}

.page-other-block .page-txt{
    margin: 40px 0 0;
}

.page-other-block .page-txt a{
    color: #CA6979;
}

.page-other-block .page-txt a:hover{
    opacity: .5;
    transition: .5s;
}

.page-other-block .d-flex{
    display: flex;
    justify-content: center;
    width: 60%;
    margin: 0 auto;
}

.page-other-block .d-flex .inner-img{
    margin-left: 14rem;
}

@media screen and (max-width:1200px) {
    .page-other-block .d-flex .inner-img{
    margin-left: 5rem;
    }
}

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

    .page-other-block .d-flex .inner-img{
    margin-left: 0;
    }
    .page-other-block .d-flex{
        flex-direction: column-reverse;
    }
    .page-other-block ul{
        text-align: center;
        margin-top: 1rem;
    }
}

/* page-contact */

.page-contact{
    max-width: 600px;
    margin: 80px auto 0;
}

input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
    width: 100%;
    border-radius: 7px;
    border: 2px solid #999;
    height: 40px;
    margin-bottom: 20px;
    padding: 5px;
    outline: none;
}

form.wpcf7-form label{
    color: #CA6979;
}

textarea.wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    border: 2px solid #999;
    border-radius: 7px;
    outline: none;
}

.contact_btn {
    text-align: center;
    margin: 50px 0;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner {
    border: none;
    padding: 10px 50px;
    color: #fff;
    background-color: #CA6979;
    border-radius: 5px;
    cursor: pointer;
}

.wpcf7-spinner{
    display: none;
}

@media screen and (max-width:768px) {
    .page-contact{
        margin: 80px 20px 0;
    }
    .page-other-title{
        font-size: 25px;
    }
    .page-other-block{
        margin: 80px 20px 0;
    }
}

/* page-info */

.page-info-block {
    max-width: 1200px;
    margin: 80px auto 0;
}

.page-info-title {
    background: rgba(232, 171, 182, 0.9);
    color: #fff;
    padding: 5px 0 5px 10px;
    border-bottom: 2px solid #CA6979;
}

.page-info-item {
    border: 2px solid #CA6979;
    margin-bottom: 50px;
}

.page-info-list li {
    padding: 5px 0 5px 10px;
    border-bottom: 2px solid #CA6979;
}

.page-info-list li:last-child{
    border: none;
}

.page-info-list li a{
    position: relative;
    display: inline-block;
    color: #CA6979;
    margin-left: 30px;
}

.page-info-list li a::before{
    content: '';
    position: absolute;
    height: 15px;
    width: 15px;
    background-color: #CA6979;
    top: 6px;
    clip-path: polygon(0 0, 0 100%, 100% 50%);
    left: -20px;
}

@media screen and (max-width:768px) {
    .page-info-block {
        margin: 80px 20px 0;
    }
    .page-info-list li a{
        margin-left: 19px;
    }
    .page-info-list li a::before{
        height: 13px;
        width: 13px;
        top: 5px;
        left: -15px;
    }
    .head_contact{
        top: auto;
        bottom: 0;
        margin: 0 10px 10px 0;
    }
}

@media screen and (max-width:500px) {
    .head_contact{
        font-size: 10px;
    }
}