@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP&family=Merriweather&display=swap');

/*
   Break Point

  // Small devices (landscape phones, 576px and up)
  @media (min-width: 576px) { ... }

  // Medium devices (tablets, 768px and up)
  @media (min-width: 768px) { ... }

  // Large devices (desktops, 992px and up)
  @media (min-width: 992px) { ... }

  // X-Large devices (large desktops, 1200px and up)
  @media (min-width: 1200px) { ... }

  // XX-Large devices (larger desktops, 1400px and up)
  @media (min-width: 1400px) { ... }

*/

body {
  margin: 0;
  padding: 0;
}

/* Lists (enumeration) */
/* ============================================ */
/* Vertical rhythm */
/* ============================================ */
p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl,
dt,
dd {
  margin: 0;
  padding: 0;
}

/* Headings */
/* ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  margin: 0;
}

/* Lists (enumeration) */
/* ============================================ */
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {

  font-family: "Noto Serif JP", "Merriweather", "Times New Roman", serif;

/*  font-family: 'Noto Sans JP', 'Noto Serif JP','ヒラギノ明朝 Pro W3', 'Hiragino Mincho Pro', '游明朝', 'Yu Mincho', '游明朝体', 'YuMincho', 'ＭＳ Ｐ明朝', 'MS PMincho', serif, sans-serif; */
  font-optical-sizing: auto;
  font-size: 1.0em;
/*  font-weight: <weight>; */
/*  font-style: normal; */
/*  font-family: "M PLUS 1", sans-serif;*/
/*  font-family: 'Noto Serif JP', serif; */
/*  font-family: 'Noto Sans JP', sans-serif; */
/*  font-family: 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho Pro', '游明朝', 'Yu Mincho', '游明朝体', 'YuMincho', 'ＭＳ Ｐ明朝', 'MS PMincho', serif; */
  color: #000000;
  overflow-x: hidden;
  font-size: 1.0em;
  line-height: 1.5;
}

.zen-maru-gothic-regular {
  font-family: "Zen Maru Gothic", serif;
  font-weight: 400;
  font-style: normal;
}

.zen-maru-gothic-medium {
  font-family: "Zen Maru Gothic", serif;
  font-weight: 900;
  font-style: normal;
}

header {
  width: 100%;
}

main {
  flex: 1;
  width: 100%;
  overflow-y: scroll;
}

footer {
  width: 100%;
}

button {
  letter-spacing: 2px;
}

a {
  text-decoration: none;
  color: black;
}

img {
/*    max-width: 100%; */
/*    width: 100%; */
  margin: 0;
  display: block;
  max-width: 100%;
  height: auto;
/*  vertical-align: bottom; */
}

/* Style inputs, select elements and textareas */
input[type=text], input[type=tel], input[type=email], input[type=date], select, textarea{
  width: 100%;
  padding: 9px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
  font-size: 0.9rem;
}

select {
  background-color: #fff;
}
/* Style the label to display next to the inputs */
label {
  padding: 6px 12px 9px 0;
  display: inline-block;
}

.checkbox input[type=checkbox].checkbox__item{
  display: none;
}

.checkbox label {
  display: inline-block;
}

/* spanの左側にボタンを配置するスペースを作る */
.checkbox .checkbox__item + span {
  padding-left: 2em;
  display: inline-block;
  position: relative;
}

/* 各パーツを作成 */
.checkbox .checkbox__item + span::after,
.checkbox .checkbox__item + span::before {
  content: '';
  display: block;
  position: absolute;
  border: 1px solid #AAAAAA;
  width: 20px;
  height: 20px;
  top: 0;
  left: 0;
}

/* after上書き */
.checkbox .checkbox__item + span::after {
  opacity: 0;
  width: 10px;
  height: 15px;
  transform: rotate(45deg);
  left: 5px;
  border: none;
  border-right: 3px solid #f18800;
  border-bottom: 3px solid #f18800;
}

/*
  checked状態
  文字のcolorとボタンのopacityを変更
*/
.checkbox .checkbox__item:checked + span {
  color: #f18800;
}

.checkbox .checkbox__item:checked + span::after {
  opacity: 1;
}

/*-- local style common --*/
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

.error {
  color: #ff0000;
  font-size: 0.8rem;
}

.cation {
  color: #ff0000;
  font-size: 0.8rem;
}

.asterisk {
  color: #ff0000;
  margin-left: .3rem;
}

.align-left {
  text-align: left ;
}

.align-center {
  text-align: center ;
}

.align-right {
  text-align: right ;
}

/* 表示位置調整 */
section::before {
  content:'';
  display: block;
  padding-top: 300px;
  margin-top: -300px;
}

/*-- dexktop or mobile --*/
.desktop {
  display: initial;
}

.mobile {
  display: none;
}

@media screen and (max-width: 576px) {
  .desktop {
    display: none;
  }
  
  .mobile {
    display: initial;
  }
}


/* タブレット用のブレイクポイントを指定 */
/* タブレットサイズ以下でPC用のバナーを非表示に */
/* }
*/
@media screen and (max-width: 990px) { 
}

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

}

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

@media screen and (max-width: 560px) {/* スマホ用のブレイクポイントを指定 */
}

/* Call us */
.head-catch {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  color: #ffffff;
  opacity: 1.0;
/*  background-color: rgb(233, 51, 51); プライマリーカラー */ 
  padding: 3px 0;
  text-align: center;
  z-index: 1;
}

.head-catch a{
  color: #ffffff;
}

/*-- header --*/
#head-wrap {
  top: 0px;
  position: relative;
  width: 100%;
  margin: 0 auto 0;
  line-height: 1;
  z-index: 999;
  height: 0px;
  text-decoration: none;
  a {
    text-decoration: none;
  }
  .inner {
    width: 100%;
    margin: 0 auto;
    position: relative;
  }
  &:after {
    content: "";
    clear: both;
    display: block;
  }
  .logo {
    float: left;
    font-size: 1.4rem;
/*    font-size: 36px; */
  }
}
  
#global-nav {
  
/*  position: absolute;
  left: 0;
  top: 300;
*/
  clear: both;
  text-align: center;
  background-color: #fff ;
  top: 100px;
  z-index: 9999;
  ul {
    list-style: none;
    font-size: 1.1rem;
/*    margin-right: 10px; */
/*    display: inline-flex; */
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
  }
/*  background-color: #f00; */
}
  
@media (max-width: 576px) {
  #global-nav ul {
    display: block;
    margin-right: 0px;
  }
}
  
#global-nav ul li {
  border-right: 1px solid #fff;
/*  line-height: 100vh; */
  padding: 3px 3px 0 9px;
  line-height: 2.4rem;
  display: inline-block;
  vertical-align: middle;
/*  padding: 5px 9px 0 9px; */
/*  height: 1.9rem; */
}
  
#global-nav ul li:last-child {
  border-right: none;
}

#mobile-head, #global-nav {
  display: none;
}

.desktop-catch {
  font-size: 1.1rem;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  color: #ffffff;
  line-height: 2.4rem;
  text-align: center;
  background: linear-gradient(135deg, #d9d9d9, #bfbfbf, #a6a6a6, #f2f2f2);
  
/*  background-color: rgb(231, 233, 234); */
  z-index: 9999;
  
  }
  
  .global-logo {
      width: 90px;
  }
  
  .mobile-catch{
    display: none;
  }
  
  @media (max-width: 576px) {
    #global-nav {
      display: block;
    }
    .desktop-catch{
      display: none;
    }
  
    .global-logo {
      width: 12vw; 
    }
  
    .mobile-catch {
      display: inline;
      width: 88%;
      text-align: center;
      align-items: center;
      vertical-align: middle;
      line-height: 42px;
      color: #ffffff;
      background: linear-gradient(135deg, #d9d9d9, #bfbfbf, #a6a6a6, #f2f2f2);
    }
  
    .mobile-site {
      width: 100%;
      top: 42px;
      padding: 6px;
      position: fixed;
      display: flex;
      align-items: center;
      vertical-align: middle;
      background-color: rgba(255, 255, 255, .8);
    }
  
    .mobile-site-title {
      width: 100%;
      text-align: center;

      h1 {
/*        font-family: "Zen Maru Gothic", serif; */
        font-weight: bold;
        font-size: 1.8rem;
        text-align: center;
        line-height: 0.6rem;
        .sub {
          font-weight: normal;
          font-size: 1.2rem;
/*          font-family: 'Noto Sans JP', serif; */
        
          &::before {
            content: '\A';
            margin-top: 0;
            white-space: pre;
            display: block; 
          }
        }
      }
    }
  
    .nav-toggle-background {
      width: 12%;
      text-align: center;
      height: 42px;
      align-items: center;
      vertical-align: middle;
      background: rgb(243, 245, 248);
    }
  }
  
  .desktop-head {
    width: 100%;
    top: 36px;
    left: 0;
    position: fixed;
    z-index: 9999;
    background-color: rgba(255, 255, 255, .9);
  }

  .desktop-logo-title {
    display: flex;
    align-items: center;
    vertical-align: middle;
  }

  .desktop-logo {
    padding: 9px;
  }
  
  .desktop-site {
    align-items: center;
    vertical-align: middle;
/*    padding-left: 9px;
    padding-right: 18px;
    padding-bottom: 9px;
    */
    width: 100%;
  }
  
  .desktop-menu {
    background-color: #fff;
    text-align: center;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
  }
  
  .desktop-site-title {
    text-align: center;
/*    padding-left: 12px; */
    h1 {
/*      font-family: "Zen Maru Gothic", serif; */
      font-weight: 900;
      font-style: normal;
      font-size: 2.0rem;
      color: #000;
      line-height: 1.0rem;
      .sub {
        font-weight: normal;
        font-size: 1.6rem;
/*        font-family: 'Noto Sans JP', serif; */
      
        &::before {
          content: '\A';
          margin-top: 0;
          white-space: pre;
          display: block; 
        }
      }


    }
  }
  
  #desktop-nav {
    clear: both;
    text-align: center;
    top: 100px;
    z-index: 9999;
    ul {
      list-style: none;
      font-size: 0.9rem;
    }
}
  
#desktop-nav ul li {
  border-right: 1px solid #fff;
  padding: 3px 3px 0 9px;
  line-height: 2.2rem;
  display: inline-block;
  vertical-align: middle;
  border-left: 1px solid #ccc;
}
    
#desktop-nav ul li:first-child {
  border-left: none;
}
  
@media (max-width: 576px) {
  .desktop-head {
    display: none;
  }
  
  #global-nav ul li {
    border-right: none;
    display: block;
  } 
}
  
@media (max-width: 576px) {
  .desktop-head {
    display: none;
  }

  #global-nav ul li {
    border-right: none;
    display: block;
  }

}
  
#global-nav ul li a {
  padding: 0 5px;
/*  padding: 2px; */
  transition: all .6s ease 0s;
  box-sizing: border-box;
  color: #fff;
/*  font-weight: bold; */
}
  
/* Fixed */

/* #head-wrap.fixed {
  top: 100px;
*/
  /*  top: 38px; */
/*  position: fixed; */
/*  height: 100px; */
/*  transition: top 0.65s ease-in; */
 /* background-color: rgb(233, 51, 51); プライマリーカラー */

/*
  -webkit-transition: top 0.65s ease-in;
  -moz-transition: top 0.65s ease-in;
*/
/*  z-index: 9999; */
/* } */
/*  
#head-wrap.fixed .logo {
  font-size: 36px;
  color: #333;
}
  
#head-wrap.fixed #global-nav ul li a {
  color: #333;
  padding: 0 20px;
}
*/

/* Toggle Button */
#nav-toggle {
  display: none;
  margin-right: auto;
  margin-left: auto;
  width: 30px;
  height: 36px;
  top: 10px;
  position: relative; 
/*  right: 9px;
*/

  cursor: pointer;
  z-index: 101;
  div {
    position: relative;
  }
}

@media (max-width: 576px) {
  #head-wrap {
    top: 0px;
    position: fixed;
    margin-top: 0;
    width: 100%;
    padding: 0;
    /* Fixed reset */
    .inner {
      width: 100%;
      padding: 0;
    }
    .fixed {
      top: 0;
      padding-top: 0;
      background: transparent;
    }
  }

  #mobile-head {
    display: flex;
/*    background: rgb(255, 240, 240); */
    width: 100%;
    height: 42px;
    z-index: 999;
    position: relative;
  }
  #head-wrap.fixed {
    top: 0
  }
  #head-wrap.fixed .logo,
  #head-wrap .logo {
    position: absolute;
    left: 13px;
    top: 13px;
    color: #333;
    font-size: 26px;
  }

  #head-wrap.fixed {
    margin-top: 0;
  }

  #global-nav {
    position: absolute;
    top: 42px;
    right: -300px;
/*
    top: -514px;
    right: 0;
*/
    background: linear-gradient(135deg, #d9d9d9, #bfbfbf, #a6a6a6, #f2f2f2);
    width: 40%;
    text-align: center;
    /*
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    */
    transition: .5s ease-in-out;
    z-index: 9999;


  }
  #global-nav ul {
    list-style: none;
    position: static;
    right: 0;
    bottom: 0;
    font-size: 14px;
    margin-top: 14px;
  }
  #global-nav ul li {
    float: none;
    position: static;
  }
  #head-wrap #global-nav ul li a,
  #head-wrap.fixed #global-nav ul li a {
    width: 100%;
    display: block;
    padding: 5px 0;
  }
  #nav-toggle {
    display: block;
  
    span {
      display: block;
      position: absolute;
      height: 2px;
      width: 100%;
      background: linear-gradient(135deg, #d9d9d9, #bfbfbf, #a6a6a6, #f2f2f2);
      /*      left: 0;*/
/*
        -webkit-transition: .35s ease-in-out;
        -moz-transition: .35s ease-in-out;
*/
      transition: .35s ease-in-out;

      &:nth-child(1) {
        top: 0;
      }
      &:nth-child(2) {
        top: 9px;
      }
      &:nth-child(3) {
        top: 18px;
      }      
    }
  }

  .open {
    #nav-toggle {
      span{
        &:nth-child(1) {
          top: 9px;
        /*
        -webkit-transform: rotate(315deg);
        -moz-transform: rotate(315deg);
        */
          transform: rotate(315deg);
        }
        &:nth-child(2) {
          width: 0;
          left: 50%;
        }
        &:nth-child(3) {
          top: 9px;
        /*
        -webkit-transform: rotate(-315deg);
        -moz-transform: rotate(-315deg);
        */
          transform: rotate(-315deg);
        }
      }
    }

    #global-nav {
      /* #global-nav top + #mobile-head height */
      /*
      -moz-transform: translateY(556px);
      -webkit-transform: translateY(556px);
      */
      transform: translateX(-300px);
      /* transform: translateX(600px); */
/*      transform: translateY(556px); */
    }
  }
}

/*-- footer --*/
.foot-menu {
  background: linear-gradient(135deg, #d9d9d9, #bfbfbf, #a6a6a6, #f2f2f2);
/*  background-color: #dddddd; */
  padding: 9px 0 9px 0;
}

.foot-menu p {
  color: #fff;
  font-size: 1.2rem;
  text-align: center;
}

.foot-menu ul {
  text-align: center;
}

.foot-menu li {
  font-size: 0.9rem;
  text-align: center;
  padding: 0 0 6px;
  display: inline;
}

/*-- foot バナー */
.flex-row {
    display: none;
  }

@media (max-width: 576px) {
  /*-- footer バナー --*/
  .flex-row {
    display: flex;
  }

  .foot-menu li {
    font-size: 0.8rem;
    padding: 0 0 3px;
  }
}

/*-- 右サイドバナー */
.side-banner {
  right: 0;
  top: 160px;
  position: fixed;
  width: 240px;
  z-index: 9999;
}

@media (max-width: 576px) {
  .side-banner {
    display: none;  
  }
}

/* ページトップへ・ボタン */
#page_top{
  width: 72px;
  height: 90px;
  position: fixed;
  right: 0px;
  bottom: 72px;
  opacity: 0;
  transition: all 1s ease;
  z-index: 9999;
}

#page_top.show {
    opacity: 0.8;
    transform: none;
 }
#page_top a{
    position: relative;
    display: block;
    width: 72px;
    height: 90px;
    text-decoration: none;
}

#page_top a::before{
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f102';
    font-size: 2.0rem;
    color: rgba(222, 71, 71, .8);
    position: absolute;
    width: 30px;
    height: 30px;
    top: -40px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
}

#page_top a::after{
    content: 'TOP';
    font-size: 1.0rem;
    position: absolute;
    top: 48px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
    color: rgba(222, 71, 71, .9);
}

@media screen and (max-width: 576px) {/* スマホ用のブレイクポイントを指定 */
    /* ページトップへ・ボタン */
  #page_top {
    width: 72px;
    height: 90px;
    position: fixed;
    right: 0px;
    bottom: 120px;
    opacity: 0;
    transition: all 1s ease;
  }
}

/* fadeUp : 下からふわっと現れる */
.fadeUp {
/*    -webkit-animation-name: fadeUpAnime; */
  animation-name: fadeUpAnime;    /*アニメーションの名前*/
/*    -webkit-animation-duration: 1s; */
  animation-duration: 1s;         /*アニメーションの実行時間*/
/*    -webkit-animation-fill-mode: forwards; */
  animation-fill-mode: forwards;  /*アニメーション後、要素が表示されたままにする*/
  }
    
.fadeUpTrigger {
  opacity: 0;                     /*非表示*/
}
  /* ページトップへ */
@-webkit-keyframes fadeUpAnime {
  0% {
    opacity: 0;                   /*非表示*/
/*          -webkit-transform: translateY(100px); */
    transform: translateY(100px); /*縦方向に100pxずらす*/
  }
  
  100% {
    opacity: 1;                   /*表示*/
/*          -webkit-transform: translateY(0); */
    transform: translateY(0);     /*元の位置*/
  }
}
  
@keyframes fadeUpAnime {
  0% {
    opacity: 0;                   /*非表示*/
/*          -webkit-transform: translateY(100px); */
    transform: translateY(100px); /*縦方向に100pxずらす*/
  }
    
  100% {
    opacity: 1;                   /*表示*/
/*          -webkit-transform: translateY(0); */
    transform: translateY(0);     /*元の位置*/
  }
}

