@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap");
/* CSS Document */

/* ------ header ------ */
a{
  word-break: break-all;
}

/* --------------------------------------
ヘッダー定義
-------------------------------------- */
#header_main {
  width: 1150px;
  margin: auto;
  background-color: #fff;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  -webkit-justify-content: space-between;
  -moz-justify-content: space-between;
  -ms-justify-content: space-between;
  -o-justify-content: space-between;
  justify-content: space-between;
  -ms-align-items: center;
  align-items: center;
  position: relative;
      padding-top: 20px;
      padding-bottom: 20px;
}

.header_r {
  margin-left: auto;
}

header h1,
p.logo_note {
  padding-left: 1em;
  font-size: 13px;
  font-weight: bold;
  margin-top: 5px;
}

header h1.title {
  padding: 0;
  text-align: inherit;
  display: inline-block;
}

header h1.title a {
  display: block;
}

.header_tel {
  line-height: 40px;
  background-color: #8fafdb;
  color: #fff;
  height: 40px;
}


#logo img {
  display: block;
  max-width: 580px;
  height: auto;
}

#time {    float: right;
    width: 234px;}

header .left_btn {
    margin-left: auto;
    margin-right: 20px;
    float: left;
    width: 290px;
}

header .left_btn img {
  width: 140px;
  height: auto;
}

header .left_btn a:last-child {
  margin-bottom: 0;
}

p.nav_line {
  margin-bottom: 0;
  line-height: 0;
}

footer p.nav_line {
  margin-bottom: 25px;
}

p.nav_line img {
  width: 100%;
}

/* 横ならびメニュー部分 */

#menu {
  width: 1150px;
  margin: 0 auto 10px;
  padding: 0;
  list-style-type: none;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Noto Sans JP', sans-serif;
  position: relative;
}

#menu li {
  position: relative;
  flex-grow: 1;
}

#menu>li a {
  display: block;
  margin: 0;
  padding: 15px 0 10px;
  border-bottom: 2px solid #fff;
  color: #333;
  font-size: .95rem;
  line-height: 1.3;
  text-decoration: none;
  transition: 0.3s;
  position: relative;
}

#menu>li a:hover {
  border-bottom: 2px solid #e16633;
}

#headnav {
  /*IE7対策*/
  position: relative;
  z-index: 9999;
}

/* 仕切り線 */
#menu li a::after {
  content: "";
  width: 1px;
  height: 18px;
  background: #c9c9c9;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

#menu li:first-child a::before {
  content: "";
  width: 1px;
  height: 18px;
  background: #c9c9c9;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}


#menu ul.sub-menu {
  display: none;
  list-style-type: none;
  position: absolute;
  left: 0;
  top: 45px;
  z-index: 9999;
  width: 200px;
  color: #fff;
  background-color: #e16633;
  opacity: 0.9;
  filter: alpha(opacity=90);
  -ms-filter: "alpha(opacity=90)";
  -khtml-opacity: 0.9;
  -moz-opacity: 0.9;
}


#menu li a.hover {
  background-position: center -50px;
}


#menu ul.sub-menu li {
  float: none;
  border-bottom: 1px solid #FFFFFF;
  position: static;
  background-image: none;
  text-align: left;
}

#menu ul.sub-menu li:last-child {
  border-bottom: none;
}

#menu ul.sub-menu li a {
  height: auto;
  padding: 13px 10px;
  color: #fff;
  font-size: .9rem;
  text-indent: 0px;
  border: none;
}

#menu ul.sub-menu li:hover {
  background-color: #e08057;
  border: none;
}

#menu ul.sub-menu li a::after,
#menu ul.sub-menu li:first-child a::before {
  content: none;
}

/* ---------------------
H レスポンシブ用
------------------------ */

/* PC用とモバイル用のロゴを出し分ける */

#pc_logo {
  display: inline;
}

#pc_logo img {
  margin: 0 auto;
}

#mobile_logo {
  display: none;
}

#mobile_button {
  display: none;
}

.mobile_menu {
  display: none;
}

#mobile_main {
  display: none;
}

/* デスクトップでは非表示にする */
#panel,
#mobile_side,
.mobile_only,
#mobile_tel,
#mobile_main {
  display: none;
}




/* ------ contents ------ */

#main {
  text-align: left;
  width: 1150px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 25px;
  padding-right: 25px;
  clear: both;
}

/* ------ article ------ */

#main h1 {
  font-size: 160%;
  font-weight: normal;
  text-align: center;
}

article {
  width: 640px;
  float: right;
  font-size: 160%;
}

#contents article {
  width: 640px;
  float: right;
}

article h2 {
  font-size: 140%;
  font-weight: bold;
  margin-bottom: 25px;
  float: left;
}

article h3 {
  font-size: 120%;
  font-weight: bold;
  margin-bottom: 20px;
}

#main #contents {
  width: 895px;
  margin: auto;
}

.clearfix .sec-top.clearfix .text-h2 {
  width: 440px;
  float: right;
}

#contents .clearfix .book5.clearfix {
  text-align: center;
  margin-bottom: 20px;
  padding: 5px 0;
  background-color: #F5EBE1;
}

.clearfix .book5.clearfix li {
  list-style: none;
  width: 120px;
  float: left;
  margin-left: 4px;
  margin-right: 4px;
  display: block;
}

#contents article .update {
  line-height: 1.5;
  margin-top: 15px;
  margin-bottom: 20px;
}

article .update .up-image {
  width: 175px;
  float: left;
}

.update .up-text {
  line-height: 1.5;
}

.up-text h4,
.up-text p {
  margin-bottom: 5px;
}

/* ------ sideL ------ */

#contents #sideL {
  width: 230px;
  float: left;
}

#sideL h3 {
  margin: 0;
}

#sideL .sec-L,
#sideL .sec-R,
#sideR .sec-R {
  padding-top: 10px;
  border-color: #e1e1cc #e1e1cc #e1e1cc;
  border-style: solid;
  border-left-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

#sideL .sec-L p {
  margin-bottom: 0px;
}

.sec-L .photoP {
  width: 85px;
  float: left;
}

#sideL .sec-L .textP {
  text-align: left;
  font-size: 13px;
  line-height: 1.5;
  padding-right: 5px;
}

#sideL p {
  margin-bottom: 15px;
  text-align: center;
}

#sideL ul,
#sideR ul {
  padding: 0;
  font-size: 170%;
  line-height: 1.3;
  list-style-type: none;
}

#sideL ul li {
  background-color: #F5EBE1;
  margin-top: 5px;
  padding: 8px 5px 8px 25px;
  background-image: url(../common/li_mark.gif);
  background-repeat: no-repeat;
  background-position: 8px 11px;
}

#sideL ul .big {
  font-size: 120%;
}

#sideL ul .agency,
#sideR ul li {
  background-color: #F5EBE1;
  margin-top: 5px;
  padding: 16px 5px 16px 25px;
  background-image: url(../common/li_mark.gif);
  background-repeat: no-repeat;
  background-position: 8px 19px;
}

.agency .wide a {}

#sideL .com {
  text-align: center;
  font-size: 160%;
  line-height: 1.5;
}


/* ------ sideR ------ */

#main #sideR {
  width: 230px;
  float: right;
}

#sideR h3 {
  margin: 0;
}

#sideR h3 {
  margin: 0;
}

#sideR p {
  margin-top: 0px;
  margin-bottom: 15px;
}

#sideR ul li {
  background-color: #F5EBE1;
  margin-top: 5px;
  padding: 16px 5px 16px 25px;
  background-image: url(../common/li_mark.gif);
  background-repeat: no-repeat;
  background-position: 8px 19px;
}

#sideR .com {
  text-align: center;
  font-size: 160%;
  line-height: 1.5;
}

#sideR .com p {
  margin-bottom: 0;
}

#to-pagetop {
  position: fixed;
  bottom: 0px;
  right: 25px;
}

/* ------ footer ------ */

footer {
  width: 1150px;
  padding: 30px 0 0;
  margin: auto;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  clear: both;
}

footer p {
  margin-bottom: 5px;
}

.footer_btm_wrap {
  width: 1150px;
  margin: auto;
  display: flex;
  justify-content: space-between;
}

/* footer_btm_left  */
.logo_footer {
  display: block;
  margin-bottom: 12px;
}

.logo_footer img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 20px;
}

a.logo_footer:hover {
  opacity: 0.6;
  filter: alpha(opacity=60);
  -ms-filter: "alpha( opacity=60 )";
}

.footer_btm_left {}

.footer_btm_left img {
  max-width: 100%;
}

.left_btn {
  display: flex;
}

.left_btn a {
  display: block;
  margin-bottom: 10px;
}

.btn_group {
  margin-left: 1em;
}

.footer_btm_right {
  width: 60%;
  flex-shrink: 0;
  margin-left: auto;
}


.footermenu {
  display: flex;
  padding: 0 30px;
}

.footermenu ul {
  margin: 0;
  list-style: none;
}


.footermenu li {
  width: auto;
  margin: 0 0 5px;
  color: #333;
  font-weight: bold;
  text-align: left;
}

.footermenu li a {
  text-decoration: none;
  display: block;
  color: #333;
  padding: 0 20px;
  position: relative;
}

.footermenu li a::before {
  content: "";
  width: 6px;
  height: 2px;
  background: #333;
  position: absolute;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
}

.footermenu ul.sub-menu li a::before {
  content: "";
  width: 8px;
  height: 8px;
  background: transparent;
  border-left: 1px solid #333;
  border-bottom: 1px solid #333;
  position: absolute;
  top: 2px;
  left: 5px;
  transform: translateY(0%);
}

.footermenu ul.menu {
  width: 50%;
}

.footermenu ul.sub-menu {
  margin: 10px 0 10px 20px;
}

.footermenu ul.sub-menu li {
  font-size: 0.85rem;
  font-weight: normal;
}

.copyright {
  background: #ededed;
  padding: 20px 0 10px;
  margin: 20px 0 0;
}


/******************************
★ Media Queries タブレット・スマフォ表示の設定(1000px以下で読み込むcss)
******************************************************************************************************************************/

@media screen and (max-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;
  }

  body {
    min-width: 320px;

    /* overflow-x: hidden; */
  }

  .wrapper {
    z-index: 10;
    width: 100%;
  }


    #main {
    text-align: left;
    width:100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 25px;
    padding-right: 25px;
    clear: both;
}
/*ここからレスポンシブ化にあたって追加したcss*/
  body,
  .home {
    /* 背景画像を非表示にしています */
    background: none;
    background-color: #fff;
  }

  .headnav,
  .footermenu {
    /* tel画像、フッターメニューを非表示にしています */
    display: none;
  }

#main h1 {
    font-size: 160%;
    font-weight: normal;
    text-align: center;
    margin-top: 20px;

}
  #content {
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  #content #side {
    /* スマホ用のサイドバー */
    margin: 20px auto 0 auto;
    width: 90%;
  }

  #content #main {
    width: 100%;
    margin: 0;
    padding: 0 10px;
  }

  #submain .h1wrap {
    width: auto;
  }

  #content #side h3 {
    width: 100%;
  }

  #content #side ul.menu {
    width: 100%;
  }

  #content #side ul.menu li:last-child {
    border-bottom: none;
  }

  #header.fixed {
    /*  top:auto;メニュー戻り時ズレ防止 */
  }

  #header.fixed .header_l img {
    display: block;
  }

  .ibox_p {
    width: 100%;
  }

  #submain img {
    top: -250px;
  }

  #content img,
  #content iframe {
    max-width: 100%;
    height: auto;
  }

  #content {
    padding-top: 10px;
    width: auto;
  }

  #pan {
    width: auto;
    margin: 10px;
  }

  #content .sec {
    width: 90%;
    margin: 0 auto;
    text-align: center;
  }

  .mobile_only {
    /* モバイルにだけ表示させたいものに使用する */
    display: block;
  }

  .pc_only {
    /* pcにだけ表示させたいものに使用する */
    display: none;
  }

  /* ヘッダー */
  #pc_button {
    display: none;
  }

  .wrapper_head{
    margin: 0 auto;
    padding: 0;
    width: 100%;
    z-index: 1000;
    background: none;
    margin-top: 0;
    background-color: #fff;
    /*box-shadow: 3px 0 3px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 3px 0 3px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 3px 0 3px rgba(0, 0, 0, 0.2);
    -o-box-shadow: 3px 0 3px rgba(0, 0, 0, 0.2);
    -ms-box-shadow: 3px 0 3px rgba(0, 0, 0, 0.2);*/
  }

  #header_main {
    margin: 0 auto;
    padding: 0;
    width: 100%;
    z-index: 1000;
    background: none;
    margin-top: 0;
    height: 50px;
    background-color: #fff;
    /*box-shadow: 3px 0 3px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 3px 0 3px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 3px 0 3px rgba(0, 0, 0, 0.2);
    -o-box-shadow: 3px 0 3px rgba(0, 0, 0, 0.2);
    -ms-box-shadow: 3px 0 3px rgba(0, 0, 0, 0.2);*/
  }

  #header_main .header_l {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
  }

  header h1,
  p.logo_note {
    font-size: 12px;
    margin-top: 0;
    line-height: 1.2;
  }

  #header_main .header_l img {
    margin: 5px 0 0 10px;
    width: auto;
    height: 30px;
  }

  header nav {
    display: none;
  }

  #mobile_button {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    background-color: #fff;
    height: 50px;
    width: 50px;
    padding: 2px 10px 0 12px;
  }

  #mobile_button .menutxt {
    /* font-size: 10px; */
    text-decoration: none;
    position: relative;
    border: none;
    display: block;
  }

  #mobile_button .menutxt svg {
    width: 28px;
    height: auto;
  }

  #mobile_button .menutxt svg path {
    fill: gray;
  }

  .lineswrap {
    height: 20px;
  }

  #mobile_button .lines {
    background: #919191;
    display: inline-block;
    width: 28px;
    height: 3px;
    position: relative;
    transition: 0.3s;
    -o-transition: 0.3s;
    -ms-transition: 0.3s;
    -moz-transition: 0.3s;
    -webkit-transition: 0.3s;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
  }

  #mobile_button .lines::after,
  #mobile_button .lines::before {
    background: #919191;
    position: absolute;
    display: inline-block;
    width: 28px;
    height: 3px;
    content: '';
    transition: 0.3s;
    -o-transition: 0.3s;
    -ms-transition: 0.3s;
    -moz-transition: 0.3s;
    -webkit-transition: 0.3s;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
  }

  #mobile_button .lines::before {
    top: 8px;
    right: 0;
  }

  #mobile_button .lines::after {
    top: -8px;
    right: 0;
  }

  #mobile_button a.xclose {
    display: block;
    position: relative;
    height: auto;
    padding: 10px 0;
    margin-top: 6px;
    z-index: 1020;
    cursor: pointer;
  }

  #mobile_button .xclose .menutxt {
    display: none;
  }

  #mobile_button .xclose .lines {
    background: 0 0;
  }

  #mobile_button .xclose .lines::before {
    top: -4px;
    right: 0;
    transform: rotate3d(0, 0, 1, 45deg);
    -o-transform: rotate3d(0, 0, 1, 45deg);
    -ms-transform: rotate3d(0, 0, 1, 45deg);
    -moz-transform: rotate3d(0, 0, 1, 45deg);
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transition: 0.3s;
    -o-transition: 0.3s;
    -ms-transition: 0.3s;
    -moz-transition: 0.3s;
    -webkit-transition: 0.3s;
  }

  #mobile_button .xclose .lines::after {
    top: -4px;
    right: 0;
    transform: rotate3d(0, 0, 1, -45deg);
    -o-transform: rotate3d(0, 0, 1, -45deg);
    -ms-transform: rotate3d(0, 0, 1, -45deg);
    -moz-transform: rotate3d(0, 0, 1, -45deg);
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transition: 0.3s;
    -o-transition: 0.3s;
    -ms-transition: 0.3s;
    -moz-transition: 0.3s;
    -webkit-transition: 0.3s;
  }

  a#sidr-menu-button {
    display: block;
    height: auto;
    text-decoration: none;
    padding: 5px 0 0;
  }

  #mobile_main {
    display: inline-block;
  }

  #mobile_main img {
    max-width: 100%;
  }

  /*add*/

  .mobile_menu {
    top: 50px;
    position: absolute;
    left: 0;
    width: 100%;
    background: #ededed;
  }

  .mobile_menu ul {
    margin-bottom: 0;
  }

  .mobile_menu ul li {
    border-bottom: 1px dotted #fff;
  }


  .mobile_menu > ul > li > a {
  background: #E3D7CC;
background: linear-gradient(180deg,rgba(227, 215, 204, 1) 0%, rgba(246, 244, 240, 1) 100%);
}
  .mobile_menu ul li:last-child {
    border: none;
  }

  .mobile_menu ul li a {
    text-decoration: none;
    display: block;
    color: #505050 !important;
            font-size: 14px;
  }

  .mobile_menu ul li a {
    padding: 15px 35px;
  }

  .mobile_menu .sub-menu {
    background: #cfcab9;
  }

  .mobile_menu .sub-menu li {
    border-bottom: 1px dotted #b2a08f;
  }

  .mobile_menu .sub-menu li:last-child {
    border: none;
  }

  .mobile_menu .sub-menu li a {
    padding: 15px 10px 15px 30px;
  }

  /* ハンバーガーボタン */

  #panel-btn {
    display: inline-block;
    position: relative;
    width: 50px;
    height: 50px;

    /*  margin: 20px 0 10px; */
    background: #fff;
  }

  #panel-btn:hover {
    background: #fafafa;
  }

  #panel-btn-icon {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 4px;
    margin: -2px 0 0 -15px;
    background: #666;
    transition: 0.2s;
  }

  #panel-btn-icon::before,
  #panel-btn-icon::after {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 30px;
    height: 4px;
    background: #666;
    transition: 0.3s;
  }

  #panel-btn-icon::before {
    margin-top: -10px;
  }

  #panel-btn-icon::after {
    margin-top: 6px;
  }

  #panel-btn .close {
    background: transparent;
  }

  #panel-btn .close::before,
  #panel-btn .close::after {
    margin-top: 0;
  }

  #panel-btn .close::before {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
  }

  #panel-btn .close::after {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
  }

  /* モバイル用のメニュー */

  #panel {
    display: none;
    top: 50px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 40px;
    width: 100%;
    height: 100%;
    right: 0;
    position: absolute;
    z-index: 5;
  }

  #panel li a {
    text-decoration: none;
    font-size: 87%;
    line-height: 1.3;
    padding: 10px 15px;
    border-radius: 5px;
    color: white;
    width: 220px;
    display: block;
    margin: 0 auto 12px;
    font-weight: bold;
  }

  #panel .menu_list1 li a {
    /* 固定ページのリスト部分 */
    background-color: #393871;
  }

  #panel .menu_list2 li a {
    /* 投稿カテゴリのリスト部分 */
    background-color: #ccc;
    color: #333;
  }

  /* メイン画像　下層画像 */
  #imagebox img {
    max-width: 100%;
  }

  #imagebox {
    margin: 0;
    text-align: center;
    height: auto;
  }

  #imagebox3 img {
    max-width: 80%;
    height: auto;
  }

  #imagebox3 {
    margin: 0;
    padding-top: 20px;
    margin-bottom: 10px;
    text-align: center;
  }

  .imagebox_p {
    width: 60%;
    padding: 50px 0 0 0;
    height: 50%;
  }

  #base #bg #imagebox3 h1 {
    font-size: 40px;
    margin-bottom: 30px;
    line-height: 20px;
    color: #566278;
  }

  #base #bg #imagebox3 h1 .fs {
    font-size: 25px;
  }

  .imagebox_p span.c_2 {
    font-size: 20px;
  }

  .imagebox_p span.c_3 {
    font-size: 18px;
  }

  #imagebox2 {
    padding: 15px 10px 10px 10px;
    font-size: 125%;
    background-size: cover;
    height: auto;
    background-position: 50% 50%;
    line-height: 1.3;
  }

  /* 見出し */

  #content #main h2.singletitle,
  #content #main h2.title,
  #content #main h2,
  #content #main h3,
  #content #main h4 {
    height: 100%;
    line-height: 1.2;
  }

  #content #main h2 {
    line-height: 1.5;
    margin-top: 30px;
  }

  /* サイド */

  #mobile_side {
    display: block;
    width: 100%;
    margin: 0 auto;
  }

  .side_area img {
    display: block;
    margin: 0 auto;
  }

  #mobile_side .side_area h3 {
    width: 100%;
  }

  /* テーブル */

  .tablestyle {
    border-collapse: collapse;
    width: 100% !important;
    border-top: 1px solid #dadada;
  }

  .tablestyle td {
    display: block;
    width: 100%;
    border-top: 0;
  }

  /* 固定ページ */

  .alignright,
  .alignleft,
  .alignnone {
    float: none;
    display: block;
    margin: 10px auto;
  }

  .alignright.pc_only,
  .alignleft.pc_only,
  .alignnone.pc_only {
    /* caption分岐の際、余白防止 */
    display: none;
  }

  /* コンタクトフォーム */

  textarea.wpcf7-form-control.wpcf7-textarea {
    width: 100%;
  }

  .wpcf7-text {
    width: 90%;
  }

  .k-year .wpcf7-form-control {
    /* 年号のテキスト */
    width: 5rem;
  }

  .wpcf7 td {
    /* フォームの行を縦に並べる */
    display: block;
    width: 100%;
    font-weight: bold;
  }

  .wpcf7 .tdstyle {
    /* フォームの項目を左寄せ */
    text-align: left;
  }

  /* 電話番号タップ */

  #mobile_tel {
    display: block;
    position: fixed;
    z-index: 1;
    bottom: 0;
    width: 100%;
    padding: 10px 0 5px 0;
    background-color: rgba(0, 0, 0, 0.75);
    text-align: center;
  }

  .mobile_tel_inner {
    width: 80%;
    margin: 0 auto;
    border-radius: 5px;
    padding: 2px;
    background: #fff;
  }

  .tel_name {
    padding: 5px 0;
    font-weight: bold;
    color: #333;
  }

  .tel_btn {
    display: block;
    border-radius: 5px;
    font-size: 150%;
    font-weight: bold;
    padding-top: 5px;
    background: #1e5799;
    background: -moz-linear-gradient(top, #1e5799 0%, #46a1e2 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #1e5799), color-stop(100%, #46a1e2));
    background: -webkit-linear-gradient(top, #1e5799 0%, #46a1e2 100%);
    background: -o-linear-gradient(top, #1e5799 0%, #46a1e2 100%);
    background: -ms-linear-gradient(top, #1e5799 0%, #46a1e2 100%);
    background: linear-gradient(to bottom, #1e5799 0%, #46a1e2 100%);
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#1e5799', endColorstr='#46a1e2', GradientType=0);
  }

  .tel_btn a {
    color: #fff;
    text-decoration: none;
  }

  /* フッター */
  .footer_nav {
    width: 100%;
  }

  .footer_btm_wrap {
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 0 0 30px;
  }

  .footer_btm_left {
    width: 100%;
    margin: 0 0 20px;
  }

  p.cinfo,
  p.urls {
    text-align: center;
  }

  .footer_btm_right {
    margin: 0;
  }

  /* fix_footer */
  #fix_footer {
    display: block;
    width: 100%;
    padding: 10px;
    background: #fffa;
    text-align: center;
    color: #fff;
    box-sizing: border-box;
    transform: translateY(100%);
    transition: 0.3s;
  }

  #fix_footer.fixed {
    position: fixed;
    bottom: 0;
    transform: translateY(0);
    transition: 0.3s;
    z-index: 100;
  }

  #fix_footer.fadeout {
    transform: translateY(100%);
  }

  #fix_footer ul {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    margin: 0;
  }

  #fix_footer ul li {
    width: 48%;
    border-radius: 6px;
  }

  /*
  #fix_footer ul li a {
    height: 40px;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    -o-justify-content: center;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
  }
  */

  #fix_footer a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 10px;
    text-decoration: none;
    text-align: center;
  }

  #fix_footer img {
    display: inline-block;
    margin: 0 5px 0 0;
  }

  .fix_tel a img {
    width: 16px;
    box-sizing: border-box;
    border-radius: 4px;
  }

  .fix_mailbtn {
    background: #333;
  }

  .fix_mailbtn a {
    color: #fff;
  }

  .fix_tel {
    background: #ccc;
  }

  .fix_tel a {
    font-weight: bold;
    color: #333;
    line-height: 1.3;
  }

  a.backToTop {
        right: 7px;
        bottom: 140px;
  }

  /* ------------------------------------------------------
オプション用スタイル　目次

(1)スライダー
-------------------------------------------------------- */
  .simplegallery {
    margin: 0 auto;
    width: 100%;
    margin-bottom: 30px;
    padding-top: 10px;
  }

  /* ------------------------------------------------------
(1)スライダー
-------------------------------------------------------- */

  /* メイン画像マージン */
  .bx-wrapper {
    margin: 0 auto 0;
  }

  /* メイン画像に内余白をつける */
  .bx-wrapper .bx-viewport {
    padding: 0;
  }

  /* サムネイル */
  #bx-pager {
    background-color: #fff;
    /* サムネイル枠背景色 */
    background-image: url(img/bg_sliderthum.png);
    /* サムネイル枠背景画像 */

    /* ▲どちらか一方を残しもう一方は削除▲ */

    padding: 12px 90px;
    margin-bottom: 20px;
  }

  #bx-pager a.last {
    margin-right: 0;
  }

  /* サムネイル通常時 */
  #bx-pager a img {
    opacity: 0.5;
    filter: alpha(opacity=50);
  }

  #bx-pager a {
    display: block;
    float: left;
    margin-right: 21px;
    border: 1px solid #e1e1e3;
  }

  /* メインで表示されている画像に対応するサムネイル */
  #bx-pager a.active img {
    opacity: 1;
    filter: alpha(opacity=100);
  }

  #bx-pager a.active {
    border: 1px solid #f00;
  }

  /* ページ読み込み時に一瞬main2,main3がちらつくのを防ぐ */
  .img2 {
    display: none;
  }

  .img2.show {
    display: block;
  }

  .header_tel {
    display: none;
  }

  #pagetop {
    display: none;
  }

  #header.fixed {
    width: 100%;
    height: 50px;
  }

  a.link,
  a.link2 {
    width: 40%;
  }

  .cd0,
  .cd1,
  .cd2,
  .cd3 {
    padding: 20px 0 20px;
  }

  /* ページ内スライド制御 */
  .sliderbox {
    float: none;
    width: 100%;
    margin-left: 0;
  }

  /* clearfixと組み合わせて使用 */
  .six_four_r,
  .six_four_l,
  .seven_three_r,
  .seven_three_l {
    width: 80%;
    float: none;
    margin: 0 auto;
  }
article {
  width: 100%;
  float: none;
  font-size: 160%;
}

#contents article {
 width: 100%;
  float: none;
}

article h2 {
  font-size: 140%;
  font-weight: bold;
  margin-bottom: 25px;
  float: left;
}

article h3 {
  font-size: 120%;
  font-weight: bold;
  margin-bottom: 20px;
}

#main #contents {
  width: 100%;
  margin: auto;
}

.clearfix .sec-top.clearfix .text-h2 {
  width: 100%;
  float: none;
}

#contents .clearfix .book5.clearfix {
  text-align: center;
  margin-bottom: 20px;
  padding: 5px 0;
  background-color: #F5EBE1;
}

.clearfix .book5.clearfix li {
  list-style: none;
  width: 100%;
  float: none;
  margin-left: 4px;
  margin-right: 4px;
  display: block;
}

#contents article .update {
  line-height: 1.5;
  margin-top: 15px;
  margin-bottom: 20px;
}

article .update .up-image {
  width: 175px;
  float: left;
}

.update .up-text {
  line-height: 1.5;
}

.up-text h4,
.up-text p {
  margin-bottom: 5px;
}


/* ------ sideL ------ */

#contents #sideL {
  width: 100%;
  float:none;
}

#sideL h3 {
  margin: 0;
}

#sideL .sec-L,
#sideL .sec-R,
#sideR .sec-R {
  padding-top: 10px;
  border-color: #e1e1cc #e1e1cc #e1e1cc;
  border-style: solid;
  border-left-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  border: none !important;
}

#sideL .sec-L p {
  margin-bottom: 0px;
}

.sec-L .photoP {
  width: 85px;
  float: left;
}

#sideL .sec-L .textP {
  text-align: left;
  font-size: 13px;
  line-height: 1.5;
  padding-right: 5px;
}

#sideL p {
  margin-bottom: 15px;
  text-align: center;
}

#sideL ul,
#sideR ul {
  padding: 0;
  font-size: 170%;
  line-height: 1.3;
  list-style-type: none;
}

#sideL ul li {
  background-color: #F5EBE1;
  margin-top: 5px;
  padding: 8px 5px 8px 25px;
  background-image: url(../common/li_mark.gif);
  background-repeat: no-repeat;
  background-position: 8px 11px;
}

#sideL ul .big {
  font-size: 120%;
}

#sideL ul .agency,
#sideR ul li {
  background-color: #F5EBE1;
  margin-top: 5px;
  padding: 16px 5px 16px 25px;
  background-image: url(../common/li_mark.gif);
  background-repeat: no-repeat;
  background-position: 8px 19px;
}

.agency .wide a {}

#sideL .com {
  text-align: center;
  font-size: 160%;
  line-height: 1.5;
}


/* ------ sideR ------ */

#main #sideR {
  width: 100%;
  float: none;
}

#sideR h3 {
  margin: 0;
}

#sideR h3 {
  margin: 0;
}

#sideR p {
  margin-top: 0px;
  margin-bottom: 15px;
}

#sideR ul li {
  background-color: #F5EBE1;
  margin-top: 5px;
  padding: 16px 5px 16px 25px;
  background-image: url(../common/li_mark.gif);
  background-repeat: no-repeat;
  background-position: 8px 19px;
}

#sideR .com {
  text-align: center;
  font-size: 160%;
  line-height: 1.5;
}

#sideR .com p {
  margin-bottom: 0;
}

#to-pagetop {
  position: fixed;
  bottom: 0px;
  right: 25px;
}

/* ------ footer ------ */

footer {
  width: 100%;
  padding: 30px 0 0;
  margin: auto;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  clear: both;
}

footer p {
  margin-bottom: 5px;
}

.footer_btm_wrap {
  width: 100%;
  margin: auto;
  display: flex;
  justify-content: space-between;
}

/* footer_btm_left  */
.logo_footer {
  display: block;
  margin-bottom: 12px;
}

.logo_footer img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 20px;
}

a.logo_footer:hover {
  opacity: 0.6;
  filter: alpha(opacity=60);
  -ms-filter: "alpha( opacity=60 )";
}

.footer_btm_left {}

.footer_btm_left img {
  max-width: 100%;
}

.left_btn {
  display: flex;
  justify-content: center;
          padding: 0 10px;
}

.left_btn a {
  display: block;
  margin-bottom: 10px;
}

.btn_group {
 margin-left: 1em;
        display: flex;
}

.btn_group a:nth-child(2){
  margin-left: 1em;
}

.footer_btm_right {
  width: 100%;
  flex-shrink: 0;
  margin-left: auto;
}


.footermenu {
  display: flex;
  padding: 0 30px;
}

.footermenu ul {
  margin: 0;
  list-style: none;
}


.footermenu li {
  width: auto;
  margin: 0 0 5px;
  color: #333;
  font-weight: bold;
  text-align: left;
}

.footermenu li a {
  text-decoration: none;
  display: block;
  color: #333;
  padding: 0 20px;
  position: relative;
}

.footermenu li a::before {
  content: "";
  width: 6px;
  height: 2px;
  background: #333;
  position: absolute;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
}

.footermenu ul.sub-menu li a::before {
  content: "";
  width: 8px;
  height: 8px;
  background: transparent;
  border-left: 1px solid #333;
  border-bottom: 1px solid #333;
  position: absolute;
  top: 2px;
  left: 5px;
  transform: translateY(0%);
}

.footermenu ul.menu {
  width: 50%;
}

.footermenu ul.sub-menu {
  margin: 10px 0 10px 20px;
}

.footermenu ul.sub-menu li {
  font-size: 0.85rem;
  font-weight: normal;
}

.copyright {
  background: #ededed;
  padding: 20px 0 10px;
  margin: 20px 0 0;
}

iframe{
  width: 100%;
}

/* サブメニュー初期状態 */
.mobile_menu .sub-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

/* 開いた状態 */
.mobile_menu .sub-menu.open {
  max-height: 1000px; /* 大きめにしておく */
}

/* +ボタンスタイル */
.mobile_menu .menu-item-has-children {
  position: relative;
}

.mobile_menu .menu-item-has-children > .toggle-btn {
position: absolute;
        right: 0;
        top: 25px;
        transform: translateY(-50%);
        cursor: pointer;
        font-weight: bold;
        user-select: none;
        color: #b2a08f;
        font-size: 25px;
        height: 50px;
        width: 40px;
        z-index: 10000;
        line-height: 1;
        display: flex
;
        justify-content: center;
        align-items: center;
}




}

/* end */

/******************************
★ Media Queries スマフォ表示の設定(599px以下で読み込むcss)
******************************************************************************************************************************/
@media screen and (max-width: 599px) {
  #content #main {
    font-size: 0.875rem;
    /* 14px; */
  }

  img{
    max-width: 100% !important;
            height: auto;
  }


  #content #main h1.singletitle,
  #content #main h1 {
    font-size: 1.875rem;
    /* 30px; */
    padding-top: 70px;
  }

  #content #main h2 {
    font-size: 1.375rem;
    /* 22px; */
  }

  #content #main h3 {
    font-size: 1.125rem;
    /* 18px; */
  }

  #ibox {
    height: 75vw;
  }

  #ibox img.main_img {
    display: none;
  }

  #ibox img.main_sp_img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
  }

  .ibox_p h1 {
    font-size: 20px;
  }

  /* キャッチを画像にする場合 */
  .ibox_p img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 80%;
    display: block;
    margin: auto;
  }

  #submain {
    height: 100px;
  }

  #submain img {
    top: -150px;
  }

  #submain h1 {
    font-size: 20px;
    letter-spacing: 1px;
  }

  .three_box p {
    font-size: 14px;
  }

  /* フッター */

  .footer_btm_left {
    margin: 0;
  }

  .f_btn {
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .f_btn .tel {
    padding: 0 0 20px;
  }

  #fix_footer a {
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 5px;
  }

  #fix_footer img {
    display: block;
    margin: 0 auto;
  }

  #fix_footer .fix_mailbtn img {
    margin: 0 auto 5px;
  }

  .fix_tel a img {
    width: 14px;
    box-sizing: border-box;
    border-radius: 4px;
  }

  #imagebox3 {
    clear: both;
    z-index: 2;
    text-align: center;
    height: 200px;
    background-color: #f6f7fa;
    padding-top: 20px;
    margin-bottom: 0;

    /* background-position: bottom center; */
    background-position: center;

    /* background-image: url("img/dot_black.png"),url("img/main_bg2.jpg"); */
    background-image: url("img/main_bg2.jpg");
    position: relative;
  }

  .imagebox_p {
    width: 95%;
    height: 60%;
    padding-top: 20px;
  }

  #base #bg #imagebox3 h1 {
    font-size: 22px;
    margin-bottom: 10px;
    line-height: 12px;
  }

  #base #bg #imagebox3 h1 .fs {
    font-size: 16px;
  }

  .imagebox_p span.c_2 {
    font-size: 13px;
    letter-spacing: -0.5px;
  }

  .imagebox_p span.c_3 {
    font-size: 18px;
  }

  .imagebox_p p {
    line-height: 1.3;
    font-size: 14px;
    margin-bottom: 0;
  }

  .imagebox_p span.c_2 {
    font-size: 15px;
    line-height: 1.3;
  }

  .imagebox_p span.c_3 {
    font-size: 15px;
    line-height: 1.3;
  }

  .rightbox,
  .leftbox {
    float: none;
  }

  .two_box,
  .three_box,
  .four_box {
    width: 100%;
    float: none;
    margin: 0 auto;
  }

  a.link,
  a.link2 {
    width: 90%;
  }

  .eyecatch_box {
    display: block;
  }

  .eyecatch_box .ttl_wrap {
    width: 100%;
  }

  .eyecatch_box .ttl_wrap,
  .eyecatch_box .txt_wrap {
    display: block;
  }

  .two_box {
    margin: 0 0 15px 0;
  }

  .three_box,
  .three_box:nth-child(3n-1),
  .four_box {
    margin: 0 0 15px 0;
  }

  /* フォームの調整 599px以下 */
  .field_wrap {}

  .field_name {
    display: block;
    width: auto;
    border: none;
    padding: 0;
    margin-bottom: 10px;
    font-size: 1.1em;
  }

  .field {
    display: block;
    width: auto;
    border-bottom: 1px solid #ddd;
    padding: 0 0 30px;
  }

  input.wpcf7-form-control,
  textarea.wpcf7-form-control,
  select.wpcf7-form-control,
  .wpcf7-list-item-label {
    font-size: 1.2em;
  }

  div.sbtn_1 input[type="submit"],
  div.sbtn_2 input[type="submit"],
  div.sbtn_3 input[type="submit"],
  div.sbtn_4 input[type="submit"],
  div.sbtn_5 input[type="submit"] {
    font-size: 1.2em;
  }

  .sbtn_1.action img,
  .sbtn_2.action img,
  .sbtn_3.action img,
  .sbtn_4.action img,
  .sbtn_5.action img {
    top: 1.4em;
  }

  /* archives.php 599px以下 */
  #content #main div.post_wrap::after {
    content: none;
  }

  .post_box {
    width: 100%;
    margin-bottom: 20px;
    position: relative;
    border: 1px solid #ccc;
  }

      a.backToTop {
        right: 7px;
        bottom: 146px;
    }

  .grecaptcha-badge {
    bottom: 72px !important;
    z-index: 100;
    right: -186px !important;
}

.footermenu {
        display: flex;
        padding: 0 30px;
        flex-wrap: wrap;
    }

        .footermenu ul.menu {
        width: 100%;
    }

    article .update .up-image {
  width: 17%px;
  float: left;
}

.update .up-text {
  line-height: 1.5;
}

    article h2 {
        font-size: 140%;
        font-weight: bold;
        margin-bottom: 25px;
        float: none;
        text-align: center;
    }

    .sec-L .photoP {
        width: 100%;
        float: none;
        text-align: center !important;
}

#sideL .sec-L .textP {
        text-align: left;
        font-size: 13px;
        line-height: 1.5;
        padding-right: 0;
        width: 230px;
        margin: 10px auto;
    }
}

/* end */