/*
Version: 20251015
*/
/* プリセットCSS */
:root {
  --wp--preset--font-size--normal: 16px;
  --wp--preset--font-size--huge: 42px;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  color: #584a4b;
}

p {
  padding-top: 0;
  margin-top: 0;
  margin-bottom: 0;
  letter-spacing: 0.05em;
  line-height: 1.8em;
}

html,
body,
h1,
h2,
h3,
h4,
h5,
ol,
dl,
dt,
dd,
div,
span,
img,
a,
table,
tr,
th,
td,
article,
figure {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

i {
  font-style: normal !important;
}

ol,
ul {
  list-style: none;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

article,
header,
footer,
figure,
figcaption,
nav,
section {
  display: block;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 500;
}

a,
a:link,
a:visited {
  text-decoration: none;
  color: #524e4d;
}

a {
  transition: color 0.4s ease, background 0.4s ease, transform 0.4s ease, opacity 0.4s ease, border 0.4s ease, padding 0.4s ease, left 0.4s ease, box-shadow 0.4s ease;
}

a:hover {
  color: #0094c8;
}


input::-webkit-input-placeholder {
  color: #ccc;
}

input:focus {
  outline: 0;
}

@media (max-width: 767px) {
  strong {
    font-weight: 700;
  }
}

@media (min-width: 768px) {
  strong {
    font-weight: 600;
  }
}

/* 共通CSS */
/* CSS Document */
html,
body,
header,
footer {
  margin: 0;
  padding: 0;
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  box-sizing: border-box;
  word-wrap: break-word;
  letter-spacing: 1px;
}

@media (max-width: 767px) {
  body {
    font-weight: 400;
  }
}

@media (min-width: 768px) {
  body {
    font-weight: 300;
  }
}

.clearfix {
  clear: both;
}

.text-off {
  display: none;
}

.right {
  text-align: right;
}

.logo-left {
  text-align: left;
}

.tn_off,
.tn_search_off,
.tn_sns_off,
.header_off {
  display: none !important;
}

@media (max-width: 767px) {
  .sp-fix {
    position: fixed !important;
  }
}

#wrapper {
  width: 100%;
  margin: 0 auto;
  background: #FFFFFF;
  overflow: hidden;
}

@media (max-width: 767px) {
  #wrapper {
    position: relative;
  }
}

/* コンテンツエリア */
#contents {
  padding-top: 10px;
  margin: 0 auto;
}

#contents::after {
  clear: both;
  content: "";
  display: block;
}

@media (max-width: 767px) {
  #contents {
    padding-top: 0;
    margin-top: 0px;
  }
}

@media (min-width: 768px) {
  #contents {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 10px;
  }
}

@media (min-width: 835px) and (max-width: 1199px) {
  #contents {
    width: 100%;
  }
}

@media (min-width: 1200px) {
  #contents {
    width: 1200px;
  }
}


/* アニメーションCSS */
/* CSS Document */
@keyframes down-fade-animation {
  0% {
    transform: translateY(-60px);
    opacity: 0;
  }

  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

@keyframes up-fade-animation {
  0% {
    transform: translateY(10px);
    opacity: 0;
  }

  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

@keyframes fade-animation {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}


@media (max-width: 767px) {
  .header-box.animate {
    animation-name: down-fade-animation;
    animation-duration: 0.6s;
  }

  .cps-icon-bar.animate,
  .headsearch.animate .search-box:before {
    animation-name: fade-animation;
    animation-duration: 0.6s;
    animation-delay: 0.6s;
    animation-fill-mode: forwards;
    opacity: 0;
    position: relative;
    z-index: 4;
  }
}




/* ヘッダー */
/* CSS Document */
#header-box {
  width: 100%;
  padding: 0;
}

@media (max-width: 767px) {
  #header-box {
    position: relative;
    z-index: 2;
    min-height: 46px;
    padding: 10px 0;
    padding-bottom: 0px;
    transition: 0.6s;
    overflow: hidden;
  }
}

@media (min-width: 768px) {
  #header-box {
    min-height: 60px;
  }
}

#header {
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: space-between;
}

@media (max-width: 767px) {
  #header {
    margin-bottom: 10px;
  }
}

@media (min-width: 768px) {
  #header {
    width: 100%;
    padding: 0 20px;
  }
}

@media (min-width: 1200px) {
  #header {
    width: 1200px;
  }
}

#header #site-info {
  font-feature-settings: "palt";
}

@media (max-width: 767px) {
  #header #site-info {
    max-width: 75%;
    text-align: center;
    font-weight: 700;
    margin-top: 1px;
    letter-spacing: 1px;
    margin: 0 auto;
  }
}

@media (min-width: 768px) {
  #header #site-info {
    letter-spacing: 3px;
    color: #fff;
    font-weight: normal;
    font-size: 0.85rem;
    margin-right: auto;
    min-width: 100px;
    max-width: 140px;
  }
}

@media (min-width: 1200px) {
  #header #site-info {
    letter-spacing: 3px;
    color: #fff;
    font-weight: normal;
    font-size: 0.85rem;
    margin-right: auto;
    min-width: 100px;
    max-width: 250px;
  }
}

@media (min-width: 768px) {
  #header #site-info .tn-logo-size {
    overflow: hidden;
  }
}

#header #site-info img {
  margin: 8px auto;
  max-height: 70px;
  object-fit: contain;
}

@media (max-width: 767px) {
  #header #site-info img {
    margin-bottom: -5px;
    max-width: 100%;
  }
}


@media (max-width: 767px) {
  #headmenu {
    display: none;
  }
}

@media (min-width: 768px) {
  #headmenu {
    display: flex;
    margin-top: 4px;
    margin-bottom: 0px;
    margin-left: 10px;
    backface-visibility: hidden;
  }
}

#headmenu .headsearch {
  width: 30px;
  margin-right: 5px;
  margin-top: 17px;
}

#headmenu .headsearch .search-box {
  display: block;
  position: relative;
}

#headmenu .headsearch .search-box:hover {
  color: #f8b500;
}

#headmenu .headsearch .search-box:before,
#headmenu .headsearch .search-text {
  position: absolute;
  top: 1px;
  right: 0;
  width: 20px;
  cursor: pointer;
}

#headmenu .headsearch .search-box:before {
  content: "\e931";
  top: 0px;
  font-size: 19px;
  z-index: 4;
  text-align: center;
  transition: color 0.4s ease, background 0.4s ease, transform 0.4s ease, opacity 0.4s ease, border 0.4s ease, padding 0.4s ease, left 0.4s ease, box-shadow 0.4s ease;
}

#headmenu .headsearch .search-text {
  top: -7px;
  right: -3px;
  opacity: 0;
  z-index: 5;
  transition: all 0.6s;
  border-radius: 20px;
  padding: 8px 12px;
  border: none;
  font-size: 14px;
}

#headmenu .headsearch .search-text:focus {
  outline: 0;
  opacity: 1;
  width: 220px;
  cursor: text;
}

#headmenu .headsearch input[type=submit] {
  display: none;
}

#headmenu .headsearch input::-webkit-input-placeholder {
  font-size: 13px;
}

#headmenu .headsns {
  display: flex;
  margin-top: 19px;
}

#headmenu .headsns a {
  transition: color 0.4s ease, background 0.4s ease, transform 0.4s ease, opacity 0.4s ease, border 0.4s ease, padding 0.4s ease, left 0.4s ease, box-shadow 0.4s ease;
  display: block;
  color: #fff;
  margin: 0 6px;
  font-size: 15px;
  overflow: hidden;
}

#headmenu .headsns a:hover {
  color: #f8b500 !important;
  transform: scale(1.1);
}

@media (min-width: 768px) {
  #header.header-type2 {
    position: relative;
    display: block;
    z-index: 1;
  }
}

@media (min-width: 768px) {
  #header.header-type2 #site-info {
    display: block;
    text-align: center;
    max-width: 100%;
  }
}

#header.header-type2 #headmenu {
  position: absolute;
  right: 30px;
  top: 0;
}



/* フッター */
/* CSS Document */
footer {
  margin-top: 100px;
  padding: 15px 0px;
  background-color: #878787;
}

footer #footer-box {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  font-size: 0.7rem;
}

@media (max-width: 767px) {
  footer .footer-inner {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
}

footer .footer-inner #privacy a,
footer .footer-inner #law a {
  padding: 0 15px;
  color: #fff;
  border-right: 1px solid #ddd;
}

footer .footer-inner #privacy a,
footer .footer-inner #law a {
  float: left;
  font-weight: 300;
}

footer .footer-inner #privacy a {
  border-left: 1px solid #ddd;
}


footer .footer-inner #copyright {
  float: right;
  font-weight: 300;
  color: #fff;
}

@media(max-width:768px) {
  footer .footer-inner #copyright {
    display: block;
    margin-top: 10px;
    width: 100%;
    text-align: center;
  }
}



/* グローバルメニュー */
@media (min-width: 768px) {
  #drawernav {
    width: 100%;
    margin: 0 auto;
  }

  #drawernav::after {
    clear: both;
    content: "";
    display: block;
  }
}

@media (min-width: 1200px) {
  #drawernav {
    width: 1200px;
  }
}

@media (min-width: 768px) {
  #drawernav nav.fixed-content {
    width: calc(100% - 40px);
    float: left;
    margin-left: 20px;
  }
}

@media (min-width: 1200px) {
  #drawernav nav.fixed-content {
    width: calc(100% - 60px);
    float: left;
    margin-left: 30px;
  }
}

#drawernav ul.menu-box {
  list-style-type: none;
  margin: 0 auto;
  display: table;
}

#drawernav ul.menu-box li.menu-item {
  position: relative;
  line-height: 1.6rem;
  display: inline-block;
  text-align: center;
  background: none;
}

#drawernav ul.menu-box li.menu-item ul.sub-menu {
  z-index: 5;
  position: absolute;
  padding: 0px;
  top: 70px;
  left: 0;
  display: block;
  background: #fff;
  visibility: hidden;
  opacity: 0;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0px 0px 14px rgba(0, 0, 0, 0.1);
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease, opacity 0.3s ease, border 0.3s ease, padding 0.3s ease, left 0.3s ease, bottom 0.3s ease, box-shadow 0.3s ease;
}

#drawernav ul.menu-box li.menu-item ul.sub-menu li.menu-item {
  position: relative;
  text-align: left;
  display: block;
  line-height: 1.2rem;
  width: 240px;
}

#drawernav ul.menu-box li.menu-item ul.sub-menu li.menu-item a {
  padding: 10px 7px 10px 18px;
  display: block;
  background-color: #fff;
  font-size: 0.9rem;
  font-weight: normal;
  padding: 8px 24px 6px 18px;
  border-radius: 2px;
  height: auto;
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease, opacity 0.3s ease, border 0.3s ease, padding 0.3s ease, left 0.3s ease, bottom 0.3s ease, box-shadow 0.3s ease;
}

#drawernav ul.menu-box li.menu-item ul.sub-menu li.menu-item a:after {
  display: none;
}

#drawernav ul.menu-box li.menu-item ul.sub-menu li.menu-item a:hover {
  background: #f6f6f6;
}

#drawernav ul.menu-box li.menu-item ul.sub-menu li.menu-item ul.sub-menu {
  z-index: 6;
  position: absolute;
  padding: 0;
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease, opacity 0.3s ease, border 0.3s ease, padding 0.3s ease, left 0.3s ease, bottom 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 768px) {
  #drawernav ul.menu-box li.menu-item ul.sub-menu li.menu-item ul.sub-menu {
    background: #fff;
    visibility: hidden;
    opacity: 0;
    top: 14px;
    left: 100%;
  }
}

@media (min-width: 1200px) {
  #drawernav ul.menu-box li.menu-item ul.sub-menu li.menu-item ul.sub-menu {
    width: 240px;
  }
}

#drawernav ul.menu-box li.menu-item ul.sub-menu li:hover ul.sub-menu,
#drawernav ul.menu-box li.menu-item ul.sub-menu li.hover ul.sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(-14px);
}

#drawernav ul.menu-box li.menu-item:hover>ul.sub-menu,
#drawernav ul.menu-box li.menu-item.hover>ul.sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(-24px);
}

#drawernav ul.menu-box li:last-child {
  border-right: none;
}

@media (min-width: 768px) {
  .menu-box>.menu-item>a:hover {
    border-bottom: 2px solid #2b2b2b;
  }
}



/* プラグイン「ContactForm7」のカスタマイズ */
/* CSS Document */
.widget label {
  display: block;
}

.widget .wpcf7-text,
.widget .wpcf7-textarea {
  margin-bottom: 20px !important;
}

.wpcf7 {
  margin: 30px auto !important;
  padding: 30px 4% 50px 4% !important;
  background: rgba(215, 215, 215, 0.15);
}

@media (max-width: 767px) {
  .wpcf7 {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .wpcf7 {
    width: 80%;
  }
}

.wpcf7-form-control-wrap input[type=text],
.wpcf7-form-control-wrap input[type=email],
.wpcf7-form-control-wrap textarea {
  box-sizing: border-box;
  width: 100%;
  border-radius: 2px;
  border: 1px solid #ccc;
  padding: 7px 10px;
  font-size: 1em;
  margin-bottom: 5px;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 4px;
}


/*記事内設定*/
.hl-custom h2 {
  position: relative;
  border-bottom: 3px solid #ff9a9e;
  font-size: 1.65rem;
  line-height: 2rem;
  padding: 15px;
  padding-left: 24px;
  padding-bottom: 6px;
  margin-top: 2.6rem;
  margin-bottom: 1.6rem;
}

.hl-custom h2::before {
  content: "";
  position: absolute;
  background: #fff;
  border: 1px solid;
  border-color: #ff9a9e;
  top: 0;
  left: 0.4em;
  height: 12px;
  width: 12px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.hl-custom h2::after {
  content: "";
  position: absolute;
  background-color: #ff9a9e;
  top: 0.8em;
  left: 0.1em;
  height: 8px;
  width: 8px;
  -webkit-transform: rotate(15deg);
  transform: rotate(15deg);
}

.hl-custom h3 {
  position: relative;
  font-size: 1.4rem;
  line-height: 2rem;
  padding: 4px 8px;
  padding-top: 0;
  margin-top: 4rem;
  margin-bottom: 1.6rem;
}

.hl-custom h3::before {
  content: "";
  position: absolute;
  background: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
}

.hl-custom h4 {
  color: #000;
}

table {
  width: 100%;
}




/*ヘッダー*/
#nav-container {
  margin-top: 5px;
  background: #585037 !important;
  box-shadow: none !important;
}

@media (max-width: 767px) {
  #drawernav ul.menu-box {
    display: flex;
    margin: auto;
    width: 94%;
    justify-content: space-between;
  }
}

#drawernav ul.menu-box li.menu-item {
  position: relative;
  line-height: 1.6rem;
  display: inline-block;
  text-align: center;
  background: none;
}

#drawernav ul.menu-box li.menu-item a {
  display: block;
  border-bottom: 2px solid transparent;
  font-weight: bold;
  padding: 0 12px;
  height: 42px;
  line-height: 42px;
  letter-spacing: 0.5px;
  color: #fff !important;
  font-weight: bold;
  height: 42px;
  line-height: 42px;
  letter-spacing: 0.5px;
  padding: 0px 12px;
  position: relative;
  transition: color 0.4s ease, background 0.4s ease, transform 0.4s ease, opacity 0.4s ease, border 0.4s ease, padding 0.4s ease, left 0.4s ease, box-shadow 0.4s ease;
}

@media (max-width: 767px) {
  #drawernav ul.menu-box li.menu-item a {
    font-size: 12px !important;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0;
    padding: 0;
    color: #fff !important;
  }
}

#drawernav ul.menu-box li.menu-item a span {
  display: inline-block;
  padding-right: 3px;
}


#drawernav ul.menu-box li.menu-item:nth-child(7) a,
#drawernav ul.menu-box li.menu-item:nth-child(8) a,
#drawernav ul.menu-box li.menu-item:nth-child(9) a {
  font-size: 0.75em !important;
}

@media (max-width: 767px) {
  #drawernav ul.menu-box li.menu-item:nth-child(7) {
    display: none;
  }
}

@media (min-width: 767px) {
  #drawernav ul.menu-box li.menu-item:nth-child(7)::before {
    content: "";
    width: 1px;
    height: 40%;
    display: block;
    position: absolute;
    top: 30%;
    left: -2px;
    background: rgb(255, 255, 255);
  }
}

#drawernav ul.menu-box li.menu-item a:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 1100px) {

  #drawernav ul.menu-box li.menu-item:nth-child(8),
  #drawernav ul.menu-box li.menu-item:nth-child(9) {
    display: none;
  }
}

#drawernav ul.menu-box li.menu-item:nth-child(10),
#drawernav ul.menu-box li.menu-item:nth-child(11),
.cps-post-meta.vcard {
  display: none;
}

#drawernav ul.menu-box>li>a {
  color: #584a4b !important;
}

#drawernav ul.menu-box li a {
  font-size: 14px !important;
}

#drawernav .menu-box>.menu-item>a:after {
  background-color: #584a4b !important;
}

@media (min-width: 768px) {
  .header-box.animate {
    animation-name: down-fade-animation;
    animation-duration: 0.6s;
  }

  .header.animate {
    animation-name: up-fade-animation;
    animation-duration: 0.6s;
    animation-delay: 0.6s;
    animation-fill-mode: forwards;
    opacity: 0;
    position: relative;
    z-index: 4;
  }

  .header-style4-animate.animate {
    animation-name: fade-animation;
    animation-duration: 0.6s;
    animation-delay: 0.6s;
    animation-fill-mode: forwards;
    opacity: 0;
    position: relative;
    z-index: 4;
  }
}


/*記事タイトル設定*/
.cps-post .cps-post-header .cps-post-title {
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 2.0rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 767px) {
  .cps-post .cps-post-header .cps-post-title {
    font-size: 1.2rem;
    line-height: 1.6rem;
  }
}

@media(max-width:767px) {
  .hl-custom h2 {
    font-size: 1.2rem;
    line-height: 1.4rem;
    margin-top: 3rem !important;
    font-weight: 600;
  }
}

@media(max-width:767px) {
  .hl-custom h3 {
    font-size: 1rem;
    font-weight: 600;
    padding-left: 0;
    line-height: 1.6em;
  }
}


/*入力ページ*/
@media (min-width: 768px) {
  .wpcf7 {
    width: 100% !important;
  }
}

.wpcf7-form-control-wrap input[type=number],
.wpcf7-form-control-wrap input[type=password],
.wpcf7-form-control-wrap select {
  box-sizing: border-box;
  width: 100%;
  border-radius: 2px;
  border: 1px solid #ccc;
  padding: 7px 10px;
  font-size: 1em;
  margin-bottom: 5px !important;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 4px;
}

.wpcf7 form>div {
  margin-bottom: 15px;
}

@media(min-width:768px) {
  .wpcf7 form>div.birth {
    display: flex;
    flex-wrap: wrap;
    gap: 3%;
  }
}

/* ラジオボタンのデザイン変更 */
.wpcf7-form-control.wpcf7-radio input[type="radio"] {
  display: none;
}

.wpcf7-form-control.wpcf7-radio .wpcf7-list-item-label {
  display: inline-block;
  width: 80px;
  line-height: 30px;
  text-align: center;
  border: 2px solid #ccc;
  border-radius: 4px;
  margin-right: 5px;
  cursor: pointer;
  color: #555;
  background-color: #f9f9f9;
  transition: all 0.2s ease;
  user-select: none;
}

.wpcf7-form-control.wpcf7-radio .wpcf7-list-item-label:hover {
  background-color: #eee;
}

.wpcf7-form-control.wpcf7-radio input[type="radio"]:checked+.wpcf7-list-item-label {
  border-color: #333;
  /* 好きな色に変更可 */
  background-color: #333;
  color: #fff;
}

/* 並びを整える（任意） */
.wpcf7-form-control.wpcf7-radio .wpcf7-list-item {
  display: inline-block;
}


.wpcf7 form>div.birth p:first-child {
  width: 100%;
}

.wpcf7 form>div.birth .wpcf7-form-control-wrap input[type=number],
.wpcf7 form>div.birth select {
  width: 120px;
  margin-right: 5px;
}

.wpcf7-form input[type=submit] {
  line-height: 50px;
  border-radius: 25px;
  background: #ff666e !important;
  padding: 0;
  width: 100%;
  border: none !important;
  font-size: 1.05em;
  margin: 8px 0;
  cursor: pointer;
  color: #fff;
}

.wpcf7-form input[type=submit].wpcf7-previous{
  background: #666 !important;
}


/*確認ページ*/
.cf7-confirm-table {
  border-collapse: separate;
  border-spacing: 4px;
  margin-bottom: 30px;
}

.cf7-confirm-table tr>* {
  vertical-align: middle;
  border-left: none !important;
  border-right: none !important;
}

.cf7-confirm-table tr>th {
  width: 40%;
  text-align: left;
}

.cf7-confirm-table tr>td {
  width: 60%;
  background: #fff;
}

.cf7-confirm-table tr p {
  padding: 4px 4%;
  margin: 0 !important;
}

@media(max-width:400px) {
  .cf7-confirm-table tr p {
    font-size: 13px;
  }
}

.cf7-confirm-table tr p input[type=password] {
  font-size: 1em;
  width: 100%;
  border: none;
}