/* =====================================================
  Component
===================================================== */
/* ------------------------------
  Anchor
------------------------------ */
:root {
  --header-height: 86px;
}

.anchor-target {
  scroll-margin-top: var(--header-height);
}

/* ------------------------------
 Header
---------------------------------*/
body.is-nav-open {
  overflow: hidden;
}
.c-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 86px;
  background-color: #fff;
  border-bottom: 1px solid #eaebe4;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16);
  z-index: 100;
}
.c-header__main{
  display:flex;
  align-items: baseline;
}

.c-header__inner {
  display: flex;
  align-items: center;
  height: 86px;
  padding: 0 calc(20px + 20 * (100vw - 1000px) / 360);
}

/* ===== Logo ===== */
.c-header__logo img {
  width: 70px;
  height: auto;
  vertical-align: middle;
}
.c-header__logo span {
  display: inline-block;
  padding-left: 10px;
  font-size:24px;
  color:#666;
}

/* ===== Hamburger ===== */
.c-header__hamburger {
  display: none;
}

/* ===== Navigation  ===== */
.c-header__nav {
  margin-left: auto;
}

.c-header__nav-list {
  display: flex;
  align-items: center;
}

.c-header__nav-item {
  position: relative;
  display: block;
  padding: 0 10px;
}

.c-header__nav-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background-color: #d2d2d2;
}

.c-header__nav-item:last-child::after {
  display: none;
}

.c-header__nav-title {
  display: inline-block;
  padding: 18px 0;
  font-size: 14px;
  font-weight: bold;
  color: #222;
  text-decoration: none;
  position: relative;
  white-space: nowrap;
}

.c-header__nav-title:hover {
  text-decoration: none;
}
.c-header__nav-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 16px;
  width: 100%;
  height: 2px;
  background-color: #222;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s ease;
}

.c-header__nav-title:hover::after {
  transform: scaleX(1);
}

.c-header__nav-title.is-open::after {
  transform: scaleX(1);
}

.c-header__nav-content {
  display: none;
  position: absolute;
  top: 60px;
  left: 0;
  width: 150px;
  background-color: #fff;
}

.c-header__nav-content ul {
  list-style: none;
  margin: 0;
  padding: 20px 8px;
  line-height: 1.6;
}

.c-header__nav-content li {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #d2d2d2;
}

.c-header__nav-content li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.c-header__nav-content a {
  display: block;
  font-size: 14px;
  font-weight: bold;
  color: #222;
  padding: 6px 10px;
  text-decoration: none;
}

.c-header__nav-content a:hover {
  background-color: #96dcff;
}

/* ------------------------------
　Heading
------------------------------ */
.c-heading {
  margin: 0 0 20px;
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  text-align: center;
}
.c-heading::before,.c-heading::after {
  content: '';
  flex-grow: 1;
  height: 3px;
  background: #48C0FF;
}
.c-heading::before {
  margin-right: 30px;
}
.c-heading::after {
  margin-left: 30px;
}

/* ------------------------------
　Heading sub
------------------------------ */
.c-heading-sub {
    margin-bottom: 32px;
    font-size: 24px;
    display: flex;
    align-items: center;
}

.c-heading-sub::before {
    margin-right: 5px;
    content: "";
    width: 27px;
    height: 27px;
    background: url(../images/icon/leaf.png);
    background-size: contain;
}

/* ------------------------------
  Info List
------------------------------ */
.c-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ------------------------------
  Info Box
------------------------------ */
.c-info-box {
  padding: 20px;
  border: 1px solid #ddd;
  background-color: #FFFAE0;
}

.c-info-box::after {
  content: "";
  display: block;
  clear: both;
}

.c-info-box__title {
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.5;
}

.c_info-box__img {
  float: left;
  margin: 0 20px 20px 0;
  max-width: 300px;
}

.c-info-box__img img {
  float: left;
  margin: 0 20px 20px 0;
  max-width: 300px;
}

.c_info-box__content {
  margin-top: 10px;
  line-height: 1.7;
}

.wp-block-image img {
  float: left;
  margin: 0 20px 20px 0;
  max-width: 300px;
}

/* ===============================
  Table
=============================== */
.c-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.c-table th,
.c-table td {
  padding: 10px;
  border: 1px solid #ddd;
}

.c-table th {
  background-color: #f5f5f5;
  text-align: left;
  font-weight: bold;
}


/* ------------------------------
  Link
------------------------------ */
.c-link-underline,
.link_underline {
  text-decoration: underline;
}

/* ===============================
  Contact
=============================== */
.c-contact {
  background-color: #fffae0;
  padding: 40px 20px;
  text-align: center;
}
.c-contact__inner {
  max-width: 1280px;
  margin: 0 auto;
}
.c-contact__title {
  font-size: 1.25rem;
  margin-bottom: 20px;
}
.c-contact__text {
  margin-bottom: 20px;
}
.c-contact__details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.c-contact__button {
  display: inline-block;
  width:300px;
  padding: 12px 30px;
  background-color: #48C0FF;
  color: #fff;
  border-radius: 4px;
  font-weight: bold;
}
.c-contact__button:hover {
  opacity: 0.85;
}

/* ===============================
  Footer
=============================== */
.c-footer {
  background-color: #f5f5f5;
  padding: 40px 0 20px;
  font-size: 0.875rem;
}

.c-footer__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.c-footer__nav {
  margin-bottom: 20px;
}

.c-footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.c-footer__nav a {
  color: #333;
}

.c-footer__copyright {
  text-align: center;
  color: #666;
  font-size: 0.75rem;
}

/* ==============================
  Tag component
============================== */
.c-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 5px;
  font-size: 11px;
  line-height: 1;
  border-radius: 5px;
  background: #b9e8ff;
  color: #666;
}

/* 状態：終了 */
.c-tag--end {
  background: #ebeeef;
  color: #7f8b92;
}

/* ==============================
  お問い合わせ
============================== */
.wpcf7 {
    max-width: 600px;
    margin: 24px auto;
}

/* text / email 共通 */
form input[type='text'],
form input[type='email'] {
    display: block;
    width: 250px;
    padding: 5px;
    border: 1px solid #cfd3d7;
    border-radius: 5px;
}

/* textarea */
form textarea {
    display: block;
    width: 95%;
    padding: 5px;
    border: 1px solid #cfd3d7;
    border-radius: 5px;
}

/* ------------------------------
  Responsive
------------------------------ */
@media screen and (max-width: 1200px) {
/* ------------------------------
 Header
---------------------------------*/
  .c-header {
    height: 60px;
  }

  .c-header__logo span{
    font-size:16px;
  }

  .c-header__inner {
    flex-direction: column;
    height: 60px;
    padding: 0;
  }

  .c-header__main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 60px;
    padding-left: 10px;
  }

  .c-header__logo img {
    width: 45px;
  }

  .c-header__nav-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20px;
    bottom: 20px;
    width: 1px;
    background-color: #d2d2d2;
  }

  .c-header__nav-item:last-child::after {
    display: none;
  }

  /* Hamburger */
  .c-header__hamburger {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    width:60px;
  }

  .c-header__hamburger-inner {
    position: relative;
    width: 28px;
    height: 20px;
  }

  .c-header__hamburger-inner span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #222;
    border-radius: 1px;
  }

  .c-header__hamburger-inner .top { top: 0; }
  .c-header__hamburger-inner .middle { top: 9px; }
  .c-header__hamburger-inner .bottom { bottom: 0; }

  .c-header__hamburger-text {
    font-size: 12px;
    font-weight: bold;
    color: #222;
  }

  .c-header__hamburger-text .is-close {
    display: none;
  }

  /* × 表示 */
  .c-header__hamburger-inner.is-active .top {
    top: 9px;
    transform: rotate(45deg);
  }

  .c-header__hamburger-inner.is-active .middle {
    display: none;
  }

  .c-header__hamburger-inner.is-active .bottom {
    top: 9px;
    bottom: auto;
    transform: rotate(-45deg);
  }

  /* テキスト切り替え */
  .c-header__hamburger-inner.is-active + .c-header__hamburger-text .is-open {
    display: none;
  }

  .c-header__hamburger-inner.is-active + .c-header__hamburger-text .is-close {
    display: inline;
  }


 /* Navigation */
  .c-header__nav {
    display: none;
    position:fixed;
    top:61px;
    left:0;
    width: 100vw;
    background-color: #fff;
    z-index:999;
  }

  .c-header__nav-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 15px 0 60px;
    padding: 0;
  }

  .c-header__nav,
  .c-header__nav-list {
    justify-content: flex-start;
    align-items: stretch;
  }

  .c-header__nav-item {
    padding: 0 24px;
    border-bottom: 1px dotted #d2d2d2;
    text-align: left;
  }

  .c-header__nav-item::after {
    display: none;
  }

  .c-header__nav-title {
    display: block;
    width: 100%;
    text-align: left;
  }

  .c-header__nav-title.is-open {
    color: #194459;
  }

  .c-header__nav-title::after {
    display:none;
  }

  .c-header__nav-content {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    display: none;
  }

  .c-header__nav-content ul {
    flex-direction: column;
    margin: 0;
    padding: 0;
    line-height: 1.5;
  }

  .c-header__nav-content ul li {
    width: 70%;
    padding: 5px;
    border-bottom: 1px dotted #fff;
  }

  .c-header__nav-content ul li:last-of-type {
    border: none;
  }

  .c-header__nav-title.has-children {
    padding-right: 28px; /* 記号分 */
  }
  .c-header__nav-title.has-children::before {
    content: '＋';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #222;
  }
  .c-header__nav-title.has-children.is-open::before {
    content: '−';
  }

  /* ------------------------------
    Anchor
  ------------------------------ */
  :root {
    --header-height: 60px;
  }

  .anchor-target {
    scroll-margin-top: var(--header-height);
  }
}
@media screen and (max-width: 768px) {
.c-heading {
  margin: 0 0 20px;
  font-size: 1.2rem;
}

.c-heading-sub {
    margin-bottom: 16px;
    font-size: 1.0em;
}

.c-info-box {
  font-size: 0.8rem;
}
.c-info-box .c-info-box__title {
  font-size: 1.0rem;
}

.c-info-box__img img {
  float: left;
  margin: 0 20px 20px 0;
  max-width: 150px;
}

.wp-block-image img {
  float: left;
  margin: 0 20px 20px 0;
  max-width: 150px;
}

.c-contact__text {
  margin-bottom: 16px;
}
.c-contact__tel {
  font-size:1.2rem;
  text-align:left;
}
.c-contact__fax {
  font-size:1.0rem;
  text-align:left;
}

}
