/*
Theme Name: GFplus
Author: GFplus co.,Ltd.
*/

/* Basic Styles */
:root {
    --text-color: #000;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'メイリオ', 'Lucida Grande', Verdana, sans-serif;
}
a{
    transition: .5s;
}
ul{
    padding-inline-start: 0;
}

.pc{
    display: block;
}
.sp{
    display: none;
}
@media (max-width: 480px) {
    .pc{display: none;}
    .sp{display: block;}
}

/* header Styles */

nav.header {
    position: relative;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 0 5%;
}

nav.header.header .logo {
    float: left;
    width: 50%;
    max-width: 250px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

nav.header .links {
    float: right;
    padding: 0;
    margin: 0;
    width: 60%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}


nav.header .links a {
    display: block;
    padding: 1em;
    font-size: 16px;
    font-weight: bold;
    color: #000;
    text-decoration: none;
    position: relative;
}

nav .links a:hover {
    color: #3f9780;
}

nav.header .links a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #3f9780;
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out 0s;
}

nav.header .links a:hover::before {
    visibility: visible;
    transform: scaleX(1);
    color: #3f9780;
}

#nav-toggle {
    position: absolute;
    top: -100px;
}

nav.header .icon-burger {
    display: none;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

nav.header .icon-burger .line {
    width: 30px;
    height: 5px;
    background-color: #3f9780;
    margin: 5px;
    border-radius: 3px;
    transition: all 0.5s ease-in-out;
}

@media (max-width: 767px) {
    nav.header {
        height: 60px;
    }

    nav.header .logo {
        float: none;
        width: auto;
    }

    nav.header .links {
        float: none;
        position: fixed;
        z-index: 100;
        left: 0;
        right: 0;
        top: 60px;
        bottom: 100%;
        width: auto;
        height: auto;
        flex-direction: column;
        justify-content: flex-start;
        background-color: rgb(0 0 0 / 89%);
        overflow: auto;
        transition: all 0.5s ease-in-out;

    }

    nav.header .links li {
        border-bottom: 1px solid #81818194;
        width: 100%;
    }

    nav.header .links a {
        padding: 20px 30px;
        font-weight: normal;
        font-size: 16px;
        color: #fff;
        display: flex;
        justify-content: space-between;
    }
    nav.header .links a:after{ 
font-family: "Material Icons"!important;
	content: "\e5e1";
color: #fff;

    }

    nav.header :checked~.links {
        bottom: 0;
    }

    nav.header .icon-burger {
        display: block;
    }

    nav.header :checked~.icon-burger .line:nth-child(1) {
        transform: translateY(10px) rotate(225deg);
    }

    nav.header :checked~.icon-burger .line:nth-child(3) {
        transform: translateY(-10px) rotate(-225deg);
    }

    nav.header :checked~.icon-burger .line:nth-child(2) {
        opacity: 0;
    }
}

header {
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 100;
    width: 100%;
    transition: transform 0.5s;
}

header.js_hide {
    transform: translateY(-100%);
}



/*toppage*/
.toppage_hd{
    width: 100%;
    background-color: #c4c4c4;
    padding: 25px;
    margin-top: 80px;
}
.toppage_hd img{
    display: block;
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
}

.fadeIn{
animation-name:fadeInAnime;
animation-duration:3s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeInAnime{
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.top_slider{
    width: 100%;
    overflow:hidden;
}
.top_slider li{
    padding-left: 15px;
}
.top_slider img{
    width: 100%;
}
.top_slider button{
    display: none!important;
}

@media (max-width: 480px) {
    .top_slider li{
    padding-left: 0;
}
}

.cross {
  transform-origin: 50% 50%;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.animate-rotation {
  animation: rotate 2s ease-in-out forwards;
}

section {
    width: 94%;
    max-width: 1000px;
    margin: 0 auto;
}

/*news*/
.news{
    margin: 100px auto 200px;
}

.news ul{
    display: flex;
    justify-content: space-between;
}
.news li{
    width: 23%;
    display: flex;
    flex-direction: column;
}
.news li img{
    width: 100%;
    height: 150px;
    object-fit: cover;
        margin-bottom: 20px;
}
.news div{
    display: flex;
    flex-direction: column;
    margin-top: 25px;
    justify-content: space-between;
        align-items: center;
        margin-top: auto;
}
.news h3{
    font-size: 1rem;
}
.news p{
    margin-top: 1rem;
    font-size: 0.85rem;
        height: 3.5rem;
}
.news a{
    width: 70%;
    padding: 7px 0;
    border: 1px solid #c4c4c4;
    text-align: center;
    font-size: 0.7rem;    
}
.news a:hover{
    background: #3f9780;
    color: #fff;
    border: none;
}
@media (max-width: 480px) {
    .news ul {
    flex-wrap: wrap;
    padding-inline-start: 0;
}
.news li{
    width: 48%;
    margin-bottom: 20px;
}
.news h3{
    font-size: 0.8rem;
}
.news p {
    font-size: 0.7rem;
}


}


/*midashi*/
.midashi {
    color: #3f9780;
    font-weight: normal;
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}

.midashi svg {
    width: 80px;
    height: 80px;
}

.midashi span {
    margin-left: 15px;
}
@media (max-width: 480px) {
.midashi svg {
    width: 40px;
    height: 40px;
}
.midashi {
    margin-bottom: 20px;}
}

/*news_page*/
.news_header{
    width: 100%;
    max-width: 900px;
    margin: 100px auto;
    border-bottom: 10px solid #3f9780;
    padding-bottom: 50px;
}
.news_header img{
    display: block;
    margin: 0 auto;
    width: 60%;
    max-width:373px ;

}
.news_page{
    width: 100%;
    max-width: 1000px;
    margin: 50px auto 150px;
    border-bottom: 1px solid #c4c4c4;
    padding-bottom: 50px;
}
.news_box_text h1{
    font-size: 2.2rem;
    font-weight: normal;
    line-height: 1.8;
}
.news_box_text span{
    display: block;
    margin: 20px 0 15px;
}
.news_page p{
    line-height: 1.8;
    margin-bottom: 30px;
}
.news_box_text a{
    display: inline-block;
    margin: 30px 0;
    border: 1px solid #3f9780;
    color: #3f9780;
    padding: 8px 15px;
    font-size: 0.8rem;    
}
.news_box_text a:hover{
    border: none;
    background: #3f9780;
    color: #fff;
}
.news_page img{
    width: 100%;
}
.news_box{
    width: 96%;
    max-width: 900px;
    margin: 50px auto;
    display: flex;
    justify-content: space-between;
}
.news_box_text{
    width: 60%;
}
.news_box_img{
    width: 38%;
    display: flex;
    flex-direction: column;
}
.news_box_img img{
    width: 100%;
}

.news03-img {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}
.news03-img img {
    width: 48%;
    max-width: 485px;
    margin-bottom: 40px;
}
.news03-box {
    width: 96%;
    max-width: 950px;
    margin: 0 auto;
    padding: 50px 0 150px;
	background-image: url("image/news/news03_bg.png");
	background-size: 100% auto;
	background-repeat: no-repeat;
}
.news04-box {
    width: 96%;
    max-width: 950px;
    margin: 0 auto;
    padding: 50px 0 150px;
	background-image: url("image/news/news04_bg.png");
	background-size: 100% auto;
	background-repeat: no-repeat;
}

@media (max-width: 480px) {
.news_header{
        margin: 150px auto 100px;
    border-bottom: 5px solid #3f9780;
    padding-bottom: 20px;
}
.news_box {
    flex-direction: column-reverse;
}
.news_box_img {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
        justify-content: center;
}
.news_box_img img{
    width: 48%;
    margin-bottom: 15px;
}
.news_box_text {
    width: 100%;
}
.news_box_text h1 {
    font-size: 1.2rem;
    text-wrap: wrap;
    margin-top: 30px;
    font-weight: bold;
}
.news_page a {
    display: table;
    margin: 30px auto;
}
}

/*company*/
.company_wrap{
    width: 96%;
    max-width: 1000px;
    margin: 200px auto;
}

.company_wrap section{
    width: 100%;
    max-width: 900px;
    margin: 100px auto;
}
.message{
    width: 100%;
    line-height: 2;
    font-size: 1.3rem;
    text-align: center;
}
.message p{
    margin-top: 30px;
}
.message img{
    display: block;
    width: 50%;
    max-width: 300px;
    margin: 50px auto 0;
}
.company_wrap>img{
    display: block;
    width: 25%;
    max-width: 190px;
    margin: 200px auto;
}
.company_about table{
    border-collapse: collapse;
    margin: 0 auto;
}
.company_about tr {
  border-bottom: 1px solid #f5f5f5;
}
.company_about table th,
.company_about table td {
  padding: 45px 0;
}
.company_about table th {
  width: 30%;
}

/* company-sp */

@media only screen and (max-width: 480px) {
    .company_wrap h1{
        font-size: 1.2rem;
    }
    .company_wrap {
    margin: 150px auto;
}
.company_wrap section {
    margin: 50px auto;
}
section.message h2 {
    font-size: 1.5rem;
}
.message p {
    margin-top: 1rem;
    font-size: 1rem;
    padding: 0 30px;
}
.company_wrap>img{
    margin: 100px auto;
}
  .company_about table th,
  .company_about table td {
    width: 100%;
    display: block;
    text-align: center;
    padding: 15px;
  }

    .company_about table th {
        background-color: #f7f7f7;
        margin-bottom: 15px;
    }

  .company_about table td {
    padding-top: 0;
    margin-bottom: 30px;
  }

}

/*about*/
.about_wrap{
    width: 100%;
    max-width: 1200px;
    margin: 100px auto 200px;
}
.about_wrap>img{
    width: 100%;
}
.about_wrap div{
    margin:100px auto 0;
    width: 100%;
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 3;
    text-align: center;
}
.about_icon{
    display: block;
    margin: 200px auto;
    width: 60%;
    max-width: 300px;
}
.about_wrap img.about_img{
    max-width: 1000px;
    display: block;
    margin: 100px auto;
}
@media (max-width: 480px) {
    .about_wrap div {
        width: 96%;
    margin: 50px auto 0;
    font-size: 1rem;
}
.about_icon {
    margin: 50px auto;
    max-width: 50%;
}
    
}
/*archive*/
.archive_wrap{
    width: 96%;
    max-width: 1000px;
    margin: 200px auto;
}
.archive_wrap h1{
    font-size: 3rem;
    font-weight: normal;
    border-bottom:10px solid #3f9780;
    padding-bottom: 30px;
}
.archive_wrap h1 span{
    font-size: 1rem;
    margin-left: 3rem;
}
.case_lisut{
  display:flex;
  flex-direction: column;
  margin-top: 50px;
  
}
.case_lisut li{
  width:100%;
  display: flex;
  margin-bottom: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid #939393;
}
.case_lisut img{
    align-items: flex-start; 
    width: 48%;
}
.case_lisut div{
    width: 50%;
    margin-left: 2%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.case_lisut h2{
    margin-bottom: 10px;
}
.case_lisut p{
    margin-bottom: 40px;
    font-size: 1rem;
}
.case_lisut span{
    margin-left: 15px;
}
.case_lisut a{
    text-decoration: none;
    border: 1px solid #c4c4c4;
    padding: 20px;
    width: 70%;
    border-radius: 20px;
    
    font-size: 0.8rem;
    color: #939393;
}
.case_lisut a:hover{
    background: #3f9780;
    color: #fff;
    border: none;
}

@media screen and (max-width: 480px) {
    .archive_wrap {
    margin: 120px auto;
}
.archive_wrap h1 {
    font-size: 2rem;
    border-bottom: 5px solid #3f9780;
    padding-bottom: 10px;
}
  .case_lisut li{
    flex-direction: column;
}
.case_lisut img{
    width: 100%;
}
.case_lisut div{
    width: 100%;
    margin-left: 0;
    margin-top: 30px;
}
.case_lisut a{
    padding: 20px;
    border-radius: 40px;
    width: 60%;
}
}

/*post_wrap*/
.post_wrap{
    width: 100%;
    margin: 200px auto;
}
.post_heder{
    text-align: center;    
}
.post_heder h1 {
    font-weight: normal;
    font-size: 3rem;
}
.post_heder p{
    font-size: 1.8rem;
    margin-top: 20px;
}
.post_heder span::before{
    content: "/";
    margin: 0 1.5rem;
    color: #c4c4c4;
}
.post_heder ul{
    display: flex;
    justify-content: center;
}
.post_heder li{
    border: 1px solid #939393;
    color: #939393;
    padding: 7px 15px;
    font-size: 0.8rem;
    margin-left: 15px;
}
.post_heder li:first-child{
    margin-left: 0;
}

.tag_list{
    width: 100%;
    max-width: 1000px;
    margin: 100px auto;
    padding-bottom: 50px;
    border-bottom: 1px solid #c4c4c4;
    text-align: center;
}
.tag_list a{
    display: inline-block;
    padding: 5px 15px;
    background: #f5f5f5;
    border-radius: 5px;
    margin-left: 10px;
}

/*post_hero*/
.post_hero {
  display: grid;
  place-items: center;
  height: 100vh;
  width: 100%;
  position: relative;
  background-color: #e1e1e1;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23303030' fill-opacity='0.45' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
}


.post_hero img {
  height: 100%;
  width: auto;
  max-width: 75vw;
  object-fit: contain;
}

.post_hero p {
    font-family: "Helvetica Neue";
  font-weight: 800;
  text-transform: uppercase;
  color: transparent;  
  -webkit-text-stroke: 1px #fff;
  text-stroke: 1px #fff;
  font-size: clamp(3rem, 10vw, 6rem);
  position: absolute;
  top: 25%;
  left: 5%;
  width: 90%;
  height: 50%;
  z-index: 99;
  display: grid;
  place-items: center;
  letter-spacing: 1rem;
}

body:not(.no-js) .image-wrap {
  transition: 1s ease-out;
  transition-delay: 0.2s;
  position: relative;
  width: auto;
  height: 80vh;
  overflow: hidden;
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
  visibility: hidden;
}

body:not(.no-js) .image-wrap img {
  transform: scale(1.3);
  transition: 2s ease-out;
}

body:not(.no-js) .animating .image-wrap {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  visibility: visible;
  transform: skewY(0);
}

body:not(.no-js) .animating img {
  transform: scale(1);
  transition: 4s ease-out;
}

body:not(.no-js) .fadeup {
  opacity: 0;
  transition: 0.4s ease-out;
  transform: translateY(40px);
}

body:not(.no-js) .fading-up {
  opacity: 1;
  transition: 1s ease-out;
  transform: translateY(0px);
  transition-delay: 0.7s;
}

.post_area{
    width: 100%;
    max-width: 1000px;
    margin: 50px auto;
}
.post_data {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 50px;
    display: flex;
    justify-content: space-between;
}
.post_data img{
    padding-top: 50px;
    width: 20%;
    max-width: 150px;
}
.row_tow_img{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (max-width:480px) {
    .post_wrap {
    margin: 150px auto;
}
.post_heder h1 {
    font-size: 1.3rem;
}
.post_heder p {
    font-size: 1.1rem;
}
.post_hero {
    height: auto;
    background-color: #e7e7e7;
    background-image: none;
}
body:not(.no-js) .image-wrap {
    height: 45vh;
}
.post_area {
    width: 94%;
}
.post_hero img {
    max-width: 100vw;
}
.post_wrap .wp-block-columns.is-layout-flex{
    gap: .5em;
}
.post_wrap .wp-block-columns{
    margin-bottom: .5em;
}
.post_hero p {
    font-size: clamp(1.5rem, 10vw, 2.5rem);
  letter-spacing: 0;
}
    
}

/*privacypolicy*/
.privacypolicy_wrap{
    width: 100%;
    max-width: 850px;
    margin: 150px auto;
}
.privacypolicy_wrap h1{
    text-align: center;
    font-size: 3rem;
    padding-bottom: 30px;
    border-bottom: 10px solid #3f9780;
    margin-bottom: 50px;
}
.privacypolicy_wrap h2{
    font-size: 1.2rem;
    margin-top: 50px;
}
.privacypolicy_wrap p{
    line-height: 1.8;
    margin-top: 15px;
    padding: 0 50px;
}
p.enactment_day{
    text-align: right;
}
@media (max-width:480px) {
    .privacypolicy_wrap h1 {
    font-size: 1.5rem;
    border-bottom: 4px solid #3f9780;
}
.privacypolicy_wrap h2 {
    font-size: 1rem;
    padding-left: 15px;
}
.privacypolicy_wrap p {
    padding: 0 20px;
    font-size: 0.9rem;
}
    
}

/*footer*/

#google_map {
    width: 100%;
    position: relative;
    padding-top: 56.25%;
    margin: 0 50px 150px;
}
#google_map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    padding: 30px;
}
.inquiry_wrap{
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 50px;
    margin-top: 50px;
    border-radius: 2px;
  box-shadow: 0px 0px 6px 2px rgba(0, 0, 0, 0.10);
  
}
.inquiry_wrap h3{
    font-weight: normal;
    color: #3f9780;
    
}
.inquiry_wrap a{
    font-size: 3rem;
    font-weight: bold;
    color: #3f9780;
    display: inline-block;
  padding-bottom: 4px;
  position: relative;
  
  align-items: center;
    justify-content: center;
}
.inquiry_wrap a::after {
background-color: #3f9780;
  bottom: 0;
  content: '';
  display: block;
  height: 3px;
  left: 0;
  position: absolute;
  transition: .5s all;
  width: 0;
}

.inquiry_wrap a:hover::after {
width: 100%;
}

.inquiry_wrap span{
    font-size: 3rem;
    vertical-align: middle;
    font-weight: normal;
    margin-right: 10px;
}

.footer_menu{
    width: 100%;
    padding: 30px 0;
    margin: 50px auto;
    display: flex;
    justify-content: center;
}
.footer_menu li{
    padding: 0 30px;
    border-right: 1px solid #c4c4c4;
}
.footer_menu li:last-child{
    border-right:none
}
.footer_menu a{
    transition: .3s;
}
.footer_menu a:hover{
    color: #3f9780;
}

.copylight{
    margin-top: 100px;
    text-align: center;
}
.copylight img{
    display: block;
    width: 70%;
    max-width: 350px;
    margin: 0 auto 50px;
}
.copylight p{
    width: 100%;
    background: #eee;
    padding: 15px;
}

@media (max-width: 480px) {
    section.map {
    margin-bottom: 50px;
}
    #google_map {
    margin: 0;
}
#google_map iframe {padding: 10px;
}
.inquiry_wrap {
    padding: 20px 10px;
    margin-top: 0;
        margin-bottom: 20px;
}
.inquiry_wrap h3 {
    font-size: 0.8rem;margin-bottom: 10px;}
.inquiry_wrap span {
    font-size: 1.7rem;}
.inquiry_wrap a {
    font-size: 1.3rem;
}
.footer_menu {
    padding: 10px;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 50px auto 0;
}
.footer_menu li {
    width: 100%;
    padding: 15px;
    border-right: 0;
    text-align: center;
    border-top: 1px solid #c4c4c4;
    font-size: 0.8rem;
}
.footer_menu li:last-child{
    border-bottom: 1px solid #c4c4c4;
}
.copylight {
    margin-top: 50px;}
    .copylight p {
    font-size: 0.7rem;
}
}