﻿@charset "utf-8";

/*----------------------------------------------------------------

layout Set

----------------------------------------------------------------*/

/* Header
----------------------------------------------- */
#header {
  width: 100%;
  padding: 0 0 0;
  z-index: 9999;
  position: fixed;
  background: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  height: 60px;
  border-bottom: 1px solid #dadada;
}

/* ロゴ */
#header #headerlogo {
  position: relative;
  font-size: 1.2em;
  margin: 0 0 0 3%;
  max-width: 80%;
  top: 14px;
}

#header #headerlogo a {
  color: #333;
  text-decoration: none;
}

#header #headerlogo img {
  height: 32px;
}

#header #header-contact {
  display: none;
}

/* Nav
----------------------------------------------- */
.toggle {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 9999;
  width: 40px;
  height: 40px;
  text-align: center;
  cursor: pointer;
  background: #999;
  transition: all 0.3s ease-out;
}

.toggle:hover {
  background: #999;
}

.toggle .toggle-btn {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 18px;
  margin-top: 11px;
  transition: all 0.3s ease-out;
}

.toggle .toggle-btn span {
  position: absolute;
  right: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease-out;
}

.toggle .toggle-btn span:nth-of-type(1) {
  top: 0;
}

.toggle .toggle-btn span:nth-of-type(2) {
  top: 8px;
}

.toggle .toggle-btn span:nth-of-type(3) {
  bottom: 0;
}

.toggle.active .toggle-btn span:nth-of-type(1) {
  transform: translateY(7.5px) rotate(-45deg);
}

.toggle.active .toggle-btn span:nth-of-type(2) {
  opacity: 0;
}

.toggle.active .toggle-btn span:nth-of-type(3) {
  transform: translateY(-8.5px) rotate(45deg);
}

.ac {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  height: 100%;
  font-size: 0.9em;
  padding: 70px 0 30px;
  overflow-y: scroll;
  background: rgba(238, 238, 238, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transform: translateX(100%);
  transition: all 0.3s ease-out;
}

.ac.active {
  transform: translateX(0%);
}

.ac .ac-gn ul {
  width: 84%;
  max-width: 460px;
  padding: 10px 20px;
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
}

.ac .ac-gn ul li {
  margin-bottom: 0;
  border-bottom: dotted 1px #ddd;
}

.ac .ac-gn ul li:last-child {
  border: none;
}

.ac .ac-gn ul li a,
.ac .ac-gn ul li span {
  display: block;
  padding: 12px 10px 10px 16px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
  background: url("../images/common/icon_arrow01.png") no-repeat 0px 17px;
  background-size: 8px;
}

.ac .ac-gn ul li a {
  background-image: url("../images/common/icon_arrow01.png");
  transition: all 0.3s ease-out;
}

.ac .ac-gn ul li ul {
  width: 95%;
  padding: 0;
  margin: 4px 0 12px 5%;
  font-size: 0.9em;
  background: none;
}

.ac .ac-gn ul li ul li {
  margin-bottom: 8px;
  border-bottom: none;
}

.ac .ac-gn ul li ul a {
  padding: 2px 10px 3px 16px;
  background-position: 0 6px;
}

.ac .ac-btn {
  width: 84%;
  max-width: 460px;
  margin: 20px auto;
  text-align: center;
}

.ac .ac-sns {
  margin-top: 30px;
}

.ac .ac-sns p {
  margin-bottom: 20px;
  font-size: 180%;
}

.ac .ac-sns ul {
  display: flex;
  justify-content: center;
}

.ac .ac-sns ul li {
  margin-bottom: 0;
}

.ac .ac-sns ul li a {
  display: block;
  width: 40px;
  height: 40px;
  margin: 0 4px;
  font-size: 1.2em;
  line-height: 40px;
  color: #fff;
  text-align: center;
  letter-spacing: 0;
  background: #333;
  border-radius: 5px;
  transition: all 0.3s ease-out;
}

.ac .ac-sns ul li a:hover {
  background: #013793;
}

.ko {
  display: none;
}

@media screen and (min-width: 768px) {
  #header {
    height: auto;
    border: none;
    position: relative;
    background: rgba(255, 255, 255, 0.9);
  }

  #header .inner {
    display: flex;
  }

  /* ロゴ */
  #header #headerlogo {
    text-align: left;
    max-width: 30%;
    width: 30%;
    min-height: 80px;
    top: auto;
    height: auto;
    display: flex;
    align-items: center;
  }

  #header #headerlogo img {
    height: auto;
    max-height: 90px;
    padding: 10px 0;
  }

  #header #header-contact {
    display: block;
    width: 70%;
    text-align: right;
    font-size: 0.8em;
    padding: 18px;
  }
  #header #header-contact .tel {
    font-size: 1.5em;
  }

  #header #header-contact .btn img {
    height: 45px;
  }

  .toggle,
  .ac-nav {
    display: none;
  }

  .ko {
    clear: both;
    display: block;
    background: #fff;
    border-top:1px solid #eee;
    border-bottom: 1px solid #eee;
  }

  .ko .ko-gn>ul {
    display: flex;
    justify-content: space-evenly;

  }

  .ko .ko-gn>ul>li {
    position: relative;
    text-align: center;
    margin: 0;
    transition: all 0.3s ease-out;
    width: 100%;
  }

  .ko .ko-gn>ul>li:hover>a,
  .ko .ko-gn>ul>li:hover>span {
    background-color: #eee;
  }

  .ko .ko-gn>ul>li a,
  .ko .ko-gn>ul>li span {
    position: relative;
    text-align: center;
    padding: 14px 10px 14px;
    margin: 0;
    font-weight: 300;
    font-size: 12px;
    line-height: 1;
    color: #3f3f3f;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease-out;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .ko .ko-gn>ul>li ul {
    position: relative;
    left: 0;
    display: none;
    height: 0;
  }

  .ko .ko-gn>ul>li ul li {
    margin: 0;
  }

  .ko .ko-gn>ul>li ul li:last-of-type {
    border-bottom: none;
  }

  .ko .ko-gn>ul>li ul li a {
    z-index: 1000;
    width: 200px;
    padding: 12px 15px;
    font-size: 12px;
    text-align: left;
    background: #dadada;
    transition: all 0.3s ease-out;
    justify-content: left;
  }

  .ko .ko-gn>ul>li ul li:nth-child(even) a {
    background: #dadada;
  }

  .ko .ko-gn>ul>li ul li a:hover,
  .ko .ko-gn>ul>li:hover ul li>ul li a:hover {
    background: #eee;
  }

  .ko .ko-gn>ul>li:hover ul {
    display: block;
    height: 0;
  }

  .ko .ko-gn>ul>li:hover ul li>ul {
    height: auto;
  }

  .ko .ko-gn>ul>li:hover ul li>ul li a {
    padding: 12px 15px 12px 24px;
    background: #e2e2e2;
    border-bottom: 1px dashed #999;
  }

  .ko .ko-btn {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 8;
  }
}

@media screen and (min-width: 992px) {
  #header #headerlogo {
    max-width: 100%;
    margin: 0;
    margin: 0 0 0 0;
  }

  #header #header-contact {
    padding: 22px;
  }

  .ko .ko-gn>ul {
    max-width: 1080px;
    margin: 0 auto;
  }

  .ko .ko-gn>ul>li a,
  .ko .ko-gn>ul>li span {
    padding: 18px 12px 18px;
    font-size: 14px;
  }
}

/* END Header and Nav
----------------------------------------------- */

/* breadcrumb
----------------------------------*/
#breadcrumb {
  width: 100%;
  padding: 2px 2%;
  padding-top: 60px;
  color: #888;
  overflow: auto;
  white-space: nowrap;
  border-top: #dadada 1px solid;
}

#breadcrumb ul li {
  font-size: 0.7em;
  display: inline-block;
  margin: 0 6px 0 0;
  background: url(../images/common/icon_arrow02.png) no-repeat left 5px;
  background-size: 8px;
  padding: 0 0 0 14px;
}

#breadcrumb ul li.home {
  background: none;
  padding-left: 0;
}

#breadcrumb ul li a {
  color: #888;
  display: block;
  text-decoration: none;
}

#breadcrumb ul li a:hover {
  color: #aaa;
}

@media screen and (min-width: 768px) {
  #breadcrumb {
    padding-top: 0;
    border-top: none;
  }
}

@media screen and (min-width: 992px) {
  #breadcrumb>ul {
    max-width: 1080px;
    margin: 0 auto;
  }
}

/* トップページ　メイン画像
----------------------------------*/
#mainImg {
  clear: both;
  line-height: 0;
  text-align: center;
  z-index: 0;
  margin-bottom: 30px;
  padding-top: 60px;
  background: #f8f7f6;
  background: linear-gradient(#f8f7f6, #fff);
  background: url(../images/common/img_bg01.jpg) repeat left top;
}

#mainImg img {
  max-width: 1400px;
  width: 100%;
  animation: fadeIn 2s ease 0s 1 normal;
  -webkit-animation: fadeIn 2s ease 0s 1 normal;
}

@keyframes fadeIn {
  0% {
    opacity: 0
  }

  100% {
    opacity: 1
  }
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0
  }

  100% {
    opacity: 1
  }
}

/* コンテンツ枠 */
#wrapper {
  width: 100%;
  margin: 30px auto 0;
}

#content {
  width: 100%;
}

#main {
  width: 94%;
  margin: 0 auto;
  text-align: left;
}

/* アイキャッチ */
#eyecatch {
  margin: 0 auto 0px;
  text-align: center;
}

#eyecatch img {
  margin: 0 auto 20px;
  height: auto;
}

.post {
  margin: 0 0 40px 0;
  padding: 20px 0 0;
  background: #fff;
}

/* ループ */
.news_list-wrap {
  margin-bottom: 1.5em;
}

.news_list-wrap a {
  display: block;
  width: 100%;
  padding: 15px;
  color: #333;
  text-decoration: none;
  background: #fff;
  border: 1px solid #f2f2f2;
  transition: all 0.3s ease-out;
}

.news_list-wrap a:hover {
  box-shadow: 0 0 15px rgba(19, 19, 19, 0.1);
  transform: translateY(-5px);
  color: #333;
  opacity: 0.7;
}

.news_list-wrap .news_list-thumb {
  position: relative;
  width: 100%;
  margin-bottom: 0.5em;
}

.news_list-wrap .news_list-thumb::before {
  display: block;
  padding-top: 66.66%;
  /* 縦横比 4:6=66.66% */
  content: "";
}

.news_list-wrap .news_list-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
}

.news_list-wrap .news_list-text time {
  display: block;
  margin-top: 15px;
  font-size: 12px;
}

.news_list-wrap .news_list-text h3 {
  padding: 0;
  margin: 10px 0 0;
  font-size: 110%;
  line-height: 1.5;
  background: none;
  border: none;
}

/* ページャー */
.pagination {
  clear: both;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px 0;
  position: relative;
  font-size: 13px;
}

.pagination span,
.pagination a {
  display: block;
  width: auto;
  margin: 2px;
  padding: 8px;
  border: 1px solid #aaa;
  background-color: #fff;
  text-decoration: none;
  text-align: center;
  line-height: 16px;
  color: #aaa;
}

.pagination a:hover,
.pagination .current {
  color: #fff;
  border-color: #aaa;
  background-color: #aaa;
}

.pagination a.prev {
  margin-right: 12px;
}

.pagination a.next {
  margin-left: 12px;
}

.pagination span.page_num {
  display: none;
}

/* sidebar
----------------------------------------------- */
#sidebar {
  width: 94%;
  margin: 60px auto 0;
  font-size: 0.9em;
}

#sidebar section {
  margin-bottom: 30px;
}

#sidebar p {
  margin-bottom: 15px;
  line-height: 1.5;
}

#sidebar p.banner {
  margin-bottom: 20px;
  text-align: center;
}

#sidebar p.banner img {
  max-width: 100%;
  height: auto;
  -webkit-transition: 0.2s ease-in-out;
  -moz-transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}

#sidebar p.banner a img:hover {
  cursor: pointer;
  opacity: 0.7;
}

section.widget h2,
section.widget h3 {
  clear: both;
  margin: 1.5em 0 .5em;
  border: none;
  background: none;
  padding: 0;
  font-weight: bold;
  font-size: 1.3em;
}

section.widget ul {
  margin: 0 0 1.5em 0;
  border-bottom: 1px dotted #ccc;
}

section.widget li {
  text-align: left;
  color: #666;
  padding: 0;
  margin: 0;
  border-bottom: 1px dotted #ccc;
}

section.widget li:last-child {
  border-bottom: none;
}

section.widget li a {
  text-decoration: none;
  display: block;
  line-height: 1.5;
  background: url(../images/common/icon_arrow02.png) no-repeat left 20px;
  background-size: 6px;
  padding: 14px 10px 12px 14px;
  color: #666;
}
section.widget li a:hover {
  opacity: 0.7;
  background: url(../images/common/icon_arrow02.png) no-repeat 2px 20px;
  background-size: 6px;
}

section.widget li .sub-menu {
  margin: 0 0 0 14px;
  border-top: 1px dotted #ccc;
  border-bottom: none;
}


section.widget li:last-child a {
  border: 0;
}

#searchform input[type="text"] {
  width: 78%;
  max-width: 400px;
  padding: 5px 2%;
  vertical-align: bottom;
}

#searchform input[type="submit"] {
  padding: 3px 0;
  width: 20%;
  max-width: 100px;
  text-align: center;
}

/* カレンダー */
.widget_calendar table {
  margin: 0 auto;
  width: 90%;
}

.widget_calendar table caption {
  padding: 10px 0;
  text-align: center;
  font-weight: bold;
}

.widget_calendar table th,
.widget_calendar table td {
  padding: 3px;
  text-align: center;
}

.widget_calendar table th:nth-child(6),
.widget_calendar table td:nth-child(6) {
  color: #3a589d;
}

.widget_calendar table th:nth-child(7),
.widget_calendar table td:nth-child(7) {
  color: #950000;
}

.widget_calendar table td#prev {
  text-align: left;
}

.widget_calendar table td#next {
  text-align: right;
}

.widget_calendar a {
  font-weight: bold;
  color: #444;
}

/* コメント */
section.widget .wp-block-latest-comments a {
  display: inline;
}

/* サイド投稿リスト　
-------------*/
section.widget .top-list {
  margin: 10px 0;
}

section.widget .top-list li {
  border-bottom: 1px dashed #ccc;
  background-color: #fff;
  margin-bottom: 15px;
}

section.widget .top-list a {
  display: block;
  text-decoration: none;
  color: #333;
  padding: 0;
}

section.widget .top-list a:after {
  display: block;
  clear: both;
  content: '';
}

section.widget .top-list a:hover {
  background-color: #faf7f2;
  opacity: 0.8;
}

section.widget .top-list img {
  float: left;
  width: 30%;
  max-height: 105px;
  margin: 0 4% 15px 0;
  object-fit: cover;
  object-position: top;
  font-family: 'object-fit: cover; object-position: top;'
}

section.widget .top-list .text {
  float: left;
  width: 66%;
}

section.widget .top-list h4 {
  font-size: 1em;
  padding: 0;
  line-height: 1.5;
  margin-top: 0;
  margin-bottom: 10px;
  background: none;
  border: none;
  clear: none;
  color: #57504c;
  font-weight: bold;
}

section.widget .post-date {
  font-size: .8em;
  margin-bottom: 8px;
  color: #666;
}

section.widget .cat-data {
  font-size: .6em;
  padding: 3px 5px;
  text-align: center;
  white-space: nowrap;
  color: #fff;
  border-radius: 3px;
  background-color: #464646;
}

section.widget .top-list p {
  font-size: .9em;
  line-height: 1.6;
  margin: 0 0 10px;
  clear: none;
}

/* fixedコンタクト
----------------------------------*/
#fixed_contact {
  position: fixed;
  bottom: 0;
  width: 100%;
  max-height: 54px;
  text-align: center;
  padding: 7px 0 3px;
  background: rgba(246, 246, 246, 0.9);
  z-index: 1000;
}

#fixed_contact p {
  font-size: 11px;
  margin-bottom: 0;
}

#fixed_contact .tel {
  font-size: 1.5em;
  color: #ff9f00;
  line-height: 1.2;
}

#fixed_contact .tel span {
  padding: 0;
  font-size: 1.5em;
}

#fixed_contact .tel a {
  color: #ff9f00;
}

#fixed_contact .telimg {
  float: left;
  width: 40%;
  text-align: center;
  padding: 0 0 0 1%;
  height: 54px;
}

#fixed_contact .btn {
  float: right;
  width: 16%;
  padding: 0 1%;
  text-align: center;
  height: 54px;
}

/* PageTOP */
#pagetop {
  position: fixed;
  bottom: 10px;
  right: 15px;
  text-align: right;
  padding: 5px 0;
  z-index: 1000;
}

#pagetop a img {
  vertical-align: bottom;
  width: 50px;
}

/* フッター */
#footerinfo {
  margin: 70px auto 0;
  width: 100%;
  font-size: 0.9em;
  background: #f8f8f8;
  padding: 50px 0 20px;
  text-align: center;
}

#footerinfo .inner {
  margin: 0 auto 0;
  width: 90%;
}

#footerinfo .logo {
  margin-bottom: 1.5em;
  text-align: center;
}
#footerinfo .logo img {
  max-height: 80px;
}

#footerinfo .btn li {
  margin: 1.2em 0;
}
#footerinfo .btn li img {
  max-width: 320px;
}
#footerinfo .tel {
  font-size: 2em;
  color: #3f3f3f;
  font-family: 'Times New Roman', Times, serif;
  margin-bottom: 0.2em;
}
#footerinfo .tel a {
  color: #3f3f3f;
  text-decoration: none;
}
#footerinfo p {
  margin-bottom: 1em;
}

#footer {
  margin-top: 0;
  padding-top: 40px;
  border-top: 1px solid #ccc;
  background: #aaa;
  color: #fff;
  font-size: 0.9em;
}
#footer a {
  color: #fff;
  text-decoration: none;
}
#footer a:hover {
  color: #ccc;
  text-decoration: underline;
}
#footer .footermenu{
width: 90%;
margin: 0 auto;
}
#footer .footermenu ul {
  border-top: 1px dotted #ccc;
}

#footer .footermenu li {
  text-align: left;
  color: #fff;
  padding: 0;
  margin: 0;
  border-bottom: 1px dotted #ccc;
}

#footer .footermenu li a {
  display: block;
  line-height: 1.5;
  background: url(../images/common/icon_arrow01.png) no-repeat left 20px;
  background-size: 6px;
  padding: 14px 10px 12px 14px;
  color: #fff;
}
#copyright {
  clear: both;
  padding: 20px 0 20px;
  text-align: center;
  font-size: 11px;
  margin: 0 !important;
}

#copyright a {
  color: #fff;
  text-decoration: none;
}

#copyright a:hover {
  text-decoration: underline;
}

/* fixed_line_pc
----------------------------------------------- */
#fixed_line_pc {
  display: none;
}


/* response
----------------------------------------------- */
.response {
  text-align: center;
  margin: 30px 0;
}

.response p {
  text-align: center;
}

.response .contact-btn {
  width: 100%;
  text-align: center;
  margin: 15px auto 0;
  border-radius: 10px;
  font-weight: bold;
}

.contact-btn a {
  width: 90%;
  margin: 0 auto;
  padding: 5% 1%;
  display: block;
  text-decoration: none;
  color: #fff;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}

.contact-btn a:hover {
  color: #fff;
}

.contact-btn:hover {
  opacity: 0.8;
}

.response .contact-btn.tel {
  background: #fa9038;
  border-bottom: 6px solid #cb6919;
}

.contact-btn.tel span {
  display: inline-block;
}

.contact-btn.tel .telnum {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 2em;
  color: #ff0;
  background: url(../images/common/icon_tel03.png) no-repeat left center;
  background-size: 36px;
  padding: 0 0 0 40px;
  text-decoration: none;
}

.contact-btn.tel .sm {
  font-size: 0.9em;
  line-height: 1.5;
}

.contact-btn.line {
  background: #00b900;
  border-bottom: 6px solid #009d00;
}

/* 768px～ メディアクエリ開始 */
@media screen and (min-width : 768px) {
  #mainImg {
    padding-top: 0;
  }

  #wrapper {
    margin: 30px auto 0;
  }

  #content {
    display: flex;
    flex-flow: row wrap;
    margin: 0 auto;
    text-align: left;
  }

  #main {
    order: 1;
  }

  #response {
    margin-top: 40px;
    order: 3;
  }

  #sidebar {
    order: 2;
    margin-top: 40px;
  }

  #footerinfo {
  font-size: 1em;
  }
  #footerinfo .btn {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  }
  #footerinfo .btn li {
    margin: 1.2em 0.5em;
  }

  /* ループ */
  .news_list-wrap .news_list-text p {
    margin: 8px 0 0;
    font-size: 85%;
  }

  .news_list-wrap a {
    display: flex;
    padding: 20px;
  }

  .news_list-wrap .news_list-thumb {
    width: 240px;
    margin: 0 15px 0 0;
  }

  .news_list-wrap .news_list-text {
    width: calc(100% - 255px);
  }

  .news_list-wrap .news_list-text time {
    margin-top: 5px;
  }

  .news_list-wrap .news_list-text h3 {
    margin-top: 5px;
    font-size: 125%;
  }

  /* fixed_line_pc
  ----------------------------------------------- */
  #fixed_line_pc {
    z-index: 100;
    display: block;
    position: fixed;
    bottom: 110px;
    right: 0px;
    width: 70px;
    opacity: 0.9;
  }

  /* PageTOP */
  #pagetop {
    bottom: 10px;
    right: 10px;
  }

  #pagetop a img {
    vertical-align: bottom;
    width: 70px;
  }


}

/* 992px～ メディアクエリ開始 */
@media screen and (min-width : 992px) {
  .inner {
    width: 96%;
    max-width: 1080px;
    margin: 0 auto 0;
  }

  #wrapper {
    width: 96%;
    max-width: 1080px;
    margin: 30px auto 0;
  }

  #content {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: nowrap;
  }

  #main {
    width: 74%;
    max-width: 720px;
    margin: 0 6% 0 0;
  }

  #sidebar {
    width: 300px;
    margin: 0 0 0;
  }

  #content.onecolumn #main,
  #content.onecolumn #sidebar {
    width: 800px;
    max-width: 100%;
    margin: 0 auto 0;
  }

  #footer {
    margin-top: 0;
    padding-top: 40px;
    border-top: 1px solid #ccc;
  }

  #footer .footermenu {
    width: 84%;
    max-width: 1280px;
    margin: 0 auto;
  }

  #footer .footermenu ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    border: none;
  }

  #footer .footermenu li {
    display: flex;
    margin: 0;
    border-bottom: none;
  }

  #footer .footermenu li a {
    display: block;
    line-height: 1.5;
    background: url(../images/common/icon_arrow01.png) no-repeat left 7px;
    background-size: 6px;
    padding: 0 0 0 12px;
    color: #fff;
    margin: 0.75em;
  }

  #copyright {
  padding: 30px 0 30px;
  }


}

/* 1200px～ メディアクエリ開始 */
@media screen and (min-width : 1200px) {}

/* 1200px～ メディアクエリ終了 */
