﻿/* ****************************************************************************************************
   * 全体
**************************************************************************************************** */

@font-face {
  font-family: 'NotoSansCJKjp';
  font-style: normal;
  font-weight: normal;
  src: local('NotoSansCJKjp'),
       url('../../_font/NotoSans/NotoSansCJKjp-Light.woff') format('woff');
}

@font-face {
  font-family: 'NotoSansCJKjp';
  font-style: normal;
  font-weight: bold;
  src: local('NotoSansCJKjp'),
       url(../../_font/NotoSans/NotoSansCJKjp-Bold.woff) format('woff');
}

@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: normal;
  src: local('Oswald'),
       url('../../_font/Oswald/Oswald-Medium.ttf') format('opentype');
}

@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: bold;
  src: local('Oswald'),
       url('../../_font/Oswald/Oswald-Bold.ttf') format('opentype');
}

html {
  font-size: 10px;
}

body {
  min-width: 1020px;
  color: #333;
  font: 1.5rem/2 'NotoSansCJKjp', "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
}

.font-oswald {
  font-family: 'Oswald', 'Helvetica', "sans-serif";
}

a {
  color: inherit;
}

.body {
  max-width: 1380px;
  width: 100%;
  padding-left: 10px;
  padding-right: 10px;
  margin-left: auto;
  margin-right: auto;
}

.section {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.column ~ .column {
  margin-top: 7rem;
}

.js-tel a {
  color: inherit;
  text-decoration: none;
}

@media (min-width:737px) {
  [sp] {
    display: none !important;
  }
}

@media (max-width:736px) {
  body {
    min-width: 0;
  }
  [pc] {
    display: none !important;
  }
  html {
    font-size: 9px;
  }
  .body {
    width: 100%;
    padding-left: 3.125%;
    padding-right: 3.125%;
  }
}

@media (max-width:320px) {
  html { font-size:8.5px }
}

/* ****************************************************************************************************
   * header
**************************************************************************************************** */

#header {
  position: relative;
  background: #fff;
  transition: 0.2s box-shadow;
}

#header .btn-contact {
  display: flex;
  align-items: flex-end;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  color: #fff;
  text-decoration: none;
  background: #74d370;
  transition: 1s background; 
}

#header .btn-contact:after {
  content: '';
  position: absolute;
  top: 0;
  left: -30px;
  bottom: 0;
  display: block;
  width: 60px;
  height: 100%;
  background: #74d370;
  transform:  skewX(-20deg);
  transition: 1s background;
}

#header .btn-contact span {
  position: relative;
  z-index: 1;
  display: table-cell;
  vertical-align: bottom;
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
  padding-right: 20px;
  padding-bottom: 1em;
}

#header .btn-contact:before {
  content: '';
  position: absolute;
  top: 40%;
  left: 45%;
  z-index: 1;
  display: block;
  width: 30px;
  height: 25px;
  background: url(../../_images/_common/icon-submit.png) center center /contain no-repeat;
  transform: translate(-50%,-50%);
}

#header .btn-contact:hover,
#header .btn-contact:hover:after {
  background: #2e9d34;
}

#header .body {
  max-width: 1380px;
}

#header .header {
  font-size: 1.2rem;
  line-height: 1.2;
  color: #fff;
  padding: 5px 0;
  background: #000;
}

#header .nav {
  position: relative;
}

#header .nav .logo {
  /*width: 23%;*/
  /*width: 28%;*/
  width: 34%;
  display: table-cell;
  vertical-align: middle;
  padding: 10px 0;
}

#header .nav ul.dropdown > li[current] > a,
#header .nav ul.dropdown > li:hover > a {
  color: #2e9d34;
}

@media (min-width:737px) {
  #header .nav ul.dropdown {
    /*width: 70%;*/
    /*width: 65%;*/
    width: 59%;
    display: table-cell;
    vertical-align: bottom;
    font-size: 1.6rem;
    font-weight: bold;
    text-align: right;
  }
  #header .nav ul.dropdown > li {
    display: inline-block;
    text-align: left;
    white-space: nowrap;
    margin-left: 5%;
  }
  #header .nav ul.dropdown > li > a {
    position: relative;
    display: block;
    line-height: 80px;
  }
  #header .nav ul.dropdown > li a:after {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 10px;
    height: 3px;
    opacity: 0;
    background: #2e9d34;
    transition: 0.2s left, 0.2s right;
  }
  #header .nav ul.dropdown > li[current] > a:after,
  #header .nav ul.dropdown > li:hover > a:after {
    left: 0;
    right: 0;
    opacity: 1;
  }
  #header .nav ul.dropdown .dropdown-box {
    position: absolute;
    left: 0;
    z-index: 9999;
    width: 100%;
    color: #fff;
    padding: 30px 0;
    background: #333;
  }
  #header .nav ul.dropdown .dropdown-box .body:after {
    content: '';
    display: block;
    clear: both;
  }
  #header .nav ul.dropdown .dropdown-box .photo {
    width: 25%;
    float: left;
  }
  #header .nav ul.dropdown .dropdown-box .content {
    width: 70%;
    float: right;
    margin-top: 1em;
  }
  #header .nav ul.dropdown .dropdown-box .content .title {
    font-size: 2.5rem;
    font-weight: bold;
  }
  #header .nav ul.dropdown .dropdown-box .content ul li {
    display: inline-block;
    margin-right: 1em;
  }
  #header .nav ul.dropdown .dropdown-box .content ul li a {
    display: block;
    font-weight: normal;
    padding: 0.75em;
    padding-left: 1.5em;
    background: url(../../_images/_common/nav-listmark.png) 0 center /1em no-repeat;
  }
  #header .nav ul.dropdown .dropdown-box .content ul li a:hover {
    color: #66CDA5;
  }
}

@media (min-width:737px) and (max-width:1600px) {
  #header .nav ul {
    padding-right: 160px;
  }
}

@media (min-width:737px) and (max-width:1100px) {
  #header .nav .logo,
  #header .nav .dropdown {
    display: block !important;
  }
  #header .nav .logo {
    width: 30%;
    padding-bottom: 0;
  }
  #header .nav .dropdown {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between;
    text-align: left !important;
    padding-right: 200px;
  }
  #header .nav ul.dropdown > li {
    margin-left: 0;
  }
  #header .nav ul.dropdown > li > a {
    line-height: 60px;
  }
  #header .nav ul.dropdown .dropdown-box .content {
    margin-top: 0;
  }
  #header .nav ul.dropdown .dropdown-box ul {
    white-space: normal;
    padding-right: 0;
  }
}

#header .nav ul li a {
  color: inherit;
  text-decoration: none;
}

@media (max-width:736px) {
  #header {
    box-shadow: 0 0 3px rgba(0,0,0,0.2);
  }
  #header .nav {
    padding: 0;
  }
  #header .nav .logo {
    width: auto;
    padding: 0;
    padding-top: 3px;
  }
  #header .nav .logo img {
    height: 40px;
    padding: 3px 0 5px;
  }
  #header .nav > .body {
    height: 45px;
  }
  #header .nav li {
    position: relative;
    border-bottom: 1px solid #aaa;
  }
  #header .nav ul.dropdown ul li {
    border-bottom: 0;
  }
  #header .nav ul.dropdown li a {
    width: 100%;
    display: block;
    padding: 0.75em;
  }
  #header .nav ul.dropdown ul li a {
    padding-left: 1.5em;
  }
  #header .nav ul.dropdown > li.parent > a {
    width: calc( 100% - 50px );
    display: inline-block;
  }
  #header .nav ul.dropdown > li.parent:after {
    content: '';
    position: absolute;
    top: 25px;
    right: 20px;
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(45deg);
    margin-top: -10px;
  }
  #header .nav ul.dropdown > li.parent.active:after {
    transform: rotate(-135deg);
    margin-top: -5px;
  }
  #wrapper {
    position: relative;
    left: 0;
    transition: 0.2s left;
  }
  #wrapper.nav-active {
  }
  #sp-nav {
    position: fixed;
    top: 0;
    right: -290px;
    bottom: 0;
    z-index: 9999;
    width: 290px;
    background: #fff;
    overflow-y: auto;
    transition: 0.2s right;
    box-shadow: 0 2px 3px rgba(0,0,0,0.2);
  }
  .nav-active #sp-nav {
    right: 0;
  }
  
  /* icon */
  .icon-menu-trigger {
    display: block !important;
    position: absolute;
    top: 0;
    right: 0;
    width: 45px;
    height: 0;
    padding-top: 45px;
    background: #74d370;
    -webkit-appearance: none;
    border: none;
  }
  .icon-menu-trigger:before,
  .icon-menu-trigger:after,
  .icon-menu-trigger span:before {
    content: '';
    position: absolute;
    left: 20%;
    display: block;
    width: 60%;
    height: 0;
    padding-top: 2px;
    background: #fff;
  }
  .icon-menu-trigger:before {
    top: 29%;
    transition: 0.2s top, 0.2s transform;
  }
  .icon-menu-trigger:after {
    top: 47%;
    transition: 0.2s opacity;
  }
  .icon-menu-trigger span:before {
    top: 66%;
    transition: 0.2s top, 0.2s transform;
  }
  
  /* active */
  .icon-menu-trigger.nav-active:before {
    top: 50%;
    transform: rotate(135deg);
  }
  .icon-menu-trigger.nav-active:after {
    opacity: 0;
  }
  .icon-menu-trigger.nav-active span:before {
    top: 50%;
    transform: rotate(45deg);
  }
}

#header.fixed {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9998;
  width: 100%;
  box-shadow: 3px 0 3px rgba(0,0,0,0.2);
}

#header.fixed .header {
}

@media (max-width:736px) {
  .layout-lower #visual {
    height: 240px !important;
  }
}

/* ****************************************************************************************************
   * breadcrumb
**************************************************************************************************** */

#breadcrumb {
  font-size: 1.2rem;
  white-space: nowrap;
  overflow: hidden;
  padding: 1.25em 0;
}

#breadcrumb:hover {
  overflow-x: auto;
}

#breadcrumb .body {
  max-width: 1220px;
}

#breadcrumb ol {
  letter-spacing: -0.4em;
}

#breadcrumb ol li {
  display: inline-block;
  vertical-align: top;
  letter-spacing: normal;
}

#breadcrumb ol li a {
  display: inline-block;
  text-decoration: underline;
  color: #74d370;
}

#breadcrumb ol li ~ li:before {
  content: '>';
  display: inline-block;
  margin: 0 1em;
}

/* ****************************************************************************************************
   * visual
**************************************************************************************************** */

.layout-lower #visual {
  display: flex;
  height: 200px;
  align-items: center;
  text-align: center;
  background: #f1f1f1;
}

.layout-lower #visual .title {
  font-size: 4rem;
  font-weight: bold;
  line-height: 1.2;
  color: #000;
}

.layout-lower #visual .title:before {
  content: attr(data-text);
  display: block;
  font-size: 1.6rem;
  font-style: italic;
  font-family: Oswald;
  color: #74d370;
  margin-bottom: 0.5em;
}

@media (max-width:736px) {
  .layout-lower #visual .title {
    font-size: 3rem;
  }
}

/* ****************************************************************************************************
   * main
**************************************************************************************************** */

.layout-lower #main .section:first-child {
  padding-top: 3rem;
}

.layout-lower #main .body {
  max-width: 1020px;
}

#main img[class*="wp-image"] {
  height: auto;
}

#main a[href] {
  color: #74d370;
}

#main .page-nav {
  text-align: center;
  padding-top: 30px;
}

#main .page-nav ul li {
  display: inline-block;
  vertical-align: top;
  margin: 0 30px;
}

#main .page-nav ul li a {
  color: #333;
  padding-top: 1em;
  padding-bottom: 1em;
  background: #f1f1f1;
}

#main .page-nav ul li a:before,
#main .page-nav ul li a:after {
  background: #f1f1f1;
}

#main .page-nav ul li a:hover,
#main .page-nav ul li a:hover:before,
#main .page-nav ul li a:hover:after,
#main .page-nav ul li[current] a,
#main .page-nav ul li[current] a:before,
#main .page-nav ul li[current] a:after {
  color: #fff;
  background: #74d370;
}

@media (max-width:736px) {
  #main .page-nav ul li {
    display: block;
    margin: 15px 0;
  }
  #main .page-nav ul li a {
    width: 80%;
    margin: 0 auto;
  }
}

/* ****************************************************************************************************
   * footer
**************************************************************************************************** */

#footer .contact {
  color: #fff;
  padding: 0;
  background: #74d370;
}

#footer .contact .body {
  position: relative;
  display: table;
}

#footer .contact .body:before {
  content: '';
  position: absolute;
  display: block;
  top: 0;
  left: -50%;
  bottom: 0;
  width: 52%;
  height: 100%;
  background: #2e9d34;
}

#footer .contact .title-1 {
  position: relative;
  width: 200px;
  display: table-cell;
  text-align: left;
  padding: 8rem 0;
  background: #2e9d34;

  height: 238px;
}

#footer .contact .title-1:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  right: -50px;
  bottom: 0;
  width: 100px;
  height: 100%;
  background: #2e9d34;
  transform: skewX(-20deg);
}

#footer .contact .content {
  display: table-cell;
  vertical-align: middle;
  padding-left: 90px;
}

#footer .contact .content p {
  font-weight: bold;
}

#footer .contact .layout-flex {
  align-items: center;
}

#footer .contact .tel {
  font-size: 3.7rem;
  font-weight: bold;
  font-family: Oswald;
  font-style: italic;
  margin-top: 0;
}

#footer .contact .tel:before {
  content: '';
  width: 33px;
  height: 36px;
  display: inline-block;
  vertical-align: middle;
  background: url(../../_images/_common/icon-tel.png) center center /cover no-repeat;
  margin-top: -5px;
  margin-right: 10px;
}

#footer .contact .btn-1 {
  font-size: 1.8rem;
  font-weight: bold;
  padding: 25px 75px;
  background: url(../../_images/_common/icon-submit.png) left 2em center /1.5em no-repeat #000;
  left: -20px;

  height: 72px;
}

#footer .contact .btn-1:hover {
  background-color: #999;
}

@media (max-width:1280px) {
  #footer .layout-flex {
    justify-content: space-around;
  }
  #footer .layout-flex > p {
    width: 100%;
    text-align: center;
  }
}

@media (max-width:736px) {
  #footer .contact {
    text-align: center;
    padding: 6rem 0;
  }
  #footer .contact .body {
    display: block;
  }
  #footer .contact .body > * {
    display: block;
  }
  #footer .contact .content {
    padding-left: 0;
  }
  #footer .contact .body:before {
    content: none;
  }
  #footer .contact .title-1 {
    width: 100%;
    text-align: center;
    padding: 0;
    background: none;

    height: auto;
  }
  #footer .contact .title-1:after {
    content: none;
  }
  #footer .contact .btn-1 {
    left: 0;
    margin: 1em auto;
  }
}

#footer .nav {
  color: #fff;
  padding: 8rem 0 7rem;
  background: #000;
}

#footer .nav .item li a {
  position: relative;
  display: block;
  padding-left: 1.25em;
  margin-bottom: 10px;
}

#footer .nav .item > li > a:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 5px;
  height: 5px;
  border-top: 2px solid;
  border-right: 2px solid;
  transform: rotate(45deg);
  margin-top: -3px;
}

#footer .nav .item ul li {
  padding-left: 1em;
}

#footer .nav .item ul li > a:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 8px;
  height: 2px;
  background: #fff;
}

@media (max-width:736px) {
  #footer .nav {
    padding: 0;
  }
  #footer .nav a {
    padding-top: 0.75em;
    padding-bottom: 0.75em;
    border-bottom: 1px solid #333;
    margin-bottom: 0 !important;
  }
}

#footer .footer {
  padding: 2rem 0;
}

#footer .footer dl {
  display: table;
  margin: 0 auto;
}

@media (min-width:737px) {
  #footer .footer dl > * {
    display: table-cell;
    vertical-align: middle;
  }
  #footer .footer dl dd {
    /*padding-left: 2em;*/
    padding: 5px 0 0 2em;
    line-height: 1.5em;
  }
}

#footer .footer .bnr {
  text-align: center;
  margin: 40px 0 20px;
}
#footer .footer .bnr a~a {
  margin: 0 0 0 1em;
}

@media (max-width:736px) {
  #footer .footer .bnr a{
  max-width: 270px;
  display: block;
  margin: 0 auto;
  }
  #footer .footer .bnr a~a {
     margin: 1em auto 0;
  }
}

#footer .footer .copyright {
  font-size: 1.2rem;
  text-align: center;
}



@media (max-width:736px) {
  #footer .footer dl > * {
    margin: 1em 0;
    text-align: right;
  }
  [for=sitemap-trigger] {
    position: relative;
    display: block;
    text-align: center;
    color: #fff;
    padding: 1em;
    background: #000;
    border-bottom: 1px solid #444;
  }
  [for=sitemap-trigger]:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1em;
    display: block;
    width: 8px;
    height: 8px;
    border-right: 3px solid;
    border-bottom: 3px solid;
    margin-top: -6px;
    transform: rotate(45deg);
  }
  [for=sitemap-trigger]:hover {
    background: #444;
  }
  #sitemap-trigger + .nav {
    height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: 0.2s opacity;
  }
  #sitemap-trigger:checked + .nav {
    height: auto;
    visibility: visible;
    opacity: 1;
  }
}
