@charset "utf-8";

/************************************************
 共通設定
*************************************************/
html {
  font-family: "游ゴシック", YuGothic, "メイリオ", Meiryo, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5; /*わざと単位無し*/
  color: #333333;
  background: url(../images/bg_body.png) top left repeat;
}

@media print, screen and (min-width: 768px){
  body {
    min-width: 1000px;
  }
}

*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  transition: 0.3s;
}
img {
  vertical-align: middle;
  max-width: 100%;

}
a:link, a:visited {
  color: #509235;
  transition: 0.3s;
}
a:hover, a:active {
  color: #8BC53E;
}
a:hover img {
  opacity: 0.5;
}


/* ==============================================
 フレーム
=============================================== */
.wrapper {
margin: 0 10px;
}
@media print, screen and (min-width: 768px){
  .wrapper {
    width: 1080px;
    margin: 0 auto;
  }
}

#container {
  margin: 50px auto;
}
@media print, screen and (min-width: 768px){
  #container {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
  }
}


/* ==============================================
 ヘッダー
=============================================== */
#header {
}

#header_logo {
  padding: 20px 60px 20px 10px;
  background: #fff;
  border-radius: 0 0 10px 10px;
  text-align: left;
  width: 100%;
}
@media print, screen and (min-width: 768px){
  #header_logo {
    padding: 20px 10px;
    width: auto;
  }
}

#header_tell {
  margin-left: 5px;
  font-weight: bold;
  text-align: center;
  color: #509235;
  width: 300px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#header_tell p {
  margin: 0 0 0;
}
#header_tell p.text_small {
  background-color: #4F9135;
  color: #fff;
  border-radius: 10px;
  padding: 3px 2px;
  margin-bottom: 5px;
}

#header_tell_bus,
#header_tell_taxi {
  padding: 2px;
  width: 49%;
  border: 1px solid #b2b2b2;
  border-radius: 10px;
  background: #fff;
}
@media print, screen and (min-width: 768px){
  #header_tell p.text_small {
    padding: 5px;
  }
  #header_tell_bus,
  #header_tell_taxi {
    padding: 10px;
  }
}

#header_top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#header_bottom {
  height: 30px;
}


/* グローバルナビ
----------------------------------------------- */
#global_nav ul {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
#global_nav li {
  margin: 0;
  padding: 0 10px;
  border-left: 1px solid #B2B2B2;
  font-size: 125%;
  font-weight: bold;
}
#global_nav li:last-child {
  border-right: 1px solid #B2B2B2;
}
#global_nav li a {
  transition-duration: 0.3s;
}
#global_nav li a:hover img,
#global_nav li a:active img {
  transform: scale(0.9);
  opacity: 1;
}
#global_nav .button {
  padding: 7px 13px;
}


/* グローバルナビ スマホ
----------------------------------------------- */
#global_nav_sp {
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 270px;
  display: none;
  background: #509235;
  z-index: 999;
}
#global_nav_sp_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  background: rgba(0, 0, 0, .5);
  z-index: 998;
}
#global_nav_sp ul {
  list-style: none;
  text-align: center;
  margin: 0 10px;
  padding: 0;
}
#global_nav_sp li {
  border-bottom: 1px #FFF dashed;
  padding: 10px ;
}
#global_nav_sp li:last-child {
  border-bottom: none;
}
#global_nav_sp ul a {
  display: block;
  padding: 15px 0;
  color: #FFF;
}


/* ドロワー
----------------------------------------------- */
.drawer-hamburger {
  background-color: #509235 !important;
}
body:not(.drawer-open) .drawer-hamburger-icon, .drawer-hamburger-icon:after, .drawer-hamburger-icon:before {
  background-color: #fff !important;
}
.drawer-nav {
  background-color: #509235 !important;
  padding: 1rem;
}
.drawer-nav .tel {
  background-color: #fff;
  border: 1px solid #333;
  border-radius: .5em;
  font-size: 125%;
  line-height: 1.3;
  text-align: center;
}
.drawer-nav .tel em {
  color: #333;
  font-size: 75%;
  font-style: normal;
  font-weight: bold;
}
.drawer-nav .tel a {
  display: block;
  padding: .5em 1em;
  text-decoration: none;
}
.drawer-nav .mail {
  color: #fff;
  margin: 2em 0;
}
.drawer-nav .mail a {
  color: #fff;
  display: block;
  text-align: center;
  text-decoration: none;
}
.drawer-menu {
  border-top: 1px dashed #fff;
  overflow: hidden;
  padding-top: .5em !important;
}
.drawer-menu li {
  border-bottom: 1px dashed #fff;
  margin-bottom: .5em;
  padding-bottom: .5em;
}
.drawer-menu a {
  color: #fff;
  display: block;
  text-decoration: none;
}


/* グローバルナビ スマホトグルボタン
----------------------------------------------- */
#global_nav_toggle {
  width: 50px;
  height: 48px;
  position: relative;
  cursor: pointer;
  background: #509235;
  border-radius: 5px;
  margin: 10px auto 0;
}
#global_nav_toggle span {
  display: block;
  position: absolute;
  height: 4px;
  width: 36px;
  background: #fff;
  left: 7px;
  -webkit-transition: .35s ease-in-out;
  -moz-transition: .35s ease-in-out;
  transition: .35s ease-in-out;
}
#global_nav_toggle span:nth-child(1) {
    top: 10px;
}
#global_nav_toggle span:nth-child(2) {
    top: 22px;
}
#global_nav_toggle span:nth-child(3) {
    bottom: 10px;
}
/* global_nav_toggle アニメーション */
.global_nav_sp_open #global_nav_toggle span:nth-child(1) {
   top: 22px;
   -webkit-transform: rotate(315deg);
   -moz-transform: rotate(315deg);
   transform: rotate(315deg);
}
.global_nav_sp_open #global_nav_toggle span:nth-child(2) {
   width: 0;
   left: 50%;
}
.global_nav_sp_open #global_nav_toggle span:nth-child(3) {
   top: 22px;
   -webkit-transform: rotate(-315deg);
   -moz-transform: rotate(-315deg);
   transform: rotate(-315deg);
}

/* パンくず
----------------------------------------------- */
#breadcrumbs {
  padding: 0;
  margin: 0 0 20px;
}
#breadcrumbs li {
  display: inline;
  list-style-type: none;
}
#breadcrumbs li:after {
  content:" > ";
}
#breadcrumbs li:last-child:after {
  content: "";
}

/* ==============================================
 サイドバー
=============================================== */
#leftside {
  margin-top: 20px;
}
@media print, screen and (min-width: 768px){
  #leftside {
    margin-top: 0;
    width: 230px;
  }
}
#leftside .side_box {
  margin-bottom: 30px;
}

/* 子ページ一覧
----------------------------------------------- */
#leftside dl.local_nav,
.side_widget .widget_nav_menu {
  margin: 0;
  padding: 0;
}
#leftside .local_nav dt,
.side_widget .widget_nav_menu .widgettitle {
  margin: 0;
  padding: 20px 5px;
  background: #509235;
  color: #fff;
  text-align: center;
  font-size: 1.2rem;
}
#leftside .local_nav dt a {
  padding: 30px 5px;
}
#leftside .local_nav dt a:hover, .local_nav dt a:active {
  opacity: 0.5;
}
#leftside .local_nav dd,
.side_widget .widget_nav_menu div[class^=menu-] {
  margin: 0;
  padding: 0;
}
#leftside .local_nav dd ul,
.side_widget .widget_nav_menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#leftside .local_nav dd ul.local_nav_child > li,
.side_widget .widget_nav_menu ul[id^=menu-] > .menu-item {
  margin: 0;
  padding: 10px 5px;
  border-bottom: 1px solid #adadad;
  background: #fff;
}
#leftside .local_nav dd ul.local_nav_grandchild > li,
.side_widget .widget_nav_menu .sub-menu .menu-item {
  margin: 0;
  padding: 3px 5px 3px 15px;
}
#leftside .local_nav dd li a,
.side_widget .widget_nav_menu .menu-item a {
  padding: 5px 5px;
}
#leftside .local_nav a,
.side_widget .widget_nav_menu a {
  text-decoration: none;
  display: block;
}
#leftside .local_nav dt i {
}
#leftside .local_nav i {
  padding-right: 5px;
}

.side_widget {
  display: flex;
  flex-direction: column-reverse;
  list-style: none;
  margin-top: 0;
  padding-left: 0;
}
.side_widget .widget {
  margin-bottom: 30px;
}
.side_widget .widget_nav_menu a:before {
  content: "\f138";
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  padding-right: .5em;
}
.side_widget .widget_nav_menu .sub-menu a:before {
  content: "\f105";
}
.side_widget .widget_text .widgettitle {
  display: none;
}
#contact_area_tell .side_widget .widget_text .widgettitle {
  display: block;
  text-align: center;
}

@media (min-width: 768px) {
  .side_widget {
    flex-direction: column;
  }
}


/* ==============================================
 フッター
=============================================== */
#footer {
  background: #FFF;
  border-top: 1px solid #b2b2b2;
  padding: 30px 0 20px;
  text-align: center;
}

#footer .button {
  margin-left: 20px;
  padding: 10px 20px;
}

/* コピーライト
----------------------------------------------- */
#footer_copyright {
  font-size: 0.9rem;
  margin: 0;
}

/* フッターロゴ
----------------------------------------------- */
#footer_logo {
  padding: 0 0 30px 0;
}

/* ==============================================
 ユーティリティクラス
=============================================== */
.clearfix:after {
  content: "";
  clear: both;
  display: block;
}
.left_box {
  float: left;
}
.right_box {
  float: right;
}

.boder_box {
  border-radius: 10px;
  border: 2px solid #8BC53E;
  padding: 10px;
}

.two_column_box > * {
  margin-bottom: 10px;
}
@media print, screen and (min-width: 768px){
  .two_column_box {
    display: flex;
    justify-content: space-between;
  }
  .two_column_box > * {
    width: 48%;
    margin-bottom: 0;
  }
  .two_column_box.ratio_82  div:nth-child(1),
  .two_column_box.ratio_73  div:nth-child(1), {
    margin-right: 20px;
  }
  .two_column_box.ratio_82  div:nth-child(1) { width: 78%; }
  .two_column_box.ratio_82  div:nth-child(2) { width: 20%; }
  .two_column_box.ratio_73  div:nth-child(1) { width: 68%; }
  .two_column_box.ratio_73  div:nth-child(2) { width: 30%; }
}
.ratio_82 img,
.ratio_73 img {
  border: 1px solid #DEDEDE;
  padding: 3px;
}

.three_column_box > * {
  margin-bottom: 10px;
}
@media print, screen and (min-width: 768px){
  .three_column_box {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
  }
  .three_column_box > * {
    width: 32.5%;
    margin-bottom: 0;
  }
}


/* 端末別非表示クラス */
@media screen and (max-width: 767px){
  .sp_invisible {
      display: none !important;
  }
}
@media print, screen and (min-width: 768px){
  .pc_invisible {
      display: none !important;;
  }
}

.text_center {
  text-align: center;
}
.text_right {
  text-align: right;
}

.text_small {
  font-size: .7rem;
}
.text_large {
  font-size: 1.2em;
}
.text_bold {
  font-weight: bold;
}

.font_black {
  color: #333;
}

/* リスト
----------------------------------------------- */
ul.flow_list {
  margin: 0 auto;
  list-style: none;
  padding: 0;
  text-align: center;
}
ul.flow_list li {
  margin: 0 auto 33px;
  width: 80%;
  padding: 10px;
  border: 3px solid #8BC53E;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  position: relative;
}

ul.flow_list li:after {
  border-top: 25px solid #b2b2b2;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  content: "";
  position: absolute;
  bottom: -28px; /* 三角形の高さ＋ボックスのボーダーをマイナスに */
  left: 50%;/* 中央寄せに使用 */
  margin-left: -60px; /* 中央寄せに使用 */
}
ul.flow_list li:last-child:after {
  border: none; /* 最後のボックスだけ三角形を表示しない */
}


/* ボタン
----------------------------------------------- */
.button {
  display: inline-block;
  border-radius: 30px;
  text-decoration: none;
  margin: 0 auto;
  padding: 20px 45px;
  text-align: center;
}
.button.primary {
  border: 2px solid #8BC53E;
  color: #fff !important;
  background: #8BC53E;
}
.button.primary:hover {
  color: #8BC53E !important;
  background: #fff;
}
.button.white {
  border: 2px solid #4F9135;
  color: #4F9135 !important;
  background: #F0EFED;
}
.button.white:hover {
  color: #F0EFED !important;
  background: #4F9135;
}
.button .fa-chevron-right {
  margin-right: 20px;
}


/* ==============================================
 テーブル
=============================================== */
table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
}
table tr th,
table tr td {
    padding: 10px;
    border: 1px solid #b2b2b2;
    vertical-align: middle;
}
table tr th {
    background: #F0EFED;
    text-align: center;
    font-weight: bold;
}

/* ページネーション
----------------------------------------------- */
.screen-reader-text {
  display: none;
}
.nav-links {
  text-align: center;
}