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

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

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

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

@font-face {
  font-family: 'NotoSerifCJKjp';
  font-style: normal;
  font-weight: bold;
  src: local('NotoSerifCJKjp'),
       url('../../_font/NotoSerif/NotoSerifCJKjp-SemiBold.woff') format('woff');
    font-display: swap;
}

html {
  font-size: 10px;
}

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

a {
  color: inherit;
}

.body {
  max-width: 1220px;
  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: 4rem;
}

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


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

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

@media (max-width:320px) {
  html { font-size:8.5px }
}
/* 20240222 書き換え
#sp-contact {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #ff6c40;
  z-index: 999;
}
*/
#sp-contact {
  position: fixed;
  left: 0;
  top: 0;
  width: calc(100% - 50px);
  background: #ff6c40;
	overflow: hidden;
	height: 50px;
}
#sp-contact a[href*="tel:"],
#sp-contact img.js-tel {
  display: block;
  width: 66.5%;
  float: left;
}

#sp-contact a[href*="tel:"] img {
  width: 100%;
}

#sp-contact a {
  display: block;
  width: 33.5%;
  float: right;
}

.sp_footer_logo {
	position: fixed;
	background: #fff;
	width: 100%;
	bottom: 0;
	left: 0;
	z-index: 9999;
	padding: 10px;
}
.sp_footer_logo img {
	width: 75%;
}
/* ****************************************************************************************************
   * header
**************************************************************************************************** */

#header .text {
  font-size: 1.4rem;
  color: #fff;
  line-height: 1.2;
  padding: 0.5em 20px;
  background: #666;
}

#header .logo {
  width: 28%;
  padding-top: 3px;
}

#header .nav {
  height: 68px;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  padding-left: 20px;
  transition: background 1s;
}

#header .nav.fixed {
  background: #fff;
  box-shadow: 0 0 3px rgba(0,0,0,0.2);
}

@media (min-width:737px) {
  #header .nav #sp-nav {
    width: 50%;
  }
  #header .nav ul {
    display: flex;
    justify-content: space-between;
  }
}

#header .nav ul li a {
  display: block;
  text-align: center;
  text-decoration: none;
  padding: 10px 0 0;
}

#header .nav ul li a[href*="contact"] {
  color: #ff6c3f;
    font-weight: bold;
}

#header .nav .tel {
  max-width: 340px;
  width: 23%;
}

@media (min-width:737px) and (max-width:1560px) {
  #header .nav #sp-nav {
    width: 70%;
  }
  #header .tel {
    display: none;
  }
  #header .visual .tel[sp] {
    display: block !important;
  }
  #header .visual .tel {
    width: 25%;
    position: absolute;
    top: 68px;
    right: 0;
    text-align: right;
    z-index: 1;
  }
}

#header .visual {
  position: relative;
  height: 0;
  overflow: hidden;
  padding-top: 57.5%;
  background: url(../../_images/index/visual.webp) center center /cover no-repeat;
  margin-top: -68px;
}

#header .visual .visual-text {
  position: absolute;
  top: 13%;
  left: 19%;
  font-size: 3.6rem;
  font-weight: bold;
  color: #ff6c3f;
  text-decoration: underline;
}

#header .visual .visual-text .large {
  font-size: 1.33em;
}

#header .visual-arrow {
  position: absolute;
  z-index: 1;
  left: -100%;
  bottom: -100%;
  transition: left 1s, bottom 1s;
}

#header .visual-arrow img {
  width: 100%;
}

#header .visual.inview-active .visual-arrow.arrow-1 {
  left: 5%;
  bottom: 0;
}

#header .visual.inview-active .visual-arrow.arrow-2 {
  left: 27%;
  bottom: 0;
}

#header .visual.inview-active .visual-arrow.arrow-3 {
  left: 54%;
  bottom: 0;
}

@media (max-width:1660px) {
  #header .visual.inview-active .visual-arrow.arrow-1 {
    width: 600px;
    left: 0;
  }
  #header .visual.inview-active .visual-arrow.arrow-2 {
    width: 400px;
    left: 27%;
  }
  #header .visual.inview-active .visual-arrow.arrow-3 {
    width: 400px;
  }
}

@media (max-width:1560px) {
  #header .visual .visual-text {
    font-size: 2.5rem;
  }
}

@media (max-width:1180px) {
  #header .visual.inview-active .visual-arrow.arrow-1 {
    left: -9%;
  }
  #header .visual.inview-active .visual-arrow.arrow-2 {
    left: 25%;
  }
}

@media (max-width:736px) {
  body {
    padding-top: 50px;
  }
  #header .text {
    display: none;
  }
  #header .visual {
    padding-top: 80%;
    background-image: url(../../_images/index/visual-sp.webp);
    margin-top: 0;
  }
  #header .visual .tel {
    width: 40%;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
  }
  #header .text {
    font-size: 1.2rem;
    padding: 0.5em 1em;
  }
  #header .nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: auto;
    background: #fff;
    padding-left: 0;
    padding: 5px;
    box-shadow: 0 0 3px rgba(0,0,0,0.2);
    transition: left 0.2s;
  }
  #header .logo {
    padding-top: 0;
  }
  #header .logo img {
    height: 40px;
  }
  #header .nav .logo {
    width: 70%;
  }
  #wrapper {
    position: relative;
    left: 0;
    transition: 0.2s left;
  }
  #wrapper.nav-active {
    left: -290px;
  }
  #sp-nav {
    position: fixed;
    top: 0;
    right: -290px;
    bottom: 0;
    z-index: 9999;
    width: 290px;
    background: #fff;
    overflow-y: auto;
    transition: 0.2s right;
  }
  .nav-active #sp-nav {
    right: 0;
  }
  .nav-active #header .nav {
    left: -290px;
  }
  #sp-nav ul li {
    display: block !important;
    border-bottom: 1px solid;
      font-size: 120%;
  }
  #sp-nav ul li a {
    display: block;
    text-align: left !important;
    padding: 0.5em !important;
  }
  #sp-nav ul li a img {
    margin-right: 0.5em;
  }
  #sp-nav ul li br {
    display: none;
  }
  
  /* icon */
  .icon-menu-trigger {
    display: block !important;
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 0;
    padding-top: 50px;
    background: #ff6c40;
    -webkit-appearance: none;
    border: none;
		border-left: 2px solid #fff;
  }
  .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 */
  .nav-active .icon-menu-trigger:before {
    top: 50%;
    transform: rotate(135deg);
  }
  .nav-active .icon-menu-trigger:after {
    opacity: 0;
  }
  .nav-active .icon-menu-trigger span:before {
    top: 50%;
    transform: rotate(45deg);
  }
}

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

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


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

#footer .inview {
  position: relative;
  top: 40px;
  opacity: 0;
  transition: top 0.5s, opacity 0.5s;
}

#footer .inview.inview-active {
  top: 0;
  opacity: 1;
}

#footer .contact {
  padding: 100px 0;
  background: url(../../_images/_common/contact-bg.png);
}

#footer .contact .title {
  position: relative;
  display: table;
  margin-left: auto;
  margin-right: auto;
}

#footer .contact .title .tel-icon {
  position: absolute;
  width: 20%;
  top: 10%;
  right: 0;
}

#footer .contact .layout-flex-2 {
  max-width: 730px;
  align-items: center;
  margin: 1.5em auto 0;
}

#main .contact .btn img,
#footer .contact .btn img {
  width: 281px;
  display: block;
  margin: 0 auto;
}

#main .contact .btn,
#footer .contact .btn {
  margin-top: 20px;
}

#footer .footer {
  background: #144a97;
}

#footer .footer .nav {
  max-width: 900px;
  padding-top: 40px;
  padding-bottom: 40px;
  margin: 0 auto;
}

#footer .footer .nav ul {
  display: flex;
  justify-content: space-between;
}

#footer .footer .nav ul a {
  display: block;
  font-weight: bold;
  color: #fff;
}

#footer .footer .logo {
  text-align: center;
  margin-bottom: 30px;
}

#footer .footer .content {
  max-width: 740px;
  font-size: 1.8rem;
  background: #fff;
  padding: 3.125%;
  border: 5px solid #d5d5d6;
  border-radius: 20px;
  margin-left: auto;
  margin-right: auto;
}

#footer .footer .layout-flex-2 {
  max-width: 580px;
  color: #fff;
  text-align: center;
  padding-bottom: 60px;
  margin: 56px auto 0;
}

#footer .copyright {
  font-size: 1.4rem;
  line-height: 1.2;
/*  color: #7f7f7f;*/
  color: #333;
  text-align: center;
/*  padding-top: 45px;*/
  padding-bottom: 45px;
}

#pagetop {
  position: fixed;
  right: 3.125%;
  bottom: 3.125%;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.5s;
}

#footer{
  /* margin-bottom: 0; */
    margin-bottom: 115px;
}

#footer .fix_phone {
  position: fixed;
  display: none;
  bottom: 0;
  background: rgba(255, 255, 255, 0.7);
  width: 100%;
  z-index: 999;
}
#footer .fix_phone ul {
  display: flex;
  align-items: center;
  margin-right: calc(3.125% + 126px)
}
#footer .fix_phone ul li {
  width: calc( (100% - 4rem) / 3 );
  text-align: center;
}
#footer .fix_phone ul li:not(:nth-last-of-type(1)) {
  margin-right: 2rem;
}
#footer .fix_phone ul li.form a{
 font-size: 0.95vw;   
}
#footer .fix_phone ul li.tel a {
  font-size: 2.6vw;
  font-weight: bold;
  color: #ff6c3f;
}
#footer .fix_phone ul li img {
  width: 50%;
}
#footer .fix_phone p {
  text-align: center;
  margin: 0.5rem 0;
} 

@media (max-width:736px) {
  body {
    padding-bottom: 50px;
  }
  #pagetop {
    bottom: 11%;
  }
  #footer .contact {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  #footer .footer .nav ul {
    display: block;
  }
  #footer .footer .nav ul li {
    width: 49%;
    display: inline-block;
    vertical-align: top;
    margin-bottom: 10px;
  }
  #footer .copyright {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  #pagetop {
    width: 100px;
  }
  [for=sitemap-trigger] {
    position: relative;
    display: block;
    text-align: center;
    padding: 1em;
    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;
  }

  #footer{
  margin-bottom: 25px;
  }
}

/* キャンペーン用 */
aside.campaign_tag { position: relative; background: #ff6c3f; position: fixed; top: 50px; right: 0; border-top-left-radius: 7px; border-bottom-left-radius: 7px; z-index: 999; border: 2px solid #fff; border-right: none; }
aside.campaign_tag .menu_tag { writing-mode: vertical-rl; font-weight: bold; line-height: 50px; padding: 1rem 0 2em; width: 50px; }
aside.campaign_tag .menu_tag a { position: relative; color: #fff; display: block; text-decoration: none; padding-bottom: 10px; }
aside.campaign_tag::after { content: ""; background: url(../../_images/campaign/tachi_icon.svg)no-repeat; width: 1em; height: 2em; display: block; background-size: contain; background-position: center; left: 50%; position: absolute; bottom: 5px; transform: translateX(-40%); }

@media (min-width:735px) {
    aside.campaign_tag { top: 120px; }
}
