/*
Template:generic
Theme Name:generic-child
*/

@media (prefers-color-scheme: dark) {
  body, #container {
  background: #f2f0e5;
  }
}

@media (prefers-color-scheme: light) {
    body, #container {
        background: #f2f0e5 !important;
  }
}

body {
  background: #f2f0e5 !important;
  color: #554234;
  font-size: 17px;
  font-family: "Noto Sans CJK JP", "Helvetica Neue",
  Arial,
  "Hiragino Kaku Gothic ProN",
  "Hiragino Sans",
  Meiryo,
  sans-serif;
}

.page #content p, .single-post #content p {
  font-size: 17px;
  line-height: 160%;
  letter-spacing: .2px;
}

h1, h2, h3, h4, h5, h6 {
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
  line-height: 140%;
}

h1 {
  padding: 1em 0;
  text-align: center;
  margin: 0 !important;
  line-height: 160% !important;
  min-height: 240px;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.page-id-7 h1 {
  background: url('../../uploads/2025/06/midashi01.png');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  color: #fff;
  text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
}

.page-id-9 h1, .category h1, .single h1 {
  background: url('../../uploads/2025/06/midashi02.png');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  color: #fff;
  text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
}

.page-id-2 h2 {
  text-align: center;
  padding-top: 1em;
  padding-bottom: 1em;
}

.kokonara h2 {padding-top: 0 !important;}
.kokonara strong {font-size: 1.5em;}

#abouttt01:before, #abouttt02:before, #abouttt03:before,
#abouttt04:before, #abouttt05:before {padding-right: 10px;}

#abouttt01, #abouttt02, #abouttt03, #abouttt04, #abouttt05 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
  margin: 0 auto;
  padding: 2em 0 1em 0;
}

#abouttt01::before {
  content: "";
  display: inline-block;
  background-image: url('../../uploads/2025/06/abouticon01.png');
  background-repeat: no-repeat;
  background-size: contain;
  width: 90px;
  height: 90px;
}

#abouttt02::before {
  content: "";
  display: inline-block;
  background-image: url('../../uploads/2025/06/abouticon02.png');
  background-repeat: no-repeat;
  background-size: contain;
  width: 90px;
  height: 90px;
}

#abouttt03::before {
  content: "";
  display: inline-block;
  background-image: url('../../uploads/2025/06/abouticon03.png');
  background-repeat: no-repeat;
  background-size: contain;
  width: 90px;
  height: 90px;
}

#abouttt04::before {
  content: "";
  display: inline-block;
  background-image: url('../../uploads/2025/06/abouticon04.png');
  background-repeat: no-repeat;
  background-size: contain;
  width: 90px;
  height: 90px;
}

#abouttt05::before {
  content: "";
  display: inline-block;
  background-image: url('../../uploads/2025/06/abouticon05.png');
  background-repeat: no-repeat;
  background-size: contain;
  width: 90px;
  height: 90px;
}

.about-btn {
  display: flex;
  gap: 0 !important;
  flex-wrap: wrap;
  padding-bottom: 4em;
}

.pd-bottom {padding-bottom: 2em;}

.about-btn .wp-block-column:first-child {margin-right: 16px;}

.about-btn .wp-block-button__link::before {
  content: "";
  display: inline-block;
  background-image: url('../../uploads/2025/06/arrow_sita.png');
  background-repeat: no-repeat;
  background-size: contain;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: middle;
}

#news-tt {
  font-size: 22px;
  text-align: center;
  letter-spacing: 0;
  padding-top: 0;
  padding-bottom: 0;
}

#news-tt:before {
  content: 'News';
  color: #32a440;
  display: block;
  font-size: 20px;
  font-weight: 900;
  text-align: center;
  letter-spacing: 1px;
  padding-bottom: .5em;
}

.checkbox h3, #flow-tt01, #flow-tt02, #flow-tt03,
#flow-tt04, #flow-tt05, #flow-tt06 {
  font-size: 1.3em;
  padding: 0 0 0 2em;
}

[id^="flow-tt"] {
  display: flex;
  align-items: center;
  gap: 12px;
}

[id^="flow-tt"]::before {
  content: "";
  display: inline-block;
  background-repeat: no-repeat;
  background-size: contain;
  height: 60px;
  flex-shrink: 0;
}

#flow-tt01::before {
  background-image: url('../../uploads/2025/06/ficon01.png');
  width: 72px;
}

#flow-tt02::before {
  background-image: url('../../uploads/2025/06/ficon02.png');
  width: 72px;
}

#flow-tt03::before {
  background-image: url('../../uploads/2025/06/ficon03.png');
  width: 60px;
}

#flow-tt04::before {
  background-image: url('../../uploads/2025/06/ficon04.png');
  width: 72px;
}

#flow-tt05::before {
  background-image: url('../../uploads/2025/06/ficon05.png');
  width: 72px;
}

#flow-tt06::before {
  background-image: url('../../uploads/2025/06/ficon06.png');
  width: 72px;
}

.single-post table td,
.single-post table th {
  border: 1px solid #767676;
}

.entry-content ul,
.widget-container ul,
.comment-body ul {
  list-style-type: circle;
  text-indent: 0;
}

.entry-content ul li:before,
.widget-container ul li:before,
.comment-body ul li:before {
  content: none;
}

.breadcrumb-layer {
  color: #554234;
  font-weight: 500;
  padding: .6em 0;
}

.aioseo-breadcrumb a {
  color: #554234;
  text-decoration: none;
}

.breadcrumb-area {
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  margin: 0 auto;
  padding: 0 3%;
  max-width: 1200px !important;  
}

.breadcrumb-layer .current-item, .breadcrumb-layer .home,
.breadcrumb-layer .category {
  color: #595959;
  text-decoration: none;
}

#header, #container, #footer {
  padding: 0;
  overflow: hidden;
}

#container {
  padding-top: 8em;
  padding-bottom: 4em !important;
}
.page-id-2 #container {
  padding-top: 10em;
  padding-bottom: 0 !important;
}

.header-layer {
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 6% 1em 3%;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

.top-left a {
  color: #554234;
  display: flex;
  font-weight: 600;
  float: left;
  text-decoration: none;
  padding: 0;

  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100px;
}

.top-right {
  display: flex;
  float: right;
  justify-content: center;
}

#menu a {
  color: #554234;
  padding-bottom: 0;
}

#menu {
  float: unset;
  margin-top: 0;
}

#menu span {
  padding: 0 1em;
  display: block;
}

#menu-gn {
  display: flex !important;
  justify-content: flex-start;
  margin: 0 auto;
  padding: 0;
  gap: 0;
}

#menu-gn li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #554234;
  font-size: 16px;
  font-weight: 600;
  padding: 0.8em 0.6em;
  height: 100px;
  box-sizing: border-box;
  margin: 0;
}

#menu-gn li a:before {
  content: '';
  display: block;
  width: 48px;
  height: 48px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 0.3em;
}

#menu-item-28 a:before {background-image: url('../../uploads/2025/06/icon-home.png');}
#menu-item-30 a:before {background-image: url('../../uploads/2025/06/icon-service.png');}
#menu-item-29 a:before {background-image: url('../../uploads/2025/06/icon-blog.png');}

.tel-btn {
  display: block;
  padding-top: .5em;
}

.top-contactbtn-layer {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding-top: .5em;
  padding-bottom: .5em;
}

.top-contactbtn01,
.top-contactbtn02 {
  display: flex;
  align-items: center;
  padding: 1em 1.5em 1em 3.5em;
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  line-height: 1;
}

.top-contactbtn01 {
  background-color: #80c269;
  background-image: url('../../uploads/2025/06/icon-mail.png');
  background-repeat: no-repeat;
  background-position: left 1.5em center;
}

.top-contactbtn02 {
  background-color: #32b16c;
  background-image: url('../../uploads/2025/06/icon-line.png');
  background-repeat: no-repeat;
  background-position: left 1.5em center;
}

.main-eyecatch {display: block !important;}
.main-eyecatch img {
  display: block;
  width: 93%;
  height: auto;
  object-fit: cover;
  object-position: center;
  margin: 0 3% 0 6%;
}

.footer-gn .menu-gn-container {padding: 0 !important;}
#footer {
  text-align: center;
  padding: 3em 3%;
}

#copyright {
  color: #554234;
  font-size: 13px;
}

#menu-mb-gn {
  background: #554234;
  display: flex !important;
  text-decoration: none;
  font-weight: 600;
  position: unset !important;
  justify-content: center;
  margin: 0 auto !important;
}

#menu-mb-gn li a {
  text-decoration: none !important;
  text-align: center;
  font-size: 15px;
}

#menu-mb-gn li a span {
  display: inline-block;
  color: #fff !important;
  padding: 1em;
}

.page-id-2 .entry-title, .mb-header {display: none;}

#content {
  background: #fff !important;
  border-radius: 20px;
  float: none;
  margin: 4em auto;
  overflow: hidden;
  max-width: 1200px;
  padding: 2em !important;
}

.page-id-2 #content {
  background: #f2f0e5 !important;
  border-radius: 0px;
  padding: 0 !important;
  margin: 0 auto !important;
  max-width: 100%;
}

.container-1200, .news-layer, .line-qr {
  max-width: 1200px !important;
  margin: 0;
  margin: 0 auto;
  overflow: hidden;
  padding: 60px 3%;
}

.daily-layer {
  max-width: 1200px !important;
  margin: 0;
  margin: 0 auto;
  overflow: hidden;
  padding: 0 3% 9em 3%; 
}

.mb-daily-layer {display: none;}

.huan-layer {
  position: relative;
  overflow: visible;
}

.huan-layer::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -50px;
  transform: translateX(-50%);
  width: 250px;
  height: 71px;
  background-image: url(../../uploads/2025/06/sankaku-arrow.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}

.line-qr-layer {
  background: #40b44f;
  padding: 60px 3%;
  position: relative;
}

.line-qr-layer:before {
  background-image: url("../../uploads/2025/06/lineqr-illust.png");
  content: "";
  position: absolute;
  bottom: 100%;
  left: 45%;
  transform: translateX(-30%) translateY(55%);
  width: 348px;
  height: 160px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom;
  z-index: 2;
}

.line-sq-layer {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 0 20px 40px 20px;
  flex-wrap: wrap;
}

.line-sq {
  align-items: center;
  background-color: #fffcef;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding: 20px;
  width: 30px;
  transition: transform 0.2s ease;
}

.line-sq strong {font-size: 1.3em;}
.line-sq span {color: #ff7c00;}
.lineqr-txt strong {font-size: 1.4em;}
.lineqr-txt span {color: #40b44f;}

.entry-content ul li,
.widget-container ul li,
.comment-body ul li {
  list-style: none !important;
}

.dot-list {
  list-style: none;
  padding: 0;
  padding-left: 2em;
  margin: 0 !important;
}

.dot-list li {
  background-image: url('../../uploads/2025/06/circle-orange.png');
  background-repeat: no-repeat;
  background-position: left center;
  padding: 0 1em 0 2em;
}

.news-layer-left {
  background-image: url('../../uploads/2025/06/illust-news.png');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
}

.news-layer ul li {
  border-bottom: 1px dashed #554234;
  font-family: "Noto Sans CJK JP", "Helvetica Neue",
  Arial, "Hiragino Kaku Gothic ProN",
  "Hiragino Sans",
  Meiryo,
  sans-serif;
  list-style-type: none;
  line-height: 130%;
  overflow: hidden;
  padding: 1em 0 !important;
  margin: 0 !important;
}

.news-layer ul li a {
  color: #554234;
  display: inline-block;
  text-decoration: none;
  padding-left: 1em;
  padding-right: 1em;
}

.news-layer ul li:last-child {border: none;}
.news-layer ul {margin: 0 !important;}

.news-layer a {
  color: #554234;
  text-decoration: none;
}

.news-btn a {
  background: transparent;
  border: 1px solid #c5c2ba;
  border-radius: 50px !important;
  font-size: 14px;
  font-weight: 500;
  padding: .4em 2em !important;
}

.news-btn a:before {
  content: url('../../uploads/2025/06/arrow-gn.png');
  padding-right: 5px;
}

.wp-block-latest-posts__post-date {
  color: #000;
  float: left;
  font-size: 16px;
}

.con-layer strong {
  display: block;
  font-size: 20px !important;
}

.con-layer p {margin-top: 10px;}

.con01, .con02, .con03, .con04, .con05, .con06 {
  background-color: #fff;
  border-radius: 15px;
  padding: 1em;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  height: 300px;
}

.con01 .wp-block-columns,
.con02 .wp-block-columns,
.con03 .wp-block-columns,
.con04 .wp-block-columns,
.con05 .wp-block-columns,
.con06 .wp-block-columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 100%;
}

.con01 .wp-block-column:first-child,
.con02 .wp-block-column:first-child,
.con03 .wp-block-column:first-child,
.con04 .wp-block-column:first-child,
.con05 .wp-block-column:first-child,
.con06 .wp-block-column:first-child {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.wp-block-image img {
  max-width: 80px;
  height: auto;
  display: block;
}

.con-layer {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
}

.con01 .wp-block-column:last-child,
.con02 .wp-block-column:last-child,
.con03 .wp-block-column:last-child,
.con04 .wp-block-column:last-child,
.con05 .wp-block-column:last-child,
.con06 .wp-block-column:last-child {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.appoint-box {padding: 5em 0 2em 0;}

.appoint-box01, .appoint-box02, .appoint-box03, .appoint-box04 {
  position: relative;
  background-color: #fdfdf6;
  border-radius: 12px;
  padding: 80px 24px 32px;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.appoint-box01:before, .appoint-box02:before,
.appoint-box03:before, .appoint-box04:before {
  content: "";
  position: absolute;
  bottom: 100%;
  right: 0;
  transform: translateX(-30%) translateY(30%);
  width: 174px;
  height: 150px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom;
  z-index: 2;
}

.appoint-box01:before {background-image: url("../../uploads/2025/06/appoint-icon01.png");}
.appoint-box02:before {background-image: url("../../uploads/2025/06/appoint-icon02.png");}
.appoint-box03:before {background-image: url("../../uploads/2025/06/appoint-icon03.png");}
.appoint-box04:before {background-image: url("../../uploads/2025/06/appoint-icon04.png");}

.appoint-box04 strong {
  color: #ff0000;
  font-size: 1.1em;
}

.appoint-box04 strong span {background:linear-gradient(transparent 70%, #fffc05 0%);}
.line-qr {
  background: #fff;
  border-radius: 12px;
}

.flowbox01, .flowbox02, .flowbox03, .flowbox04, .flowbox05, .flowbox06 {
  background-color: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 8px 8px 0 #80c269;
  margin: 20px auto;
  position: relative;
}

.flowbox01,
.flowbox02,
.flowbox03,
.flowbox04,
.flowbox05,
.flowbox06 {
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 65px auto;
}

.flowbox01 {background-image: url('../../uploads/2025/06/num01.png');}
.flowbox02 {background-image: url('../../uploads/2025/06/num02.png');}
.flowbox03 {background-image: url('../../uploads/2025/06/num03.png');}
.flowbox04 {background-image: url('../../uploads/2025/06/num04.png');}
.flowbox05 {background-image: url('../../uploads/2025/06/num05.png');}
.flowbox06 {background-image: url('../../uploads/2025/06/num06.png');}

.checkbox {
  background-color: #f6f9ea;
  border-radius: 12px;
  padding: 2em;
  box-shadow: 8px 8px 0 #80c269;
  margin: 20px auto;
  position: relative;

  background-image: url('../../uploads/2025/06/icon-check.png');
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 70px auto;
}

.banner-section {
  background: url('../../uploads/2025/06/gn-bg.png');
  display: flex;
  justify-content: center;
  gap: 24px;
  background-color: #87c86c;
  padding: 4em 3%;
  flex-wrap: wrap;
}

.banner-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  width: 300px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.tomodc-layer {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 1em 0;
  flex-wrap: wrap;
}

.tomodc-box01 {
  position: relative;
  background-color: #f7f3e8;
  background-image: url('../../uploads/2025/06/tomo-illust.png');
  background-repeat: no-repeat;
  background-position: right bottom;
  border: 1px solid #554234;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  overflow: hidden;
}

.tomo-illust {
  position: absolute;
  right: 0;
  bottom: 0;
  width: auto;
  height: 100px;
}

.tomodc-box02 {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f7f3e8;
  border: 1px solid #554234;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  box-sizing: border-box;
  font-weight: 400;
}

.tomodc-box02 strong {
  display: block;
  font-size: 1.2em;
  padding-bottom: .5em;
}

.tomodc-box02 span {border-bottom: 1px solid #554234;}
.tomodc-box02 a {text-decoration: none;}

.banner-box:hover {transform: translateY(-4px);}

.banner-text {
  font-size: 1.2rem;
  font-weight: bold;
  color: #4b3b2b;
}

.banner-box img {
  width: 60px;
  height: auto;
}

table {margin-top: 0;}

table th {
  background: #f9f6f3;
  vertical-align: middle;
  text-align: left;
  font-weight: 600;
  padding: 1em !important;
  width: 33% !important;
}

table td {
  vertical-align: middle;
  padding: 1em !important;
}

.tb-contact-layer {
  background: #fff;
  border-radius: 20px;
  padding: 4em 4em 6em 4em;
  margin-top: 4em;
}

.tb-contact th p, .tb-contact td p,
.tb-normal th p, .tb-normal td p {margin: 0;}

.tb-contact th, .tb-normal th {
  background: #32b16c;
  color: #fff;
}

.tb-contact td, .tb-normal td {background: #f4f8e5;}
.tb-normal td {color: #554234;}

.tb-contact th strong, .tb-check strong {
  background: #fff;
  border-radius: 3px;
  color: #ec6c00;
  display: inline-block;
  font-size: 14px;
  padding: 0 10px;
  margin-left: 10px;
}

.tb-contact th strong {float: right;}
.tb-contact th, .tb-contact td,
.tb-normal th, .tb-normal td {
  border: none;
  border-bottom: 4px solid #fff;
  padding: 1em;
}

.tb-contact tr:first-child th {border-top-left-radius: 15px;}
.tb-contact tr:first-child td {border-top-right-radius: 15px;}

.tb-check {font-weight: 600;}
.tb-check, .align-c {text-align: center;}

.google-maps {
  position: relative;
  padding-bottom: 55%;
  height: 0;
  overflow: hidden;
  margin-top: 3em;
}

.google-maps iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

select,
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
textarea {
  background: #fff;
  border: 1px solid #cbcbcb;
  width: 100% !important;
  margin: 0 !important;
}

input[type="submit"] {
  background: #32b16c;
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 1em 5em;

  font-size: 18px;
  font-family: "Noto Sans CJK JP",
  "Helvetica Neue",
  Arial,
  "Hiragino Kaku Gothic ProN",
  "Hiragino Sans",
  Meiryo,
  sans-serif;
  letter-spacing: .1em;
}

input[type="submit"]:hover {
  color: #fff !important;
  background-color: #5eb2bf !important;
}

.sns-container {
  display: flex;
  justify-content: center;
  padding: 2em 0;
}

.sns-container a {
  display: inline-block;
  margin: 0 5px;
}

.sns-container a img {
  width: 40px;
  height: auto;
}

.align-c {text-align: center;}

.tb-contact {
  margin-bottom: 0;
}

.scroll-layer {
  background: #f4f8e5;
  padding: 1em 2em 2em 2em;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

.scroll-box {
  background: #fff;
  border: 1px solid #a0a0a0;
  margin: 1em auto 0;
  height: 200px;
  overflow: auto;
  padding: 0px 20px 20px 20px;
}

.qna-layer {margin: 1em 0;}

.qna-qtxt {
  background-color: transparent;
  background-image: url('../../uploads/2025/06/q-icon.png');
  background-repeat: no-repeat;
  background-position: center left;
  margin: 20px !important;
  padding: 1em 1em 1em 3em;
  border-bottom: 2px solid #80c269;
}

.qna-atxt {
  background-image: url('../../uploads/2025/06/a-icon.png');
  background-repeat: no-repeat;
  background-position: left top 10px;
  margin: 20px !important;
  padding: 1em 1em 1.5em 4em;
}

.category-box ul {
  display: flex;
  list-style-type: none;
  padding: 0;
  margin: 0;
  gap: 10px;
}

.category-box ul li {
  align-items: center;
  display: flex;
}

.category-box ul li a {
  color: #2c0606;
  display: inline-block;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  padding: .8em 1em;
}

#blog-container {
  background: #fff;
  border-radius: 20px;
  display: block;
  overflow: hidden;
  padding: 2em;
}

.category #blog-container,
.page-id-9 #blog-container {margin-top: 2.5em;}

.page-id-2 .entry-title {display: none;}

.blog-layer {
  background: #fff;
  border-radius: 20px;
  max-width: 1200px !important;
  overflow: hidden;
  margin: 4em auto;
  padding: 1em 3% 4em 3%;
}

.blog-tt {
  margin: 0;
  padding: 0;
  display: block;
}

.blog-tt a, #blog-container h2 a {
  color: #554234;
  display: block;
  font-size: 22px;
  text-decoration: none;
  text-align: left;
}

.date-layer {color: #554234;}

.entry-summary {
  border-bottom: 1px solid #edebea;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  padding: 2em 0;
}

.entry-summary img {
  border-radius: 20px;
  width: 300px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.description-layer {
  flex: 1;
  min-width: 0;
}

.thumbnail-wrapper {margin-right: 20px;}
.description-wrapper {flex: 1;}

#block-3 {margin-bottom: 0;}
#block-3 ul {
  margin: 0 !important;
  margin-top: 1em;
}

#block-3 h3 {
  border-top: none;
  border-bottom: 2px dashed #25a74d;
  font-size: 1.2em;
  padding: .5em;
  text-align: left;
}

.pagenavi-layer {
  width: 100%;
  margin: 0 auto 2em 0;
  overflow: hidden;
  text-align: center;
}

.wp-pagenavi {
  padding: 2em 1em 1em 1em;
  width: 100%;
  overflow: hidden;
}

.wp-pagenavi a, .wp-pagenavi span {
  background: #fff;
  border-radius: 5px;
  color: #000;
  display: inline-block;
  padding: .8em 1.3em !important;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current {
  background: #32b16c;
  border-radius: 5px;
  color: #fff;
}

.wp-pagenavi .pages, .wp-pagenavi .nextpostslink,
.wp-pagenavi .previouspostslink { border: 1px solid #554234 !important;}

.wp-pagenavi span.current {border: none;}
#block-3 h3:before, .mb-eyecatch, .mb-topleft, #abouttt02 span {display: none !important;}

li.addbg > a.rmp-menu-item-link {
  background-color: #eef5d2 !important;
  color: #333 !important;
}

.rmp-menu-item-link.current-anchor {
  background-color: #8cc96e !important;
  color: #fff !important;
}

.smartph {
  background-image: url('../../uploads/2025/07/keitai.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  padding: 2em 1em .5em 1em;
}

.linetomo {filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.1));}

.linetomo img {
  opacity: 1 !important;
  border-radius: 15px;
}

.qr-btn a {border: 4px double #fff;}
.qr-btn a:hover {opacity: .6;}


@media(max-width: 1420px) {
  .header-layer {display: block !important;}

  .mb-eyecatch, .mb-header, .mb-topleft, #abouttt02 span {display: none !important;}
  #menu-gn li a {padding: 0;}


}


@media(max-width: 1024px) {

  #menu, .mb-eyecatch, #abouttt02 span {display: none;}

  .header-layer {
    background: #fff;
    display: block;
   }

  .con01 .wp-block-columns,
  .con02 .wp-block-columns,
  .con03 .wp-block-columns,
  .con04 .wp-block-columns,
  .con05 .wp-block-columns,
  .con06 .wp-block-columns {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-end;
  }

  .con01, .con02, .con03, .con04, .con05, .con06 {height: auto;}

  .con-layer .wp-block-columns.is-layout-flex {gap: 0 !important;}
  .con-layer .wp-block-columns > .wp-block-column:first-child {
    flex-basis: 80% !important;
  }

  .con-layer .wp-block-columns > .wp-block-column:last-child {
    flex-basis: 20% !important;
  }

 
}


@media(max-width: 767px) {

  body {letter-spacing: 0;}

  h1 {font-size: 1.3em;}
  h2 {font-size: 1.2em;}
  h3 {
    font-size: 1.15em;
    font-weight: 600;
  }

  h4, .kokonara strong {font-size: 1.12em;}
  h5 {font-size: 1.05em;}
  h6, #news-tt {font-size: 1em;}

  #news-tt:before {font-size: 15px;}

  input[type="submit"] {
    padding: 1em 2em;
    width: 100%;
  }

  .page-id-7 h1 {
    background: url('../../uploads/2025/07/newmidashi01.png');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    color: #fff;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
  }
  
  .top-left, .top-right {
    display: block !important;
    width: 100%;
    text-align: center;
  }

  .top-left a {height: auto;}

  .header-layer {padding: 1.2em 0;}

  .mb-header {
    display: flex !important;
  　justify-content: center;
  　align-items: center;
    padding: 5em 2% 1em 2%;
    gap: 8px;
  }

  #container, .page-id-2 #container {padding-top: 0em;}
  
  .topmb-ctbtn {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.8em;
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    line-height: 1;
    min-width: 0;
  }

  .topmb-ctbtn00 {border: 1px solid #554234;}
  .topmb-ctbtn01 {background-color: #80c269;}
  .topmb-ctbtn02 {background-color: #32b16c;}
  .fa-solid, .fa-line {padding-right: 6px;}

  .main-eyecatch, .news-btn, .pc-topleft {display: none !important;}
  .mb-eyecatch {
    display: block !important;
    width: 94%;
    height: auto;
    object-fit: cover;
    object-position: center;
    margin: 0 3%;
  }

  .mb-topleft {
    display: flex !important;
    align-items: center;
  }

  .mb-topleft img {
    height: 20px;
    width: auto;
  }

  .mb-topleft a {
    color: #554234;
    display: inline-block;
    font-size: 13px;
    text-decoration: none;
    line-height: 1;
    margin-left: 8px;
  }

  .tb-contact th, .tb-contact td,
  .about-btn, .wp-block-buttons,
  .about-btn .wp-block-button {
    display: block !important;
    width: 100% !important;
  }

  .about-btn .wp-block-column:first-child {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .wp-block-latest-posts__post-date {
    font-size: 15px;
    padding-top: 2px;
  }

  #menu-mb-gn, .entry-summary {
    display: block !important;
    overflow: hidden;
    width: 100%;
  }

  .entry-summary {padding-bottom: 4em;}
  .date-layer {padding-top: .8em;}
  .description-layer {padding-top: 2em;}

  #menu-mb-gn li {
    float: left;
    width: 50% !important;
    text-align: center;
  }

  .container-1200, .line-qr {
    max-width: 1200px !important;
    margin: 0;
    margin: 0 auto;
    overflow: hidden;
    padding: 2em 3%;
  }

  .news-layer ul li {
    padding: 0 0 .5em 0 !important;
    border-bottom: none;} 

  .news-layer ul li a {
    display: block;
    font-size: 15px;
    padding: .2em 0;
  }

  .news-layer {padding: 1em 3%;}

  .news-layer-left {
    background-position: left 10% center;
    text-align: center;
    width: 30% !important;
  }

  .news-layer.wp-block-columns.wp-block-columns-is-layout-flex.wp-container-core-columns-is-layout-28f84493 > .wp-block-column {
    flex-basis: auto !important;
    max-width: none !important;
  }

  .news-layer.wp-block-columns.wp-block-columns-is-layout-flex.wp-container-core-columns-is-layout-28f84493 {flex-wrap: nowrap !important;}
  .news-layer-left {background-image: none;}
  .news-layer :where(.is-layout-flex) {gap: 0 !important;}

  .appoint-box01:before, .appoint-box02:before,
  .appoint-box03:before, .appoint-box04:before,
  .tel-btn, .top-contactbtn-layer {display: none;}

  .appoint-box01, .appoint-box02, .appoint-box03, .appoint-box04 {padding: 1em 3% 2em 3%;}
  .appoint-box {padding: 0;}

  .appoint-box01 h3 {background-image: url("../../uploads/2025/06/appoint-icon01.png");}
  .appoint-box02 h3 {background-image: url("../../uploads/2025/06/appoint-icon02.png");}
  .appoint-box03 h3 {background-image: url("../../uploads/2025/06/appoint-icon03.png");}
  .appoint-box04 h3 {background-image: url("../../uploads/2025/06/appoint-icon04.png");}
    
  .appoint-box01 h3,
  .appoint-box02 h3 {
    background-repeat: no-repeat;
    background-size: 60px auto;
    background-position: right center;
    padding: 0.8em 4em 0.8em 0;
    margin-top: 0;
    line-height: 1.4;
  }

  .appoint-box03 h3,
  .appoint-box04 h3 {
    background-repeat: no-repeat;
    background-size: 40px auto;
    background-position: right center;
    padding: 1.5em 3em 0.8em 0;
    margin-top: 0;
    line-height: 1.4;
  }

  .appoint-box p:first-of-type {margin-top: 6px;}

  .line-qr-layer:before {
    width: 200px;
    left: 45%;
  }

  .lineqr-txt strong {font-size: 1em;}

  .mb-daily-container {padding: 0 3% 2em 3%;}

  .mb-daily-layer {
    border: 2px dashed #ffa800;
    border-radius: 15px;
    display: block;
    padding: 2em;
  }

  .mb-daily-layer strong {
    background: #dbe7cc;
    display: inline-block;
    font-weight: 600;
    font-size: 1.2em;
    padding: 2px 4px;
  }

  .dot-list {padding-left: 1em;}

  .flowbox01, .flowbox02, .flowbox03,
  .flowbox04, .flowbox05, .flowbox06 {box-shadow: 3px 3px 0 #80c269;}

  .tomodc-box01 {
    background-image: none;
    position: unset;
  }

  .tomodc-box02 br, .line-sq strong br, .daily-layer {display: none;}

  .tb-contact tr:first-child th {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
  }

  .tb-contact tr:first-child td {border-top-right-radius: 0;}
    
  .scroll-layer {padding: 1em;}

  .page-id-7 #content.full-width {
    width: 94%;
    margin: 2em 3%;
  }

  #content {padding: 2em 3% !important;}
  #abouttt01, #abouttt02, #abouttt03, #abouttt04, #abouttt05 {font-size: 1.4rem;}

  #abouttt02 {display: block;}
  #abouttt02 span {
    display: block !important;
    color: #80c269;
    font-size: 22px;
    letter-spacing: 2px;
  }

  .category-box ul {
    display: block;
    font-size: 15px;
  }
    
  #blog-container {padding: 0 3%;}

  .huan-layer {
    position: relative;
    overflow: visible;
    padding-bottom: 40px;
  }

  .huan-layer::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -30px;
    transform: translateX(-50%);
    width: 80px;
    height: 40px;
    background-image: url('../../uploads/2025/06/sankaku-arrow.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    pointer-events: none;
  }

  .line-sq-layer {
    padding: 0 1em 1em;
    flex-wrap: wrap;
    gap: .6em;
  }

  #menu-mb-gn li:nth-child(1),
  #menu-mb-gn li:nth-child(3) {border-right: 1px solid #fff;}

  #menu-mb-gn li:nth-child(1),
  #menu-mb-gn li:nth-child(2) {border-bottom: 1px solid #fff;}

  #menu-mb-gn li a span {
    display: block;
    color: #fff !important;
    padding: 1.5em 0;
  }

  .qr-btn, .qr-btn a {
    display: block;
    width: 100%;
  }

  .smartph {
    background-image: none;
    padding: 0;
  }


}


@media(max-width: 479px) {
  .line-qr-layer:before {
    width: 200px;
    left: 40%;
  }

  .lineqr-txt strong {font-size: .9em;}
  
  #news-tt {
    font-size: .75em;
  }
  
  input[type="checkbox"] {
    vertical-align: middle;
  }
  
  [id^="flow-tt"]::before {
    height: 48px;
  }
  
  #flow-tt01::before,
  #flow-tt02::before,
  #flow-tt03::before,
  #flow-tt04::before,
  #flow-tt05::before,
  #flow-tt06::before {
    width: 50px;
  }
  
  
}