/*
Theme Name: RYOSAIHIGASHIOSAKA
Theme URI: amamori-higashiosaka.com
Description: RYOSAIHIGASHIOSAKA
Version: 1.1
Author: NK
Author URI: amamori-higashiosaka.com
*/

@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 400;
  src: url("./fonts/NotoSansJP-Regular.woff") format("woff");
}
@font-face{
  font-display: swap;
  font-weight: 400;
  font-style: normal;
  font-family: 'Montserrat';
  src: url('/fonts/Montserrat-VariableFont_wght.ttf') format('ttf'),
       url('fonts/Montserrat-VariableFont_wght.ttf') format('woff');
}
/*  icomoon */
@font-face {
  font-family: 'icomoon';
  src:  url('fonts/icomoon.eot?slezde');
  src:  url('fonts/icomoon.eot?slezde#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?slezde') format('truetype'),
    url('fonts/icomoon.woff?slezde') format('woff'),
    url('fonts/icomoon.svg?slezde#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-LINE:before {
  content: "\e901";
}
.icon-mitumori:before {
  content: "\e903";
}
.icon-yen:before {
  content: "\e900";
}
.icon-nosales:before {
  content: "\e902";
}
/* 　adjust  */
.mgt5 { margin-top: 5px!important}.mgt10 { margin-top: 10px!important}.mgt20 { margin-top: 20px!important}.mgt30 { margin-top: 30px!important}.mgt40 { margin-top: 40px!important}.mgt50 { margin-top: 50px!important}.mgt60 { margin-top: 60px!important}.mgt80 { margin-top: 80px!important}
.mgb5 { margin-bottom: 5px!important}.mgb10 { margin-bottom: 10px!important}.mgb20 { margin-bottom: 20px!important}.mgb30 { margin-bottom: 30px!important}.mgb50 { margin-bottom: 50px!important}.mgb60 { margin-bottom: 60px!important}.mgb80 { margin-bottom: 80px!important}
.pdt5 { padding-top: 5px!important}.pdt10 { padding-top: 10px!important}.pdt20 { padding-top: 20px!important}.pdt30 { padding-top: 30px!important}.pdt40 { padding-top: 40px!important}.pdt50 { padding-top: 50px!important}.pdt60 { padding-top: 60px!important}.pdt80 { padding-top: 80px!important}

*{
    margin: 0%;
    padding: 0;
    box-sizing: border-box;
}
body {    
    font-family: 'Montserrat', "Yu Gothic Medium", "游ゴシック Medium",YuGothic,"游ゴシック体","ヒラギノ角ゴ Pro W3", Hiragino Kaku Gothic ProN, "メイリオ", Meiryo, sans-serif;
    font-size: 15px;
    font-weight: 400;
    background-color: #fff;
    color: #333;
    -webkit-text-size-adjust: 100%;
    margin: 0;
    padding: 0;
   /* background-image: url(images/bg.jpg);*/
    background-repeat: repeat;
    background-attachment: fixed;
}
a {
    color: #666;
}
a,
a:active,
a:focus,
a:active {
  text-decoration: none !important;
    transition: all 0.3s ease;
}
a:hover,
a:active,
a:focus,
a:active {
    color: #888;
}
ul li {
    list-style-type: none;
}
.mincho {
    font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}
h1, h2, h3, h4, #global-nav > ul > li, .news_title, .promise-h {
    font-family: 'Noto Sans JP';
}
p {
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 20px;
}
img {
    max-width: 100%;
    transition: all 0.3s ease;
    vertical-align: top;    
}
a img:hover {
    opacity: 0.6;
}
.inline img {
    display: inline-block;
}
picture {
    display: block;
}
section {
    padding: 40px 0 50px;
    margin: auto;
}
section section {
   padding: 40px 0 50px;
}
section.sub-heading {
    padding: 20px 0 50px;
}
section.sitemap {
    padding: 0;
}
.container {
    width: 90%;
    margin: auto;
}
#main .container {
    width: 95%;
    margin: auto;
}
#content {
    width: 100%;
    display: flex;
    max-width: 1300px;
    margin: auto;
}
#main {
    flex-basis: 75%;
    max-width: 75%;
}
#sidecolumn {
    flex-basis: 25%;
    max-width: 25%;
    margin: 10px auto;
    padding: 40px 30px 70px 10px;
}
#sidecolumn .widget {
    margin-bottom: 18px;
}
#sidecolumn .widget img{
    vertical-align: top;
}
#sidecolumn .widget p.small {
    margin-top: 3px;
    font-size: 11px;
    line-height: 1.4em;
    text-align: right;
}
#sidecolumn .news_img figure img {
    height: 4rem;
}
.widget_menu {
    margin-bottom: 10px;
}
.widget_menu a {
    display: flex;
    align-items: center;
    padding: 5px;
}
.widget_menu .image-wrap img {
    vertical-align: top;
}
.widget_menu__sub {
    background: rgba(55, 163, 216, 0.1);
    padding: 0px 10px 10px;    
}
.side-works .widget_menu__sub .midashi .midashi-heading {
    text-align: center;
    font-weight: bold;
    margin: 5px 0 20px;
}
.side-works .widget_menu__sub .midashi {
    margin: 0px;
    width: 100%;
}
.widget_menu__sub .widget_menu .image-wrap {
    width: 30%;
}
.widget_menu__sub .head {
    font-size: 15px;
    width: 68%;
    padding-left: 5px;
}
.widget_menu__sub .widget_menu {
    margin-bottom: 0px;
}

.widget_menu__sub .widget_menu img {
    height:3.6em;
    object-fit: cover;
    width: 100%;
}
section.side-works{
    padding: 0;
}
.side-works .midashi {
    margin: 20px 0 20px;
    padding: 10px 0 0;
}
.side-works .midashi .midashi-heading{
	padding: 10px;
    margin: 10px auto 20px;
    font-size: 16px;
    font-weight: 600;
}

.side-works .workslist li.news {
    align-items: center;
    margin-bottom: 15px;
    display: flex;
    flex-direction: row;
}
.side-works .news_img {
   flex-basis: 30%;
}
.side-works .news_title {
    flex-basis: 70%;
    font-size: 14px;
    line-height: 1.5em;
    margin: 0;
    padding-left: 7px;
    font-weight: 500;
}
.side-works .news_title::before {
    display: none;
}

.side-works .know_list li {
    padding: 10px 5px;
    border-top: 1px solid #d8d8d8;
}
.side-works .know_list li:last-child {
    border-bottom: 1px solid #d8d8d8;
}
.side-works .know_list li a {
   font-size: 14px;
    color: #168da5;
}
#sidecolumn .link-wrap.center {
    margin: 20px auto 0;
}
#sidecolumn .link-wrap p a, .link-wrap.mini p {
    font-size: 14px;
    letter-spacing: 0;
    margin: auto;
    padding: 12px 40px 12px;
    border-radius: 7px;
    display: block;
    width: 95%;
}
@media (min-width: 1200px){
    .container {
        max-width: 1200px;
    }
 }
@media (max-width: 1200px) and (min-width: 992px){
    .contback-grayainer {
        max-width: 970px;
    }
    #main .container {
        width: 90%;
    }
    #sidecolumn {
         padding: 60px 30px 70px 0px;
    }
 }
@media screen and (max-width:767px) {
    p {
        font-size: 14px;
    }
    section {
        padding: 40px 0;
    }
    #content {
        display: block;
    }
    #main, #sidecolumn {
        flex-basis: 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
    #main .container {
        width: 90%;
    }
    #sidecolumn {
        margin: 0px auto;
        padding: 0px 20px 40px;
    }
    .widget_menu .flexbox.row2.margin .item{
        flex-basis: 50%;
        max-width: 50%;
        margin: 0;
    }
    .widget_menu h3.item {
        padding-left: 10px;
    }
    .widget_menu__sub .widget_menu img {
        height: 4.5em;

    }
    #sidecolumn .news_img figure img {
        height: 4.5rem;
    }
    picture{
        text-align: center;
    }
    .side-works, .widget_menu__sub, .side-works .workslist {
        display: flex;
        flex-wrap: wrap;
    }
    .widget.bnr,
    .widget_menu__sub .widget_menu,
    .side-works .workslist li.news{
        width: 48%;
        margin: 0 1% 15px;
    }
}

.back-wall {
    background-image: url(images/bg.jpg);
    background-repeat: repeat;
    background-attachment: fixed;
}
.back-white {
    background-color: #fff;
}
.back-gray {
    background-color: #fafafa;;
}
.back-paleblue {
    background-color: rgb(22, 141, 165, 0.1);
}
.back-yellow {
    background-color: rgb(107, 187, 72, 0.05);
}

.midashi {
    text-align: center;
    padding: 40px 0 30px;
    position: relative;
}
.midashi .en_heading {
background: #2A7B9B;
background: linear-gradient(90deg,rgba(42, 123, 155, 1) 0%, rgba(87, 199, 133, 1) 50%, rgba(237, 221, 83, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;;
    text-align: center;    
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 23px;
    letter-spacing: 0.08em;
/*    color: #168da5;*/
    text-transform: uppercase;
    line-height: 1.3em;
    margin-bottom: 0;    
}
.midashi .midashi-heading{
	position: relative;
    margin: 15px auto 30px;
    font-size: 22px;
    color: #08778d;
    letter-spacing: 0;
    line-height: 1.3;
    padding-bottom: 25px;
}
.midashi .midashi-heading::before {
    content: '';
    position: absolute;
    background-color: #d8d8d8;
    width: 60px;
    height: 1px;
    bottom: 0px;
    left: 0;
    margin: 0 auto;
    right: 0;
}
.midashi .midashi-heading span {
    display: block;
    padding: 0 5px 0 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 30px;
    letter-spacing: 0.08em;
    color: #a4f5fc;
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
}
.menu-inner .midashi {
    padding: 0px 0 0px;
    margin: 20px 0 0px;
    align-items: center;
}
.menu-inner .midashi .midashi-heading {
    font-size: 22px;
    margin: 10px 0 10px;
    padding: 0;
}
.menu-inner .midashi .midashi-heading span {
    font-size: 16px;
    letter-spacing: 0.08em;
    right: auto;
    top: 0;
    color: #59c884;
    position: relative;
    display: inline-block;
    padding: 10px 0 10px 30px;
}
.menu-inner .midashi .midashi-heading::before {
 display: none;   
}
h2.color_heading{
    font-size: 18px;
    text-align: center;
    letter-spacing: 1px;
    width: 100%;
    margin: 40px auto 40px;
    color: #d0121c;
}
.midashi + h2.color_heading{
    margin-top: -10px;
}
h2.color_heading span{
    color: #d0121c;
}
h3.leading {
    text-align: center;
    margin-bottom: 15px;
    color: #43b16e;
    font-size: 18px;
}
.middle-heading {
    font-size: 19px;
    width: 100%;
    position: relative;
    margin: 60px 0 35px 5px;
    padding: 0 0 7px 15px;
    border-left: 4px solid #168da5;
    color: #168da5;
}
.middle-heading::before {
    content: '';
    position: absolute;
    background-color: #d8d8d8;
    height: 1px;
    bottom: 0px;
    left: 0;
    margin: 0 auto;
    right: 0;
}
.middle-heading::after{
    background: linear-gradient(25deg, #f8c806, #f9b307, #0fa318, #59c884, #131683);
    height: 2px;
    width: 10%;
}
.midashi + .middle-heading {
    margin: 0 0 25px 5px;
}
.small-heading {
    margin: 40px 0 20px;
    padding: 0 0 4px 5px;
    font-size: 17px;
    color: #168da5;
    position: relative;
}
.small-heading::after {
    position: absolute;
    content: '';
    height: 1px;
    width: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    background-color:#c7c6c6;
}
.text-center {
    text-align: center;
    margin: auto;
}
.text-left {
    text-align: left;
}
.red {
    color: #f02c3a !important;
}

.bold {
    font-weight: bold;
}
.caution {
    font-size: 85% !important;
}
.small {
    font-size: 13px;
    line-height: 1.6em;
}
.border_box .small-heading {
    margin: 20px 0 20px;
}
.border_box {
    border: 1px solid #c7c6c6;
    padding: 40px;
}
.flexbox {
    display: flex;
    display: -webkit-flex;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
}
.flexbox.align_center{
    align-items: center;
}
.flexbox.flex-start {
    justify-content: flex-start;
}
.flexbox.center {
    justify-content: center;
}
.nowrap{
    flex-wrap: nowrap;
}

.flexbox.row2.margin >.item {
    flex-basis: 48%;
    max-width: 48%;
    position: relative;
}
.flexbox.row2 > .item {
    flex-basis: 50%;
    max-width: 50%;
    position: relative;
}
.flexbox.row2.margin > .item:nth-child(odd){
    margin-right: 1%;
}
.flexbox.row2.margin > .item:nth-child(even){
    margin-left: 1%;
}
.flexbox.row3.margin .item {
    flex-basis: 31.33%;
    max-width: 31.33%;
    position: relative;
}
.flexbox.row3 .item {
    flex-basis: 33.33%;
    max-width: 33.33%;
    position: relative;
}
.flexbox.row4.margin> .item {
    flex-basis: 23%;
    max-width: 23%;
    position: relative;
    margin: 0 0.5% 0;
}
.flexbox.row4.marginr::before{
  content:"";
  display: block;
  width:23%;
  order:1;
}
.flexbox.row4.margin::after{
  content:"";
  display: block;
  width:23%;
}
.flexbox.row5.margin .item {
    flex-basis: 19%;
    max-width: 19%;
    position: relative;
    margin: 0 0.5% 0;
}
.flexbox.row6.margin .item {
    flex-basis: 15.66%;
    max-width: 15.66%;
    position: relative;
    margin: 0 0.5% 0;
}
.back_white > .item  {
    background-color: rgba(255, 255, 255, 0.8);
}
.shadow > .item {
    box-shadow: 2px 2px 5px rgba(51 51 51 / 20%);
}
.border > .item {
    border: 1px solid rgba(224, 224, 224);
}
.border_r > .item {
    border-radius: 15px;
}
.border_r > .item img {
    border-radius: 15px 15px 0 0;
}
.item.row6 {
    width: 60%;
    max-width: 60%;
}
.item.row5 {
    width: 48.5%;
    max-width: 48.5%;
}
.item.row4 {
    width: 38%;
    max-width: 38%;
}
.item.row7 {
    width: 70%;
    max-width: 70%;
}
.item.row3 {
    width: 28%;
    max-width: 28%;
}
.item.row8 {
    width: 80%;
    max-width: 80%;
}
.item.row2 {
    width: 17%;
    max-width: 17%;
}
.item.row2 {
    width: 17%;
    max-width: 17%;
}
.item.row8 {
    width: 80%;
    max-width: 80%;
}
.width100 {
    width: 100%;
}
.width95 {
    width: 95%;
    margin: auto;
}
.width90 {
    width: 90%;
    margin: auto;
}
.width80 {
    width: 80%;
    margin: auto;
}
.width60 {
    width: 60%;
    margin: auto;
}
figcaption {
    text-align: center;
}
@media screen and (max-width:767px) {
/*    p {
        line-height: 1.7;
    }*/
    figcaption {
        font-size: 13px;
    }
    .flexbox.row2 > .item,
    .flexbox.row3 > .item,
    .contact-bnr .flexbox.row3.margin .item{
        flex-basis: 100%;
        max-width: 100%;
        position: relative;
        margin: 0 0 25px;
    }
    .flexbox.row2.margin .item:nth-child(odd){
        margin-right: 0%;
    }
    .flexbox.row2.margin .item:nth-child(even){
        margin-left: 0%;
    }
    .flexbox.row4.margin > .item,
    .flexbox.row2.margin > .item,
    .flexbox.row3.margin > .item,
    .flexbox.row5.margin .item{
        flex-basis: 49%;
        max-width: 49%;
        margin: 0 0.5% 30px;
    }

    .mitumori.flexbox.row3.margin .item{
        flex-basis: 31.33%;
        max-width: 31.33%;
    }

    .item.row6, .item.row4, .item.row5, .item.row7, .item.row3, .item.row8, .item.row2 {
        width: 100%;
        max-width: 100%;
    }
    .width90, .width80, .width60{
        width: 100%;
    }
    .topimage {
        margin-top: 30px;
    }
}
@media screen and (max-width:600px) {
    .flexbox.row3.margin > .item.price-box,
    .flexbox.row3.margin .item.voice,
    .material .flexbox.row3.margin .item{
        flex-basis: 49%;
        max-width: 49%;
    }
    .flexbox.row2.margin > .item,
    .flexbox.row3.margin > .item,    
    .flexbox.row2 > .item,
    .flexbox.row3 > .item{
        flex-basis: 100%;
        max-width: 100%;
        position: relative;
        margin: 0 0 25px;
    }

}
@media screen and (max-width:400px) {
    .flexbox.row4.margin.signs > .item,
    .invest.flexbox.row4.margin > .item{
        flex-basis: 49%;
        max-width: 49%;
    }
    .flexbox.row4.margin > .item,
    .flexbox.row3.margin > .item.price-box,
    .material .flexbox.row3.margin .item    {
        flex-basis: 100%;
        max-width: 100%;
        position: relative;
        margin: 0 0 25px;
    }
}
@media screen and (max-width:320px) {
    .flexbox.row4.margin.signs > .item{
        flex-basis: 100%;
        max-width: 100%;
    }
}
.link-wrap {
    margin: 10px 0 0px;
}
.menu-inner .link-wrap {
    margin: 5px 0 15px;
}
.link-wrap.center {
    margin: 20px auto 0;
    text-align: center;
}
.item.voice .news_title::before {
    display: none;
}
.item.voice .link-wrap.center {
    margin: auto 0 0;
    border-top: 1px solid #d8d8d8;
}
.link-wrap.left {
    text-align: left;
}
.link-wrap p {
    margin-bottom: 0;
}
.link-wrap.flexbox p {
    margin-right: 10px;
}
.link-wrap p a, .link-wrap.mini p {
    display: inline-block;
    position: relative;
    font-size: 15px;
    font-weight: bold;    
    letter-spacing: 1px;
    line-height: 1.3em;
    transition: 0.5s;
    margin: 0;
    padding: 12px 4vw 10px;
    color: #168da5;
    border: 1px solid #168da5;
    border-radius: 30px;
    background-color: #fff;
    /* 文字のにじみ防止 */
    transform: rotate(0.03deg);
    -moz-transform: rotate(0.03deg);
    -ms-transform: rotate(0.03deg);
    -o-transform: rotate(0.03deg);
    -webkit-transform: rotate(0.03deg);
}
.link-wrap.nuki p, .link-wrap.mini p {
    margin: 0;
    border: 0px solid #59c884;
    color: #59c884;
}

.link-wrap.nuki p a, .link-wrap.mini p a, .link-wrap.mini p {
    font-size: 0.9rem;
    margin: 0;
    padding: 8px 50px;
    line-height: 1.4em;
}
.link-wrap.big p {
    font-size: 1.1rem;
    padding: 15px 5em 13px 40px;
}
.link-wrap p a:hover, .menu-inner:hover .link-wrap p a{
    color: #fff;
    background-color: #168da5;
}
.link-wrap p a:after,
.link-wrap.mini p:after,
.link-wrap.mini p:before,
.menu-inner:hover .link-wrap p a:after{
    position: absolute;
    content: '';
/*    content: "\f105";
    font-weight: 900;
    font-family: "Font Awesome 5 Free";*/
    right: 15px;
    transition: .5s ease;
    top: 50%;
    background-color: #59c884;
    transform: translateY(-50%);
    height: 1px;
    width: 30px;
    right: 0px;
}
.link-wrap p a:after {
    background-color: #168da5;
}
.link-wrap.mini p:after {
    width: 10px;
    right: 10px;
}
.link-wrap.mini p:before {
    height: 10px;
    width: 1px;
    right: 14px;
}
.link-wrap.mini p a:after, .link-wrap.nuki p a:after {
    top: 45%;    
}
.menu-inner:hover .link-wrap p a:after,
.link-wrap p a:hover:after {
    right: 1rem;
    color: #fff;
}
.news.item .link-wrap.mini.center {
    margin: auto 0 0;
    width: 100%;
    border-top: 1px solid #d8d8d8;
}
.item .link-wrap.center.mini p{
    padding: 7px 20px 7px;
    background-color: transparent;
    font-size: 12px;
}

.breadcrumbs {
    position: relative;
    display: block;
    margin: 10px auto 20px;
    font-size: 13px;
}
.breadcrumbs span{
    font-weight: bold;
}
.breadcrumbs a span{
    color: #222;
    font-weight: 500;
}
.breadcrumbs span.fa{
    font-weight: 500;
}
.breadcrumbs a span:hover{
    opacity: 0.7;
    transition: 0.5s;
}
a .pagetop{
    display: inline-block;
    position: fixed;
    right: 5px;
    bottom: 20px;
    z-index: 999;
    width: 70px;
    height: 70px;
    background: #59c884;
    border-radius: 50%;
    text-align: center;
}
a .pagetop p{
    position: absolute;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    left: 0;
    right: 0;
    top: 55%;
    transition: .3s ease;
    margin-bottom: 0;
}
a .pagetop p:before {
    content: "";
    width: 2px;
    height: 20px;
    position: absolute;
    bottom: 25px;
    right: 50%;
    background-color: #fff;
    transition: .3s ease;    
}
a .pagetop p:after {
    content: "";
    width: 15px;
    height: 2px;
    position: absolute;
    bottom: 68px;
    right: 23px;
    top: -18px;
    transform: rotate(45deg);
    background-color: #fff;
    transition: .3s ease;
}
/*a .pagetop:hover {
    background: #fff;
}*/
a .pagetop:hover p{
    color: #a4f5fc;
}
a .pagetop:hover p:before,
a .pagetop:hover p:after {
    background-color: #a4f5fc;
}
.pc_only {
    display: block;
}
.line-fixed{
    position: fixed;
    bottom: 140px;
    right: 0;
    z-index: 3;
  }
a.line-btn i {
    color: #fff;
}
a.line-btn {
  display: flex;
  align-items: center;
  padding: 10px 10px;
  background: #06c755;
  border-radius: 7px 0px 0px 7px;
  box-shadow: -1px 2px 5px rgba(51 51 51 / 40%);
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  -webkit-text-orientation: upright;
  text-orientation: upright;
  transition: 0.5s;
}
a.line-btn img {
    position: relative;
    margin-bottom: 10px;
    display: block;
}
a.line-btn p {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 2px;
    margin-top: 5px;
    line-height: 1.4em;
}
a.line-btn:hover {
    opacity: 0.8;
    transition: 0.3s;
}
.effect-fade {
    opacity: 0;
    transform: translate(0, 100px); /* フェードインで動く高さを指定 */
    transition: all 2000ms; /* フェードインにかかる時間を指定 */
  }
.effect-scroll {
    opacity: 1;
    transform: translate(0, 0);
}
@media screen and (max-width: 1024px) {
    .line-fixed {
      bottom: 15%;
      right: 0;
    }
    .link-wrap {
        margin: 20px 5% 0 0;
    }
    .breadcrumbs {
        font-size: 12px;
        margin: 10px auto 0px;
    }
}
@media screen and (max-width:767px) {
    a.line-btn p {
      font-size: 12px;
    }
    .line-fixed {
      display: none;
    }
    .link-wrap p a, .link-wrap.mini p {
        padding: 12px 30px 10px;
    }
    .midashi {
        padding: 20px 0 30px;
    }
    .midashi .midashi-heading {
        font-size: 17px;
        padding-bottom: 15px;
        margin: 10px auto 10px;
    }
    .midashi .midashi-heading.mini {
        font-size: 17px;
    }
    .midashi .midashi-heading span {
        font-size: 13px;
        display: block;
        padding: 0 5px 0 0;
    }
    .midashi .midashi-heading:after {
        bottom: -5px;
    }
    .middle-heading {
        font-size: 16px;
    }
     .link-wrap p {
        font-size: 16px;
    }
    .breadcrumbs {
        font-size: 12px;
        margin: 10px auto 10px;
    }
    a .pagetop{
        display: none!important;
    }
    .pc_only {
        display: none;
    }
    .item .link-wrap.center.mini p{
    padding: 7px 20px 10px;
    font-size: 11px;
}
}
@media screen and (max-width:320px) {
}
/*------------------ローディング---------------------*/
.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    -webkit-transform-origin: center;
            transform-origin: center;
    width: 120px;
    height: 120px;
}
/* Loading テキスト */
.spinner span {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    font-size: 12px;
    color: #168da5;
}
.spinner.type1 {
    border-radius: 50%;
    border-width: 3px;
    border-style: solid;
    border-color: #168da5 #59c884;
    /* ローディング要素のアニメーションを指定 */
    -webkit-animation: spinner1_1 1.5s infinite linear forwards;
            animation: spinner1_1 1.5s infinite linear forwards;
}
.spinner.type1 span {
    /* Loading テキストのアニメーションを指定 */
    animation: spinner_loading_text 1.5s infinite linear forwards reverse;
}
  /* ローディング要素のアニメーション内容 */
  @-webkit-keyframes spinner1_1 {
    0% {
      -webkit-transform: translate(-50%, -50%) rotate(0);
              transform: translate(-50%, -50%) rotate(0);
    }
    100% {
      -webkit-transform: translate(-50%, -50%) rotate(360deg);
              transform: translate(-50%, -50%) rotate(360deg);
    }
  }
   
  @keyframes spinner1_1 {
    0% {
      -webkit-transform: translate(-50%, -50%) rotate(0);
              transform: translate(-50%, -50%) rotate(0);
    }
    100% {
      -webkit-transform: translate(-50%, -50%) rotate(360deg);
              transform: translate(-50%, -50%) rotate(360deg);
    }
  }
   
  /* Loading テキストのアニメーション内容 */
  @-webkit-keyframes spinner_loading_text {
    0% {
      opacity: 1;
      -webkit-transform: translate(-50%, -50%) rotate(0deg);
              transform: translate(-50%, -50%) rotate(0deg);
    }
    50% {
      opacity: 0;
      -webkit-transform: translate(-50%, -50%) rotate(180deg);
              transform: translate(-50%, -50%) rotate(180deg);
    }
    100% {
      opacity: 1;
      -webkit-transform: translate(-50%, -50%) rotate(360deg);
              transform: translate(-50%, -50%) rotate(360deg);
    }
  }
  @keyframes spinner_loading_text {
    0% {
      opacity: 1;
      -webkit-transform: translate(-50%, -50%) rotate(0deg);
              transform: translate(-50%, -50%) rotate(0deg);
    }
    50% {
      opacity: 0;
      -webkit-transform: translate(-50%, -50%) rotate(180deg);
              transform: translate(-50%, -50%) rotate(180deg);
    }
    100% {
      opacity: 1;
      -webkit-transform: translate(-50%, -50%) rotate(360deg);
              transform: translate(-50%, -50%) rotate(360deg);
    }
}
.box{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    -webkit-transition: all 1.2s ease; /* 1.2秒でフェードアウト */
            transition: all 1.2s ease;
    color: #0b8793; /* ローディングアニメーションカラー */
    background-color: rgba(255, 255, 255); /* 背景カラー */
}
.box.loaded{
    opacity:0;
    visibility:hidden;
    pointer-events:none;
}
/* ------------------header------------------*/
#top-head {
    position: fixed;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    line-height: 1;
    z-index: 99;
    top: 0;
/*    height: 100px;
    background-color: #168da5;*/
}
#top-head:after {
    content: "";
    display: none;
    height: 1px;
    background: #fff;
    width: 1025px;
    margin: 100px auto 0;
}
#top-head a {
    color: #fff;
    text-decoration: none;    
}
#top-head a {
    display: block;
}

#top-head .head_middle {
   background-color: #fff; 
   padding: 7px 0;
    height: 85px;
}
#top-head .inner {
    position: relative;
    display: block;
    margin: 0 auto;    
    width: 90%;    
}
#top-head .logo-wrap {
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    margin: 0px 0px 0px;
}
#top-head .logo-wrap img{
    width: 70px;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
}
#top-head .head_text{
    font-size: 12px;
    padding: 5px 10px 0;
    font-weight: 500;
    margin-bottom: 0px;
}
#top-head .head_text a {
    display: inline-block;
    color: #999;
}
.top_contact_wrap {
    display: flex;
    align-items: center;
    margin-top: 10px;
    margin-left: auto;
}
#top-head .contact_list {
    margin-top: -10px;    
}
#top-head .contact_list ul {
    margin-left: 15px;
}
#top-head .contact_list ul li {    
    margin: 0 3px;
    line-height: 1em;
    display: inline-block;
}
#top-head .contact_list ul li a {
    color: #fff;
    text-align: center;
    font-size: 16px;
    padding: 3px 13px 1px;
    font-weight: bold;
    transition: all 0.3s ease;
    background-color: #f8c806;
    border-radius: 5px;
    text-align: center;
    display: inline-block;
    height: 46px;
}
#top-head .contact_list ul li a span {
    display: block;
    font-size: 10px;
}
#top-head .contact_list ul li.line a  {
    background-color: #06c755;
}
#top-head .contact_list ul li a:hover {
    background-color: #fff;
}
#top-head .contact_list ul li i {
    font-size: 28px;
    color: #fff;
    display: inline-block;
    vertical-align: middle;
    font-weight: 900;
    transition: all 0.3s ease;
}
#top-head .contact_list ul li.mail a:hover  {
    background-color: rgba(55, 163, 216,0.6);
}
#top-head .contact_list ul li.line a:hover  {
    background-color: rgba(6, 199, 85,0.6);
}
#top-head .contact_list ul li.phone {
    display: none;
}
#top-head .contact_list ul li.line i {
    font-weight: 500;
    font-size: 30px;
    line-height: 0.9em;
}
#top-head .contact_list ul li.mail i {
    font-size: 27px;
}
.head_top.flexbox {
    align-items: center;
}
.gnaviwrap.flexbox {
    justify-content: center;
    background-color: #168da5;
}
.phone {
    margin-left: auto;
    margin-top: -10px;
}
.phone img {
    vertical-align: top;
}
#global-nav {
    margin: 8px auto 8px;
    width: 100%;
    text-align: center;
    height: 30px;
}
#global-nav ul {
    list-style: none;
    font-size: 14px;
}
#global-nav ul li {
    position: relative;
    display: inline-block;
    font-size: 15.5px;
    line-height: 2em;
}
#global-nav ul li.sns {
    margin-left: 15px;
}
#global-nav ul .icon {
    font-size: 20px; 
    display: inline-block;
    margin: -2px 0 0;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
}
#global-nav ul li a {
    padding: 0 10px;
    font-weight: bold;
}
#global-nav ul li.current > a {
    color: #90f2c7;
}
#global-nav ul li a:hover, #global-nav ul .icon:hover {
    color: #90f2c7;
}
#global-nav ul li.nav-li {
    display: none;
} 
/* transition */
#top-head,
#top-head:after,
#top-head .logo,
#global-nav ul li,
#global-nav ul li a {
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}
.dropdown-btn {
    position:relative;
    cursor:pointer;  
}
.dropdown {
    z-index:1000;
    background-color: rgba(22, 141, 165, 0.7);
    position: absolute;
    left:0;
    top: 25px;
    width: 190px;
    padding: 0px 10px;
    display:none;
}
.dropdown.open {
    display:block;
}
#global-nav ul li .dropdown li {
    display:block;
    line-height: 1.5em;
    margin: 15px 0;
}
.dropdown li a {
    color:#fff;
}
/* Fixed */
#top-head.fixed {
    padding-top: 0px;
    background: #fff;
    box-shadow: 0px 1px 5px rgba(51 51 51 / 30%);
}
#top-head.fixed h1{
    left: 80px;
}
#top-head.fixed .logo-wrap {
    font-size: 24px;
}

#top-head.fixed .logo-wrap h1{
    font-size: 11px;
    margin: 0;
    padding: 10px 0 7px;
}
#top-head.fixed:after {
    width: 100%;
    margin-top: 85px;
}
#top-head.fixed #global-nav ul li a {
    padding: 0 12px;
}
#global-nav ul li:after {
    position: absolute;
    content: "";
    display: block;
    width: 0;
    height: 1px;
    bottom: -2px;
    background: #90f2c7;
    transition: width 0.3s ease;
    -webkit-transition: width 0.3s ease;
    -moz-transition: width 0.3s ease;
    -o-transition: width 0.3s ease;
}
#global-nav ul li.sns:after {
    display: none;
}
#global-nav ul li:hover:after {
    width: 100%;
}
#top-head.fixed #global-nav ul li:hover:after {
    width: 100%;
}
li a.nav-tel{
    display: none;
}
.hamburger{
    display: none;
}
a.nav-line {
    display: none;
}
#top-head #global-nav ul .sns{
    display: none;
}
@media screen and (max-width:1200px) {
    #top-head .inner {
        width: 95%;    
    }
    #top-head.fixed #global-nav ul li a {
        padding: 0 8px;
    }
    #global-nav ul li {
        font-size: 14px;
    }
    #global-nav ul li a {
        padding: 0 6px;
    }
    #top-head .head_text {
        width: 30%;
    }        
}
@media screen and (max-width:1024px) {
    #top-head .logo-wrap img {

    }
    #top-head .head_text, #top-head.fixed h1 {
        position: absolute;
        top: -5px;
        left: 0;
        right: 0;
        font-size: 10px;
        line-height: 1.1em;
        margin: 2px auto 5px;
        text-align: center;
        width: 100%;
    }
    li.dropdown-btn > a {
        pointer-events: none;
    }
    .dropdown {
        position: relative;
        left:0;
        top: 0;
        width: auto;
        padding: 0;
        /*display:block;*/
    }
    .dropdown.active {
        display:block;
    }
    #global-nav ul li .dropdown li {
        display:inline-block;
        line-height: 1.5em;
        margin:10px 0;
    }
    .hamburger {
        display: block;
        position: absolute;
        right: 1rem;
        top: 1rem;
    }
    .hamburger {
        display : block;
        position: fixed;
        z-index : 3;
        right : 15px;
        top   : 10px;
        width : 42px;
        height: 42px;
        cursor: pointer;
        text-align: center;
        -webkit-transition: 0.3s ease-in-out;
        -moz-transition   : 0.3s ease-in-out;
        transition        : 0.3s ease-in-out;
    }
    .hamburger span {
        display : block;
        position: absolute;
        width   : 30px;
        height  : 3px ;
        left    : 3px;
        background : #168da5;
        -webkit-transition: 0.3s ease-in-out;
        -moz-transition   : 0.3s ease-in-out;
        transition        : 0.3s ease-in-out;
    }

    .hamburger span:nth-child(1) {
        top: 10px;
    }
    .hamburger span:nth-child(2) {
        top: 20px;
    }
    .hamburger span:nth-child(3) {
        top: 30px;
    }
    .hamburger.active span:nth-child(1) {
        top : 18px;
        left: 5px;
        background :#168da5;
        -webkit-transform: rotate(-45deg);
        -moz-transform   : rotate(-45deg);
        transform        : rotate(-45deg);
    }
    .hamburger.active span:nth-child(2),
    .hamburger.active span:nth-child(3) {
        top: 18px;
        left: 4px;
        background :#168da5;
        -webkit-transform: rotate(45deg);
        -moz-transform   : rotate(45deg);
        transform        : rotate(45deg);
    }
    .hamburger p{
        margin: 0;
        font-size: 12px;
        position: absolute;
        top: 35px;
        font-weight: bold;
        transition: all 0.3s ease;
        -webkit-transition: all 0.3s ease;
        -moz-transition: all 0.3 ease;
        -o-transition: all 0.3 ease;
    }
    #top-head .inner {
        position: relative;
        display: block;
        margin: 0 auto;
        width: 100%;
    }
    #global-nav {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        z-index: -1;
        background-color: #d9f0f7;
        visibility: visible;
        opacity: 0;
        transition: all 0.5s ease;
        -webkit-transition: all 0.5s ease;
        margin: 0 auto;
        height: 0;
        width: 100%;
    }    
    #global-nav.active {
        visibility: visible;
        opacity: 1;        
        z-index: 99;
    }
    #global-nav > ul {
        margin: 0 auto;
        padding: 0;
        width: 100%;
    }
    #global-nav ul li {
        list-style-type: none;
        padding: 0;
        width: 100%;
        transition: .4s all;
    }    
    
    #global-nav ul li:last-child {
        padding-bottom: 0;
    }
    #global-nav ul li:hover{
        background :#ddd;
    }
    #global-nav ul li a {
        display: block;
        color: #fff;
        padding: 1em 0;
        text-decoration :none;
    }
    #global-nav ul li:after {
        display: none;
    }
    #top-head .logo-wrap h1 {
        padding: 0px 0 0px;
    }
    #top-head .logo-wrap {
        padding: 0px 0 0 15px;
    } 
    #top-head.fixed .logo-wrap h1 {
        font-size: 11px;
        margin: 0;
        padding: 0px 0 5px;
    }
/*スクロール前のメニュー*/
    #top-head nav#global-nav > ul{
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        transform: translateX(-100%);
        background: rgba(255 255 255 / 70%);
        padding: 0px 0 calc(100vh);
        transition: all 1s ease;
        -webkit-transition: all 1s ease;
        -moz-transition: all 1 ease;
        -o-transition: all 1 ease;
        opacity: 0;
    }
    #top-head nav#global-nav ul li{
        width: 100%;
        margin: 0%;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #168da5;
        display: block;
    }
    #top-head nav#global-nav ul li a{
        font-size: 14px;
        line-height: 1.4;
        color: #fff;
        padding: 15px 15%;
        width: 100%;
    }
    #top-head #global-nav {
        margin-top: 75px;
    }
    #top-head #global-nav ul .sns{
    display: block;
}
    #top-head nav#global-nav ul ul.sns {
        background: #fff;
        margin: auto;
        width: 100%;
    }
    #top-head nav#global-nav ul ul.sns li {
        background: transparent;
        display: inline-block;
        width: auto;
    }
    #top-head nav#global-nav ul ul.sns li a {
      padding: 15px 15px;
    }
    #top-head .phone img {
        margin-top: 5px;
    }
    #top-head.fixed #global-nav {
        margin-top: 29px;
    }
/*スクロール後のメニュー*/
    #top-head.fixed {
        padding-top: 0px;
        transition: all 0.3s ease;
        -webkit-transition: all 0.3s ease;
        -moz-transition: all 0.3 ease;
        -o-transition: all 0.3 ease;
    }
    #top-head.fixed:after {
        width: 100%;
        margin-top: 80px;
    }
    #top-head.fixed nav#global-nav ul li{
        text-align: center;
    }
    #top-head.fixed nav#global-nav ul li a{
        
    }
    #top-head.fixed #global-nav.active {
        margin-top: 72px;
    }
      /* このクラスを、jQueryで付与・削除する */
    #global-nav.active {
        opacity: 100;
    }
    #top-head nav#global-nav.active > ul{
        transform: translateX(0%);
        opacity: 100;
        overflow-y: scroll;
    }
    #top-head.fixed nav#global-nav.active > ul{
        transform: translateX(0%);
        opacity: 100;
        margin-top: -5px;
    }  

    #top-head nav#global-nav ul li.sns{
        margin: 0.5%;
        height: 80px; 
        background: none;
    }
    #top-head nav#global-nav ul li.sns a,
    #top-head.fixed nav#global-nav ul li.sns a{
        padding: 15px 20px;
    }
    #top-head nav#global-nav ul li:last-child.sns a span,
    #top-head.fixed nav#global-nav ul li:last-child.sns a span{
        font-size: 26px;
        color: #000;
    }
    
   #top-head.fixed #global-nav.active {
        margin-top: 75px;
    }
    #top-head nav#global-nav ul li a,
    #top-head.fixed nav#global-nav ul li a {
        font-size: 14px;
        display: block;
        width: 100%;
        padding: 15px 5px;
        box-sizing: border-box;
    }
    #top-head nav#global-nav ul li,
    #top-head.fixed nav#global-nav ul li {
        margin: 0;
        text-align: center;
        height: auto;
        border-bottom: 1px solid #fff;
        box-sizing: border-box;
    }
    #top-head nav#global-nav ul li ul.dropdown li,
    #top-head.fixed nav#global-nav ul li ul.dropdown li {
        border-bottom: 0px solid #fff;
    }
    #top-head nav#global-nav ul li ul.dropdown li a,
    #top-head.fixed nav#global-nav ul li ul.dropdown li a {
        padding: 5px 5px;
        color: #fff;
    }
/*    #top-head nav#global-nav ul li ul.dropdown li:nth-child(2) a,
    #top-head.fixed nav#global-nav ul li ul.dropdown li:nth-child(2) a {
        padding: 3px 5px;
    }*/
    #top-head nav#global-nav ul li:hover a,
    #top-head nav#global-nav ul li ul.dropdown li:hover a,
    #top-head.fixed nav#global-nav ul li ul.dropdown li:hover a {
        color: #a4f5fc;
    }
    #top-head nav#global-nav ul li.nav-li a span, #top-head.fixed nav#global-nav ul li.nav-li a span {
        font-size: 18px;
    }
    #top-head nav#global-nav ul li.nav-li a,
    #top-head.fixed nav#global-nav ul li.nav-li a {
        font-size: 16px;
        line-height: 1.4;
    }
    #top-head nav#global-nav ul li.nav-li a p, #top-head.fixed nav#global-nav ul li:last-child a p {
        font-size: 13px;
        margin-bottom: 0;
    }
    #top-head nav#global-nav > ul li.nav-li,
    #top-head.fixed nav#global-nav > ul li.nav-li {
        display: flex;
        width: 100%;
    }
    
    li.nav-li {
        width: 100%!important;
    }
    li.nav-li p {        
        margin-top: 0;
    }
    li.nav-li .nav-tel span {
        font-size: 18px;
    }
    a.nav-line {
        display: block;
        width: 99%;
        text-align: center;
        margin: 0 auto;
    }
    a.nav-line img{
        max-width: 100%;
    }
    #top-head .contact_list {
        margin-right: 70px;
        margin-top: 0px;
    }
    #top-head .contact_list ul li i {
        padding-right: 0px;
    }
    #top-head .contact_list ul li span {
        display: none;
    }
}
@media screen and (max-width:767px) {
    #top-head {
        height: 80px;
    }
    #top-head .logo-wrap h1 {
        font-size: 10px;
    }
    #top-head .logo-wrap img {
        padding-left: 10px;
    }
    #top-head:after {
        width: 100%;
        margin: 88px auto 0;
    }
    #top-head .head_text, #top-head.fixed h1 {
          margin: 0;
    }
    #top-head .head_middle {
         height: 80px;
    }
    .hamburger {
        right: 10px;
        top: 10px;
    }
    #top-head.fixed .logo-wrap h1 {
        font-size: 10px;
    }
    #top-head.fixed .logo-wrap {
        margin: 0px 0px;
    }
    #top-head .logo-wrap {
        padding: 0 0 0 7px;
    }
    #top-head #global-nav {
        width: 100%;
        padding: 0;
        margin-top: 65px;
    }
    #top-head .phone img {
        margin-top: 10px;
        width: 200px;
    }
    #top-head.fixed {
        padding-top: 0px;
        height: 65px;
    }
    #top-head.fixed:after {
        width: 100%;
        margin-top: 70px;
    }
    #top-head.fixed .hamburger {

    }
    #top-head.fixed .hamburger.active span:nth-child(1) {
        top: 17px;
    }
    #top-head.fixed .hamburger.active span:nth-child(3) {
        display: none;
    }    
    #top-head .contact_list {
    }
    #top-head.fixed .contact_list {
        bottom: -11px;
    }
    #top-head .contact_list ul li a.mail {
        padding: 0px 3px 2px;   
    }
     #top-head .contact_list ul li a.line {
        padding: 0px 3px 0px; 
    }
    #top-head .contact_list ul li i {
        font-size: 36px;
    }
    #top-head .contact_list ul li.line i {
        font-size: 32px;
    }
    #top-head .contact_list ul li.mail i {
        font-size: 30px;
    }    
}
@media screen and (max-width:600px) {
    .head_top.flexbox {
        margin-top: 0;
    }
    #top-head .phone img, #top-head.fixed .phone img {
        display: none;
    }
    #top-head .head_middle {
        height: 78px;
    }
    #top-head .logo-wrap img {
        width: 65px;
    }
    #top-head .head_text {
        top: -7px;
    }
    .hamburger {
        top: 12px;
        right: 15px;
    }
    #top-head .contact_list {
        margin-right: 70px;
        margin-top: 5px;
    }
    #top-head .contact_list ul li {
        margin: 0 1px; 
        line-height: 1em;
        display: inline-block;
        height: auto;
        width: auto;
        padding: 0;
        vertical-align: top;
    }
    #top-head .contact_list ul li a {
         padding: 3px 10px 1px;
        height: 50px;
     }
    #top-head .contact_list ul li.phone {
        display: inline-block;
    }
    #top-head .contact_list ul li.phone a {
        background-color: #168da5;
    }
    #top-head .contact_list ul li.phone a:hover {
        background-color: rgba(2, 124, 201,0.6);
    }
    #top-head .contact_list ul li.phone i {
        font-size: 28px;
        color: #fff;
    } 
    #top-head #global-nav {
        margin-top: 75px;
    }
 }
@media screen and (max-width:430px) {

    #top-head.fixed .logo-wrap h1 {
        font-size: 10px;
        margin: 0;
        padding: 0px 5px 5px 0;
    }
    #top-head .logo-wrap h1 {
        font-size: 10px;
        padding: 0px 5px 10px 0;
    }
    #top-head .logo-wrap img {
        width: 50px;
    }
    #top-head .contact_list {
        margin-right: 55px;
    }
    #top-head .contact_list ul {
        margin-left: 5px;
    }
    #top-head .contact_list ul li {
        position: relative;
    }
    #top-head .contact_list ul li a {
        padding: 3px 5px 1px;
        height: 48px;
        width: 42px;
    }
    #top-head .contact_list ul li a span{
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
    }
    .hamburger {
        right: 5px;
    }
    #top-head nav#global-nav ul li, #top-head.fixed nav#global-nav ul li {
        width: 100%;
    }
    #top-head nav#global-nav ul li, #top-head.fixed nav#global-nav ul li {
        height: auto;
    }
    #top-head nav#global-nav ul li a, #top-head.fixed nav#global-nav ul li a {
        font-size: 14px;
        padding: 13px 15px;
    }
    #top-head.fixed #global-nav ul li a:hover {
        color: #ffffff;
    }
    #top-head.fixed #global-nav ul li:hover:after {
        background: transparent;
    }
}
@media screen and (max-width:340px) {
    #top-head .logo-wrap img {
        width: 60px;
    }
    #top-head .contact_list{
        margin-top: -5px;
    }   
    #top-head .contact_list ul li {
        margin: 0;
    }
}
/*--------------------フッター-------------------*/
footer {
    position: relative;
    margin: 0;
}
section.access-area iframe {
    height: 360px;
}
footer .contact-area{
    padding: calc(100vw*0.5/16) 0;
    position: relative;    
    display: flex;
    align-items: center;
}
.contact-area p{
    text-align: center;
    line-height: 1.8;
}
.contact-area .left{
    width: 45%;
    padding: 0 10px;

}
.contact-area .right{
    width: 50%;
    padding: 0 10px;
}
.contact-area .right{
    text-align: center;
}
.contact-area .right img{
    max-width: 150px;
    margin: 5px auto;
}
.contact-area .right h3 {
    font-size: 18px;
}
.contact-area .right p{
    font-size: 14px;
    font-weight: bold;
}

.contact-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 30px;
}
.subsidy-wrap, .contact-inner .tel-wrap, .contact-inner .mail-wrap {
    border: 1px solid #ec747a;
    background: #ec747a;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    height: 80px;
    transition: 0.5s;
}
.subsidy-wrap {
    width: 55%;
    margin: 0 auto;
    text-align: center;
    padding: 0 10px;
}
.contact-inner .tel-wrap, .contact-inner .mail-wrap {
    width: 48%;
}
.subsidy-wrap a, .contact-inner .tel-wrap a, .contact-inner .mail-wrap a {
    font-weight: bold;
    color: #fff;
    transition: 0.5s;
}
.subsidy-wrap a {
    font-size: 15px;
    letter-spacing: 1px;
    padding: 21px 0;
}
.contact-inner .tel-wrap a{
    font-size: 22px;
    letter-spacing: 0px;
    padding: 0px 0;
    margin: 0px auto -15px;
    line-height: 1;
    display: block;
    text-align: center;
    width: 100%;
}
.contact-inner .mail-wrap a{
    font-size: 15px;
    letter-spacing: 1px;
    padding: 21px 0;
}
.contact-inner .tel-wrap a span{
    font-size: 0.8rem;
}
.contact-inner .tel-wrap p {
    font-size: 14px;
    margin-top: -15px;
    margin-bottom: 0px;
    line-height: 1.2;
    padding: 0 5px;
    color: #0d0015;
    transition: 0.5s;
}
.subsidy-wrap:hover,
.contact-inner .tel-wrap:hover,
.contact-inner .mail-wrap:hover {
    background: #0d0015;
    border: 1px solid #0d0015;
}
.subsidy-wrap:hover a,
.contact-inner .tel-wrap:hover a,
.contact-inner .tel-wrap:hover p,
.contact-inner .mail-wrap:hover a {
    color: #fff;
}

.area-wrap {
    width: 100%;
}
.area-wrap .item.left{
   padding: 20px 40px;
}

.area-wrap p {
    font-size: 14px;
    margin: 0 0 15px;
    line-height: 1.7;
}
.area-wrap .item.right{
   font-size: 0;
}
.area-wrap iframe{
    width: 100%;
    height: 100%;
}
.area-wrap .midashi, .contact-area .midashi{
    margin: 0px 0 30px;
    padding: 20px 0 0px;
}
.area-wrap .midashi .midashi-heading,
.contact-area .midashi .midashi-heading{
    margin: 8px auto 0px;
    padding-bottom: 20px;
}
.footer-bottom {
    background:#0d788e;
    padding: 40px 40px 20px;
    text-align: center;
    color: #fff;
}
.footer_menu {
    padding: 10px 10px 10px;
    text-align: center;
    justify-content: center;
    border-top: 1px solid rgba(255,255,255,0.4);
}
.footer_menu .item {
    padding: 0 15px;
    width: 32.33%;
}
.footer-bottom h3 {
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
}
.footer-bottom .item img {
    margin: 0px auto 0;
}
.footer_menu ul{
    text-align: left;
}
.footer_menu ul li, .mark ul li {
    list-style: none;
    margin: 0 0 5px;
}
.footer_menu ul li a{
    padding: 0 0 0 5px;
    font-size: 13px;
    font-weight: bold;
    transition: 0.3s;
    position: relative;
    display: inline-block;
    color: #fff;
}
.info {
    text-align: left;
}
.info ul li {
    display: flex;
    width: 100%;
    padding: 2px 0;
}
.info ul li p {
    display: inline-block;
    margin: 0;
    line-height: 1.7em;
    font-size: 13px;
}
.info ul li p.info_title {
    position: relative;
    width: 30%;
    padding-right: 5px;
    text-align: left;
}
.info ul li p.info_content {
    width: 70%;
    padding-left: 10px;
    text-align: left;
}
.info ul li p.info_title span {
    padding-right: 10px;
}

.sitemap .mark li.title > a {
    font-weight: bold;
    margin-top: 10px;
    display: block;
}

.external-link::after {
    font-weight: 900;
    font-family: "Font Awesome 5 Free";
    content: "\f360" !important;
    color: rgba(2, 124, 201, 0.4);
    margin: 0 0 0 0.5em;
}
.footer_menu .footer_menu_title {
    text-align: left;
    position: relative;
    margin: 10px 0 6px;
    font-weight: bold;
    line-height: 1.4em;
}
.footer_menu .footer_menu_title a{
    font-size: 15px;
    color: #fff;
    transition: 0.3s;
}
.footer_menu .footer_menu_title.questionnaire{
    padding: 5px;
    border: 1px solid #fff;
    text-align: center;
   display: inline-block;
}
.footer_menu .footer_menu_title.questionnaire a{
    font-size: 14px;
}
.footer_menu .footer_menu_title a:hover,
.footer_menu ul li a:hover{
    color: #a4dbf7;
}
.mark li {
    margin-bottom: 4px;
    position: relative;
    padding-left: 15px;
}
.mark li ul {
    padding-left: 20px;
}
.mark li a{
    position: relative;
    color: #666;
    padding: 0 2rem;
    transition: 0.3s;
    position: relative;
}
.mark li a:hover{
    color: #b2b2b2;
}
ul.mark li::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 0.3rem;
    transform: translateY(-50%);
    border: 4px solid transparent;
    border-left: 4px solid #fff;
}
ul.mark li::before{
    border: 4px solid transparent;
    border-left: 4px solid #4017b1;
}
.footer_logo {
    display: block;
    margin-bottom: 15px;
}
.footer_logo img{
    max-width: 260px;
}
.footer-bottom p{
    text-align: center;
    font-size: 14px;
    line-height: 1.7;
    margin: 10px auto 10px;    
}
.footer-bottom p a{

}
.footer-bottom p .tel {
    font-size: 22px;
    color: #f8c806;
    font-weight: bold;
    letter-spacing: 0.05em;
}
.footer-bottom p i{
    display: inline-block;
    color: #f8c806;
    vertical-align: text-top;
}
.footer-bottom .flexbox.align_center {
   justify-content: center;
    margin: auto;
}
.footer-bottom .sns {
    margin-left: 30px;
}
.outer-link, .mini-link {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;    
}
.mini-link {
    margin-right: 40px;
    justify-content: flex-end;
}
.mini-link.mark li a {
    font-size: 13px;
    margin-right: 10px;
    padding: 0;
    color: #fff;
}
.outer-link li {
    display: flex;
    align-items: center;
    margin: 0 10px 0 0;   
}
.outer-link li.portal img {
    max-width: 60px;
}
.sns li {
    display: inline-block;
    margin: 0 10px;
}
.sns li a{
    background: #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: block;
    position: relative;
}
.sns li i{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
}
li.insta i {
    color: #cf2e92;
}
li.line i {
    color: #06c755;
}
li.facebook i {
    color: #1877f2;
}
li.youtube i {
    color: #DA1725;
}
footer .copyright{
    background-color: #1d2088;
}
footer .copyright p{
    margin: 0;
    text-align: center;
    padding: 15px 0;
    font-size: 13px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
}

@media screen and (max-width:1024px) {
    .contact-area .left p {
        font-size: 13px;
    }
    .contact-area .right h3 {
        font-size: 13px;
    }
    .contact-area .right p {
        font-size: 13px;
    }
    .contact-inner .mail-wrap a {
        font-size: 11px;
        letter-spacing: 0px;
        padding: 20px 5px;
    }
    .contact-inner .tel-wrap a {
        font-size: 13px;
        padding: 0px 0;
        margin: 0px auto 0px;
    }
    .contact-inner .tel-wrap p {
        font-size: 10px;
        margin-top: 0px;
        line-height: 1.2;
        padding: 0 5px;
        transition: 0.5s;
    }
    .contact-inner .tel-wrap {
        height: 65px;
        padding: 10px 0;
    }
    .contact-inner .mail-wrap {
        height: 70px;
    }
    .contact-inner .tel-wrap a span {
        font-size: 0.5rem;
    }

    .area-wrap .item.right, .area-wrap .item.left, #banners .item.banner {
        margin-bottom: 0;
    }
    .footer_menu.flexbox {
        display: block;
    }
    .footer_menu .item {
        padding: 0 10px;
        width: 100%;
    }
    .footer-bottom .item.row7, 
    .footer-bottom .item.row3 {
        width: 100%;
        max-width: 100%;
    }
    .footer_menu .footer_menu_title {
        text-align: center;
    }
    .footer_menu ul {
        text-align: center;
    }
    
    .footer-bottom p {
        font-size: 12px;
    }
    .subsidy-wrap {
        width: 95%;
    }
    .subsidy-wrap a {
        font-size: 13px;
    }
    .mini-link {
        margin-right:0px;
        margin-bottom: 20px;
        justify-content: center;
    }
    .outer-link {
        text-align: center;
        justify-content: center;
        margin-bottom: 20px;
    }
    .footer-bottom .flexbox.align_center {
        display: block;
    }
    .footer-bottom .sns {
        margin-left: 0px;
    }

}
@media screen and (max-width:767px) {
    section.access-area {
        padding: 30px 0 30px;
    }
    footer .contact-area {
        padding: calc(100vw*1.1/16) 0;
        display: flex;
        flex-wrap: wrap;
    }
    .contact-area .left {
        width: 100%;
        padding: 0 calc(100vw*0.5/16);
    }

    .contact-inner {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        margin-top: 20px;
        flex-wrap: wrap;
    }
    .contact-area .left p {
        font-size: 13px;
        text-align: left;
    }
    .contact-inner .tel-wrap {
        height: 65px;
        padding: 10px 0;
        width: 100%;
        margin-bottom: 15px;
    }
    .contact-inner .tel-wrap a {
        font-size: 18px;
    }
    .contact-inner .tel-wrap p{
        font-size: 12px;
        text-align: center;
    }
    .contact-inner .mail-wrap {
        height: 70px;
        width: 100%;
    }
    .contact-inner .mail-wrap a {
        font-size: 15px;
        letter-spacing: 0px;
        padding: 20px 5px;
    }
    .contact-area .right {
        width: 100%;
        padding: 0 calc(100vw*0.4/16);
        text-align: center;
        margin: 30px 0 0;
    }
    .contact-area .right p {
        font-size: 12px;
        padding: 0 10px;
    }
    .area-wrap .left {
        width: 100%;
        padding: 10px calc(100vw*0.2/16) 0;
    }
    .area-wrap .right {
        width: 100%;
        padding: 0;
    }
    .area-wrap .right iframe {
        width: 100%;
        height: 300px;
    }
    .footer-bottom {
        padding: calc(100vw*0.75/16);
    }
    .footer_menu {
         justify-content: flex-start;
    }
    .area-wrap .item.left {
        padding: 20px 20px;
    }
    .footer_menu .item {
        padding: 0;
    }

    .footer_menu .footer_menu_title {
        margin:20px auto 5px;
    }
    .footer_menu ul li {
        width: 100%;
        margin-bottom: 5px;
    }
    .footer_menu ul li a {
        padding: 0;
     }
    .footer-bottom p {
        font-size: 12px;
    }
    .contact-area .right h3 {
        font-size: 13px;
    }
    .subsidy-wrap {
        margin: 0 auto 50px;
    }
    .subsidy-wrap a {
        font-size: 15px;
    }
    .footer-bottom ul li a::before {
        content: "";
        position: absolute;
        left: -0.2rem;
    }
    .footer_menu .footer_menu_title.questionnaire{
        padding: 10px 15px;
    }
}
@media screen and (max-width:320px) {
    .contact-area .right p {
        font-size: 11px;
        padding: 0 5px;
    }
    input[type=submit] {
        padding: 25px 55px;
    }
    .subsidy-wrap a {
        font-size: 13px;
    }
    .contact-inner .mail-wrap a {
        font-size: 14px;
    }
}

.sp_only {
    display: none;
}
.footer-fix {
    width: 100%;
    text-align: center;
    position: fixed;
    bottom: 0px;
    padding: 10px 0px 10px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.7);   
}
.footer-fix .flexbox {
    justify-content: center;    
}
.footer-fix .flexbox .item {
    margin: 0 2%;
    align-items: center;
    justify-content: center;
    display: flex;
}
.footer-fix .flexbox .item img {
    vertical-align: top;
}
@media screen and (max-width: 767px) {
    .pc_only {
        display: none;
    }
    .sp_only {
        display: block;
    }
    .totop {
        bottom: 2%;
    }
    .top_link {
        width: 58px;
        height: 58px;
    }
    .top_link::before, .top_link::after {
        width: 20px;
        top: 15px;
    }
    .top_link span {
        top: 38%;
        font-size: 13px;
    }
    .sp_line {
        margin: 10px auto 20px;
        display: block;
        text-align: center;
    }
    .footer-fix {
        display: none !important;
    }
    .footer-fix .flexbox .item span {
        font-size: 34px;
    }
    .footer-fix .flexbox .item.line span {
        font-size: 38px;
    }
    .footer-fix .flexbox .item {
        max-width: 55px;
        margin: 0 4%;
        border-radius: 7px;
        transition: all 0.3s ease;
    }  
    .footer-fix .flexbox .item p {
        margin-bottom: 0;
        color: #fff;
        font-size: 16px;
        line-height: 1.6em;
        padding: 10px 0px;
    }
    .footer-fix .flexbox .item.tel {
        background-color: #e70e0e;
    }
    .footer-fix .flexbox .item.mail {
        background-color: #4017b1;
    }
    .footer-fix .flexbox .item.line {
        background-color: #00ca42;
    }
    .footer-fix .flexbox .item:hover{
        background-color: #fff;
    }
    .footer-fix .flexbox .item.tel:hover p{
        color: #e70e0e;
    }
    .footer-fix .flexbox .item.mail:hover p{
        color: #4017b1;
    }
    .footer-fix .flexbox .item.line:hover p{
        color: #00ca42;
    }
}
/*----コンテンツエフェクト--------*/
.anim-box.fadeup{
    opacity: 0;
}
.anim-box.fadeup.is-animated {
    animation: fadeup 1.5s cubic-bezier(0.25, 1, 0.5, 1) 1 forwards;
}
@keyframes fadeup {
    0% {
      transform: translateY(70px);
      opacity: 0;
    }
    80% {
      opacity: 1;
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
}
.anim-box.fadeleft{
    opacity: 0;
}
.anim-box.fadeleft.is-animated {
    animation: fadeleft 1.5s cubic-bezier(0.25, 1, 0.5, 1) 1 forwards;
}
@keyframes fadeleft {
    0% {
      transform: translateX(-100px);
      opacity: 0;
    }
    80% {
      opacity: 1;
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
}
/*--------------------------ページスライド関連------------------------------*/
section.top-slide{
    position: relative;
    display: block;
    margin: 0 auto;
    width: 100%;
    height: 85vh;
    margin-bottom: calc(100vw*0.9/20);
    padding-top: 0;
}
#vegas {
    width: 100%;
    height: 100%;
}
section.top-slide h2{
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: #000;
    font-size: 1.8rem;
    letter-spacing: 0.14em;
    line-height: 1.8;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl; 
     text-shadow    : 
       2px  2px 1px #ffffff,
      -2px  2px 1px #ffffff,
       2px -2px 1px #ffffff,
      -2px -2px 1px #ffffff,
       2px  0px 1px #ffffff,
       0px  2px 1px #ffffff,
      -2px  0px 1px #ffffff,
       0px -2px 1px #ffffff; 
}
.vegas-slide, .vegas-slide-inner {
    background-position: center center !important;
}
section.top-slide .intro{
    position: absolute;
    bottom: 0;
    left: 0px;
    right: 0px;
    width: 100%;
    margin: auto;
    z-index: 1;
    text-align: left;
    background: rgba(2, 124, 201, 0.6);
    padding: 18px;
    text-align: center;
}
section.top-slide .intro h3{
    display: inline-block;
    color: #fff;
    line-height: 1.3;
    font-size: 1.5rem;
    margin-bottom: 6px;
}
section.top-slide .intro p{
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.7;
    color: #fff;
    margin-top: 0px;
    margin-bottom: 0;
}
.scroll {
    display: inline-block;
    padding-top: 45px;
    position: absolute;
    width: 50px;
    text-align: center;
    z-index: 1;
    left: 0;
    right: 0;
    margin: auto;
}
.scroll span.txt{
    font-weight: 600;
}
.scroll::before {
    animation: scroll 1.5s infinite;
    border: solid #000;
    border-width: 0 0 2px 2px;
    content: "";
    display: inline-block;
    margin: auto;
    position: absolute;
    top: -50px;
    right: 0;
    left: 0;
    transform: rotate(-45deg);
    width: 20px;
    height: 20px;
}
@keyframes scroll {
    0% {
      transform: rotate(-45deg) translate(0, 0);
    }
    80% {
      transform: rotate(-45deg) translate(-35px, 35px);
    }
    0%, 80%, 100% {
      opacity: 0;
    }
    40% {
      opacity: 1;
    }
}
section.sub-slide {
    position: relative;
    display: block;
    margin: 0 auto;
    width: 100%;
    padding-top: 80px;
    height: calc(100vw*4/16);
}
.sub-slide-img {
    height: 100%;
}

@media screen and (max-width:1024px) {
    section.top-slide h2 {
        bottom: calc(100vw*8/16);
    }
    section.top-slide .intro h3 {
        font-size: 20px;
    }
}
@media screen and (max-width:767px) {
    section.top-slide h2 {
        top: 18%;
        font-size: 1.1rem;
    }
    section.top-slide .intro {
        right: 15px;
    }
    section.top-slide .intro h3 {
        font-size: 18px;
        margin-bottom: 7px;
    }
    section.top-slide .intro p {
        font-size: 14px;
    }
    .scroll {
        transform: translate(calc(0vw - 0%));
        padding-top: 35px;
        font-size: 13px;
    }
    section.top-slide {
        margin-bottom: 30px;
        width: calc(100vw*15/16);
    }
    section.sub-slide {
        height: calc(100vw*6/16);
        width: calc(100vw*15/16);
        margin-top: 5px;
    }
}
@media screen and (max-width:320px) {
    section.top-slide h2 {
        bottom: calc(100vw*12/16);
        left: calc(-100vw*0.2/16);
    }
    section.top-slide .intro p {
        font-size: 11px;
    }
}

#main-hero-area {
    position: relative;
    margin-top: 130px;
    padding: 0;
    height: 100%;
}
#main-hero-area picture {
    position: relative;
    overflow: hidden;
    padding-top: 44.821%;
    margin: 0 0 0;
}
#main-hero-area picture.main-pc {
    padding-top: 44.821%;
}
#main-hero-area picture.main-sp {
    padding-top: 220%;
}
#main-hero-area picture img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
}
#main-hero-area .main-pc img {
    width: 100%;
    height: auto;
}
.main-pc {
    width: 100%;
    display: block;
}
img.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}
.main-tab, .main-sp {
    display: none;
}
.top_tel {
    position: absolute;
    right: 15px;
    top: 15px;
    background: #fff;
    border-radius: 5px;
    text-align: center;
}
.top_tel span {
    color: #ec747a;
    font-size: 14px;
    line-height: 1.4;
    display: inline-block;
    font-weight: bold;
    padding: 3px 20px 5px 20px;
}
.top_tel p {
    padding: 0;
    background: #ec747a;
    border-radius: 5px 5px 0 0;
    padding: 5px 20px 3px 20px;
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 0.02em;
    line-height: 1.2;
    margin-top: 0;
}
.price_button {
    position: absolute;
    right: 15px;
    bottom: 15px;
}
.price_button img{
    max-width: 400px;
}
@media screen and (min-width: 768px) and (max-width: 1024px){
    img.main-tab {
        display: block;
    }
    #main-hero-area {
        margin-top: 65px;
    }
    .price_button img {
        max-width: 300px;
    }
}    
@media screen and (max-width: 767px){
    img.img-responsive {
        width: 100%;
    }
    #main-hero-area {
         margin-top: 75px;
    }

    .main-pc {
        display: none;
    }
    .main-sp {
        display: block;
    }
    .top_tel {
        top: auto;
        bottom: 7px;
        left: 0;
        right: 0;
        width: 80%;
        margin: auto;
    }
    .top_tel span {
        font-size: 14px;
        line-height: 1.4;
        padding: 2px 20px 4px 20px;
    }
    
    .top_tel p {
        padding: 4px 20px 2px 20px;
        color: #fff;
        font-size: 29px;
        letter-spacing: 0.02em;
        text-align: center;
    }
    .price_button {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 10px;
        width: 95%;
        margin: auto;
    }
}
section.top-slide{
    position: relative;
    display: block;
    margin: 0 auto;
    width: 100%;
    height: 65vh;
    margin-bottom: calc(100vw*0.9/20);
    padding: 74px 0 0;
    margin-bottom: 0;
}
#vegas {
    width: 100%;
    height: 100%;
}
section.top-slide h2{
    position: absolute;
    top: 160px;
    left: 50%;
    width: 100%;
    text-align: center;
    transform: translateX(-50%);
    z-index: 1;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1.7;
    text-shadow: 2px 2px 3px rgba(0 0 0 / 40%);
/*    text-shadow    : 
       2px  2px 1px #ffffff,
      -2px  2px 1px #ffffff,
       2px -2px 1px #ffffff,
      -2px -2px 1px #ffffff,
       2px  0px 1px #ffffff,
       0px  2px 1px #ffffff,
      -2px  0px 1px #ffffff,
       0px -2px 1px #ffffff; */
}
.vegas-slide, .vegas-slide-inner {
    background-position: center top !important;
}

section.sub-slide {
    position: relative;
    display: block;
    margin: 0 auto;
    width: 100%;
    padding: 122px 0 0;
    height: 280px;
}

.sub-slide-img::after {
    position: absolute;
    content: '';
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: url("images/overlays/overlay-pattern.png");
  /*  background: rgba(51, 54, 49, 0.4)*/
}
section.sub-slide .sub-caption {
    color: rgba(55, 163, 216, 0.7);
    font-size: 22px;
    letter-spacing: 0.3em;
    mix-blend-mode: color-dodge;
    text-shadow: 0 0 5px rgb(255 255 255 / 50%);
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.4em;
    text-indent: 0.4em;
    text-align: center;
    margin: auto;
    z-index: 10; 
    display: inline-block;
    line-height: 1.2em;
    position: absolute;
    left: 0;
    right: 0;
    top: 48%;
    transform: translateY(-50%);
    
    
}
.sub-slide-img {
    height: 100%;
    position: relative;
    text-align: center;
}

section.sub-heading + section.top-content-l {
    padding: 0px 0 60px;
}
.top-contact-list {
    background: #168da5;
    padding: 10px 40px 10px;
    margin-top: -1px;
}
.top-contact-list, .top-contact-list ul {
    display: flex;
    align-items: center;
    justify-content: center;
}
.top-contact-list .phone {
    background: #fff;
    margin-left: 0;
    margin-bottom: 0;
    line-height: 1.4em;
    padding: 10px 20px;
    border-radius: 15px;
    margin: 0;
    font-weight: bold;
}
.top-contact-list .phone i {
    display: inline-block;
    padding-right: 5px;
    
}
.top-contact-list .phone a {
    color: #fff;
    border-right: 1px solid #fff;
}
.top-contact-list .phone span.telnum {
    font-size: 1.6em;
    margin: 0 15px;
    font-weight: bold;
    color: #d0121c;
}
.top-contact-list .phone span.time {
    font-size: 0.9em;
}
.top-contact-list ul li.mail {
    background: #f8c806;
    padding: 12px 17px;
    margin-left: 40px;
    border-radius: 10px;
}
.top-contact-list ul li.mail a{
    color: #fff;
    font-weight: bold;
    line-height: 1.2em;
}
.top-contact-list ul li.mail a i {
    display: inline-block;
    padding-right: 5px;
}
.top-contact-list ul li.line {
    background: #06c755;
    padding: 12px 17px;
    margin-left: 15px;
    border-radius: 10px;
}
.top-contact-list ul li.line a{
    color: #fff;
    font-weight: bold;
    line-height: 1.2em;
}
.top-contact-list ul li.line a i {
    display: inline-block;
    padding-right: 5px;
    color: #fff;    
}

@media screen and (max-width:1024px) {
    section.sub-slide {
        padding-top: 75px;
        height: calc(100vw*4/16);
    }
    section.sub-slide .sub-caption {

    }
}
@media screen and (max-width:767px) {
    section.top-slide h2 {
        top: auto;
        bottom: 25%;
        width: 95%;
        font-size: 1.1rem;
    }
    .top-contact-list {
        padding: 10px 20px;    
        display: block;
    }
    .top-contact-list .phone {
        margin-bottom: 8px;
        margin-top: 8px;
        text-align: center;
    }
    .top-contact-list ul li.mail {
        margin-left: 0px;
    }
    .scroll {
        transform: translate(calc(0vw - 0%));
        padding-top: 35px;
        font-size: 13px;
    }
    section.top-slide {
        padding: 74px 0 0;
        height: 90vh;
    }
    section.sub-slide {
        height: 200px;
        margin-top: 5px;
        padding: 75px 0 0;
    }
    section.sub-slide .sub-caption {
        font-size: 16px;
        letter-spacing: 0.2em;
        text-indent: 0.2em;
    }
    section.sub-heading {
        padding: 0 0 40px;
    }

}
@media screen and (max-width:600px) {
    section.top-slide {
        padding: 65px 0 0;
    }
   .top-contact-list {
        padding: 5px 20px 10px;
    }
    .top-contact-list .phone span.time {
        padding-left: 15px;
        font-size: 0.8em;
    }
    .top-contact-list .phone a {
        border-right: 0px solid #fff;
        display: block;
        line-height: 1.8em;
    }
    .top-contact-list ul li.mail,
    .top-contact-list ul li.line{
        padding: 8px 15px;
    }
    .top-contact-list ul li.mail a,
    .top-contact-list ul li.line a{
        font-size: 13px;
    }
 }
@media screen and (max-width:440px) {

 }
@media screen and (max-width:320px) {
    section.top-slide .intro p {
        font-size: 11px;
    }
}

/*--------------------------トップページ関連------------------------------*/
.top-intro {
    color: #fff;
    position: relative;
}
.top-intro .kamon{
   position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    width: 300px;
    margin: auto;
    opacity: 0.3;
}
.top-intro p {
    font-size: 16px;
    font-weight: bold;
}
.top_lead h1 {
    background-color: #168da5;
    color: #fff;
    font-size: 20px;
    text-align: center;        
    padding: 15px;
}
.top_lead h2{
    text-align: center; 
    font-size: 20px;
    margin-top: 20px;
    color: #168da5;
    line-height: 1.8em;
}
.top_lead p {
    text-align: center;
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #59c884;
}

.flexbox.row3.margin .item.news,
.flexbox.row3.margin .item.voice,
.process .flexbox .item {
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
    position: relative;
    margin-bottom: 25px;
}
.flexbox.row3.margin .item.voice,
.flexbox.row4.margin .item.voice{
    display: flex;
    flex-direction: column;
}
.flexbox.row3.margin .item.news:hover,
.flexbox.row3.margin .item.voice:hover {
    border: 1px solid #168da5;
    box-shadow: 0 5px 12px rgb(0 0 0 / 15%);
}

@media screen and (max-width:767px) {
    .top_lead h1 {
        font-size: 17px;
    }
    .top_lead h2 {
        font-size: 16px;
    }
    .top_lead p {
        font-size: 15px;
    }
    .top-intro h1 {
        font-size: 20px;
    }
    .top-intro p {
        font-size: 14px;
        font-weight: bold;
    }
    .flexbox.row3.margin .item.news:last-child,
    .flexbox.row3.margin .item.voice:last-child,
    .process .flexbox .item:last-child {
        margin-bottom: 0px;
    }
    .message-img {
        max-width: 400px;
        display: block;
        margin: auto;
    }
}
@media screen and (max-width:400px) {
    .message-img {
        max-width: 100%;
    }
}
/*--------------------------------施工実績------------------------------------*/
section.top-works{
    display: block;
    position: relative;
}
.works-wrap {
   padding: 5px;
    border: 1px solid rgba(2, 124, 201, 0.3);
    box-sizing: border-box
}
.works-wrap:hover {
   background: rgba(2, 124, 201, 0.1);
}
.works-img-wrap{
    position: relative;
}
.works-img-wrap:after{
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: -5px;
    right: -5px;
    background-color: #e8e8e8;
}
.works-img-wrap a img{
    max-width: 100%;
    z-index: 1;
    position: relative;
    top: 0px;
    left: -5px;
    height: 100%;
    transition: 0.5s;
}
.works-img-wrap a img:hover{
    opacity: 0.8;
}
.works-wrap p.date {
    font-size: 13px;
    text-align: right;
    padding-bottom: 0;
    margin-bottom: 0;
    font-family: 'Montserrat', sans-serif;
}
.works-wrap p.tag {
    font-size: 13px;
    line-height: 1.6em;
    padding: 0 0 15px 5px;
    margin-bottom: 20px;
}
.works-wrap p.tag a, .works p.tag a{
    display: inline-block;
    padding: 2px 5px;
    border: 1px solid #168da5;
    color: #168da5;
    transition: all 0.3s ease;
    margin-right: 5px;
}
.works-wrap p.tag a:hover, .works p.tag a:hover{
    border: 1px solid #168da5;
    color: #fff;
    background-color: #168da5;
}
.works-wrap p.tag a:first-child {
    display: none;
}
section.works {
    padding: 40px 0 80px;
    margin-top: -20px;
}
.works_single {
    padding: 0 0 30px;
}
.works_single img {
    max-width: 100%;
/*    width: 50%;*/
    display: inline-block;
    margin: 0 auto 0px;
    height: auto;
    vertical-align: top;
}
.works_single img.alignright {
    float: right;
    margin-left: 15px;
}
.works_single h1.title {
    margin: 0px 0 30px;
    padding: 12px 25px 11px;
    font-size: 22px;
    background-color: #168da5;
    border-radius: 10px;
    letter-spacing: 0.05em;
    font-weight: bold;
    color: #fff;
}
.works_single h2 {
    margin: 30px 0 20px;
    padding: 12px 25px 11px;
    font-size: 20px;
    background-color: rgba(2, 124, 201, 0.1);
    border-radius: 10px;
    letter-spacing: 0.05em;
    font-weight: bold;
}
.works_single h3 {
    color: #168da5;
    margin: 30px 0 20px;
    font-size: 20px;
    font-weight: bold;
    position: relative;
    padding-bottom: 7px;
}
.works_single h3::before {
    content: '';
    position: absolute;
    background-color: #d8d8d8;    
    height: 1px;
    bottom: 0px;
    left: 0;
    margin: 0 auto;
    right: 0;
}
.works_single h4 {
    font-size: 18px;
    margin: 25px 0 10px;
    font-weight: bold;
    color: #59c884;
}
.works_single.voice h2 {
    margin: 0px 0 20px;
}
.works_single p.date{
    text-align: right;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}
.knowledge-single ul {
    margin-bottom: 15px;
}
.knowledge-single table {
    border-collapse: collapse;
    width: 100%;
}
.knowledge-single table tr {
    border-bottom: 1px solid #d3d3d3;
}
.knowledge-single table th, .knowledge-single table td {
    padding: 10px;
}
.knowledge-single table td {
    text-align: left;
    padding: 10px 10px 10px 20px;
    background-color: #fff;
 }
.knowledge-single table th {
    background-color: rgb(22, 141, 165, 0.1);
    font-weight: bold;
    border-right:0px solid #888;
}  
.voice_box .comment {

}
.bf-wrap{

}
.bf-wrap h3{
    width: 100%;
    display: block;
    font-size: 24px;
    margin: 0 auto 20px;
    color: #203bad;
    border-top: 2px solid #203bad;
    border-bottom: 2px solid #203bad;
    padding: 10px 5px;
    font-weight: bold;
}
.before-wrap,.after-wrap{
    display: flex;
    justify-content: center;
    margin: 30px 0;
}
.before-wrap img,.after-wrap img {
    max-width: 31%;
    margin: 0 10px 20px;
    height: 100%;
}
.work-table-wrap{
    position: relative;
    display: block;
    margin: 50px 0px 50px;
}
.work-table-wrap table{
    width: 100%;
    border-collapse: collapse;
}
.work-table-wrap table tr{
    border-bottom: solid 2px white;
}
.work-table-wrap table tr:last-child{
    border-bottom: none;
}
.work-table-wrap table th{
    position: relative;
    text-align: left;
    width: 30%;
    background-color: #168da5;
    color: white;
    text-align: center;
    padding: 17px 10px;
    font-weight: 500;
}
.work-table-wrap table th:after{
    display: block;
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    top:calc(50% - 10px);
    right:-10px;
    border-left: 10px solid #168da5;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}
.work-table-wrap table td{
    text-align: left;
    width: 65%;
    background-color: rgba(2, 124, 201, 0.1);
    padding: 17px 10px 17px 1.5em;
    border-right: none;
    border-bottom: none;
}
.blog-card {
    position: relative;
    display: block;
    background: #fff;
    border: 1px #ccc solid;
    margin: 15px 0;
    padding: 5px;
}
.blog-card + br + .blog-card {
    margin: -20px 0 15px;
}
.blog-card a {
    display: flex;
    align-items: center;
}
.blog-card .card-box-txt {
    position: absolute;
    top: 0;
    left: 0;
    margin-bottom: 0;
    background: #19448e;
    padding: 6px 15px 5px;
    line-height: 1.1em;
    color: #fff;
    font-size: 12px;
}
.blog-card-thumbnail {
    text-align: left;
}
.works_single .blog-card-thumbnail img {
    height: 80px;
    object-fit: cover;
    max-width: 100%;
    width: 120px;
    margin-bottom: 0;
}
.blog-card-content {
    padding: 15px;
    text-align: left;
}
.blog-card-title {
    font-size: 16px;
    font-weight: 600;
}

.article .before, .article .after {
    position: relative;
    margin-bottom: 20px;
}
.article .before::before, .article .after::before {
    position: absolute;
    top: 0;
    left: 0;
    background: #168da5;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    padding: 5px 20px;
    font-size: 18px;
    letter-spacing: 0.05em;
}
.article .before::before {
    content: 'Before';
}
.article .after::before {
    content: 'After';
}
.article {
    margin-bottom: 60px;
}
.center_left_list {
    margin: 100px auto 60px;
}

.center_left_list ul {   
    background-color: rgba(255, 255, 255, 0.6);
}
.center_left_list ul li {
    border: 1px solid rgba(224, 224, 224);
    min-height: 100px;
}
.center_left_list ul li i {
    color: #168da5;  
}
.center_left_list ul li.next {
    text-align: right;    
}
.center_left_list ul li.next {
    text-align: right;    
}

.post_navi .item a{
    display: flex;
    align-items: center;
}
.post_navi figure img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}
.post_navi .prevNext__title {
    font-size: 15px;
    padding: 10px 0 0 10px;
    color: #08778d;
    line-height: 1.4em;
    font-weight: bold;
}
.post_navi .prevNext__title span {
    display: block;
    font-size: 13px;
    color: #999;
    font-weight: normal;
}
.post_navi .prevNext__title span i {
    padding-right: 3px;
    color: #999;
}
.prevNext__pop {
    position: absolute;
    top: 0;
    display: inline-block;
    background: #08778d;
    height: 26px;
    line-height: 26px;
    padding: 0 10px;
    color: #ffffff;
    font-size: 13px;
}
.prevNext__pop.next {
    right: 0;
}
.no_article {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 20px;
}
.related.flexbox.row3.margin .item {
    margin-bottom: 30px;
} 

.bf_title {
    font-size: 15px;
    line-height: 1.6em;
    padding: 0 5px;
}
.single-wrap .before, .single-wrap .after {
    position: relative;
    margin-bottom: 20px;
}
.single-wrap .before::before, .single-wrap .after::before {
    position: absolute;
    top: 0;
    left: 0;
    background: #168da5;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    padding: 5px 20px;
    font-size: 16px;
    letter-spacing: 0.05em;
}
.single-wrap .before::before {
    content: 'Before';
}
.single-wrap .after::before {
    content: 'After';
}

ul.page_nav li {
    display: inline-block;
    margin: 0 5px;
    transition: all 0.3s ease;
}

ul.page_nav {
    margin-top: 40px;
}
ul.page_nav li.current {
    font-weight: bold;
}
ul.page_nav li a, ul.page_nav li span{
    display: block;
    border: 1px solid #BFBFBF; 
    padding: 3px 10px;
}

.item a.blocklink{
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.flexbox.row4.margin .item.news:hover {
    background-color: rgba(2, 124, 201, 0.1);
}
.workslist li.news {
    position: relative;
}
li.news {
    position: relative;
    display: flex;
    flex-direction: column;
}

.news_textbox {
    padding: 3px 15px 0px;
    position: relative;
}
.news_text {
    position: relative;
    line-height: 1.5em;
    font-size: 13px;
    margin-top: 8px;
    margin-bottom: 15px;    
    color: #333;    
}
.news .date{ 
    color: #888;
    font-size: 12px;
    letter-spacing: 0.01em;
    margin-top: 5px;
}
.news_title{
    font-size: 16px;
    margin: 6px 0 5px;
    position: relative;
    color:#168da5;
    font-weight: bold;
    padding: 0 0 5px;
    line-height: 1.6em;
}

.voice .news_title{
    font-size: 14px;
    font-weight: 500;
    margin: 6px 0 0;
}
.voice .news_text {
    margin: 5px 0 10px;
    font-weight: bold;
}

/* アップロードした画像の縦横比を固定して表示 */
.news_img figure {
    position: relative;
    overflow: hidden;
    padding-top: 67.64%;
    margin: 0 0 0;
}
.news_img.solo figure {
    border-radius: 15px 15px 0 0;
}
.news_img figure img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
} 
p.more {
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 0px;
    color: #59c884;
}
p.more i {
    padding-left: 5px;
}
.knowledge-wrap .news_textbox {
    padding: 0 0px 0px;
}
.knowledge-wrap .news_title {
    font-size: 15px;
    padding: 5px 10px 10px;
}
.workslist .news_img.row2 {
    position: relative;
    overflow: hidden;
    padding-top: 67.64%;
    margin: 0 0 0;
}
.workslist .news_img.row2 .item {
    flex-basis: 50%;
    max-width: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);    
    width: 100%;
    height: 100%;
    margin: 0;
}
.workslist .news_img.row2 .item:first-child{
    left: 0%;
}
.workslist .news_img.row2 .item:last-child{
    right: 0%;
}
.news_img.row2 .item:nth-child(3) img {
    border-radius: 15px 0 0 0;
}
.news_img.row2 .item:nth-child(4) img{
    border-radius: 0px 15px 0 0;
}
.news_img.row2 .text {
    position: absolute;
    padding: 4px 10px;
    background: #333;
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.05em;
    bottom: auto;
    top: 0;
    left: 0;
    z-index: 5;
    border-radius: 10px 0 0 0;
}
.news_img.row2 .text.before {
    border-radius: 10px 0 0 0;
}
.news_img.row2 .text.after {
    left: auto;
    background: #59c884;
    border-radius: 0 10px 0 0;
    right: 0;
}
.case-box .news_img.row2 .text.after {
    left: 0;
}
.single-wrap .before::before, .single-wrap .after::before {
    position: absolute;
    top: 0;
    left: 0;    
    color: #fff;
    padding: 3px 20px;
    font-size: 15px;
    letter-spacing: 0.05em;
}
.single-wrap .before::before {
    content: 'Before';
    background: #333;
}
.single-wrap .after::before {
    content: 'After';
    background: #59c884;
}
figure {
    font-size: 0;
}
.news_img.row2 figure {
    position: relative;
    padding-top: 0%;
    height: 100%;
}
.news_img.row2 figure img {
    height: 100%;
    object-fit: cover;
    position: relative;
    top: 0;    
    transform: none;
    left: 0;
}    
/* アップロードした画像の縦横比を固定して表示 */
.works-wrap figure {
    position: relative;
    overflow: hidden;
    padding-top: 67.64%;
    margin: 0 0 7px;
}
.works-wrap figure img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
}

.item.news:hover .wp_img_bg {
    opacity: 0.6;
}
.categories {
    margin: 0px auto 10px;
}
.category {
    text-align: right;
}
.categories li, .category li {    
    display: inline-block;
    font-size: 12px;
    background-color: #168da5;
    margin-left: 2px;
    transition: all 0.3s ease;
}    
.categories li a, .category li a {
    padding: 2px 10px;
    color: #fff;
    display: block;
}
.categories li:hover, 
.category li:hover, 
.categories li.current-cat {
    background-color: rgba(2, 124, 201, 0.5);
}
.categories li:hover a,
.category li:hover a,
.categories li.current-cat a,
.tags li.current-tag a{
    color: #fff;
}
.tags {    
    padding: 10px 15px 7px;
}
.tags li {    
    display: inline-block;
    font-size: 12px;
    border:1px solid #59c884;
    margin: 0 5px;
    transition: all 0.3s ease;
}
.tags li.current-tag{
    background-color: #59c884;
}
.news .tags li {    
    margin-left: 2px;
} 
.tags li a {
    padding: 2px 10px;
    color: #59c884;
    display: block;
}
.tags li:hover {
    background-color: rgba(2, 124, 201, 0.5);
}
.tags li:hover a {
    color: #fff;
}
.works_single .category {
    margin-bottom: 10px;
    text-align: left;
}
.works_single .tags {
    padding: 0px 0 7px;
    margin-bottom: 15px;
}

@media screen and (max-width:1024px) {
    ul.category_list li a {
        font-size: 11px;
    }
    .article p{
        font-size: 14px;
    }
    .article p.date {
        font-size: 12px;
        padding-right: 0rem;
    }
}
@media screen and (max-width:767px) {
    section.top-works {
        display: block;
        max-width: 100%;
        position: relative;
    }
    section.works {
        padding: 40px 0 40px;
        margin-top: -20px;
    }
    .works_single h2 {
        padding: 12px 25px 11px 20px;
        font-size: 18px;
    }
    ul.category_list li a {
        padding: 5px 5px 4px;
    }
    .single-wrap .before, .single-wrap .after {
        width: 50%;
    }
    .works_single img {
        width: 49%;
        height: 100%;
        margin: 0 0 5px;
    }
    .works-img-wrap a img {
        top: 0px;
        left: -1px;
    }
    .works_single .flexbox .item.row5 img {
        width: 100%;
    }
    .works-img-wrap:after {
        bottom: -1px;
        right: -3px;
    }
    .news_img figure img {
        object-fit: cover;
        width: 100%;
    }
    .works_single .post_navi img {
        margin: 0 0 0;
    }
    .post_navi .prevNext__title {
        padding: 20px 0 0 10px;
    }
    .center_left_list ul.flexbox.row2.margin li.item {
        margin-bottom: 10px;
    }
    .work-table-wrap table th{ 
        padding: 12px 10px;
    }
    .work-table-wrap table td{ 
        padding: 12px 10px 12px 1.5em;
    }
    .news_textbox {
        padding: 3px 10px 0px;
    }
  
}
@media screen and (max-width:320px) {
 
}
/*--------------------------------お約束-------------------------------------*/
section.promise{
    width: 100%;
    position: relative;
    display: block;
    margin: 0 auto 0;
}
section.promise img, section.promise picture{
    display: block;
}

.promise-h, .point-h {
    position: relative;
    padding: 15px 15px 15px;
    text-align: center;
    line-height: 1.4em;
    margin: 50px auto 0px;
    font-weight: bold; 
}
.promise-h {
    width: 100%;
    padding: 12px 15px 12px;
    margin: 0px auto 10px;
    font-size: 18px;
    z-index: 0;
    background-color: #168da5;
    color: #fff;
    border-radius: 10px 10px 0 0;
}
.promise-wrap {
    position: relative;
}
.reason_wrap.big .promise-h {
       background-color: transparent;
    color: #168da5;
    padding: 0;
    font-size: 22px;
    text-align: left;
    padding-left: 70px;
}
.promise-num, .reason-num{
    position: absolute;
    top: 5px;
    left: 0;
    right: 0;
    text-align: center;
    line-height: 1.8em;
    font-weight: 400;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    margin-top: 0px;
}
.promise-num ,
.reason-num{
    top: 50%;
    right: auto;
    left: -5px;
    z-index: 5;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 0;
    transform: translateY(-50%);
}
.promise-num span,
.reason-num p{
    display: block;
    font-size: 30px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
    line-height: 1.2em;
    color: #90f2c7;
}
.reason_wrap .reason-num p {
    font-size: 14px;
    line-height: 1.3em;
    color: #fff;
}
.reason-num span.en {
    font-size: 18px;
    display: block;
}
.flow-num {
    top: -20px;
    position: absolute;
    background: #59c884;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0;
    left: 50%;
    transform: translateX(-50%);
}
.flow-num span.step {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);   
    text-align: center;
    line-height: 1.4em;
}
.flow-num span.en {
   display: block; 
    font-size: 1.2em;
}
.after-flow .item p {
    font-size: 13px;
    margin-top: 10px;
    line-height: 1.8em;
}
.after-flow .item img {
    margin-top: 20px;
}
.step-h {
    margin: 15px 0;
    text-align: center;
    font-size: 14px;
}
ul.check li {
    display: flex;
    align-items: center;
    font-weight: bold;
    margin-bottom: 10px;
}
ul.check li .check-wrap {
    padding: 5px;
    background-color: #168da5;
    width: 30px;
    height: 30px;
    display: inline-block;   
    position: relative;
}
ul.check li:nth-child(2) .check-wrap {
    background-color: #14a51c;
}
ul.check li:nth-child(3) .check-wrap {
    background-color: #faba1d;
}
ul.check li:nth-child(4) .check-wrap {
    background-color: #e60308;
}
ul.check li span {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);   
    text-align: center;
}
.guarantee-box {
    margin-top: 40px;
    background: #fffbe5;
    padding: 40px;
}
.guarantee-box .flexbox {
    align-items: center;
}

.reason_wrap.big .reason-num {
    font-size: 14px;
    top: 50%;
    background: #59c884;
    left: 0;
} 
.reason_wrap.big .promise-num span {
    font-size: 14px;
}
.reason_wrap.big .promise-num span.en {
    font-size: 18px;
}
.promise .point,
.reason_wrap > .item {
    margin-bottom: 40px;
    padding: 0px;
    position: relative;
}
.reason_wrap.big > .item {
    margin-bottom: 40px;
    padding: 30px 20px 10px;
}
.reason_wrap > .item .flexbox {
    padding: 0 10px;
}
.reason_wrap .item.txt {
    width: 60%;
    padding-right: 10px;
}
.reason_wrap .item .link-wrap.center {
    margin: 0px auto 20px;
}
.reason_wrap .item.txt p {
    margin-bottom: 10px;
    line-height: 1.8em;
}
.reason_wrap .item.txt h4 {
    margin: 7px 0 10px;
    font-size: 16px;
}
.reason_wrap.big .item.txt h4 {
    margin: 15px 0 10px;
    font-size: 18px;
}
.reason_wrap .item.img {
    width: 40%;
    margin-top: 10px;
}
.reason_wrap .item.img img {
    border-radius: 0;
}
.differ_wrap > .item {
    margin-bottom: 30px;
    padding: 0px 0px 25px;
    position: relative;
}
.differ_wrap .item .item.row6 {
    padding-left: 20px;
}
.differ_wrap .item .item.row4 {
    padding-right: 20px;
}
.differ-h {
    background: #168da5;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    line-height: 1.4em;
    border-radius: 10px 10px 0 0;
    display: flex;
    padding: 15px 10px 15px 0;
    align-items: center;
}
.differ-num {
    font-size: 30px;
    padding: 0 15px 0 10px;
    font-family: 'Montserrat', sans-serif;
    margin-top: 0px;
}
.top-staff h2 {
    text-align: center;
    font-size: 28px;
    margin: 0px 0 40px;
}
.top-staff .top-staff-img {
    max-width: 940px;
    margin: auto;
    display: block;
}
.triangle.back-yellow:after {
    border-top: 180px solid #168da5;
    z-index: -1;
}
.triangle:after {
    content: "";
    position: absolute;
    top: 100%;
    right: 50%;
    transform: translatex(50%);
    box-sizing: border-box;
    border-right: calc(50vw - 5vw) solid transparent;
    border-left: calc(50vw - 5vw) solid transparent;
    border-top: 80px solid #fff;
    z-index: 1;
}
@media screen and (max-width:1200px) {
    .promise-h {
        padding-left: 45px;
    }
    .promise-num span {
        font-size: 24px;
    }
}
@media screen and (max-width:767px) {
    h2.color_heading span {
        font-size: 18px;
    }
    h2.color_heading {
        font-size: 16px;
    } 
    .differ-h {
      font-size: 16px;
        line-height: 1.4em;
        padding: 12px 10px 12px 0;
    }
    .differ-num {
        font-size: 26px;
    }
    .reason_wrap > .item:last-child {
        margin-bottom: 0px;
    }
    .reason_wrap.big > .item{
        padding: 30px 10px 10px;
    }
    .reason_wrap.big .item.txt {
        width: 100%;
    }
    .reason_wrap.big .item.img {
        width: 100%;
        margin-top: 10px;
    }
    .reason_wrap.big .promise-h {
        font-size: 20px;
    }
    .reason_wrap .item.txt {
        width: 100%;
        max-width: 100%;
        padding-right: 0px;
    }
    .reason_wrap .item.img {
        width: 100%;
        max-width: 100%;
    }
    .reason_wrap .item .link-wrap.center {
        margin: 15px auto 20px;
    }
    .top-staff .top-staff-img {
        max-width: 100%;
    }
    .triangle.back-yellow:after {
        border-top: 120px solid #59c884;
    }
    .promise-h {
        font-size: 16px;
    }
    .triangle:after {
        border-right: calc(50vw - 20px) solid transparent;
        border-left: calc(50vw - 20px) solid transparent;
    }
}
@media screen and (max-width:600px) {
    .promise-num {
        width: 50px;
        height: 50px;
    }
}
@media screen and (max-width:400px) {
    .reason_wrap .item .flexbox {
        display: block;
    }

    .promise-num span {
        font-size: 26px;
    }
}

/*--------------------------------4つのポイント-----------------------------------*/
.point-inner {
    width: 48%;
    margin: 0 1% 20px;
    padding: 3%;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 5px;
    border: 1px #cccccc solid;
}
.point-num {
    position: relative;
    display: inline-block;
    font-size: 11px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    line-height: 1.6em;
    z-index: 10;
    margin-bottom: 0;
    padding-right: 10px;
}
.point-num span {
    font-size: 20px;
    display: block;
    vertical-align: middle;
}
.point-h {
    padding: 7px 10px 8px;
    font-size: 18px; 
    margin: 0;
    width: 100%;
    color: #fff;
    display: flex;
    align-items: center;
    background: #59c884;
    border-radius: 15px 15px 0 0;
  
}
.point-p {
    margin: 20px auto 0;
    line-height: 1.8;
    padding: 0 20px 0;
}
.service_wrap .point-p {
    margin: 15px auto 10px;
    line-height: 1.7;
}
.differ_wrap {
    width: 95%;
    margin: auto;
}
.differ_wrap .point-p {
    margin: 0 auto 30px;
    padding: 0;       
}
section.promise .point-img img {
    margin-bottom: 0;
}

.point-h::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0px;
    background: rgba(224, 224, 224);
    height: 1px;
    width: 100%;
    margin: auto;
}
.point-h2 {
    position: relative;
    padding-left: 50px;
    line-height: 1.3em;
    font-size: 17px;
    margin: 40px 0 30px;
    color: #666;
}
.point-h2::before {
    content: attr(data-number);
    position: absolute;
    left: 0;
    top: 45%;
    color: #59c884;
    font-size: 30px;
    border-bottom: 1px solid #59c884;
    line-height: 1.6em;
    transform: translateY(-50%);
}
.point .flexbox.row2.margin .item,
.point .flexbox.row3.margin .item{
    margin-bottom: 30px;
    padding: 20px 0 25px;
    position: relative;
    background-color: rgba(252, 214, 97, 0.1)
}
.point .flexbox.row3.margin .item{
    margin-bottom: 30px;
    padding: 20px 0 25px;
    position: relative;
    background-color: rgba(252, 214, 97, 0.1)
}
.point .flexbox.row2.margin .item::before {
    top: 6px;
}
.point .flexbox.row2.margin .item::after{
    bottom: 6px;
}
@media screen and (max-width:980px) {
    .point-h {
        font-size: 17px;
          text-align: left;
    }
}
@media screen and (max-width:767px) {
    .point-h {
        font-size: 16px;
    }
    .point-num {
        text-align: center;
        font-size: 11px;
    }
    .differ_wrap .point-p {
        margin: 0 auto 20px;
    }
    .differ_wrap .link-wrap {
        margin: 0px 0 20px;
    }
    .point-p {
        padding: 0 10px 0;
    }
 }
/*--------------------------------プロセス-----------------------------------*/
section.process　.container {
    max-width: 1500px;
}
.process#flow .flexbox {
    display: block;
}
.process .flexbox .item{
    margin: 0 0.6% 0;
    width: 100%;
    position: relative;
    z-index: 0;
}
.process .flexbox .item:last-child::before,
.process .flexbox .item:last-child::after {
    display: none;
}
.process-h {    
    color: #59c884;
    font-size: 16px;
    padding: 15px 5px 10px;
    text-align: center;
    position: relative;
    margin: 0 0 10px;
    width: 100%;
}
.news_title::before {
    content: '';
    position: absolute;
    background-color: #d8d8d8;
    width: 100%;
    height: 1px;
    bottom: 0px;
    left: 0;
    margin: 0 auto;
    right: 0;
}
.toso_merit .process-h {    
    background: rgba(208, 18, 28, 0.6);
}
.sign-h{
    color: #168da5;
    font-size: 16px;
    padding: 15px 5px 10px;
    text-align: center;
    position: relative;
    margin: 0 0 10px;
    line-height: 1.3em;
}
.invest .sign-h{    
    margin: 0px;
    top: 0;
    border-radius: 50%;
    background: #59c884;
    padding: 0px 5px 0px;
    position: absolute;
    top: -10px;
    left: -10px;
    width: 90px;
    height: 90px;;
}
.invest .sign-h span{
    position: absolute;
    color: #fff;
    font-size: 16px;
     padding: 0px 7px 0px;
    text-align: center;
    line-height: 1.3em;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
}
.invest .sign-h::after {
    display: none;
}
.material .flexbox.invest .item p{
    padding: 10px 10px 10px;
}
.signs .sign-h{
    text-align: center;
    padding: 10px;
    font-size: 16px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
    width: 90%;
    background: #fff;
}
.signs .item figure {
    position: relative;
}
.signs .item figure img{
    border-radius: 50%;
    min-width: 200px;
    width: 100%;
    margin: auto;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
}
.signs .item .sizuku,
.cause .item .sizuku{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -20px;
    background: #59c884;
    color: #fff;
    font-weight: bold;
    height: 65px;
    width: 65px;
    border-radius: 50%;
    text-align: center;
    padding: 5px;
    z-index: 1;
    margin: 0;
}
.cause .item .sizuku {
    top: -50px;
    transform: translateX(-50%);
    left: 50%;
}
.signs .sizuku span,
.cause .sizuku span{
    display: block;
    font-family: "Montserrat", serif;
    font-size: 12px;
}
.cause .sizuku span{
    font-size: 11px;
}
.signs .sizuku img,
.cause .sizuku img{
    width: 24px;
    margin: 5px auto 0;
}
.signs .item p {
    font-size: 14px;
    margin-top: 10px;
}
.signs.page .sizuku img {
    width: 28px;
    margin-top: 10px;
}
.cause-inner {
    padding: 10px 10px 10px;
    position: relative;
}
.cause-h {
    text-align: center;
    color: #168da5;
    font-size: 16px;
    padding: 10px 5px 8px;
}
.cause-box {
    padding: 10px;
    background-color: rgb(22, 141, 165, 0.1);
}
.cause-box .mark li {
    font-size: 13px;
}
.cause-box h4 {
    color: #59c884;
    margin-bottom: 5px;
}
.cause.flexbox .item p {
    margin-bottom: 7px;
    font-size: 14px;
    line-height: 1.8;
}
.border-box {
    border: 2px solid #168da5;
    padding: 20px;
}
.border-box .midashi {
    padding: 20px 0 10px;
}
.border-box .item h4 {
    background-color: rgb(55, 163, 216, 0.3);
    text-align: center;
    padding: 10px 5px;
}
.caution-box {
    margin-top: 30px;
    background-color: #fffbe1;
    padding: 20px;
}
.caution-box p {
    margin-bottom: 0;
    font-weight: bold;
    padding-left: 30px;
}
.caution-box img {
    max-width: 60px;
}
.process .process-h{
    font-size: 15px;
}
.process .flexbox .item p.proce02 {
    font-weight: bold;
    text-align: center;
    font-size: 16px;
    padding: 20px 10px 0;
    color: #168da5
}
.process .flexbox .item p {
    padding: 20px 10px;
}
.process .flexbox .item p{
    position: relative;
    padding-top: 10px;
    margin-top: 0;
    font-size: 14px;
    line-height: 1.7;
}
.process .flexbox .item img {
    padding-top: 5px;
    display: block;
}
.process.long .item_wrap{
    background-color: rgba(255, 255, 255, 0.45);
    box-shadow: 1px 1px 5px rgba(51 51 51 / 20%);
    margin: 0 auto 20px;
}
.process.long .item_wrap .flexbox .item {
    box-shadow: none;
}
.process.long .item_wrap p{
    padding: 25px 0 20px 20px;
    margin-top: 0;
    font-size: 14px;
    line-height: 1.7;   
}
.process.long .flexbox .item{
    background: none;
}
.process.long .flexbox .item img {
    padding-top: 0;
}
.process.long .flexbox .item::before, 
.process.long .flexbox .item::after{
    display: none;
}
.process.long .flexbox .item.row3 {
    margin: 0 0 0;
    padding: 10px 0;
}
@media (min-width: 1200px){
    section.process .container, section.menu .container {
        max-width: 1300px;
    }
}
@media screen and (max-width:767px) {
    .flexbox.nowrap{
        flex-wrap: wrap;
    }
    .process .flexbox .item{
        margin: 0 0 30px;
    }
    .process.long .flexbox .item.row7{
        margin: 0 0 0px;
    }  
    .process .flexbox .item img {
        margin: auto;
    }
    .process.long .item_wrap p {
        padding: 25px 15px 25px;
    }
 
}
@media screen and (max-width:600px) {
    .signs .sign-h {
        font-size: 13px;
    }
    .signs .item figure img{
        min-width: 100%;
        width: 100%;  
    }
    .signs .item .sizuku, .cause .item .sizuku {
        left: -15px;
        height: 45px;
        width: 45px;
        padding: 3px;
    }
    .signs .sign-h {
        padding: 12px 8px 12px 35px;
    }
    .signs .sizuku img, .cause .sizuku img {
        width: 18px;
    }
    .signs .sizuku span, .cause .sizuku span {
        font-size: 10px;
        line-height: 1.4em;
    }
    .invest .sign-h{    
        width: 74px;
        height: 74px;
    }
    .invest .sign-h span{
        font-size: 13px;
    }
}
.process_rows .flexbox .item{
    position: relative;
    z-index: 0;
}
.process_rows .flexbox{
    padding: 0 15px 15px
}
.process_rows .rows {
    position: relative;
    margin-bottom: 30px;
    border: 1px solid rgba(224, 224, 224);
    border-radius: 10px;
    background: #fff;
}

.process_rows .row9{
    padding: 20px 20px 20px 10px;
    width: calc(100% - 120px);
}
.process_rows .row9 .flexbox {
    flex-wrap: nowrap;
}
.process_rows .rows p {
    padding: 0px 0px 10px 0;
    line-height: 1.7em;
    margin-bottom: 0;
}
.process_rows .rows::before,
.process_rows .rows::after{
    content: '';
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    left: 0;
    right: 0;
    margin: auto;
    border-right: 15px solid transparent;
    border-left: 15px solid transparent;
}
.process_rows .rows::before{
  bottom: -15px;
  border-top: 15px solid rgba(224, 224, 224);
}
.process_rows .rows::after{
  bottom: -13px;
  border-top: 15px solid #fff;
}
.process_rows .rows:last-child::before,
.process_rows .rows:last-child::after {
    display: none;
}
.process_rows .rows .item.row1{
    background: #59c884;
    border-radius: 50%;
    height: 100%;
    width: 100px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-left: 15px;
}
.process_rows .rows .process-h{
    font-size: 18px;
    font-weight: bold;
    padding: 20px 10px 5px;
    text-align: left;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.process_rows .process-h span.step{
    font-size: 13px;
    font-family: "Montserrat", serif;
    padding: 2px 10px;
    letter-spacing: 0.08em;
    background: #59c884;
    display: flex;
    margin-right: 10px;
    color: #fff;
}
.process_rows .process-h span.num {
    font-size: 18px;
    margin-left: 5px;
}
@media screen and (max-width:767px) {
    .process_rows .rows .row7 p {
        padding-left: 0px;
    }
}
.process_rows .rows .flow-txt {
    padding-right: 10px;
    width: 70%;
}
.process_rows .rows figure{
    width: 30%;
}
@media screen and (max-width:767px) {
    .process_rows .rows .row7 p {
        padding-left: 0px;
    }
    .process_rows .rows .process-h {
        padding: 10px 20px 0;
    }
    .process_rows .row9 .flexbox {
        display: block;
    }
    .process_rows .rows .flow-txt {
        padding-right: 0px;
        width: 100%;
    }
    .process_rows .rows figure{
        width: 100%;
    }
    
}
#banners {
    padding: 0 0 0px;
}
#banners .banner {
    transition: 0.3s all ease;
}
#banners .banner:hover {
    background: rgba(11, 32, 109, 0.8);
}
.banner-img {
    position: relative;
    height: 100%;
    overflow: hidden;
}
.banner-img::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  width: 100%;
  height: 100%;
    transition: 0.3s all ease;
}
.banner:nth-child(1) .banner-img::before {
  background: rgba(1, 156, 150, 0.5);
}
.banner:nth-child(2) .banner-img::before {
  background: rgba(2, 124, 201, 0.5);
}
.banner:nth-child(1) .banner-img:hover::before {
  background: rgba(1, 156, 150, 0.2);
}
.banner:nth-child(2) .banner-img:hover::before {
  background: rgba(2, 124, 201, 0.2);
}
.banner-img p {
    font-size: 20px;
    padding: 40px 0px 10px;
    text-align: center;
    font-weight: bold;
    z-index: 5;
    position: relative;
    color: #fff;
}
.banner-img p span {
    font-size: 15px;
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    letter-spacing: 0.1em;

}
#banners p.banner-text {
    font-size: 14px;
    line-height: 1.7;
    padding: 0px 30px 30px;
    text-align: center;
    color: #fff;
    font-weight: 500;    
}
@media screen and (max-width: 767px) {
    .banner-img p.sub-caption {
        padding: 45px 0px 30px;
     }
}
/*--------------------------------資格-----------------------------------*/
.certification .flexbox.row4.margin .item{
    position: relative;
    background: rgba(255,255,255,0.6);
    margin-bottom: 20px;
}
.certification .flexbox .item figure{
    width: 80%;
    margin: 15px auto 10px;
}
.certification .process-h{
    background: rgba(232, 232, 232, 0.8);
    color: #333;
    font-size: 16px;
    line-height: 1.6em;
}
.material .flexbox.row3.margin .item,
.toso_merit .flexbox.row2.margin  .item{
    position: relative;
    margin-bottom: 40px;
    padding-bottom: 10px;
    width: 100%;
    z-index: 0;
}

.material .flexbox .item::before {
    width:　95%;
}

.material_item, .material .flexbox.row4 .item {
    margin-bottom: 30px;
}
.material_txt{
    
}
.material .flexbox .item.material_txt p{
    padding: 15px 20px 15px;
}  
.material .flexbox .item p,
.toso_merit .flexbox .item p{
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.8;
    padding: 0 10px 10px;
}
.material .flexbox .item p .bold { 
    padding-left: 20px;
}
.material .flexbox .item p i {    
    display: inline-block;
    position: absolute;
    top: 18px; 
    left: 10px;
}
.material .flexbox .item p i.maru {
    color: #f8c806;
    font-size: 16px;
    padding-right: 2px;
}
.material .flexbox .item p i.batsu {
    color: #666;
    font-size: 18px;
    padding-right: 4px;
}
.material_txt p{
    padding: 5px 15px 20px 0px;
    margin: 10px auto 0;
    font-size: 14px;
    line-height: 1.8;
}
.merit {
    background-color: #fdedf0;
    padding-top: 15px;
}
.demerit {
    background-color: #e7f7ff;
    padding-top: 15px;
}
.staff_img {
    text-align: center;
}
.staff_img img {
    width: 220px;
	height: 220px;
	object-fit:cover;
	border-radius:50%;
}
.staff_text {
    margin-top: -25px;
    border: 1px solid rgba(224, 224, 224);
    padding-bottom: 10px;
}
.staff_text .sign-h {
    color: #fff;
    background-color: #59c884;
    font-size: 16px;
    padding: 8px 5px;
    margin: 0 0 10px;
}
.staff_text .sign-h::after {
    display: none;
}
dl.profile {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    width: 100%;
}
dl.profile dt , dl.profile dd {
    font-size: 14px;
    padding: 3px 5px;
    line-height: 1.4;
}
dl.profile dt {
    width: 43%;    
    font-weight: bold;    
    display: flex;
    align-items: center; 
    padding: 0 5px 0 15px;
}
dl.profile dd {
    width: 57%;
    font-weight: 500;    
}
@media screen and (max-width:767px) {
    .staff_img img {
        width: 300px;
        height: 300px;
    }
    .material .flexbox .item.row7 p{
        padding: 15px 0px 15px;
    }
    .material .flexbox.row3 .item p {
        padding: 0 10px 10px;
    }
}

#paints .left img {
    max-width: 180px;
}
#paints .block p {
    font-size: 15px;
    line-height: 1.8;
}
.paint_ex img {
    text-align: center;
    margin: 30px auto;
    display: block;
}
.paint-wrap{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 30px auto 0;
}
.maker-wrap {
    width: 100%;
    margin: 20px auto 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
}
.maker-wrap a {
    width: 32%;
    margin-bottom: 10px;
}
.chusyaku {
    position: absolute;
    bottom: -35px;
    right: 0;
    font-size: 13px;
}
.paint-inner {
    margin: 0 auto 40px;
    background: rgba(255, 255, 255, 0.8);
    padding: 0 0 15px;
    text-align: left;
    position: relative;
    border-radius: 10px;
    border: 1px solid rgba(224, 224, 224);
}

.paint-wrap .item.row8 p {
    margin-top: 15px;
}
.paint-inner .left{
    width: 25%;
    padding: 0 10px;
    text-align: center;
}
.paint-inner .flexbox{
    justify-content: center;
    align-items: center;
}
.paint-inner .left img{
    display: block;
    margin: 0 auto 5px;
    max-width: 100%;
}
.paint-inner .right{
    width: 75%;
    padding: 30px 5px 10px;
}
.paint-inner h3 {
    width: 100%;
    font-size: 19px;
    line-height: 1.4em;
    color: #fff;
    text-align: center;
    letter-spacing: 0;
    margin: 0;
    padding: 10px;
    background: #59c884; 
    border-radius: 10px 10px 0 0 ;
}
.paint-inner h3 span{
    font-size: 18px;
    padding-right: 0.5rem;
}
.paint-inner .right dl{
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.paint-inner .right dl dt{
    font-size: 15px;
    font-weight: bold;
    margin: 0 auto 5px;
    padding: 5px 0 5px;
    border-bottom: 1px solid #999;
    width: 15%;
}
.paint-inner .right dl dd{
    font-size: 14px;
    padding: 5px 0 5px;
    line-height: 1.7;
    margin: 0 auto 5px;
    width: 85%;
    border-bottom: 1px solid #999;
}

@media screen and (max-width:767px) {
    #paints .block p {
        font-size: 14px;
        line-height: 1.9;
    }
    .paint-wrap {
        margin: 0px auto 0;
    }
    .paint-inner {
        display: flex;
        flex-wrap: wrap;
        margin: 0 auto 30px;
    }
    .paint-wrap .item.row2 {
        margin-top: 30px;
    }
    .paint-wrap .item.row8 p {
        margin-top: 15px;
    }
    .item.row2, .item.row8{
        width: 100%;
        max-width: 100%;
    }
    .paint-inner .left {
        width: 100%;
        margin: 0 auto 10px;
    }
    
    .paint-inner .left img {
        max-width: 70%;
    }
    .paint-inner .right {
        width: 100%;
        padding: 0px 5px 10px;
    }
    .paint-inner h3 {
        margin: 0 auto 20px;
        font-size: 17px;
    }
    .paint-inner .right h3 span {
        font-size: 13px;
    }
    .paint-inner .right dl {
        padding: 0 10px;
    }
    .paint-inner .right dl dt {
        width: 100%;
        margin: 0 auto 0px;
        padding: 5px 0 0px;
        border-bottom: 0px solid #999;
    }
    .paint-inner .right dl dd{
        width: 100%;
    }
    .contact_list {

    }
    .contact_list li {
        display: inline-block;
    }
    .contact_list li i{
        font-size: 36px;
    }
    .contact_list li.phone i {
        color: #ff8338;
    }
    .contact_list li.mail i {
        color: #00a753;
    }
    .contact_list li.line i {
        color: #07b901;
    }    
}

@media screen and (max-width:400px) {
    .contact_list {
        right: 45px;
    }
    .contact_list li {
        padding: 0 4px;
    }
    .contact_list li i {
        font-size: 32px;
    }
}
@media screen and (max-width:320px) {
    .paint-wrap .right p {
        font-size: 14px;
    }
    .paint-inner .right h3 {
        font-size: 16px;
    }
    .paint-inner .right h3 span {
        font-size: 12px;
    }
    .paint-inner .right dl dd {
        font-size: 13px;
    }
}
/*--------------------------------保証-----------------------------------*/
section.guarantee{
    position: relative;
    display: block;
}
.guarantee-txt {
    display: flex;
    align-items: center;
}
.guarantee-txt .img {
    max-width: 100%;
}
.guarantee-txt .text {

}
table.center {
    width: 90%;
    border-collapse: collapse;
}
table.center th, table.center td{
    text-align: center;
    padding: 5px;
    border: 1px solid #000;
}
table.center th {
    background-color: rgba(2, 124, 201, 0.1);
}
.guarantee .flexbox .item p {
    line-height: 1.7;
    margin-top: 10px;
}
.guarantee ul {
    list-style-type: none;
    line-height: 1.9;
    margin-bottom: 10px;
}
.guarantee ul.strong li {
    font-weight: bold;
}
.guarantee .process .container {
    width: 100%;
}
.guarantee .process .flexbox .item:nth-child(5)::after{
    display: none;
}

@media screen and (max-width:1024px) {
    .guarantee-wrap {
        padding: 0;
    }
    .guarantee-txt .text{
        font-size: 14px;
    }
    .guarantee-txt .img {

    }
}
@media screen and (max-width:767px) {
    .guarantee-txt {
        display: block;
    }
    .guarantee-txt .img {
        width: 50%;
        display: block;
        margin: 0 auto 20px;
    }
    table.center {
        width: 100%;
    }
    .guarantee-txt .text {
        width: 100%;
        padding: 0;
    }
    .guarantee .menu-inner {
        display: block;
        width: 48%;
        max-width: auto;
        max-width: initial;
        margin: 0 auto 20px;
    }
    .guarantee .menu-inner:nth-child(6) h3 {
        font-size: 15px;
        letter-spacing: 0.5px;
    }
    .insurance-wrap h4 {
        margin: 30px auto 10px;
    }
    .case .flexbox .flexbox.row2.margin .item {
        flex-basis: 49%;
        max-width: 49%;
        margin: 0 0 0px;
    }
    .case .flexbox.flex-start {
        justify-content: space-between;
    }
    .flexbox.row5 img {
        width: 49%;
    }
}
@media screen and (max-width:400px) {
    .guarantee .menu-inner:nth-child(even) h3 {
        font-size: 15px;
        letter-spacing: 0.3px;
    }
    .guarantee .menu-inner:nth-child(6) h3 {
        font-size: 13px;
        letter-spacing: 0px;
        padding: 5px 0px 0px;
    }    
}
@media screen and (max-width:320px) {
    .guarantee-txt p {
        width: 100%;
        font-size: 14px;
    }
}

.kougei .flexbox.row4.margin .item {
    margin: 0 0.5% 20px;
}
.certification .flexbox .item figure {
    width: 80%;
    margin: 15px auto 10px;
}
.contact-wrap {
    max-width: 840px;
    margin: auto;
}
.contact-wrap .item {
    display: flex;
    align-items: center;
}
.contact-wrap .tel-wrap p, 
.contact-wrap .tel-wrap p a{
    margin-top: 0;
    color: #fff;
    display: block;
}
.contact-wrap .tel-wrap span {
    font-size: 2em;
    line-height: 1.2;
    font-weight: bold;
    letter-spacing: 0.05em;
}
.contact-wrap .tel-wrap p a:hover{
    color: #333;
}
.contact-wrap .tel-wrap i {
    position: relative;
    top: -5px;
    margin-right: 5px;
}
.contact-wrap .mail-wrap {    
    text-align: center;
    font-weight: bold;
    background: #d0121c;
    justify-content: center;
    transition: all 0.3s ease;
    }
.contact-wrap .mail-wrap a{
    height: 100%;
    width: 100%;
    padding: 20px 40px;
}
.contact-wrap .mail-wrap p {
    display: block;
    color: #fff;
    margin-bottom: 0;
    transition: all 0.3s ease;
    font-size: 18px;
    line-height: 1.4em;
}
.contact-wrap .mail-wrap a:hover {
    background: #fff;
}
.contact-wrap .mail-wrap a:hover p {
    color: #ec747a;
}
.contact-wrap .tel-wrap {
    display: block;
    color: #fff;
    background: #168da5;
    transition: all 0.3s ease;
}
.contact-wrap .tel-wrap:hover {
    background: #fff;
}
.contact-wrap .tel-wrap:hover p {
    color: #168da5;
}
.contact-wrap .tel-wrap a {
    padding: 18px 20px;
    display: block;
}
.contact-bnr {
    width: 95%;
    margin: auto;
    background-color: #fff;
    border-radius: 10px;
    border: 2px solid #168da5;
}
.contact-bnr.img-bnr {
    border: 0px solid #168da5;
    background-color: transparent;
    border-radius: 0px;
}
.contact-bnr picture img {
    display: block;
    text-align: center;
    margin: auto;
}
.contact-bnr p {
    line-height: 1.4em;
}
.contact-header {
    background: #168da5;
    font-weight: bold;
    font-size: 18px;
    padding: 10px 5px;
    border-radius: 10px 10px 0 0;
    text-align: center;
    color: #fff;
}
.contact-header span {
    background:#f8c806;
    display: inline-block;
    margin-left: 10px;
    color: #fff;
    font-weight: bold;
    font-size: 15px;
    padding: 5px 10px;
}
.contact-bnr p .tel{
    font-size: 30px;
    color: #d0121c;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3em;
}
.contact-bnr .tel-wrap,
.contact-bnr .mail-wrap {
    display: block;
    text-align: center;
    margin: 0 auto 25px;    
    font-weight: bold;
    justify-content: center;
    transition: all 0.3s ease;
}
.contact-bnr .tel-wrap{
    padding: 6px 0px;
    border: 3px solid #168da5;
 }
.contact-bnr .tel-wrap p .tel{
    font-size: 28px;
    color: #168da5;
}
.contact-bnr .tel-wrap p a {

}
.contact-bnr .tel-wrap p {
    margin-bottom: 0;
}
.contact-bnr .mail-wrap {
    border: 3px solid #f8c806;
    background-color: #f8c806;
}
.contact-bnr .mail-wrap a,
.contact-bnr .contact-tel-wrap a{
    padding: 15px 20px;
    display: block
}
.contact-bnr .mail-wrap p {
    font-size: 15px;
    line-height: 1.4em;
    display: inline-block;
    color: #fff;
    margin-bottom: 0;
}
.contact-bnr .mail-wrap:hover {
    background: rgb(248, 200, 6, 0.7);
}
.contact-bnr .mail-wrap:hover p {
   color: #fff;
}
.contact-bnr .contact-tel-wrap.line {
    width: 100%;
    padding: 0;
}
.contact-bnr .contact-tel-wrap a span {
    font-size: 15px;
}
.contact-bnr .contact-tel-wrap a i {
    display: inline;
    font-size: 17px;
    padding-right: 5px;
}
@media screen and (max-width:767px) {
    .profile .item.row3, .profile .item.row5 {
        margin-bottom: 10px;
    }
    .kougei .flexbox.row4.margin .item,
    .kougei .flexbox.row3.margin .item{
        flex-basis: 49%;
        max-width: 49%;
        position: relative;
        margin: 0 0 15px;
    }
    .profile .qa-wrap dl dd {
        font-size: 14px;
    }
    .certification .flexbox .item figure {
        width: 100%;
        margin: 15px auto 0;
    }
    .contact-wrap {
        width: 100%;
        margin: auto;
    }
    .flexbox.row2 .item.mail-wrap {
        margin: 0 0 20px;
    }
    .contact-wrap .mail-wrap {
        min-height: 80px;
    }
    .contact-wrap .tel-wrap {
        padding: 10px 10px;
        margin: 8px 0 15px;
    }
    .contact-wrap .tel-wrap p {
        text-align: center;
    } 
    .contact-wrap .tel-wrap a {
        padding: 13px 0;
    }
    .contact-wrap .mail-wrap a{
         padding: 20px 20px;
    }
    .contact-bnr {
        width: 100%;
        text-align: center;
    }
    .contact-bnr p {
        margin-bottom: 10px;
    }
    .contact-bnr .contact-header {
        margin-bottom: 20px;
        font-size: 17px;
        padding: 10px 10px;
    }
    .contact-bnr .mail-wrap {
        margin: 0 auto 0px;
    }
    .contact-bnr .flexbox.row3 .item.tel {
        margin: 0 0 15px;
    }
}
/*--------------------------------カラー-----------------------------------*/
section.color{
    position: relative;
    display: block;
}
.color-wrap{
    padding: 0;
}
.color-txt {
    display: block;
}
.color-txt img {
    display: block;
    max-width: 100%;
    margin: 0 auto 20px;
}
.color-txt p {
    padding: 0 2%;
    margin: 0 auto 20px;
}
@media screen and (max-width:1024px) {
    .color-wrap {
        padding: 0;
        margin: 0 calc(100vw*0/16) 0;
    }
}
@media screen and (max-width:767px) {
    section.color {
        position: relative;
        display: block;
    }
    .color-wrap {
        padding: 0;
        margin: 0;
    }
    .color-txt p {
        padding: 0;
        margin: 0 auto 20px;
        text-align: left;
    }
}
@media screen and (max-width:320px) {
    .color-txt p {
        font-size: 14px;
    }
}
.cs-step-wrap{
    margin: 50px auto 0;
    width: 100%;
}
.cs-step-inner {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 1% 40px;
    background-color: rgba(255, 255, 255, 0.45);
    box-shadow: 1px 1px 5px rgba(51 51 51 / 20%);
    border-radius: 10px;
}
.cs-step-inner::before {
    position: absolute;
    content: "";
    left: 0;
    right: 0;
    bottom: -40px;
    margin: auto;
    box-sizing: border-box;
    transform: rotate(90deg);
    width: 20px;
    height: 15px;
    border: 15px solid transparent;
    border-left: 15px solid #168da5;
}
.cs-step-inner:nth-child(3):before {
    display: none;
}
.cs-step-inner .left{
    position: relative;
    width: 100%;
    background-color: #168da5;
    border-radius: 10px 10px 0 0 ;
}

.cs-step-inner .left p span.step{
    display: block;
    position: absolute;
    left: 0;
    background: #f8c806;
    height: 100%;
    width: 120px;
    top: 0;
    border-radius: 10px 0 0 0 ;
}
.cs-step-inner .left p span.step span {
    position: absolute;
    top: 50%;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: bold;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    text-align: center;
    margin: auto;
}
.cs-step-inner .middle{
    width: 30%;
}
.cs-step-inner .middle img{
    max-width: 100%;
    padding: 40px 60px 30px;
}
.cs-step-inner .right{
    width: 70%;
    padding: 20px 15px 15px;
    margin: 10px auto 15px;
}
.cs-step-inner .right p{
    margin: 0;
}
.cs-step-inner .right a{
    color: #523016;
}
.cs-step-inner .right a:hover{
    transition: 0.3s;
    opacity: 0.7;
}
@media screen and (max-width: 1024px) {
    .cs-step-inner .right p{
      font-size: 13px;
    }
    .cs-step-inner .left p span {
      font-size: 2em;
    }
    .cs-step-inner .middle img {
      padding: 10px;
    }

    .cs-step-inner .right a {
      font-size: 14px;
    }
    .cs-step-inner .left p span.step{
        width: 90px;
    }
    .cs-step-inner .left p span.step span {
        font-size: 16px;
    }
  }
@media screen and (max-width: 767px) {
    .cs-step-inner::before {
        -webkit-transform: rotate(90deg);
        transform: rotate(90deg);
        left: 0;
        right: 0;
        margin: auto;
        bottom: -30px;
        top: auto;
        width: 10px;
    }
    .cs-step-wrap {
        margin: 40px auto 0;
        width: 100%;
        display: block;
    }
    .cs-step-inner {    
        margin: 0 1% 30px;
    }
    .cs-step-inner .left {
     }
    .cs-step-inner .left p {
         text-align: center;
         font-size: 18px;
    }
    .cs-step-inner .left p span {
        font-size: 1.6em;
        line-height: 1em;
    }
    .cs-step-inner .middle {
        width: 55%;
        margin: 60px auto 0;
    }
    .cs-step-inner .right {
        width: 100%;
        padding: 0 15px 15px;
        margin-top: 0;
    }
    .cs-step-inner .right a {
      font-size: 14px;
      padding-top: 10px;
      display: block;
    }
    .cs-step-inner .left p span.step{
        width: 75px;
    }
    .cs-step-inner .left p span.step span {
        font-size: 15px;
    }
  }
/*--------------------------------インスタ-----------------------------------*/
section.insta{
    width: 100%;
    position: relative;
    display: block;
    margin: 0 auto calc(100vw*1.2/16);
}

@media screen and (max-width:767px) {
    section.insta {
        width: calc(100vw*14/16);
        position: relative;
        display: block;
        margin: 0 auto calc(100vw*2/16);
    }
}
/*--------------------------------豆知識-----------------------------------*/
ul.know-list {
    margin: 0px auto 60px;
    width: 100%;
}
ul.know-list a {
    display: block;
}
ul.know-list a:first-child {
    
}
ul.know-list a li {
    color: #333;
    font-size: 15px;
    padding: 15px;
    list-style: none;
    display:flex; 
    align-items: center;
}
.flexbox.row4.margin.know-list>.item {
    margin-bottom: 30px;
}
.know-list .news_title::before {
    display: none;
}
ul.know-list a li .img {
    font-size: 0;
}
ul.know-list a li img {
    width: 100px;
    margin-right: 10px;
    height: 100%;
}
.posting-wrap {
    width:100%;
    display: flex;
    margin-top: 60px;
}
.posting-wrap .right{
    width: 70%;
}
.posting-wrap .left{
    width: 20%;
    margin-left: 10%;
}
.posting-wrap h2 {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.4;
    margin-top: 60px;
    margin-bottom: 20px;
    text-align: center;
}
.kc-wrap h3 {
    font-size: 18px;
    margin: 30px auto 10px;
    padding: 0 0 10px;
    border-bottom: 1px solid #f57d05;
}
.posting-wrap p {
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 20px;
}
.kc-wrap img {
    max-width: 100%;
    width: 100%;
    height: auto;
}
.posting-sidebar h2 {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 23px;
    text-align: center;
    margin-top: 60px;
}
.posting-sidebar ul a li {
    list-style-type: none;
    color: #333;
    padding: 12px 5px;
    font-size: 14px;
    border-bottom: 1px dotted #ccc;
}
@media screen and (max-width:767px) {
    .posting-wrap .right{
        width: 100%;
    }
    .posting-wrap .left{
        width: 100%;
        margin-left: 0%;
    }
    .posting-wrap {
        flex-wrap: wrap;
    }
    ul.know-list {
        width: 100%;
    }
}
/*--------------------------------メールフォーム-----------------------------------*/
section.sub-heading form {
    margin: 5% auto 0;
}
.form-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px dotted #ccc;
}
p.form-label {
    display: inline-block;
    font-weight: bold;
    font-size: 16px;
    color: #333;
    width: 25%;
    margin: 0!important;
}
.questionnaire p.form-label {
    width: 30%;
    padding-right: 20px;    
}
.questionnaire .item-wrap {
    width: 64%;
}
.questionnaire textarea.form-control {
    height: 250px;
}
p.form-label span {
    font-size: 12px;
    padding: 1px 8px;
    margin-left: 15px;
    font-weight: 300;
    color: #fff;
    background: #ff3e3e;
    display: inline-block
}
.form-control {
    display: inline-block;
    width: 70%;
    height: 50px;
    padding: 5px 12px 6px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0 0 0 / 8%);
    box-shadow: inset 0 1px 1px rgba(0 0 0 / 8%);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
.form-group p.input-label {
    margin-bottom: 0px;
    padding-right: 1.5em;
}
.form-group .radio p.input-label {
    display: inline-block;
}
.form-control {
    display: inline-block;
    width: 70%;
    height: 35px;
    padding: 7px 12px 6px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: "游ゴシック", "YuGothic", "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, "メイリオ", Meiryo, sans-serif;
    -webkit-box-shadow: inset 0 1px 1px rgba(0 0 0 / 8%);
    box-shadow: inset 0 1px 1px rgba(0 0 0 / 8%);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
.item-wrap {
    width: 74%;
}
.item-wrap p.input-label{
    text-align: left!important;
    margin: 7px auto!important;
}
textarea.form-control {
    height: 150px;
}
input[type=submit] {
    margin-top: 30px;
    -webkit-appearance: button;
    cursor: pointer;
    padding: 28px 105px;
    border-radius: 0px;
    background: #168da5;
    color: #fff;
    border: 2px solid #168da5;
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    -webkit-transition: .5s all;
    -o-transition: .5s all;
    transition: .5s all;
}
input[type=submit]:hover{
    opacity: 0.7;
}
input[type=checkbox]{
    display: inline-block;
    vertical-align: middle;
}
form #textid.active {
    background-color:#FFF8E1;
    color: #000;
    box-shadow:0px 0px 5px rgba(84,189,245,1);
    caret-color: auto;
}
form #textid {
    height: 28px;
    padding: 6px 12px;
    background-color: #f4f4f4;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 50%;
    caret-color: transparent;
}
.border_box {
    padding: 10px 20px;
    border: 1px solid #168da5;
}
.contact-tel-wrap{
    width: 41%;
    background: #fff;
    display: block;
    margin: 0 auto 30px;
    padding: 15px 20px;
    text-align: center;
    border: 3px solid #168da5;
}
.contact-tel-wrap a {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.3em;
    color: #168da5;
    letter-spacing: 0px;
    padding: 0px 0;
    transition: 0.5s;
    display: block;
}
.contact-tel-wrap.line{
    border: 3px solid #00ca42;
    background: #00ca42;
}
.contact-tel-wrap.line a {
    color: #fff;
}
.contact-tel-wrap a span {
    font-size: 1.2rem;
    line-height: 1.4em;
}
.contact-tel-wrap p {
    font-size: 0.9rem!important;
    margin: 0!important;
    font-weight: bold;
    line-height: 1.2;
    padding: 0 5px;
    transition: 0.5s;
}
.contact-tel-wrap:hover {
    background: #168da5;
}
.contact-tel-wrap.line:hover {
    background: rgb(0, 202, 66, 0.7);
}
.contact-tel-wrap:hover a,.contact-tel-wrap:hover p{
    color: #fff;
}
.contact-line-wrap{
    width: 100%;
    display: block;
    margin: 0 auto 30px;
    text-align: center;
}
.contact-line-wrap img{
    max-width: 100%;
    transition: 0.5s;
}
.contact-line-wrap img:hover{
    opacity: 0.7;
}
ol.privacy {
    padding-left: 20px;
}
ol.privacy > li {
    margin-bottom: 10px;
}
@media screen and (max-width:1024px) {
    section.sub-heading form {
        margin: 10% auto 7%;
    }
    p.form-label {
        width: 30%;
        margin: 0!important;
        font-size: 14px!important;
    }
    .form-control {
        display: inline-block;
        width: 65%;
        height: 30px;
    }
    p.form-label span {
        margin-left: 7px;
    }
    .item-wrap {
        width: 69%;
    }
    .item-wrap p.input-label {
        margin: 5px auto!important;
    }
    .contact-tel-wrap {
        width: 60%;
    }
}
@media screen and (max-width:767px) {
    section.sub-heading form {
        margin: 50px auto 20px;
    }
    p.form-label, .questionnaire p.form-label {
        width: 100%;
        margin: 0 0 10px!important;
        font-size: 15px!important;
    }
    .questionnaire .item-wrap {
        width: 100%;
    }
    .form-control {
        display: inline-block;
        width: 100%;
        height: 30px;
        padding: 9px 10px 8px;
    }
    p.form-label span {
        margin-left: 10px;
    }
    .item-wrap {
        width: 100%;
    } 
    form #textid {
        width: 100%;
    }
    .item-wrap p.input-label {
        margin: 7px auto!important;
        display: block;
    }
    input[type=submit] {
        margin: 10px auto;
        text-align: center;
        max-width: 100%;
        padding: 25px 75px;
    }
    p#form_submit {
        text-align: center!important;
    }
    .contact-tel-wrap {
        width: 90%;
        max-width: 100%;
        padding: 10px;
    }
    .contact-tel-wrap a {
        font-size: 1.2rem;
    }
    .contact-tel-wrap a span {
        font-size: 16px;
    }
    .contact-tel-wrap p {
        margin: 0!important;
        text-align: center!important;
    }
    .contact-line-wrap {
        margin: 0 auto 25px;
    }
}
/*--------------------------------会社概要-----------------------------------*/
.datawrap {
    display: block;
    position: relative;
    margin: 0 auto 20px;
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;
    background: rgba(255,255,255,0.8);
}
.datawrap dl{
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px solid #d3d3d3;
}
.datawrap dl.title {
    background: rgba(2, 124, 201, 0.5);
}
.datawrap dl.title dt,
.datawrap dl.title dd{
    color: #fff;
    text-align: center;
    font-weight: bold;
    padding: 5px 15px;
}
.datawrap dl dt{
    width: 25%;
    padding: 14px 15px;
    font-weight: bold;
    color: #168da5;
}
.datawrap dl dd{
    width: 65%;
    padding: 14px 15px;
}

.datawrap.row3 dl dt{
    width: 20%;
    font-weight: bold;    
}
.datawrap.row3 dl dd:nth-child(2){
    width: 65%;
}
.datawrap.row3 dl dd:nth-child(3){
    width: 15%;
    font-weight: bold;
    position: relative;
}
.datawrap dl:last-child{
    border: none;
}
.datawrap.row4 dl dt{
    width: 20%;
    font-weight: bold;    
}
.datawrap.row4 dl dd:nth-child(2){
    width: 52%;
    font-size: 14px;
    line-height: 1.6em;
}
.datawrap.row4 dl dd:nth-child(3){
    width: 10%;
    font-weight: bold;
}
.datawrap.row4 dl dd:nth-child(4){
    width: 18%;
    font-weight: bold;
    text-align: right;
}
.datawrap.row4 dl dd.price{    
    color: #f02c3a;    
}
@media screen and (max-width:1024px) {
    .datawrap dl {
        width: 100%;
    }
    .datawrap dl dt {
        width: 20%;
    }
    .datawrap dl dd {
        font-size: 14px;
    }
    .datawrap {
        display: block;
        position: relative;
        margin: 50px 0 70px;
    }
}
@media screen and (max-width:767px) {
    .datawrap {
        display: block;
        position: relative;
        margin: 40px 0 40px;
    }
    .datawrap dl dt, .datawrap.row3 dl dt {
        width: 100%;
        padding: 10px 10px 6px 10px;
        border-bottom: 1px dotted #ccc;
    }
    .datawrap dl.title {
        display: none;        
    }
    .datawrap dl dd,
    .datawrap.row3 dl dd:nth-child(2),
    .datawrap.row3 dl dd:nth-child(3),
    .datawrap.row4 dl dd:nth-child(2),
    .datawrap.row4 dl dt,
    .datawrap.row4 dl dd:nth-child(3),
    .datawrap.row4 dl dd:nth-child(4){
        width: 100%;
        padding: 6px 10px 10px 10px;
    }
    .datawrap.row4 dl dt {
        padding: 10px 10px 6px 10px;
    }
    .datawrap.row3 dl dd:nth-child(3){
        padding: 0px 10px 10px 90px;
    }
    .datawrap.row4 dl dd:nth-child(3){
        padding: 0px 10px 0px 90px;
    }
    .datawrap.row3 dl dd:nth-child(3):before,
    .datawrap.row4 dl dd:nth-child(3):before{
        content: "耐久年数：";
        position: absolute;
        left: 10px;
        display: block;
      }
    .datawrap.row4 dl dd.price {
        padding: 0px 10px 10px 10px;
    }
}
/*--------------------------------よくある質問-------------------------------------*/
.qa-wrap{
    display: block;
    position: relative;
    margin: 30px auto 30px;
}
.qa-wrap dl dt {
    font-size: 17px;
    font-weight: bold;
    padding: 22px 0 20px 70px;
    border-bottom: 1px solid rgba(67, 182, 208, 0.2);
    position: relative;
    cursor: pointer;
}
.qa-wrap dl .item dt {
    padding: 10px 0 20px 55px;
    pointer-events: none;
}
.qa-wrap dl .item dt:hover {
    background-color: transparent;
}
.qa-wrap dl#acMenu .item dd{
    visibility: visible;
    height: auto;
    opacity: 1;
    padding: 10px 10px 10px 55px;
    font-size: 14px;
}

.qa-wrap dl .item dt span,
.qa-wrap dl#acMenu .item dd span{
    font-size: 16px;
    width: 34px;
    height: 34px;
}
.qa-wrap dl#acMenu .item {
    padding: 20px 10px;
    background: #fff;
    margin-bottom: 30px;
}

.qa-wrap dl#acMenu dd.active{
    padding: 10px 50px 22px 70px;
    visibility: visible;
    height: auto;
    opacity: 1;
    border-bottom: 1px solid rgba(67, 182, 208, 0.2);
    background-color: rgb(22, 141, 165, 0.1);;
}
.qa-wrap dl dt:hover {
    background-color:rgb(22, 141, 165, 0.1);
}
.qa-wrap dl dt.active {
    padding: 26px 0 15px 70px;
    border-bottom: 0px solid rgba(67, 182, 208, 0.2);
    background-color: rgb(22, 141, 165, 0.1);
}
.qa-wrap .middle-heading {
    margin: 40px 0 10px 5px;
    font-size: 18px;
}
.qa-wrap dl dt span,
.qa-wrap dl#acMenu dd span{
    position: absolute;
    top: 50%;
    transform: translateY(-50%); 
    color: #fff;
    font-size: 20px;
    line-height: 1.4em;
    font-weight: bold; 
    padding: 0 5px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-align: center;    
    left: 10px; 
}
.qa-wrap dl dt span {
    background: #168da5;
}
.qa-wrap dl#acMenu dd span {
    background: #59c884;
    top: 40%;
}
.qa-wrap dl dt.active span {
    top: 60%;
}
.qa-wrap dl dt span::before{
    position: absolute;
    content: "Q";
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%
}
.qa-wrap dl#acMenu dd span::before{
    position: absolute;
    content: "A";
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
}
.qa-wrap dl#acMenu dd{
    padding: 0px;
    margin: 0px;
    visibility: hidden;
    height: 0;
    opacity: 0;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
    position: relative;
    line-height: 1.9;
}
.qa-wrap dl#acMenu dd .link-wrap {
    text-align: left;
}
.qa-wrap dl#acMenu dd .link-wrap p a {
    padding: 15px 50px 14px 25px;
}
.qa-toggle_title.selected .qa-toggle_btn:before {
	content: normal;
}
.qa-wrap dl dt span.qa-toggle_btn {
    left: auto;
    right: 5px;
    background: #fff;
    border-radius: 0;
}
.qa-wrap dl dt span.qa-toggle_btn:before,
.qa-wrap dl dt span.qa-toggle_btn:after {
    display: block;
    content: '';
    background-color: #168da5;
    position: absolute;
    width: 15px;
    height: 1px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all .3s ease;
}
.qa-wrap dl dt span.qa-toggle_btn:before {
	width: 1px;
	height: 15px;
    border: none;
}
.qa-wrap dl dt.active span.qa-toggle_btn:before {
    display: none;
}
/*--------------------------------プロフィール-----------------------------------*/
.profile .qa-wrap dl .item dt {
    padding: 0px 0 5px 50px;
    position: relative;
    width: 100%;
    color: #168da5;
    position: relative;
}
.profile .qa-wrap dl dt::after {
    position: absolute;
    content: '';
    height: 2px;
    width: 40px;
    top: 0.65em;
    left: 0;
    background-color: #168da5;
}
.profile .flexbox{
    margin: 30px auto;
}
.profile .qa-wrap dl dd {
    padding: 10px 0;
    margin: 0 0 0px;
    line-height: 1.7em;
}
@media screen and (max-width:1024px) {
    .qa-wrap {
        width: 100%;
        margin: 30px auto 30px;
    }
}
@media screen and (max-width:767px) {
    .qa-wrap dl dt {
        font-size: 15px;
        line-height: 1.4;
    }
    .qa-wrap dl dd {
        padding: 10px 5px;
    }
}
@media screen and (max-width:767px) {
    .qa-wrap dl dt span{  
        font-size: 18px;           
        padding: 0 5px;
        width: 30px;
        height: 30px;
        left: 0px;
    }
    .qa-wrap dl#acMenu dd.active span {
        font-size: 20px;
        width: 30px;
        height: 30px;
        left: 0;
        font-size: 13px;
    }
    .qa-wrap dl dt {
        padding: 15px 34px 15px 40px;
    }
    .qa-wrap dl dt.active {
        padding: 20px 0 10px 53px;
    }

    .qa-wrap dl#acMenu dd {
        line-height: 1.7;
        font-size: 14px;
    }
    .qa-wrap dl#acMenu dd.active {
        padding: 10px 10px 20px 43px;
    }
}
/*--------------------------------料金一覧-------------------------------------*/
section.price{

}
section.price h2 {
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
    margin: 0 auto 20px;
}
section.price p {
    font-size: 14px;
    margin: 15px auto 50px;
    line-height: 1.7;
}

.price-wrap dl{
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    font-family: "游ゴシック", "YuGothic", "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, "メイリオ", Meiryo, sans-serif;
    border-bottom: 1px solid #222;
}
.price-wrap dl dt{
    width: 22%;
    padding: 20px 5px 20px 15px;
    font-weight: bold;
    font-size: 16px;
}
.price-wrap dl dd{
    width: 50%;
    padding: 20px 5px;
    font-size: 14px;
    line-height: 1.7;
}
.price-wrap dl dd.prc{
    width: 20%;
    padding: 20px 5px 20px 5px;
    font-size: 15px;
    text-align: right;
}
.price-wrap dl:last-child {
    border: none;
}

.price-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 50px auto 40px;
    background: rgb(255 255 255 / 40%);
    padding: 0;
    border: 1px solid #E2E2E2;
    border-radius: 10px;    
}
.price-head h3 {
    display: block;
    width: 100%;
    background: #59c884;
    text-align: center;
    font-size: 18px;
    color: #fff;
    line-height: 1.4; 
    padding: 14px 0 15px;
    position: relative;
    border-radius: 10px 10px 0 0;
}
.price-head .no1 {
    position: absolute;
    left: -10px;
    top: -15px;
    font-size: 14px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f8c806;
    color: #fff;
    padding: 20px 10px;
}
.price-head .left {
  width: 40%;
}
.price-content img {
  max-width: 100%;
  display: block;
  margin: 0 auto 20px;
}
.price-head .left img {
  margin: 0;
}
.price-head .right {
  width: 60%;
  padding: 0 20px;
}
.price-head .right .use {
  margin-bottom: 10px;
}
.price-head .right .use h3, .price-head .right .method h3 {
  color: #f28e0b;;
  background: transparent;
  text-align: left;
  font-size: 18px;
  margin: 0 0 10px;
  padding: 0 0 5px;
  border-bottom: 1px #ccc solid;
}
.price-head .right .use p {
  margin: 0;
}
p.caution {
  font-size: 0.9em;
  line-height: 1.5;
  padding: 5px 0;
}
.price-head .right .method p {
  margin: 0 0 5px;
  display: inline-block;
  background: #545454;
  color: #fff;
  padding: 5px 8px 2px;
    font-size: 14px;
}
.price-head .right .method p.caution {
  display: block;
  background: transparent;
  font-size: 0.9em;
  line-height: 1.5;
  padding: 5px 0;
  color: #333;
  margin: 0;
}
.price-head .bottom {
  width: 100%;
  display: flex;
  padding: 10px 20px 20px;
}
.price-head .bottom .left {
  width: 50%;
}
.price-head .bottom .left p {
  font-size: 0.9em;
  line-height: 1.5;
  padding: 5px 0;
  margin: 0;
}
.price-head .bottom .right {
  width: 50%;
  padding: 0;
}
.price-head .bottom .right p {
  font-size: 36px;
  font-weight: bold;
  color: #f28e0b;
  margin: 0;
  text-align: right;
  line-height: 1.4;
}
.price-head .bottom .right p .tax{
  font-size: 20px;
}
.price-content p {
  margin-bottom: 20px;
}
.price-dl {
  margin-bottom: 40px;
}

.price-dl dl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 15px 0 15px;
  padding-bottom: 10px;
  border-bottom: 1px #ccc solid;
}
.price-dl dt {
  display: inline-block;
  width: 22%;
  color: #1c9c52;
  height: 100%;
  font-size: 16px;
}
.price-dl dd {
  display: inline-block;
  width: 58%;
  padding: 15px 10px 15px;
  height: 100%;
}
.price-dl dd.price {
  display: inline-block;
  width: 19%;
  font-size: 16px;
  font-weight: 600;
  color: #e81415;
  text-align: right;
}
table.p-table {
    width: 100%;
    max-width: 900px;
    margin-bottom: 30px;
}
table.p-table td,
table.p-table th {
    padding: 12px 10px 12px;
    width: 33%;
    line-height: 1;
    border:1px solid #e2e2e2;
}
table.p-table td:first-child,
table.p-table th{    
    text-align: left;
    background: rgb(22, 141, 165, 0.1);
    font-weight:600;
}
table.p-table td:nth-child(2) {   
    text-align:left;
}
table.p-table td:nth-child(3),
table.p-table td.price{    
    text-align: right;
    color: #f28e0b;
    font-weight: bold;
}
.mitumori.flexbox.row3 .item {
    padding: 10px 20px;
    border-radius: 50%;
    padding: 20px;
    height: 100%;
    max-width: 240px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 1% 0;
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(107, 187, 72,0.1) 100%);
}

.mitumori .item .icons {
    width: 80%;
    margin: auto;
    display: block;
}
.mitumori .price_category {
    font-size: 17px;
    color: #666;
    padding: 20px 20px 5px; 
    text-align: center;
    line-height: 1.6em;
    letter-spacing: -0.03em;
}
.price_category li p {
    margin-bottom: 10px;
}
.mitumori i.icon {
    font-size: clamp(12px, 8vw, 110px);
    color: #168da5;
    display: block;
    text-align: center;
}
.mitumori .item:nth-child(1) i.icon {
    color: #f9b307;
}
.mitumori .item:nth-child(2) i.icon {
    color: #168da5
}
.mitumori .item:nth-child(3) i.icon {
    color: #59c884;
}
p.caution {
    font-size: 0.9em;
    line-height: 1.5;
    padding: 5px 0;
    margin-top: 5px;  
}
section.price-ex img{
    display: block;
    max-width: 100%;
    margin: 0 auto 25px;
}
.flexbox.price-wrap .item {
    display: flex;
    flex-direction: column;
}
.price-heading {
    width: 100%;
    background: #168da5;
    padding: 8px 5px 10px;
    border-radius: 10px 10px 0 0;
}
.price-heading h3{
    color: #fff;
    font-size: 1.2em;
    line-height: 1.2em;
    text-align: center;
}
.price-heading h3 span{
    font-size: 0.7em;
    line-height: 1.1em;
}
.price_inner.flexbox {
    align-items: flex-end;
    flex-grow: 1;
}
.price_inner .left {
    width: 50%;
    height: 100%;
}
.price_inner .right {
    width: 50%;
    display: block;
}
.price_inner .left.small {
    width: 50%;
}
.price_inner .right.small {
    width: 50%;
}
.price_inner .left figure {
    height: 100%;
}
.price_inner .left img {
    height: 100%;
    object-fit: cover;
}
.price-box {
    border: 1px solid #d8d8d8;
    margin-bottom: 30px;
    border-radius: 10px;
}
.price-box .ex {
    margin: -5px 5px 5px;
    text-align: center;
    line-height: 1.6em;
    font-size: 13px;
    letter-spacing: -0.06em;
}
.price-box .price{
    font-size: 20px;
    font-weight: bold;
    color: #f28e0b;
    margin: 0;
    text-align: right;
    line-height: 1.0;
    flex-grow: 2;
    padding: 10px 10px 5px 5px;
}
.price-box .price_box{
    flex-grow: 1;
    background: #fff;
    border: 1px solid #1590c4;
    padding: 12px;
    margin-right: 10px;
    margin-bottom: 0;
    color: #1590c4;
    text-align: center;
    width: 18%;
    line-height: 1.4em;
    position: relative;
    font-weight: bold;
    padding: 10px;
}
.price-box .price_box.year .num{
    font-size: 1.2em;
}
.price-box .price_box > span{
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    width: 95%;
    margin: auto;
}
.price-box .price span.num_big{
    font-size: 2.6em;
    font-family: 'Montserrat', sans-serif;
 }
.price-box .price span.num_small{
    font-size: 1.8em;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.025em;
 }
#price .pricing-list  {
    width: 98%;
    margin: 40px auto 0;
}
.pricing-list.flexbox {
    justify-content: flex-start;
}
.pricing-list.flexbox.row3.margin .item {
    margin: 0 1% 20px;
}
.pricing-list li.item {
    padding: 0px 0 10px;
    list-style-type: none;
    border: 1px solid #E2E2E2;
    position: relative;
    background-color: rgba(255,255,255,0.8);
}
.pricing-list li.item .item-title h4 {
    font-size: 17px;
    background: #168da5;
    color: #fff;
    padding: 5px 5px;
    text-align: center;  
    border-radius: 10px 10px 0 0;
}
.pricing-list.border_r .item img {
    border-radius: 0;
    display: block;
    text-align: center;
    margin: 0 auto 10px;
    width: 100%;
}

.pricing-list li.item p,
.pricing-list li.item ul{
    padding: 5px 10px 0;
    margin-bottom: 10px;
}

.pricing-list li.item ul li {
    margin-bottom: 0;
    padding: 7px 10px;
    border-top: 1px solid #cccccc; 
    display: flex;
}
.pricing-list li.item ul li:last-child {
    border-bottom: 1px solid #cccccc; 
}
.pricing-list li.item ul li span {
    font-weight: bold; 
    padding-left: 20px;
    color: #f28e0b;
    font-size: 17px;
    margin-left: auto;
}
.pricing-list li.item .item-title p {
    font-size: 14px;
    line-height: 1.6em;    
}
.pricing-list li.item ul li span.tax {
    font-size: 0.7em;
    padding-left: 0;
}
@media screen and (max-width:1024px) {
    .price-wrap dl {
        width: 95%;
    }
}
@media screen and (max-width:767px) { 
    .price-wrap dl {
        width: 100%;
    }
    .price-wrap dl dt {
        width: 100%;
        padding: 15px 5px 5px 0px;
        font-weight: bold;
        font-size: 16px;
    }
    .price-wrap dl dd {
        width: 100%;
        padding: 5px 5px 10px;
        font-size: 14px;
        line-height: 1.8;
        border-bottom: 1px #333333 dotted;
    }
    .price-wrap dl dd.prc {
        width: 100%;
        padding: 10px 5px 10px 5px;
        font-size: 15px;
        text-align: right;
    }
    section.price p {
        font-size: 13px;
        margin: 15px auto 50px;
        line-height: 1.7;
    }
    .flexbox.row3.margin::after{
        display: none;
    }
    .price-box .price span.num_big {
        font-size: 2.0em;
    }
    .price-box .price span.num_small {
        font-size: 1.6em;
    }
    .mitumori.flexbox.row3.margin .item{
         margin: 0 auto 20px;
    }
    .mitumori .item .icons {
        width: 50%;
        margin: -10px auto 0;
    }
    .mitumori .price_category {
        padding: 10px 10px 5px;
        line-height: 1.4em;
        font-size: 16px;
    }
    .mitumori .price_category br {
        display: none;
    }
    .mitumori i.icon {
        font-size: 12vw;
        position: absolute;
        left: 0;
        right: 0;
    }
    .price-heading h3{
        font-size: 1.1em;
    }
    .price-head {
      align-items: center;
      padding: 0;
    }
    .price-head h3 {
      font-size: 18px;
      padding: 13px 10px 10px 20px;
    }
    .price-head .no1 {
         top: 50px;
    }
    .price-head .left {
      width: 100%;
    }
    .price-head .right {
      width: 100%;
      padding: 20px 15px;
    }
    .price-head .right .use p {
      margin: 0 0 10px;
      line-height: 1.5;
      padding: 0!important;
    }
    .price-head .right .use {
      margin-bottom: 20px;
    }
    .price-head .right .method p {
      margin: 0 0 5px;
      display: inline-block;
      background: #545454;
      color: #fff;
      font-size: 13px;
      padding: 5px 5px 3px!important;
    }
    .price-head .bottom {
      width: 100%;
      display: flex;
      flex-wrap: wrap;
      flex-direction: column-reverse;
      padding: 0px 15px 10px;
    }
    .price-head .bottom .left, .price-head .bottom .right {
      width: 100%;
      margin-bottom: 10px;
    }
    .price-head .bottom .right p {
      font-size: 24px;
      padding: 0!important;
    }
    .price-head .bottom .left p {
      font-size: 12px;
      line-height: 1.5;
      padding: 5px 0!important;
      margin: 0;
    }
    .price-content p {
      margin-bottom: 15px;
      font-size: 14px;
    }
    .price-dl dt,.price-dl dd,.price-dl dd.price {
      width: 100%;
    }
    .price-dl h3 {
      font-size: 20px;
    }
    .price-dl dl {
      margin: 5px 0 0px;
      padding-bottom: 10px;
      border-bottom: none;
    }
    .price-dl dt {
      color: #ffffff;
      font-size: 15px;
      padding: 10px 10px 6px;
      background: #1c9c52;
    }
    .price-dl dd {
      padding: 20px 5px 0px;
      height: 100%;
      font-size: 13px;
    }
    .price-dl dd.price {
      padding: 10px 5px 0;
   }
    #price .pricing-list li .item .item-title {
        display: block;
    }
    #price .pricing-list li .item .item-title h4,
    #price .pricing-list li .item .item-title span,
    #price .pricing-list li .item .item-title p {
        display: block;
        width: 100%;
    }
    #price .pricing-list li .item .item-title span {
        font-size: 15px;
        margin-top: 3px;
    }
    .pricing-list.flexbox.row3.margin .item {
            margin: 0 0.5% 20px;
    }
    table.p-table {
        width: 100%;
    }
}
@media screen and (max-width:600px) { 
    table.p-table tr {
        display: block;
        margin-bottom: 0em;
    }
    table.p-table th,
    table.p-table td{
        padding: 14px 12px 10px;
        width: 100%;
        font-size: 14px;
        display: block;
    }
    table.p-table td:nth-child(3):before {
        content: attr(data-label);
        float: left;
        margin-right: 10px;
        color: #7e7e7e;
    }
    table.p-table td:nth-child(2) {
        display: none;
    }
    table.p-table td.price {
        display: block;
    }
    .mitumori.flexbox.row3.margin .item{
        padding: 10px;
    }
    .mitumori .price_category {
        font-size: 14px;
    }
    .price-box .price {
        font-size: 15px;
    }
    .price-box .price span.num_big {
        font-size: 1.6em;
    }
    .price-box .price span.num_small {
        font-size: 1.2em;
    }
}
@media screen and (max-width:480px) {
    .mitumori.flexbox.row3.margin .item{
        padding: 10px;
    }
    .mitumori .item .icons {
        width: 50%;
        margin: -10px auto 0;
    }
    .mitumori .price_category {
        padding: 5px 5px 2px;
        line-height: 1.4em;
        font-size: 13px;
    }
    .mitumori i.icon {
        font-size: 8vw;
    }
    .price_inner .left {
    width: 45%;
}
    price-box .price {
        font-size: 18px;
    }
    .price_inner .right {
        width: 55%;
    }
    .price_inner .left.small {
        width: 45%;
    }
    .price_inner .right.small {
        width: 55%;
    }

}
@media screen and (max-width:320px) {
    .price-wrap dl dt {
        font-size: 15px;
    }
    .price-wrap dl dd {
        font-size: 13px;;
    }
}
/*--------------------------------補助金-------------------------------------*/
section.subsidy{
  
}
.subsidy-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 0;

}
.subsidy-txt{
    position: relative;
    display: flex;
    align-items: center;
    margin: 20px auto 60px;
    max-width: 1500px;
}
.subsidy-txt .left{
    position: relative;
    width: 65%;
}
.subsidy-txt .left p{
    padding: 0 15px;
    line-height: 1.8;
    font-size: 15px;
}
.subsidy-txt .right{
    position: relative;
    width: 400px;
}
.subsidy-txt .right img{
    max-width: 100%;
    z-index: 1;
    position: relative;
    top: -3px;
    left: -3px;
}
.subsidy-txt .right:after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: -5px;
    right: -10px;
    background-color: #e8e8e8;
}
.subsidy-container dl{
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    margin: 0 auto 30px;
    padding: 0px 0 0;
    background: rgba(255,255,255,0.8);
    
}
.subsidy-container dl dt{
    width: 25%;
    font-size: 15px;
    font-weight: bold;
    padding: 6px 5px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #000;
}
.subsidy-container dl dd{
    width: 70%;
    font-size: 15px;
    padding: 6px 5px;
    line-height: 1.8;
    font-weight: 500;
    border-bottom: 1px solid #000;
}
.subsidy-container dl dd table.center {
    margin: 5px 0;
}
.subsidy-container dl dd table.center th {
     background-color: transparent; 
}
.subsidy-container dl dd table.center tr:first-child {
    background: rgb(22, 141, 165, 0.1);;
}
.subsidy-container dl dd table.center tr {
    border-bottom: 1px solid #d8d8d8;
}
.subsidy-container dl dd table.center th, 
.subsidy-container dl dd table.center td {
    text-align: left;
    padding: 3px;
     border: 0px solid #000; 
}
.subsidy-container dl dd p{
    font-size: 15px;
    margin-bottom: 0;
}
.subsidy-container dl dd a {
    word-break: break-all;
    font-weight: bold;
    color: #168da5;
}
.subsidy-p p{
    font-size: 15px;
    margin: 0 auto 20px;
    line-height: 1.8;
}
p.ssdy-p{
    margin: 0 0 20px;
}

@media screen and (max-width:1024px) {
    .subsidy-container{
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        max-width: 100%;
        padding: 0;
        margin: 0 auto;
    } 
    .subsidy-txt .left p {
        line-height: 1.7;
        font-size: 14px;
    }
    .subsidy-container dl {
        width: 95%;
        margin: 0 auto 40px;
    }
    .subsidy-p p {
        font-size: 14px;
    }
    .subsidy-txt .right {
        position: relative;
        width: 300px;
    }
    .subsidy-container dl dt {
        font-size: 14px;
    }
    .subsidy-container dl dd {
        font-size: 14px;
    }
}
@media screen and (max-width:767px) {
    .subsidy-txt {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        margin: 10px auto 50px;
        flex-direction: column-reverse;
    }
    .subsidy-txt .left {
        position: relative;
        width: 100%;
    }
    .subsidy-txt .right {
        position: relative;
        width: 100%;
    }
    .subsidy-txt .left p {
        line-height: 1.8;
        font-size: 15px;
        padding: 25px 0 0;
    }
    .subsidy-wrap h3 {
        font-size: 18px;
        line-height: 1.3;
        margin: 0 auto 10px;
        padding: 0 5px 10px;
    }
    .subsidy-wrap dl {
        width: 100%;
        margin: 0 auto 40px;
    }
    .subsidy-wrap dl dt {
        width: 100%;
        padding: 10px 0px 0;
    }
    .subsidy-wrap dl dd {
        width: 100%;
        font-size: 14px;
        padding: 10px 5px;
    }
    .subsidy-wrap dl {
        width: 95%;
        margin: 0 auto 40px;
    }
    .subsidy-p p {
        font-size: 14px;
    }
    .subsidy-p {
        padding: 0 5px;
    }
    .subsidy-container dl dt {
        font-size: 14px;
        width: 100%;
        border-bottom: 1px #333 solid;
    }
    .subsidy-container dl dd {
        font-size: 14px;
        width: 100%;
    }
}
@media screen and (max-width:320px) {
    .subsidy-txt .left p {
        font-size: 14px;
    }
    .subsidy-p p {
        font-size: 14px;
    }
}
/*--------------------------------ABOUT-------------------------------------*/
.about-wrap{
    display: block;
    margin: 0 auto 30px;
    text-align: center;
}
.about-wrap h3{
    display: inline-block;
    position: relative;
    letter-spacing: 1px;
    line-height: 1.5;
    font-family: "游ゴシック", "YuGothic", "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, "メイリオ", Meiryo, sans-serif;
    font-size: 20px;
    margin: 20px auto 30px;
}
.about-wrap h3:before {
    content: "";
    width: 3em;
    height: 2px;
    display: block;
    position: absolute;
    left: 50%;
    bottom: -30px;
    transform: translateX(-50%);
    background-color: #000;
}
.msg-wrap p{
    text-align: left!important;
}
.msg-img-wrap{
    display: inline-block;
    float: right;
    position: relative;
    /*width: calc(100vw*3.5/16);*/
    margin: 0 0 30px 20px;
}

.msg-img-wrap img{
    max-width: 100%;
}
p.chief {
    font-size: 1.3rem!important;
    font-weight: bold;
    letter-spacing: 1px;
    font-family: 'Shippori Mincho B1', serif;
}
p.chief span{
    padding-right: 0.5rem;
    font-size: 0.9rem;
    font-weight: 100;
    font-family: "游ゴシック", "YuGothic", "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, "メイリオ", Meiryo, sans-serif;
}

@media screen and (max-width:1024px) {
    .msg-img-wrap {
        width: 180px;
        margin: 0 0 30px 15px;
    }
    .msg-wrap {
        padding: 0 calc(100vw*0.5/16);
        margin-top: 0px;
    }
    p.chief {
        font-size: 1.2rem!important;
    }
    p.chief span{
        font-size: 0.8rem!important;
    }
    section.direct p{
        font-size: 14px;
    }
}
@media screen and (max-width:767px) {
    .about-wrap h3 {
        font-size: 18px;
    }
    .msg-img-wrap {
        float: none;
        display: block;
        width: 80%;
        margin: 0 auto 30px;
    }
    .msg-wrap {
        padding: 0;
        margin-top: 0px;
        margin-bottom: 30px;
    }
    section.photo {
        height: calc(100vw*8.5/16);
        margin: 0 calc(100vw*1.0/16) calc(100vw*1.8/16);
        position: relative;
    }
    section.direct p{
        font-size: 15px;
        text-align: left;
    }
}
@media screen and (max-width:320px) {
    section.direct p{
        font-size: 14px;
    }
}

/*--------------------------------メニュー-------------------------------------*/
section.menu {
    position: relative;
    display: block;
    padding: 20px 0;
}
section.point + section.menu {
    padding: 10px 0 70px;
}
.menu-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.menu-wrap.other {
    margin: 30px auto 40px;
}
.menu-wrap.top .flexbox{
    align-items: center;
    background-position: left;
    background-size: cover;
    background-repeat: no-repeat;
}
.menu-wrap.flexbox .item {
    background-color: #fff;
}
.menu-wrap.top .flexbox:nth-child(even){
    flex-direction: row-reverse;
}
.menu-wrap.top .text{
    padding: 15px 10px 15px;    
    position: relative;
}
.menu-wrap .flexbox .text::after {
    content: "";
    position: absolute;
    top: 50%;    
    margin-top: -10px;
    border: 15px solid transparent;
    z-index: 10;
}
.menu-wrap .flexbox.row2 .item {
     background-position: center center;
}
.menu-wrap .flexbox:nth-child(odd) .text::after {
    left: 100%;
    border-left: 15px solid #fff;
}
.menu-wrap .flexbox:nth-child(even) .text::after {
    border-right: 15px solid #fff;
    right: 100%;
}
.menu-wrap .img{
    background-repeat: no-repeat;
    background-size: cover;
}
.menu-wrap .img img{
    width: 100%;
    vertical-align: top;    
}
.menu-wrap h3 {
    font-size: 18px;
    letter-spacing: 4px;
    margin: 20px 0 10px;
}
.menu-wrap .en_heading {
    font-size: 20px;
    color: #59c884;
    letter-spacing: 0.03px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    font-weight: 500;
    line-height: 1.4em;    
    position: relative;
}
.head-wrap {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.menu-wrap .sizuku {
    position: relative;
    background: #168da5;
    color: #fff;
    font-weight: bold;
     width: 54px;
    height: 54px;
    flex: 0 0 54px;
    text-align: center;
    padding: 5px;
    z-index: 1;
    margin: 0;
    border-radius: 50%;
    overflow: hidden;
}
.menu-wrap .sizuku img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 42px;
    height: auto;
    margin: 0px auto 0;
}
.menu-wrap .sizuku span {
    display: block;
    font-family: "Montserrat", serif;
    font-size: 13px;
    line-height: 1.3em;
}
.menu-wrap .sizuku.small span {
    font-size: 11px;
}
.menu-wrap .head-wrap h3 {
    flex: 2;
    margin: 0;
    font-size: 17px;
    letter-spacing: 2px;
    padding-left: 10px;
}
.menu-wrap .head-wrap h3 span {
    display: block;
    font-size: 12px;
    font-weight: normal;
    color: #59c884;
}
.menu-wrap .en_heading::after {
    content: '';
    position: absolute;
    background-color: #d8d8d8;
    width: 60px;
    height: 1px;
    bottom: 0px;
    left: 0;
    margin: 0 auto;
}
.menu-inner {
    display: block;
    padding: 0 0 20px;    
    margin-bottom: 60px;
    background: #fff;
}

.other .menu-inner{
    padding: 0 0 0;
    margin: 0 0.5% 0;    
}
.menu-wrap.other h3 {
    margin-bottom: 0;
    border-radius: 10px 10px 0 0;
}
.menu-inner .image-wrap {
    position: relative;
}
.menu-inner .image-wrap img{
    max-width: 100%;
    vertical-align: top;
    position: relative;
    /*border-radius: 0 0 10px 10px;*/
}
.menu-inner .image-wrap::after{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;    
    transition: all 0.3s ease;
}
.menu-inner:hover a .image-wrap img{
    opacity: 0.6;
}
.menu-inner h3, .menu-h {
    font-size: 16px;
    letter-spacing: 0.05em;
    text-align: center;
    background: #59c884;
    color: #fff;
    padding: 7px 5px;
    line-height: 1.4em;
    display: block;
    width: 100%;
    z-index: 1;
}
.flexbox.row5 .menu-inner h3 {
    font-size: 15px;
    margin: 0px 0 10px;
}
.menu-h {
    margin-bottom: 10px;
}
.menu-inner p{
    padding: 10px 0px 10px;
    margin-bottom: 0; 
}
.item.menu-inner p{  
    font-size: 14px;
    line-height: 1.8;
    padding: 10px 10px 10px;
}
#menu {
    padding-bottom: 80px;
    /*background: url("images/menu/menu-bg.jpg");*/
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}
#menu:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /*background: url("images/overlay-pattern.png") #fff;*/
    background-color: rgb(22, 141, 165, 0.1);
    opacity: 0.5;
/*    z-index: 0;*/
}
/*#menu .container {
    position: relative;
    z-index: 1;
}*/
.menu-inner .btn {
    margin-top: 10px;
    margin-right: 0;
    padding: 20px 60px;
}
@media screen and (max-width:1024px) {
    .menu-inner h3 {
        font-size: 16px;
    }
    .menu-inner p {
        font-size: 14px;
    }
}
@media screen and (max-width:767px) {
    .menu-inner {
        display: block;
        width: 100%;
        max-width: auto;
        max-width: initial;
        margin: 0 auto 50px;
    }
    .menu-inner h3 {
        font-size: 17px;
    }
    .menu-wrap h3 span {
        display: block;
        padding-left: 0px;
    }
    .menu-inner .image-wrap {
        text-align: center;
    }
    .menu-inner .image-wrap img {
        width: 100%;
    }
    .menu-wrap .flexbox.row2 .item {
        margin-bottom: 0;
    }
    .menu-wrap .text{
        padding: 25px 10px;
    }

    .menu-wrap .sizuku img {
        width: 44px;
    }
    .menu-wrap .sizuku span {
        font-size: 10px;
    }
    .menu-wrap .sizuku.small span {
        font-size: 9px;
    }
}
@media screen and (max-width:320px) {
    .menu-inner h3 {
        font-size: 17px;
    }
}

/*--------------------------------雨漏り修理ページ-------------------------------------*/
.amamori .top_lead h1 {
    background-color: #59c884;
    color: #fff;
    margin-top: 40px;
}
.amamori section {
    padding: 20px 0 60px;
    margin: auto;
}
.amamori section section{
    padding: 0 0 10px;
}
.amamori section section.top-works,
.amamori section section.works_single{
    padding:0 0 60px;
}
.amamori .sub-heading .midashi {
    padding: 30px 0 25px;
}
.amamori .area-wrap .midashi,
.amamori .contact-area .midashi{
    padding: 2rem 0 25px;
    margin-bottom: 0px;
}
.amamori .sub-slide-img::after {
    background: url("images/overlays/overlay-pattern2.png");
}

.merit-h {
    margin: 30px 0 10px;
    font-size: 17px;
    color: #333;
    background-color: rgba(55, 163, 216,.2);
    padding: 5px 10px;
}
.amamori .contact-bnr {
    border: none;
    text-align: center;
    background-color: transparent;
}
.amamori .contact-bnr img{
    margin: auto;
}
.amamori .contact-bnr .mail_btn {
    position: absolute;
    background-color: #f8c806;
    border-radius: 5px;
    color: #fff;
    padding: 7px 16px;
    bottom: 55px;
    right: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}
.amamori .contact-bnr .mail_btn:hover {
    background-color: #fff;
    color: #f8c806;
}
.amamori .contact-bnr .mail_btn i {
    font-size: 20px;
    display: inline-block;
    padding-right: 5px;
}
.amamori .contact-bnr .mail_btn p {
    font-size: 16px;
    display: inline-block;
    margin-bottom: 0;
    line-height: 1.2em;
}

.amamori .other .menu-inner {
    transition: all 0.3s ease;
}
.amamori .other .menu-inner:hover{
    opacity: 0.6;    
}
@media screen and (max-width: 767px){
    .material .roof_types .flexbox .item p{
        padding: 10px 10px 15px;
    }
    .material .roof_types .flexbox .item.merit p,
    .material .roof_types .flexbox .item.demerit p{
        padding: 0 0 10px 20px;
    }

}
