/* css document */

:root {
  --white: #fff;
  --black: #000;
  --red: #f00;
  --serif: 游明朝, 游明朝体, 'Yu Mincho', YuMincho, serif;
  --sans_serif: 'Helvetica Neue', 'Helvetica', 'Arial', "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--black);
  font-family: var(--sans_serif);
}

section p {
  color: var(--black);
}

p.red {
  color: var(--red);
}

.wrapper {
  height: 100%;
  overflow-x: hidden;
  position: relative;
}


/* メインフレーム */
body {
  /*font-family: 'Helvetica Neue', 'Helvetica', 'Arial', "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  //background: #fff;
  //color: #000;*/
  line-height: 1.8;
}

.imghov img:hover {
  opacity: 0.85;
}

img {
  max-width: 100%;
  width: 100%;
}

/* ヘッダ */
header {
  background: #fff;
}

header a {
  color: #333;
}

header a.tel-link {
  color: #333;
  text-decoration: none;
}

/* フッタ */
div#footer-nav {
  color: #000;
}

footer {
  background: url(../img/common/bg-watercolor.jpg);
  background-size: cover;
  color: #333;
}

div#footer-nav a {
  text-decoration: none;
  color: #3C5D00;
}

div#footer-nav a:hover {
  text-decoration: underline;
}

footer a {
  text-decoration: none;
  color: #3C5D00;
}

footer a:hover {
  opacity: 0.7;
}

h4.footname {
  margin-bottom: 20px;
  color: #999;
  font-size: 1.6rem;
  font-weight: 700;
}

.box33 {
  width: 33.3%;
}

.foot-logo {
  margin-bottom: 30px;
}

.foot-logo img {
  max-width: 180px;
}

.footer-link {
  margin-bottom: 10px;
  text-align: left !important;
}

/* hover */

.link:hover img {
  opacity: 0.8;
}

/* nav */
@media (min-width : 769px) {

  /* PC mode only */
  nav#main-nav ul li {
    width: 16%;
    float: left;
  }

  nav#main-nav ul li a {
    text-decoration: none;
    padding: 12px 10px;
    color: #333;
    display: block;
    font-size: 0.9em;
    width: 100%;
  }


}

/* index.php */

.content_box {
  padding: 30px 20px;
}

.content_box img {
  width: 100%;
}

@media (min-width : 769px) {
  .content_box {
    padding: 60px 30px;
  }
}

.content_box_about {
  padding: 30px 20px 0 20px;
}

.content_box_about img {
  width: 100%;
}

@media (min-width : 769px) {
  .content_box_about {
    padding: 60px 30px 0 30px;
  }
}

.sub {
  font-size: .7em;
  color: #545454;
  font-weight: normal;
  margin-left: .9rem;
  font-weight: 500;
}

h3.bn {
  background: #0060b7;
  color: #fff;
  font-weight: normal;
  text-align: center;
  padding: 3px;
}

/*** 会社概要 table ***/

table {
  margin: 10px auto;
  width: 100%;
}


@media screen and (max-width: 640px) {
  .last td:last-child {
    border-bottom: dashed 1px #999;
    width: 100%;
  }
}

/* index */

h3.content {
  background-color: #BD2F1B;
  padding: 10px;
  margin-bottom: 20px;
  color: #fff;
}

h3.link a {
  font-size: .8em;
  margin-bottom: 10px;
  color: #333 !important;
  text-decoration: none;
}

h3.link a:hover {
  text-decoration: underline;
}

/* 会社概要 */

.Bg-padding {
  padding: 30px 16px;
}

/* ------------------------------------------------- 

------------------------------------------------- */

#nav {
  list-style: none;
  text-align: center;
}

#nav li {
  text-align: center;
  background-color: #f3f3f3;
  height: 36px;
  line-height: 36px;
}

#nav li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

section table {
  width: 100%;
}

/* 
テーブル TOPページ
*/

table.p-index-tbl tr {
  text-align: left;
  border-bottom: solid 1px #ccc;
  font-weight: normal;
}

table.p-index-tbl tr:first-child {
  border-top: solid 1px #ccc;
}

table.p-index-tbl th {
  background: #EFEFEF;
}

section th,
section td {
  padding: 12px;
}

/* 
テーブル メニューページ
*/

table.p-menu-tbl {
  width: 90%;
}

table.p-menu-tbl tr {
  text-align: left;
  border: solid 1px #ccc;
  font-weight: normal;
}

table.p-menu-tbl tr:first-child {
  border-top: solid 1px #ccc;
}

table.p-menu-tbl th {
  background: #FFFCCD;
}

table.p-menu-tbl td {
  text-align: right;
  background: #fff;
}

/* SPサイズの場合 */
@media screen and (max-width: 481px) {

  table.p-menu-tbl th {
    background: #FFFCCD;
    display: block;
  }

  table.p-menu-tbl td {
    text-align: right;
    background: #fff;
    display: block;
  }

  section th,
  section td {
    padding: 6px 8px;
  }

}

@media screen and (max-width: 640px) {
  .last td:last-child {
    border-bottom: solid 1px #ccc;
    width: 100%;
  }
}

/* ------------------------------------------------- 
徳力総合治療院
------------------------------------------------- */

.p-sunday {
  background: #FFFEED;
}

.p-sunday__head {
  background: url(../img/common/bg-h2.jpg);
  margin: 0 auto;
  background-size: contain;
  line-height: 1.4;
}

.p-sunday__head h2 {
  padding: 1.4rem 1rem;
  text-align: center;
  color: #3C5D00;
}

@media (min-width : 769px) {
  .p-sunday__head h2 {
    font-size: 3rem;
  }
}

.p-sunday__foot {
  background: #3C5D00;
  background-image: linear-gradient(90deg, rgba(74, 128, 0, 1), rgba(108, 187, 0, 1));
  width: 100%;
  margin: 0 auto;
  background-size: contain;
}

.p-sunday__foot h3 {
  font-family: 'Open Sans', sans-serif;
  padding: 1.4rem 1rem;
  text-align: center;
  color: #fff;
  font-size: 1.7rem;
  line-height: 1.5;
}

.p-sunday__foot a {
  color: #fff457;
  text-decoration: underline;
}

.p-sunday__foot a:hover {
  color: #d9f0a6;
  text-decoration: none;
}


.p-sunday__card {
  text-align: center;
  background: #E6F3DE;
  padding: 20px 10px;
  max-width: 500px;
  margin: 5px auto;
  border-radius: 10px;
}

.p-sunday__card h3 {
  font-family: 'Open Sans', sans-serif;
  color: #3C5D00 !important;
  font-size: 2rem;
}

.p-sunday__card h4 {
  font-family: 'Open Sans', sans-serif;
  color: #3C5D00 !important;
  font-size: 1.8rem;
}

@media (min-width : 769px) {
  .p-sunday__foot h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.9rem;
    line-height: 1.7;
  }

  .p-sunday__card {
    padding: 30px 30px;
  }

  .p-sunday__card h3 {
    font-size: 2.2rem;
  }

  .p-sunday__card h4 {
    font-size: 2.2rem;
  }

}

.p-sunday__card2 {
  background: #fff;
  padding: 20px;
  box-shadow: 0px 0px 10px -2px rgba(0, 0, 0, 0.4);
}

.indbox {
  padding: 14px;
  background: #fff;
}

@media (min-width : 769px) {
  .indbox {
    padding: 20px;
  }
}

.indbox h4 {
  color: #3C5D00;
  font-size: 1.6rem !important;
}

.p-menu__card {
  position: relative;
  display: inline-block;
  width: 100%;
  padding: 24px 0;
  padding: 0 0 24px 0;
  padding: 0;
  transition: 0.3s;
  text-decoration: none;
  max-width: 400px;
  border-radius: 10px;
  background: #fff;
  margin-bottom: 20px;
}

.p-menu__card img {
  display: block;
  max-width: 140px;
  margin: 10px auto;
  margin: 0px auto;
  padding: 10px 10px 0 10px;
}

.p-menu__card:hover {
  text-decoration: none;
}

.p-menu__card h3 {
  text-align: center;
  font-size: 1.5rem;
  color: #fff;
  margin: 20px auto;

  span {
    background: #439768;
    border-radius: 50px;
    padding: 8px 1rem;
  }
}

@media (min-width : 769px) {
  .p-menu__card h3 {
    font-size: 1.7rem;

    span {
      padding: 8px 2rem;
    }
  }
}

.p-menu__card h4 {
  text-align: center;
  font-size: 1.5rem;
  color: #fff;
  margin: 20px auto;

  span {
    background: #978a43;
    border-radius: 50px;
    padding: 8px 1rem;
  }
}

@media (min-width : 769px) {
  .p-menu__card h4 {
    font-size: 1.7rem;

    span {
      padding: 8px 2rem;
    }
  }
}

.p-menu__cardImg {
  background: url(../img/common/bg-h2.jpg);
  background-size: contain;
  border-radius: 10px 10px 0 0;
}

.p-index-acss__btn {
  text-align: center;
}

.p-about__text {
  margin: 20px 0;
}

.p-about__text p {
  text-indent: 1rem;
  font-size: 1.6rem !important;
  margin-bottom: 20px;
  line-height: 2;
}

@media (min-width : 769px) {
  .p-about__text {
    margin: 40px 0;
  }
}

.p-about__kaso p {
  text-indent: 1rem;
  font-size: 1.6rem !important;
  line-height: 2;
}

.p-about__kasoMap_card {
  margin-bottom: 30px;
}

.p-about__kasoMap img {
  margin-bottom: 10px;
}

.kaso__annai {
  background: #fff;
  border-radius: 30px;
  padding: 50px 20px;
}

.kaso__annai-txt {
  text-align: left;
  color: #3C5D00;
  font-weight: bold;
  font-size: 1.6rem !important;
}

@media (min-width : 769px) {
  .kaso__annai-txt {
    text-align: center;
    font-size: 1.7rem !important;
  }
}

.p-con__sp_card {
  margin-bottom: 30px;
  background: #ECECEC;
  padding: 10px;
}

.p-con__sp_card-txt {
  background: #FFFCE4;
  padding: 10px 20px;
  margin-bottom: 10px;
  min-height: 70px;
}

.p-con__sp_card img {
  max-width: 260px;
  width: 100%;
  margin: 0 auto;
  display: block;
}

.triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 50px solid transparent;
  border-left: 50px solid transparent;
  border-top: 40px solid #4BBAA9;
  border-bottom: 0;
  display: block;
  margin: 0 auto;
  margin-bottom: 20px;
}


/*---------------------------------
徳力総合治療院：見出し
---------------------------------*/

h2 {
  font-size: 2rem;
}

@media (min-width : 769px) {
  h2 {
    font-size: 2.4rem;
  }
}


.h2-top {
  text-align: center;
  position: relative;
  margin: 24px 10px 30px 10px;
  color: #3C5D00;
  margin: 0 auto;
  line-height: 1.5;
}

.h2-underline {
  font-family: 'Open Sans', sans-serif;
  margin-bottom: 20px;
  margin-top: 20px;

  span {
    font-size: 12px;
    font-weight: normal;
  }
}

@media (min-width : 769px) {
  .h2-underline {
    margin-bottom: 40px;
    margin-top: 0;
  }
}

.h2-underline:before {
  content: '';
  position: absolute;
  bottom: -10px;
  display: inline-block;
  border-bottom: 3px solid #8DC63F;
  text-align: center;
  width: 100px;
  height: 3px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.h2-ellipse {
  font-family: 'Open Sans', sans-serif;
  background: #fff;
  border: 3px solid #8DC63F;
  color: #3C5D00;
  line-height: 1.5;
  text-align: center;
  border-radius: 100px;
  padding: 1.8rem;
  max-width: 600px;
  margin: 0 auto;
  margin-bottom: 20px;
  font-size: 1.7rem;
}

/* 見出し吹き出し */
.h2-linefuki {
  font-family: 'Open Sans', sans-serif;
  position: relative;
  padding: 1.5rem 2rem;
  border: 3px solid #8DC63F;
  border-radius: 10px;
  color: #3C5D00;
  background: #fff;
  text-align: center;
  max-width: 300px;
  margin: 0 auto;
  margin-bottom: 30px;
  font-size: 2rem;
}

.h2-linefuki:before {
  position: absolute;
  bottom: -14px;
  left: 45%;
  width: 0;
  height: 0;
  content: '';
  border-width: 14px 12px 0 12px;
  border-style: solid;
  border-color: #8DC63F transparent transparent transparent;
}

.h2-linefuki:after {
  position: absolute;
  bottom: -10px;
  left: 45%;
  width: 0;
  height: 0;
  content: '';
  border-width: 14px 12px 0 12px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

.p__junbi img {
  max-width: 600px;
  display: block;
  margin: 50px auto;
  background: #fff;
  padding: 10px;
}

.p__junbi-txt p {
  margin: 0 auto;
  margin-bottom: 80px;
  text-align: center !important;
  font-size: 1.6rem;
}

.p-teach h3 {
  font-size: 3rem;
  text-align: center;
  color: #3C5D00;
}

.p-teach h4 {
  font-size: 1.7rem;
  text-align: center !important;
}

.p-teach h4 a {
  color: #3C5D00 !important;
}

.p-teach_Left img {
  width: 100%;
  max-width: 1000px;
}

.firstbox {
  background: #fff;
  background-image: url(../img/index/teach-leaf.png);
  background-repeat: no-repeat;
  background-position: 86%;
  background-size: 100px;
  padding: 20px 30px;
  -webkit-box-shadow: 0px 0px 16px -6px rgba(0, 0, 0, 0.6);
  box-shadow: 0px 0px 16px -6px rgba(0, 0, 0, 0.6);
}



/* @media (min-width : 769px) { */
@media (min-width :986px) {
  .absolute_teach {
    position: absolute;
    left: 56%;
    top: 40%;
    width: 100%;
    max-width: 450px;
  }

  .p-teach_Right {
    z-index: 100;
  }

  .p-teach_Left img {
    width: 100%;
    max-width: 700px;
    z-index: 50;
  }


}

/*---------------------------------
徳力総合治療院：ボタン(リザーバ)
---------------------------------*/
.btn-reserva img {
  max-width: 120px;
  text-align: center;
  margin: 0 auto;
  display: block;
}

.btn-reserva img:hover {
  opacity: 0.8;
}

/*---------------------------------
徳力総合治療院：ボタン1
---------------------------------*/
.toiawase-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
  color: #3C5D00;
  font-size: 18px;
  border-radius: 50px;
  width: 100%;
  height: 50px;
  font-weight: bold;
  border-bottom: 4px solid #959595;
  transition: 0.3s;
  box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.4);
  background-color: #E9EF2D;
  margin: 0 auto;
}

@media (min-width : 769px) {
  .toiawase-btn {
    width: 300px;
  }
}

.toiawase-btn:hover {
  box-shadow: 0 0 rgba(0, 0, 0, 0.4);
  border-bottom-width: 2px;
  transform: translateY(2px);
}

/*---------------------------------
徳力総合治療院：ボタン3
---------------------------------*/

.btn,
a.btn,
button.btn {
  font-size: 1.66rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}

/* hoverなしの場合 */

.tel-link {
  color: #3C5D00;
}

.btn-flat {
  overflow: hidden;
  padding: 1.5rem 1rem;
  color: #3C5D00;
  border-radius: 50px;
  background: #E9EF2D;
  width: 260px;
}

.tel-link-caption {
  font-size: 1.4rem;
}

/**/

a.btn-flat {
  overflow: hidden;
  padding: 1.5rem 1rem;
  color: #3C5D00;
  border-radius: 50px;
  background: #E9EF2D;
  width: 260px;
}

@media (min-width : 769px) {
  a.btn-flat {
    padding: 1.5rem 1rem;
    width: 260px;
  }
}

a.btn-flat span {
  position: relative;
}

a.btn-flat:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: '';
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
  background: #b7dd46;
}

a.btn-flat:hover:before {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
}

/*---------------------------------
徳力総合治療院：hover
---------------------------------*/

.hvani {
  border: none;
  background: none;
}

.hvani span {
  padding-bottom: 7px;
  letter-spacing: 4px;
  font-size: 15px;
  font-weight: bold;
  padding-right: 15px;
  text-transform: uppercase;
}

.hvani svg {
  transform: translateX(-8px);
  transition: all 0.3s ease;
}

.hvani:hover svg {
  transform: translateX(0);
}

.hvani:active svg {
  transform: scale(0.9);
}

.hover-underline-animation {
  position: relative;
  color: #3C5D00;
  padding-bottom: 20px;
}

.hover-underline-animation:after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #64AC01;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.hvani:hover .hover-underline-animation:after {
  transform: scaleX(1);
  transform-origin: bottom left;

}

/*---------------------------------
徳力総合治療院：タブ
---------------------------------*/
.p__tab1 {
  text-align: center;
  margin: 0 !important;
}

.tab1__item {
  width: 100%;
  display: inline-block;
  max-width: 49%;
  margin-bottom: 6px;
}

.tab1__link {
  display: block;
  text-decoration: none;
  color: #fff;
  background-color: #64AC01;
  cursor: pointer;

  padding: 6px;
  margin: 0 2px;
}

.tab1__link.on {
  background-color: #64AC01;
  color: #fff;
}

.tab1-body__item {
  padding: 30px 20px;
  display: none;
  text-align: center;
}

/* 見出し：背景グレーに左ライン */

.h__lineGn-bgGry {
  background: #f2f2f2;
  padding: 10px 1.4rem;
  border-left: 4px solid #64AC01;
  margin-bottom: 20px;
  text-align: left;
}

.h__lineGn-bgGry h2.middle,
h3.middle {
  font-size: 1.4em;
}

/* 見出し:背景なし・文字緑 */

.h__lineGn-fontGn {
  color: #3C5D00;
  font-size: 2rem !important;
  padding: 10px 1.4rem;
  margin-bottom: 20px;
  text-align: left;
  border-left: 4px solid #64AC01;
  line-height: 1.5;
}




.tab1-body__item.on {
  display: block;
}

.tab1-body {
  background: #fff;
  border-top: 3px solid #64AC01;
}

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

.tab1-body__in p {
  margin-bottom: 20px;
}

/* Tabボタン：PCでの表示 */
@media (min-width : 769px) {
  .p__tab1 {
    display: flex;
    flex-direction: row;
    text-align: center;
    margin: 0 !important;
    font-weight: bold;
  }

  .tab1__item {
    flex: 1;
    flex-basis: 120px;
    margin-bottom: 0;
  }

  .tab1__link {
    display: block;
    text-decoration: none;
    color: #1a1a1a;
    background-color: #E1E1E1;
    cursor: pointer;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    padding: 10px 6px;
    margin: 0 2px;
  }

}

/* --------------------------- 
整体教室
--------------------------- */
.lesson__card {
  background: #fff;
  border: 1px solid #64AC01;
  padding: 20px;
  margin-bottom: 20px;
}

.lesson__card h3 {
  background: #64AC01;
  color: #fff;
  text-align: center;
  font-size: 1.5rem;
  padding: 10px 0;
}

.lesson__card_body {
  margin: 10px 0;
  border-bottom: 1px solid #64AC01;
  padding: 10px 0;
}

.lesson__card_foot {}


/* --------------------------- 
/* PCサイズ 769 
--------------------------- */
@media (min-width : 769px) {

  body {
    font-size: 1.4rem;
  }

  /* index */

  h2.ind {
    font-size: 1.3em;
  }

  h2.info {
    font-size: 2rem;
  }

  .about2-box dl {
    padding: 10px;
    margin: 10px 20px;
  }

  .about2-box dl dt {
    float: left;
    width: 120px;
  }



  .boxLeft49 img {
    width: 100%;
    max-width: 49%;
    z-index: 50;
  }

  .relative {
    position: relative;
  }

  .absolute {
    position: absolute;
    right: 0;
    bottom: 30px;
  }

  .absolute2 {
    margin: 0 auto;
    width: 100%;
  }



  .infobox {
    padding: 30px 30px;
    margin-bottom: 10px;
  }

  /* 
  .sitemap {
    font-size: 1.1rem;
  } */

  .bg-m20 {
    padding: 20px 20px;
  }

  .bg-m50 {
    padding: 50px 20px;
  }

  .snip1314 h4 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.7em;
    letter-spacing: 1px;
    padding-bottom: 3px;
  }


  /*** 下層 共通 ***/

  #nav {
    list-style: none;
    overflow: hidden;
  }

  #nav li {
    width: 19%;
    text-align: center;
    background-color: #f3f3f3;
    float: left;
    height: 50px;
    line-height: 50px;
    margin-right: 2px;
  }

  #nav li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 20px;
  }

  .Bg-padding {
    padding: 50px 20px;
  }

}




/* ------------------------------------------------- 
Gナビ（pc）
------------------------------------------------- */

.inner {
  max-width: 1400px;
  margin: 0 auto;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.inner:after {
  content: "";
  clear: both;
  display: block;
}

.inline {
  text-align: center;
}

.inline li {
  display: inline;
}


/* header */
#top-head {
  top: -100px;
  position: absolute;
  width: 100%;
  margin: 100px auto 0;
  padding: 14px;
  padding: 14px 0;
  line-height: 1;
  z-index: 999;
  -webkit-box-shadow: 2px 3px rgb(0 0 0 / 10%);
  box-shadow: 2px 3px rgb(0 0 0 / 10%);
}

a {
  -webkit-transition: color .3s;
  transition: color .3s;
}

.nbtn {
  font-weight: 400;
  font-weight: bold;
}

.nbtn__large {
  font-weight: 400;
  font-weight: bold;
  margin: 0 auto;
}

.nbtn__btn a {
  background-color: #E9EF2D;
  padding: 10px 16px !important;
  /* padding: 10px 16px 5px 16px !important; */
  border-radius: 40px;
}


.nbtn__btn a:hover {
  text-decoration: none;
  background-color: #599B00;
  color: #fff;
}


.btn-flat-simple {
  position: relative;
  display: inline-block;
  font-weight: bold;
  padding: 0.8em 4em;
  text-decoration: none;
  color: #3C5D00;
  background: #E9EF2D;
  transition: .3s;
  font-size: 1.5rem;
  border-radius: 50px;
}

.btn-flat-simple:hover {
  background: #599B00;
  color: white;
}

/* グローバルナビ */
#top-head a {
  text-decoration: none;
  /* font-family: 'Noto Serif JP', serif; */
}

#top-head a:hover {
  text-decoration: none;
}

/* a hover */
#top-head a {
  position: relative;
  display: inline-block;
  -webkit-transition: .3s;
  transition: .3s;
  padding-bottom: 4px;
}

/* a hover：PCサイズでの余白を大きくする*/
@media screen and (min-width:891px) {
  #top-head a {
    //padding-bottom: 8px;
    padding: 0 8px 8px 8px;
  }
}

.pcnav a::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  content: '';
  width: 0;
  height: 3px;
  background-color: #8DC63F;
  -webkit-transition: .3s;
  transition: .3s;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);

}

#top-head a:hover::after {
  width: 100%;
}

/**/
#top-head .inner {
  position: relative;
}

#top-head .logo {
  font-size: 36px;
  text-align: left;
}

#top-head .logo img {
  max-width: 200px;
  max-width: 240px;
}

#top-head .logo a:hover {
  text-decoration: none !important;
}

#global-nav ul {
  list-style: none;
  position: absolute;
  right: 0;
  /* top: 30%; */
  top: 20%;
  font-size: 14px;
  text-align: center;
}

#global-nav ul li {
  display: inline;
  padding: 0 20px;
  padding: 0 14px;
}

/* Fixed */
#top-head.fixed {
  margin-top: 0;
  top: 0;
  position: fixed;
  background: #fff;
  background: rgba(255, 255, 255, .96);
  -webkit-box-shadow: 2px 3px rgba(0, 0, 0, 0.1);
  box-shadow: 2px 3px rgba(0, 0, 0, 0.1);
  /* 固定の動き */
  transition: top 0.65s ease-in;
  -webkit-transition: top 0.65s ease-in;
  -moz-transition: top 0.65s ease-in;
  z-index: 2000;
}

#top-head.fixed .logo {
  font-size: 24px;
  color: #333;
}

#top-head.fixed #global-nav ul li {
  padding: 0 20px;
  padding: 0 14px;
}

/*    top固定ボタン    */

/*スマホでは見えないようにする*/
@media screen and (max-width:640px) {
  .top_area {
    display: none;
  }
}

/*641px〜の幅サイズ*/
@media screen and (min-width:641px) {
  .top_area {
    position: fixed;
    top: 6.8%;
    left: 0;
    width: 100%;
    z-index: 10000;
  }

  .top_area img {
    width: 120px;
  }
}


/*    フッター固定ボタン    */

/* ===============================
641px～PC　PC上では見えないようにする
=============================== */
@media screen and (min-width:891px) {
  .footer_area {
    display: none;
  }
}

/*スマホ～641pxの幅サイズまで*/
@media screen and (max-width:890px) {
  .footer_area {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #484231;
    z-index: 10000;
    text-align: center;
  }

  .footer_area .footer_area_inner {
    position: relative;
    margin: 0px auto;
    padding: 10px 0;
    margin-right: 0px;
  }

  .footer_area .footer_area_inner .footer_area_inner_btn {
    width: 85%;
    padding: 11px 0;
    font-size: 20px;
    font-weight: bold;
    margin-left: 15px;
    line-height: 1.3;
  }

  .inquiry_btn {
    background-color: #E9EF2D;
    -webkit-border-radius: 3px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    /* padding: 5px; */
    padding: 5px 12px;
    font-size: 16px;
    font-weight: bold;
  }

  .inquiry_btn:link,
  .inquiry_btn:visited {
    color: #3C5D00 !important;
  }

  .footer_area_inner span {
    color: #3C5D00;
  }

  #siteBottom {
    margin-bottom: 85px;
  }

  footer {
    /* margin-bottom: 70px; */
    margin-bottom: 56px;
  }
}


/* ------------------------------------------------- 
スマホでのドロワーメニュー  元768
------------------------------------------------- */

/* @media(max-width:860px) {*/

@media(max-width:890px) {
  .wrapper {
    height: 100%;
    overflow-x: hidden;
    position: relative;
  }

  #top-head {
    padding: 8px 10px;
  }

  #top-head .logo img {
    max-width: 60px;
    max-width: 160px;
    text-align: center;
  }

  #top-head .logo {
    text-align: center;
  }

  .overlay {
    content: "";
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    opacity: 0;
    -webkit-transition: opacity .5s;
    transition: opacity .5s;
  }

  .menu-trigger {
    display: inline-block;
    width: 24px;
    height: 23px;
    vertical-align: middle;
    cursor: pointer;
    position: fixed;
    top: 18px;
    top: 16px;
    right: 15px;
    z-index: 100;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    -webkit-transition: -webkit-transform .5s;
    transition: -webkit-transform .5s;
    transition: transform .5s;
    transition: transform .5s, -webkit-transform .5s;
  }

  .menu-trigger.active {
    -webkit-transform: translateX(0px);
    transform: translateX(-0px);
  }

  .menu-trigger span {
    display: inline-block;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #333;
  }

  .menu-trigger.active span {
    background-color: #fff;
  }

  .menu-trigger span:nth-of-type(1) {
    top: 0;
  }

  .menu-trigger.active span:nth-of-type(1) {
    -webkit-transform: translateY(12px) rotate(-45deg);
    transform: translateY(12px) rotate(-45deg);
  }

  .menu-trigger span:nth-of-type(2) {
    top: 12px;
    top: 10px;
  }

  .menu-trigger.active span:nth-of-type(2) {
    opacity: 0;
  }

  .menu-trigger span:nth-of-type(3) {
    bottom: 0;
  }

  .menu-trigger.active span:nth-of-type(3) {
    -webkit-transform: translateY(-12px) rotate(45deg);
    transform: translateY(-12px) rotate(45deg);
  }

  .g-nav {
    width: 250px;
    height: 100%;
    padding-top: 100px;
    background-color: rgba(79, 70, 0, 0.96);
    /* background-color: rgba(62, 79, 0, 0.96); */
    background-color: rgba(58, 79, 0, 0.96);
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10;
    -webkit-transform: translate(250px);
    transform: translate(250px);
    -webkit-transition: all .5s;
    transition: all .5s;
  }

  .g-nav.open {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }

  .g-nav li {
    color: #fff;
    font-size: 1.6rem;
    font-weight: normal;
    padding: 16px 20px;
    padding: 20px 20px;
    border-bottom: 1px solid #999;
    //font-weight: bold;
  }

  .g-nav li:first-child {
    border-top: 1px solid #999;
  }

  .g-nav li a:link,
  .g-nav li a:visited,
  .g-nav li a:hover {
    color: #fff;
    text-decoration: none;
  }

  * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  .g-nav ul {
    list-style: none;
  }

  /* スマホのみ適応 */
  .firsttext {
    padding: 30px 16px;
  }
}