@charset "UTF-8";
/* メディアクエリ*/
.inner {
  padding-inline: 20px; /* 左右の余白＝padding */
}
@media screen and (min-width: 768px) {
  .inner {
    max-width: 1360px; /* pcの最大幅 */
    margin-inline: auto; /* 左右中央寄せ */
    padding-inline: 40px; /* 左右の余白＝padding */
  }
}

.sp-hidden {
  display: none;
}
@media screen and (min-width: 768px) {
  .sp-hidden {
    display: block;
  }
}

.pc-hidden {
  display: block;
}
@media screen and (min-width: 768px) {
  .pc-hidden {
    display: none;
  }
}

body {
  font-size: 16px; /* カスタム要素 */
  font-weight: 400; /* カスタム要素 */
  line-height: 1.7; /* カスタム要素 */
}

.img {
  width: 100%;
  display: block;
}

.title__container {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
}

.title__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left; /* 両方左寄せにしたいので追加 */
}

.title__btn {
  position: relative;
  text-decoration: none;
  color: #000;
  font-size: 16px;
  font-weight: bold;
  padding-right: 20px; /* 矢印分のスペースを確保 */
}
.title__btn:hover {
  color: #2A4473; /* ホバー時に色を変更 */
}

.title__btn::after {
  content: ">";
  position: absolute;
  right: 0;
  transition: transform 0.3s ease;
}

.title__btn:hover::after {
  transform: translateX(5px); /* ホバー時に矢印を右に移動 */
}

.section__title {
  display: flex;
  flex-direction: column;
}

.title__main {
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000;
  text-align: left;
  /* display: inline-block; */
  margin-bottom: 0.5rem;
}

.title-sub {
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a1a1a;
  /* display: inline-block; */
  text-align: left;
  /* margin-bottom: 1.5rem; */
}

/* 768px以下の画面サイズ用 */
@media (max-width: 768px) {
  .title__main {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
  }
  .title-sub {
    font-size: 1.1rem;
    /* 必要に応じて他の調整も */
  }
}
/* 380px以下の画面サイズ用 */
@media (max-width: 380px) {
  .title__main {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
  }
  .title-sub {
    font-size: 0.9rem;
  }
}
.center-position {
  text-align: center;
}

.btn {
  margin-top: 50px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-align: center;
  line-height: 50px;
  width: -moz-fit-content;
  width: fit-content;
  background: #2A4473;
  border: 1px solid #2A4473;
  position: relative;
  display: block;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 30px;
  text-decoration: none;
  min-width: 300px;
  margin-right: auto;
  padding: 10px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3); /* 通常時のシャドウ効果を強調 */
}

.btn::after {
  font-family: "FontAwesome";
  content: "\f105";
  position: absolute;
  right: 20px;
  transition: right 0.2s;
}

.btn:hover::after {
  right: 15px;
}

.btn:hover {
  transform: translateY(4px); /* ボタンを下に移動させ、押されたような効果 */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* シャドウを減らして押下感を演出 */
}

/*================================================================
Chrome/Firefox/Edgeなど、各ブラウザはそれぞれデフォルトで効くCSSを持っています。
何もしないと見え方が微妙に変わるので、デフォルトのCSSをリセットして
ブラウザごとの表示の差異をなくすために書くのが「リセットCSS」です。
================================================================*/
*, ::before, ::after {
  box-sizing: border-box;
}

html, body, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, div, span, img, a, table, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: normal;
  font-size: 100%;
  vertical-align: baseline;
}

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

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

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}

body {
  font-size: 16px; /* カスタム要素 */
  background: #fff; /* カスタム要素 */
  color: #111; /* カスタム要素 */
  line-height: 170%; /* カスタム要素 */
}

button {
  margin: 0;
  padding: 0;
  border: none;
  box-shadow: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.l-contents__inner {
  padding-top: 0 !important;
}

.p-global-nav--hover-extend-underline .c-navbar__item > a:after {
  background: #d4af37 !important;
}

/*.menu-item:last-child {
    // background-color: #2A4473; 
    // color: white;
    // padding: 5px;
  }*/
.p-section-front-page-content {
  padding-top: 0;
}

.c-site-branding__title .custom-logo {
  display: none;
  height: auto;
  max-width: 150px;
  width: 100%;
}

[data-scrolled=true] .c-site-branding__title .custom-logo {
  display: block;
}

.menu-item a {
  font-size: 20px !important;
  color: white; /* 文字を白に設定 */
}

/* =========================================================
# ヘッダーナビ
========================================================= */
/*
# 区切り線の追加
---------------------------------- */
.scroll_down {
  display: inline-block;
  position: absolute;
  bottom: 30%;
  right: 10%;
}

.c-entry__header {
  display: none;
}

.contact_btn {
  text-align: center;
  margin-top: 50px;
}

/* ボタンのスタイル */
.contact_btn a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 70px;
  font-size: 1rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
  border: 3px solid #fff; /* ボーダーを白に */
  border-radius: 5px; /* 角を丸める */
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* アイコンとテキストの間の余白 */
.contact_btn a i {
  margin-right: 20px;
  font-size: 1.2rem;
}

.svg-inline--fa {
  font-size: 1.2rem;
  margin-right: 10px;
}

/* ホバー時の効果 */
.contact_btn a:hover {
  background-color: white;
  color: #121212;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th {
  text-align: left;
}

q:before, q:after {
  content: "";
}

object, embed {
  vertical-align: top;
}

hr, legend {
  display: none;
}

h1, h2, h3, h4, h5, h6 {
  font-size: 100%;
}

img, abbr, acronym, fieldset {
  border: 0;
}

/*li {
  // list-style-type: none;
}*/
sup {
  vertical-align: super;
  font-size: 0.5em;
}

/*img {
  // vertical-align: middle;
}*/
i {
  font-style: normal;
}

/*----リセットcss*----/

/*デザインcss↓*/
.box_con {
  max-width: 900px;
  margin: 0 auto;
}

@media only screen and (max-width: 768px) {
  .box_con {
    width: 95%;
  }
}
.box_con form {
  width: 100%;
}

.box_con form table {
  width: 100%;
}

.box_con form table tr {
  position: relative;
}

.box_con form table tr:after {
  content: "";
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  height: 1px;
  border-bottom: dotted #cdcdcd 1px;
}

.box_con form table tr th {
  width: 30%;
  font-weight: normal;
  padding: 1em 0.5em;
  box-sizing: border-box;
}

@media only screen and (max-width: 768px) {
  .box_con form table tr th {
    text-align: left;
    width: 100%;
    display: block;
    font-weight: bold;
    color: #1a1a1a;
    padding: 0.8em 0.2em;
  }
}
.box_con form table tr th span {
  background: #1a52cc;
  padding: 0.5em;
  color: #fff;
  margin-left: 0.5em;
  box-sizing: border-box;
}

.box_con form table tr td {
  padding: 1em 0.5em;
  box-sizing: border-box;
}

@media only screen and (max-width: 768px) {
  .box_con form table tr td {
    padding: 1.5em 0.5em;
    display: block;
    width: 100%;
  }
}
.box_con form table tr .box_br {
  display: block;
}

.box_con form table tr select {
  border: 1px solid #EEF3F8;
}

.box_con form table tr label input {
  cursor: pointer;
  display: none;
  vertical-align: middle;
}

.box_con form table tr .radio02-input + label {
  padding-left: 23px;
  margin-right: 20px;
  position: relative;
}

.box_con form table tr .radio02-input + label:before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 16px;
  border: 1px solid #999;
  border-radius: 50%;
  transform: translateY(-50%);
}

.box_con form table tr .radio02-input:checked + label:after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 3px;
  width: 12px;
  height: 12px;
  background: #EEF3F8;
  border-radius: 50%;
  transform: translateY(-50%);
}

.box_con form table tr select, .box_con form table tr input, .box_con form table tr textarea {
  width: 100%;
  height: 3em;
  padding: 0.5em;
  box-sizing: border-box;
}

.box_con form table tr textarea {
  height: 10em;
}

/*プライバシーのデザインcss↓*/
.con_pri {
  max-width: 700px;
  margin: 0 auto;
}

@media only screen and (max-width: 768px) {
  .con_pri {
    width: 95%;
  }
}
.con_pri .box_pri {
  height: 300px;
  overflow-y: scroll;
  border: 1px solid #cdcdcd;
  background: #f7f7f7;
  box-sizing: border-box;
  margin-top: 20px;
  padding: 20px 55px;
}

@media only screen and (max-width: 768px) {
  .con_pri .box_pri {
    margin-top: 4%;
    padding: 3%;
  }
}
@media only screen and (min-width: 769px) and (max-width: 1024px) {
  .con_pri .box_pri {
    padding: 4%;
  }
}
.con_pri .box_pri .box_tori {
  text-align: left;
  margin-top: 20px;
}

@media only screen and (max-width: 768px) {
  .con_pri .box_pri .box_tori {
    margin-top: 4%;
  }
}
.con_pri .box_pri .box_tori h4 {
  font-weight: normal;
  margin-bottom: 30px;
  font-size: 150%;
}

@media only screen and (max-width: 768px) {
  .con_pri .box_pri .box_tori h4 {
    margin-bottom: 4%;
    font-size: 14px;
  }
}
.con_pri .box_pri .box_tori .txt {
  padding: 0 20px;
}

@media only screen and (max-width: 768px) {
  .con_pri .box_pri .box_tori .txt {
    padding: 0;
    font-size: 12px;
  }
}
.con_pri .box_pri .box_num {
  margin-top: 30px;
}

@media only screen and (max-width: 768px) {
  .con_pri .box_pri .box_num {
    margin-top: 5%;
  }
}
.con_pri .box_pri .box_num h4 {
  font-weight: normal;
  font-size: 113%;
}
@media screen and (max-width: 767px) {
  .con_pri .box_pri .box_num h4 {
    font-size: 14px;
  }
}

.con_pri .box_pri .box_num .txt {
  padding: 10px 0 0 20px;
}

@media only screen and (max-width: 768px) {
  .con_pri .box_pri .box_num .txt {
    padding: 3% 0 0 3%;
    font-size: 12px;
  }
}
.box_check {
  text-align: center;
  margin: 1em auto;
}

.box_check label {
  display: inline-block;
}

.box_check label span {
  margin-left: 0.3em;
}

.box_check .policy_underline {
  text-decoration: underline;
}

.submit-btn {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 50px;
}

.submit-btn input {
  display: inline-block;
  background: #1a52cc;
  font-weight: bold;
  padding: 0.5em 4em;
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-bottom: none;
  transition: all;
}
.submit-btn .submit-btn input:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
  opacity: 0.7;
}

/* 既存のボタン装飾を維持 */
/* 768px以下のレスポンシブ */
@media (max-width: 768px) {
  /* .contact_btnの余白調整 */
  .contact_btn {
    margin-top: 30px;
  }
  /* ボタンのパディング・フォントサイズ調整（装飾崩さず） */
  .contact_btn a {
    padding: 12px 50px;
    font-size: 0.9rem;
  }
  /* .cont-txtのフォントサイズ調整 */
  .cont-txt {
    font-size: 14px;
  }
}
/* 380px以下のレスポンシブ */
@media (max-width: 380px) {
  .contact_btn {
    margin-top: 20px;
  }
  .contact_btn a {
    padding: 10px 30px;
    font-size: 0.8rem;
  }
  .cont-txt {
    font-size: 12px;
  }
}
.service__item h2 {
  text-align: center;
}

.smb-media-text__title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 0;
}

/* リストレイアウト */
.voice-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.voice-item {
  display: block;
  padding: 16px;
  border: 1px solid #eee;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.voice-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

/* 画像（縮小表示、切り抜きなし） */
.voice-img {
  display: flex;
  justify-content: center;
}

.voice-img img {
  max-width: 220px; /* ← 縮小サイズはここで調整（例：180px/200px） */
  width: 100%;
  height: auto; /* 縦横比保持 */
  -o-object-fit: contain;
     object-fit: contain; /* 切り抜かず全体表示 */
  border-radius: 10px;
}

/* メタ情報：年代｜性別｜評価（★） 数字 */
.voice-meta-line {
  margin: 12px 0 6px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

/* 星と数字の色を統一 (#B59F64) */
.voice-rating {
  color: #B59F64;
}

.voice-rating .stars {
  letter-spacing: 1px;
}

.voice-rating .rating-num {
  margin-left: 6px;
  font-weight: 600;
}

/* コメント */
.voice-comment {
  margin: 0;
  font-size: 14px;
  color: #555;
}

/* --------------------------
   レスポンシブ対応
-------------------------- */
/* タブレット以下：2列 */
@media (max-width: 768px) {
  .voice-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .voice-img img {
    max-width: 180px;
  }
}
/* スマホ小画面以下：1列 */
@media (max-width: 380px) {
  .voice-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .voice-img img {
    max-width: 160px;
  }
}
.cp_qa03 .cp_actab {
  position: relative;
  width: 100%;
  margin: 0 0 3em 0;
  color: #1b2538;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3); /* 通常時のシャドウ効果 */
}

.cp_qa03 .cp_actab input {
  display: none;
}

/* 質問 */
.cp_qa03 .cp_actab label {
  font-weight: bold;
  line-height: 1.6em;
  position: relative;
  display: block;
  margin: 0 0 0 0;
  padding: 1em 2em 1em 2.5em;
  cursor: pointer;
  text-indent: 1em;
  background: rgba(27, 37, 56, 0.1);
}

.cp_qa03 .cp_actab label::before {
  content: "Q";
  font-family: serif;
  font-size: 1.5em;
  margin-left: -2em;
  padding-right: 0.5em;
}

.cp_qa03 .cp_actab label:hover {
  color: #2A4473;
  transition: all 0.3s;
}

/* --質問の＋アイコン */
.cp_qa03 .cp_actab label::after {
  position: absolute;
  top: 0;
  right: 0;
  content: "+";
  font-size: 1.7em;
  font-weight: bold;
  line-height: 2em;
  display: inline-block;
  width: 2em;
  height: 2em;
  transition: transform 0.3s;
}

.cp_qa03 .cp_actab .cp_actab-content {
  position: relative;
  overflow: hidden;
  max-height: 0;
  padding: 0 2.5em; /* 上下が滑らかに閉じるように初期設定 */
  border: 10px solid rgba(27, 37, 56, 0.1);
  transition: max-height 0.2s ease-in-out, padding 0.2s ease-in-out;
}

.cp_qa03 .cp_actab .cp_actab-content::before {
  position: absolute;
  content: "A";
  font-family: serif;
  font-size: 1.5em;
  margin: 0.4em 0 0 -1em;
  padding: 0;
}

.cp_qa03 .cp_actab .cp_actab-content p {
  margin: 1em 1em 1em 0;
}

/* 質問を開いたときの仕様 */
.cp_qa03 .cp_actab input:checked ~ .cp_actab-content {
  max-height: 40em;
  padding: 1em 2.5em;
  border: 10px solid rgba(27, 37, 56, 0.1);
  transition: max-height 0.2s ease-in-out, padding 0.2s ease-in-out;
}

/* 質問をクリックした時のアイコンの動き */
.cp_qa03 .cp_actab input:checked ~ label {
  color: #d4af37;
}

/* 質問をクリックした時の+の動き */
.cp_qa03 .cp_actab input[type=checkbox]:checked + label::after {
  transform: rotateZ(45deg);
  transform-origin: 50% 50%;
}

.menu {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.c-row--lg-margin-l {
  align-items: center;
}

.l-footer {
  border-top: none;
}

.l-footer-widget-area {
  background: #E6E6E6;
}

.l-footer-widget-area li a {
  color: #1a52cc;
}

.l-footer-widget-area {
  padding-bottom: 0;
}

.footer {
  padding: 0px;
}

.footer__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 60%;
  margin-left: auto;
  margin-right: auto;
}

.footer__image {
  max-width: 45%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.footer__button {
  width: 100%;
  display: inline-block;
  padding: 30px;
  margin-left: 20px;
  background-color: #2A4473;
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.footer__button::after {
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  right: 20px;
  transition: right 0.2s;
}

.footer__button:hover::after {
  right: 15px;
}

.footer__button:hover {
  transform: translateY(4px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.footer_logo img {
  width: 200px;
}

@media (max-width: 600px) {
  .l-footer-widget-area__item {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

.l-footer--default .l-footer-widget-area {
  padding-bottom: 0;
  padding-top: 0;
}

.c-copyright {
  font-size: 16px; /* デフォルトの文字サイズ */
}

/* 画面幅768px以下のとき */
@media (max-width: 768px) {
  .c-copyright {
    font-size: 13px;
  }
}
/* 画面幅380px以下のとき */
@media (max-width: 380px) {
  .c-copyright {
    font-size: 10px;
  }
}
/* ===== ここからメニュー2列化の修正版 ===== */
.nav-menu ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 40px; /* 各メニューの間隔 */
}

.nav-menu li {
  display: flex;
  flex-direction: column; /* 英語→日本語を縦並び */
  align-items: center; /* 中央揃え */
  text-align: center;
}

.nav-menu a {
  text-decoration: none;
  color: #1a52cc; /* 英語メニュー色 */
  font-weight: 400;
  font-size: 14px;
}

.nav-menu span {
  color: #1a52cc; /* 日本語メニュー色 */
  font-size: 12px;
}

.nav-menu a:hover,
.nav-menu span:hover {
  opacity: 0.7;
}

/* スマホ表示用 */
@media (max-width: 600px) {
  .nav-menu ul {
    flex-direction: column;
    gap: 10px;
  }
}
/* 基本スタイルはそのまま */
/* ===== レスポンシブ調整 ===== */
/* 768px以下用（タブレット含む） */
@media (max-width: 768px) {
  .footer__container {
    width: 80%;
  }
  .navbar {
    flex-direction: column;
    /*gap: 15px;*/
    padding: 10px 10px;
  }
  .footer_logo img {
    width: 150px;
  }
  /* メニューは縦並びをやめて横並び優先 */
  .nav-menu ul {
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
  }
  .nav-menu li {
    flex: 1 1 45%; /* 2列化 */
    align-items: center;
  }
}
/* 380px以下用（狭いスマホ向け） */
@media (max-width: 380px) {
  /* フッターメニュー横並び4列に */
  .nav-menu ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 0;
  }
  .nav-menu li {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .nav-menu a,
  .nav-menu span {
    font-size: 10px; /* 小さめに調整 */
  }
  /* コピーライト文字サイズを小さく */
  .l-footer {
    font-size: 12px;
  }
  /* 余白調整 */
  .footer__button {
    padding: 15px;
    font-size: 16px;
  }
  .footer_logo img {
    width: 200px;
  }
}
.p-section-front-page-content {
  max-width: 100%;
  padding-block: 0;
}

.service__btn {
  margin-left: auto;
  margin-right: auto;
}

.service__item h2 {
  text-align: center;
  font-weight: bold;
}

/* バナーの基本スタイル */
.smb-items__banner {
  max-height: 120px;
  border-radius: 70px; /* 角丸 */
  overflow: hidden; /* 内容のはみ出しを防ぐ */
  transition: transform 0.4s ease, background-color 0.4s ease; /* アニメーションのスムーズな遷移 */
  background-color: #f0f0f0; /* 初期背景色 */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 軽い影を追加 */
}

/* バナー内のコンテンツ（画像やテキストなど） */
.smb-items__banner img {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease; /* ズームインのアニメーション */
}

/* ホバー時の装飾 */
.smb-items__banner:hover {
  transform: scale(1.05); /* ズームイン */
  background-color: #e0e4ff; /* 背景色を変更 */
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* シャドウを強調 */
}

/* ホバー時の画像ズームイン */
.smb-items__banner:hover img {
  transform: scale(1.2); /* 画像をズームイン */
}

/* フォーカス時も同じ効果を適用（アクセシビリティ対応） */
.smb-items__banner:focus {
  outline: none; /* フォーカス時のデフォルトアウトラインを削除 */
  transform: scale(1.05);
  background-color: #e0e4ff;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.service_item {
  cursor: pointer;
}

/*.c-entry-summary--post{
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3); 
   transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 30px;

   &:hover{
     transform: translateY(4px);
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
   }

}*/
.smb-balloon__body {
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3); /* 通常時のシャドウ効果 */
}

.fv_message {
  position: relative;
  overflow: hidden;
}

.fv_message img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  filter: brightness(100%); /* 背景を暗くする */
}

.fv_message::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* グラデーションの範囲を下から60%に制限 */
  background: linear-gradient(to top, rgb(0, 0, 0), rgba(0, 0, 0, 0.1));
  z-index: 1;
  pointer-events: none;
}

.fv_message .content {
  position: relative;
  z-index: 2;
  color: white;
  padding: 20px;
}

.fv__title {
  position: relative;
  z-index: 3;
  color: white;
  text-align: center;
}

.mw-news-row {
  display: grid;
  grid-template-columns: 12rem 1fr; /* 左：日付／右：本文 */
  -moz-column-gap: 1rem;
       column-gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e5e5;
}

.mw-news-date {
  white-space: nowrap;
}

.mw-news-body a {
  text-decoration: none;
}

@media (max-width: 599px) {
  .mw-news-row {
    grid-template-columns: 1fr;
    row-gap: 0.25rem;
  }
}
.company__overview .c-row .c-row__col {
  width: 100%;
}

.company__overview-line {
  border-bottom: 2px solid gray;
  padding-bottom: 10px;
  padding-left: 30px;
}

.about__msg h2 {
  text-align: center;
}

/*.smb-media-text__figure {
  // box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
  img{
  // border-radius: 10px;
  }

}*/
.voice__item-pt {
  padding-top: 50px !important;
}
@media screen and (max-width: 767px) {
  .voice__item-pt {
    padding-top: 15px !important;
  }
}

.curtain__img {
  overflow: hidden;
}

.curtain__img img {
  display: block;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s ease-in-out;
}

.curtain__img img.start-animation {
  transform: scaleX(1);
}

.popup-title {
  color: #2A4473;
  text-shadow: 0 0 5px white;
  border-left: solid 7px #2A4473;
  background: repeating-linear-gradient(-45deg, #cce7ff, #cce7ff 3px, #e9f4ff 3px, #e9f4ff 7px);
  text-align: center;
  font-size: 24px;
  font-weight: bold;
}

.smb-section-with-bgimage__bgimage-lg {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.smb-section-with-bgimage__bgimage-lg img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: -1;
  transform: translateY(0); /* 初期状態 */
}

.cases__items {
  background: #ffffff;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
  padding: 60px 30px;
  border-radius: 10px;
}

.section-number {
  font-size: 2rem;
  font-style: italic;
  color: #2A4473;
  text-align: left;
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
}

/* ========= 基本レイアウト ========= */
.troubles-section {
  padding: 60px 40px;
  background: linear-gradient(135deg, #f5f7fa, #e4ebf1);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.troubles-title {
  font-size: 36px;
  color: #222;
  font-weight: 700;
  margin-bottom: 40px;
  letter-spacing: 1px;
  position: relative;
}

.troubles-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background-color: #3a8fd8;
  margin: 10px auto 0;
  border-radius: 3px;
}

.troubles-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.troubles-list li {
  display: flex;
  align-items: center; /* PCは横並び中央揃え */
  font-size: 20px;
  color: #555;
  background-color: #fff;
  padding: 20px 30px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  transition: background-color 0.3s ease, transform 0.2s ease;
  position: relative;
  cursor: pointer;
}

.troubles-list li:hover {
  background-color: #eaf3ff;
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.troubles-list li .num {
  flex: 0 0 auto;
  margin-right: 0.5rem;
  line-height: 1;
  font-weight: 600;
}

.troubles-list li .content {
  flex: 1 1 auto;
  min-width: 0;
  display: block;
}

.troubles-list li .main-text {
  word-break: break-word;
  overflow-wrap: break-word;
}

.troubles-list li .note {
  font-size: 0.9em;
  color: #777;
}

.troubles-list li .button12 {
  flex: 0 0 auto;
  margin-left: auto;
  margin-top: -4px; /* ③ PCの時にボタンを少し上に表示 */
  white-space: nowrap;
  float: none !important;
  position: static !important;
}

.troubles-list li .button12 a {
  display: inline-block;
  padding: 0.55em 0.9em;
  text-decoration: none;
  background: #1f66d0;
  color: #fff;
  border-radius: 4px;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

/* ====== レスポンシブ：768px以下 ====== */
@media (max-width: 768px) {
  .troubles-section {
    padding: 40px 30px 20px 30px; /* ② */
  }
  .troubles-list li {
    flex-direction: column;
    align-items: flex-start;
    font-size: 14px;
    padding: 14px 18px;
  }
  .troubles-list li .num {
    margin-right: 0;
    margin-bottom: 0.35rem;
  }
  .troubles-list li .button12 {
    margin: 0.5rem auto 0; /* ④ 中央寄せ */
    align-self: center;
  }
  .troubles-list li .button12 a {
    padding: 0.5em 0.8em;
    font-size: 14px;
  }
}
/* ====== レスポンシブ：380px以下 ====== */
@media (max-width: 380px) {
  .troubles-section {
    padding: 40px 30px 20px 30px; /* ② */
  }
  .troubles-list li {
    font-size: 14px;
    padding: 10px 12px;
  }
  .troubles-list li .note {
    font-size: 13px;
  }
  .troubles-list li .button12 {
    margin: 0.5rem auto 0; /* ④ 中央寄せ */
    align-self: center;
  }
  .troubles-list li .button12 a {
    padding: 0.45em 0.7em;
    font-size: 14px;
  }
}
/* ---------- モバイル：ボタンを確実に中央寄せ ---------- */
@media (max-width: 768px) {
  /* 親は縦並びのままにしておく（テキストは左寄せしたい想定） */
  .troubles-list li {
    flex-direction: column;
    align-items: flex-start; /* テキストは左寄せのまま */
  }
  /* ボタンだけ中央寄せにする（上書き強め） */
  .troubles-list li .button12 {
    align-self: center !important; /* flexアイテム単体を中央へ */
    margin: 0.5rem auto 0 !important; /* 上余白＋左右自動で中央 */
    float: none !important;
    position: static !important;
    width: auto !important; /* 幅が100%なら解除 */
    display: flex; /* 内部の <a> を中央寄せしやすくする */
    justify-content: center;
  }
  .troubles-list li .button12 a {
    display: inline-block;
    white-space: nowrap;
  }
}
/* 380px以下でも同じ動作を確実にする（上書き） */
@media (max-width: 380px) {
  .troubles-list li .button12 {
    align-self: center !important;
    margin: 0.45rem auto 0 !important;
  }
}
.c-entry-summary__body {
  padding-inline: 15px;
}

.c-entry-summary__meta {
  justify-content: flex-start;
  color: gray !important;
}

.p-section-front-page-content {
  max-width: 100%;
  padding-block: 0;
}

.service__btn {
  margin-left: auto;
  margin-right: auto;
}

.service__item h2 {
  text-align: center;
  font-weight: bold;
}

.fv__main {
  position: relative;
}

.fv__msg {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: left;
  width: 100%;
  max-width: 1280px;
}
@media screen and (max-width: 767px) {
  .fv__msg {
    width: 80%;
  }
}

.fv__msg .main-message {
  font-size: 46px;
  color: #fff;
  margin-bottom: 16px; /* 適度な間隔 */
}
@media screen and (max-width: 767px) {
  .fv__msg .main-message {
    font-size: 28px;
  }
}

.fv__msg .sub-message {
  font-size: 16px;
  color: #fff;
  line-height: 1.5; /* 可読性向上 */
}
/* バナーの基本スタイル */
.smb-items__banner {
  max-height: 120px;
  border-radius: 70px; /* 角丸 */
  overflow: hidden; /* 内容のはみ出しを防ぐ */
  transition: transform 0.4s ease, background-color 0.4s ease; /* アニメーションのスムーズな遷移 */
  background-color: #f0f0f0; /* 初期背景色 */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 軽い影を追加 */
}

/* バナー内のコンテンツ（画像やテキストなど） */
.smb-items__banner img {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease; /* ズームインのアニメーション */
}

/* ホバー時の装飾 */
.smb-items__banner:hover {
  transform: scale(1.05); /* ズームイン */
  background-color: #e0e4ff; /* 背景色を変更 */
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* シャドウを強調 */
}

/* ホバー時の画像ズームイン */
.smb-items__banner:hover img {
  transform: scale(1.2); /* 画像をズームイン */
}

/* フォーカス時も同じ効果を適用（アクセシビリティ対応） */
.smb-items__banner:focus {
  outline: none; /* フォーカス時のデフォルトアウトラインを削除 */
  transform: scale(1.05);
  background-color: #e0e4ff;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.service_item {
  cursor: pointer;
}

.fv_message {
  position: relative;
  overflow: hidden;
}

.fv_message img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  filter: brightness(100%); /* 背景を暗くする */
}

.fv_message::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* グラデーションの範囲を下から60%に制限 */
  background: linear-gradient(to top, rgb(0, 0, 0), rgba(0, 0, 0, 0.1));
  z-index: 1;
  pointer-events: none;
}

.fv_message .content {
  position: relative;
  z-index: 2;
  color: white;
  padding: 20px;
}

.fv__title {
  position: relative;
  z-index: 3;
  color: white;
  text-align: center;
}

.fv__second {
  position: relative;
  min-height: 306px;
  overflow: hidden;
}
@media screen and (max-width: 767px) {
  .fv__second {
    min-height: 140px !important;
  }
}

/* カーテン用の疑似要素 */
.fv__second::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: #2A4473;
  z-index: 2;
  transition: transform 1s ease-in-out;
  transform: translateX(0); /* 初期状態でカーテンが全体を覆う */
}

/* カーテンがアクティブで左に流れる */
.fv__second.active::before {
  transform: translateX(-100%);
}

.scroll_down a {
  position: absolute;
  left: 10px;
  bottom: 87px;
  color: #ffffff;
  font-size: 14px;
  font-family: "Josefin Sans", sans-serif;
  letter-spacing: 0.2em;
  writing-mode: vertical-lr;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll_down:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ffffff;
  animation: circlemove 1.6s ease-in-out infinite, cirlemovehide 1.6s ease-out infinite;
}

@keyframes circlemove {
  0% {
    bottom: 160px;
  }
  100% {
    bottom: 0px;
  }
}
@keyframes cirlemovehide {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  80% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}
.scroll_down:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2px;
  height: 160px;
  background: #ffffff;
}

.card-container {
  width: 300px;
  background-color: #ffffff;
  padding: 20px 0px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  border: 1px solid #e0e0e0;
}

.card-header {
  font-size: 30px;
  font-weight: bold;
  padding-left: 20px;
  text-align: left;
}

.number {
  font-weight: bold;
  padding-bottom: 3px;
  border-bottom: 1px solid #2A4473;
}

.decoration {
  font-size: 24px;
}

.card-image img {
  margin: 20px auto;
}

.card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  padding-left: 10px;
}

.card-description {
  font-size: 14px;
  line-height: 1.6;
  padding-left: 10px;
}

/* 全体の横並びレイアウト */
.voice-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* 各カード */
.voice-item {
  flex: 1 1 calc(33.333% - 20px);
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  text-align: center; /* 画像は中央揃えに */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 画像 */
.voice-img {
  width: 100%;
  margin-bottom: 0.8rem;
}

.voice-img img {
  width: 100%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
  margin: 0 auto; /* 中央揃え */
}

/* テキスト部分を左寄せ */
.voice-text {
  text-align: left;
}

/* 年代・性別 */
.voice-tag {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0.3rem;
}

/* 星評価 */
.rate {
  font-size: 1rem;
  color: #B3943B;
  margin-bottom: 0.4rem;
}

/* コメント */
.voice-title {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}

/* タブレット（2枚並び） */
@media (max-width: 768px) {
  .voice-item {
    flex: 1 1 calc(50% - 20px);
  }
}
/* スマホ（1枚縦並び + 余白調整） */
@media (max-width: 480px) {
  .voice-item {
    flex: 1 1 100%;
    max-width: 400px;
    padding: 0.8rem; /* 余白を少し減らす */
  }
  .voice-tag,
  .rate,
  .voice-title {
    font-size: 0.9rem; /* 少し小さめに */
    line-height: 1.4;
  }
}
/* 極小スマホ */
@media (max-width: 360px) {
  .voice-item {
    padding: 0.6rem;
  }
  .voice-tag,
  .rate,
  .voice-title {
    font-size: 0.85rem;
  }
}
/* ボタン（常に中央寄せ） */
.voice-btn {
  display: flex;
  justify-content: center; /* 常に中央寄せ */
  width: 100%;
}

.voice-btn a {
  display: flex;
  align-items: center;
  position: relative;
  margin: 0;
  padding: 1em 2em;
  width: -moz-fit-content;
  width: fit-content;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  background-color: #1a52cc;
  transition: background-color 0.3s;
}

/* 下線（＿）部分 */
.voice-btn a::before {
  content: "";
  position: absolute;
  bottom: -7px;
  right: -7px;
  width: 100%;
  height: 2px;
  background-color: #bbbbbb;
  transition: width 0.2s ease 0s;
}

/* 縦線（｜）部分 */
.voice-btn a::after {
  content: "";
  position: absolute;
  top: 7px;
  right: -7px;
  width: 2px;
  height: 100%;
  background-color: #bbbbbb;
  transition: height 0.2s ease 0.2s;
}

/* 矢印追加用 */
.voice-btn span {
  display: inline-block;
  margin-left: 0.5em;
  transition: transform 0.3s ease;
}

/* hover時 */
.voice-btn a:hover::before {
  width: 0%;
}

.voice-btn a:hover::after {
  height: 0%;
}

.voice-btn a:hover {
  text-decoration: none;
  background-color: #a0c4d3;
}

.voice-btn a:hover span {
  transform: translateX(5px);
}

/* --- レスポンシブ --- */
/* タブレット以下 */
@media (max-width: 768px) {
  .voice-btn a {
    padding: 0.8em 1.6em;
    font-size: 16px;
  }
  .voice-btn a::before {
    bottom: -5px;
    right: -5px;
  }
  .voice-btn a::after {
    top: 5px;
    right: -5px;
  }
}
/* 小さいスマホ以下 */
@media (max-width: 380px) {
  .voice-btn a {
    padding: 0.6em 1.2em;
    font-size: 14px;
  }
  .voice-btn a::before {
    bottom: -4px;
    right: -4px;
  }
  .voice-btn a::after {
    top: 4px;
    right: -4px;
  }
}
.scroll-infinity {
  width: 100cqw;
  overflow: hidden;
}

@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.scroll-infinity__wrap {
  display: flex;
  overflow: hidden;
}

.scroll-infinity__list {
  display: flex;
  list-style: none;
  padding: 0;
}

.scroll-infinity__list--left {
  animation: infinity-scroll-left 50s infinite linear 0.5s both;
}

.scroll-infinity__item {
  width: 16.6666666667vw;
  margin-right: 30px;
}
@media screen and (max-width: 767px) {
  .scroll-infinity__item {
    width: 33.3333333333vw;
    margin-right: 15px;
  }
}

.scroll-infinity__item > img {
  width: 100%;
}

.tpc {
  font-size: 16px;
  max-width: 100%;
  box-sizing: border-box;
}

.c-entries--simple .c-entries__item, .c-entries--text .c-entries__item, .c-entries--text2 .c-entries__item {
  border-bottom: 1px solid var(--wp--preset--color--sm-lighter-gray);
}

.c-entries--large-image .c-entries__item, .c-entries--simple .c-entries__item, .c-entries--text .c-entries__item, .c-entries--text2 .c-entries__item {
  margin-bottom: 0;
  padding-left: 0;
  padding-right: 0;
}

.c-entries__item {
  flex: 0 1 var(--entries--item-width);
  margin-bottom: var(--entries--gap);
  max-width: var(--entries--item-width);
  padding-left: calc(var(--entries--gap) * 0.5);
  padding-right: calc(var(--entries--gap) * 0.5);
}

.topic-btn {
  display: flex;
  justify-content: flex-end;
}

.topic-btn a {
  display: flex;
  align-items: center;
  position: relative;
  margin: 0;
  padding: 1em 2em;
  width: -moz-fit-content;
  width: fit-content;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  background-color: #1a52cc; /* 背景色変更 */
  transition: background-color 0.3s;
}

/* 下線（＿）部分 */
.topic-btn a::before {
  content: "";
  position: absolute;
  bottom: -7px;
  right: -7px;
  width: 100%;
  height: 2px;
  background-color: #bbbbbb;
  transition: width 0.2s ease 0s;
}

/* 縦線（｜）部分 */
.topic-btn a::after {
  content: "";
  position: absolute;
  top: 7px;
  right: -7px;
  width: 2px;
  height: 100%;
  background-color: #bbbbbb;
  transition: height 0.2s ease 0.2s;
}

/* 矢印追加用 */
.topic-btn span {
  display: inline-block;
  margin-left: 0.5em;
  transition: transform 0.3s ease;
}

/* hover時の動作 */
.topic-btn a:hover::before {
  width: 0%;
}

.topic-btn a:hover::after {
  height: 0%;
}

.topic-btn a:hover {
  text-decoration: none;
  background-color: #a0c4d3; /* ホバー時背景色 */
}

.topic-btn a:hover span {
  transform: translateX(5px); /* 矢印を右へスライド */
}

.c-entries__item {
  display: block !important;
  visibility: visible !important;
}

.mw-news-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #ddd;
  text-decoration: none;
  color: inherit; /* リンク色を通常文字と同じに */
  transition: background-color 0.2s ease;
}

.mw-news-row:hover {
  background-color: #f5f5f5; /* ホバーで背景色変化 */
}

.mw-news-date {
  margin-right: 20px;
  white-space: nowrap;
}

.mw-news-body {
  flex: 1;
}

/* レスポンシブ対応：768px以下 */
@media (max-width: 768px) {
  .tpc {
    font-size: 14px; /* 少し小さめに */
    max-width: 90vw; /* 画面幅の90%まで */
    margin: 0 auto; /* 中央寄せ */
    padding: 0 10px; /* 左右余白 */
    word-break: break-word; /* 長い単語も折り返し */
  }
  .topic-btn a {
    font-size: 16px; /* ボタンの文字少し小さく */
    padding: 0.8em 1.5em; /* ボタン内余白調整 */
    width: -moz-fit-content;
    width: fit-content;
  }
}
/* レスポンシブ対応：380px以下 */
@media (max-width: 380px) {
  .tpc {
    font-size: 12px; /* さらに小さめ */
    max-width: 95vw;
    padding: 0 8px;
  }
  .topic-btn a {
    font-size: 14px; /* ボタン文字さらに小さく */
    padding: 0.6em 1.2em;
  }
}
/* ========= ボタン付き行だけ横並び（wiz-btn） ========= */
/* 他の li には影響しません */
.troubles-list li.wiz-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px; /* テキストとボタンの間隔 */
}

/* 番号丸は潰れないように */
.troubles-list li.wiz-btn span {
  flex-shrink: 0;
}

/* ボタンを右端へ固定＆潰れ防止 */
.troubles-list li.wiz-btn .button12 {
  margin-left: auto;
  flex-shrink: 0;
}

/* ========= ボタン本体（細め・配色・矢印） ========= */
/* ここは wiz-btn 配下の button12 にだけ適用（他所の button12 に影響しない） */
.troubles-list li.wiz-btn .button12 a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.55em 1.05em; /* 少し細く */
  line-height: 1; /* 縦位置のズレ防止 */
  font-size: 16px; /* 少し締まるサイズ */
  font-weight: 700;
  color: #fff;
  background-color: #1a52cc; /* 指定色 */
  text-decoration: none;
  transition: background-color 0.3s ease;
}

/* 「こちら→」の矢印は右にだけスライド */
.troubles-list li.wiz-btn .button12 a span {
  margin-left: 0.45em;
  transition: transform 0.25s ease;
}

.troubles-list li.wiz-btn .button12 a:hover span {
  transform: translateX(6px);
}

/* ホバー時の背景色 */
.troubles-list li.wiz-btn .button12 a:hover {
  background-color: #a0c4d3; /* 指定ホバー色 */
}

/* ========= 枠線アニメ（＿｜）＝元のまま ========= */
.troubles-list li.wiz-btn .button12 a::before {
  content: "";
  position: absolute;
  bottom: -7px;
  right: -7px;
  width: 100%;
  height: 2px;
  background-color: #bbbbbb;
  transition: width 0.2s ease 0s;
}

.troubles-list li.wiz-btn .button12 a::after {
  content: "";
  position: absolute;
  top: 7px;
  right: -7px;
  width: 2px;
  height: 100%;
  background-color: #bbbbbb;
  transition: height 0.2s ease 0.2s;
}

.troubles-list li.wiz-btn .button12 a:hover::before {
  width: 0;
}

.troubles-list li.wiz-btn .button12 a:hover::after {
  height: 0;
}

/* ========== スマホ用レスポンシブ ========== */
/* ① @media (max-width: 768px) */
@media (max-width: 768px) {
  .troubles-list li.wiz-btn {
    flex-direction: column; /* ボタンは下に */
    align-items: flex-start; /* 左揃え */
    gap: 0; /* gapなし */
    padding-bottom: 15px;
  }
  /* 番号＋テキスト部分を横並びに */
  .troubles-list li.wiz-btn > span {
    display: flex;
    align-items: center;
    gap: 8px; /* 番号とテキストの間隔を少しだけ */
    width: 100%;
  }
  /* ボタンは横幅小さめにして下に配置 */
  .troubles-list li.wiz-btn .button12 {
    margin-left: 0; /* auto解除 */
    flex-shrink: 0;
    margin-top: 8px; /* テキストとの間隔 */
    margin-right: 5px;
    width: auto;
  }
}
/* ② @media (max-width: 380px) */
@media (max-width: 380px) {
  .troubles-list li.wiz-btn > span {
    gap: 4px; /* 番号とテキストの間隔をさらに狭く */
    font-size: 15px; /* 少し小さく */
  }
  .troubles-list li.wiz-btn .button12 a {
    font-size: 14px; /* ボタン文字も少し小さく */
    padding: 0.45em 0.8em; /* ボタンのpadding調整 */
  }
}
.msgs {
  font-size: 19px;
  line-height: 2.5;
}

/* --- 改行制御 共通CSS --- */
/* PCだけ改行（スマホではなし） */
.pc-br {
  display: block;
  height: 0;
}

@media screen and (max-width: 768px) {
  .pc-br {
    display: none;
  }
}
/* スマホだけ改行（PCではなし） */
.sp-br {
  display: none;
}

@media screen and (max-width: 768px) {
  .sp-br {
    display: block;
    height: 0;
  }
}
/*カスタム投稿ページのタイトル*/
.c-entry__title {
  margin-top: 30px;
  font-weight: bold;
}

/********************************************************
 * 固定ページ（.page）のみ：最上部は透明、スクロールで白背景に
 ********************************************************/
/* 初期：透明（オーバーレイ） */
.page .l-header,
.page .c-site-header,
.page .p-site-header {
  background: transparent;
  transition: background-color 0.2s ease, color 0.2s ease;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* スクロールで白に切り替え（.is-scrolled は JS or テーマ側で付与） */
.page .l-header.is-scrolled,
.page .c-site-header.is-scrolled,
.page .p-site-header.is-scrolled {
  background: #fff !important;
}

/* 切替時の文字色（必要なら） */
.page .l-header.is-scrolled a,
.page .c-site-header.is-scrolled a,
.page .p-site-header.is-scrolled a {
  color: #111 !important;
}

/* 透明時のナビ色を白にしたい場合は有効化
.page .l-header a,
.page .c-site-header a,
.page .p-site-header a { color: #fff !important; }
*/
/********************************************************
 * 投稿・カスタム投稿（.single）は常に白背景（スクロールで色は変えない）
 * → 「適用しない」＝ .page 以外では切替を起こさない
 ********************************************************/
.single .l-header,
.single .c-site-header,
.single .p-site-header {
  background: #fff !important; /* いつでも白 */
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* 念のため：スクロール時クラスが付いても白のまま */
.single .l-header.is-scrolled,
.single .c-site-header.is-scrolled,
.single .p-site-header.is-scrolled {
  background: #fff !important;
}

/* オーバーレイの透明レイヤー・疑似要素を無効化（保険） */
.single .l-header::before,
.single .l-header::after,
.single .c-site-header::before,
.single .c-site-header::after,
.single .p-site-header::before,
.single .p-site-header::after {
  content: none !important;
  background: none !important;
}

/********************************************************
 * .single（投稿・カスタム投稿の個別ページ）だけに適用
 * 1) ヘッダーのテキスト/リンクを濃色へ
 * 2) タイトル帯がヘッダーに隠れないよう上余白を付与
 ********************************************************/
/* 1) ヘッダーの文字色を黒系に（背景はすでに白の想定） */
.single .l-header,
.single .c-site-header,
.single .p-site-header {
  background: #fff !important; /* 念のため白を維持 */
  color: #111 !important;
}

.single .l-header a,
.single .c-site-header a,
.single .p-site-header a,
.single .c-global-nav a {
  color: #111 !important; /* ナビのリンクも黒系に */
  fill: #111 !important; /* SVGアイコン等 */
}

.single .l-header .c-hamburger__bar {
  background: #111 !important;
} /* ハンバーガー線 */
/* 2) タイトル帯（c-entry__title / c-entry__header）がヘッダーにかぶらないようにする */
.single .c-entry__header,
.single .c-entry__title {
  margin-top: 0 !important; /* 既存の上マージンを一旦リセット */
}

/* モバイル：ヘッダーが低めなので少なめの余白（約56px） */
@media (max-width: 767.98px) {
  .single .c-entry__header {
    margin-top: 56px !important;
  }
  /* もし .c-entry__title に直接帯を付けている場合はそちらに付与 */
  .single .c-entry__title {
    margin-top: 56px !important;
  }
}
/* PC：ヘッダーが高めなので多めの余白（約80px） */
@media (min-width: 768px) {
  .single .c-entry__header {
    margin-top: 80px !important;
  }
  .single .c-entry__title {
    margin-top: 80px !important;
  }
}
/* 念のため：ヘッダーがコンテンツより前面に出るように */
.single .l-header,
.single .c-site-header,
.single .p-site-header {
  z-index: 1000;
  position: sticky;
  top: 0;
}

/* ▼ 共通（IDはPHP側でユニーク発行）*/
.mwfc .mwfc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 1rem 0 2rem;
  justify-content: center;
  z-index: 2;
} /* ①タブ中央寄せ */
.mwfc .mwfc-tab {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 2px solid #1a52cc;
  background: #fff;
  color: #1a52cc;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.15s;
  cursor: pointer;
}

.mwfc .mwfc-tab.is-active {
  background: #1a52cc;
  color: #fff;
}

/* Grid */
.mwfc .mwfc-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 961px) {
  .mwfc .mwfc-card {
    grid-column: span 4;
  }
}
@media (min-width: 601px) and (max-width: 960px) {
  .mwfc .mwfc-card {
    grid-column: span 6;
  }
}
@media (max-width: 600px) {
  .mwfc .mwfc-card {
    grid-column: span 12;
  }
}
/* Card（③角丸なし） */
.mwfc .mwfc-card {
  background: #fff;
  border-radius: 0; /* ← 角丸を無効に */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
}

.mwfc .mwfc-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.mwfc .mwfc-thumb {
  background: #f2f2f2 center/cover no-repeat;
  width: 100%;
  aspect-ratio: 16/10;
}

/* Badge（③角丸なし & ④右上ぴったり） */
.mwfc .mwfc-badge {
  position: absolute;
  top: 0;
  right: 0; /* ← 角にぴったり合わせる */
  background: #1a52cc;
  color: #fff;
  padding: 0.5rem 0.9rem;
  border-radius: 0;
  font-size: 0.85rem;
  font-weight: 700;
}

/* Body */
.mwfc .mwfc-body {
  padding: 1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mwfc .mwfc-title {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.35;
}

.mwfc .mwfc-excerpt {
  color: #333;
}

.mwfc .mwfc-date {
  color: #555;
  text-align: center;
  display: block;
} /* ⑤日付のみ中央揃え */
/* サムネが無い場合 */
.mwfc .mwfc-thumb:empty {
  background: #eaeaea;
}

/* ▼ 768px 以下 */
@media (max-width: 768px) {
  .mwfc .mwfc-tabs {
    gap: 1rem; /* タブ間の余白を少し詰める */
    flex-wrap: wrap;
  }
  .mwfc .mwfc-tab {
    padding: 0.6rem 1.5rem; /* タブのサイズ縮小 */
    font-size: 0.9rem;
  }
  .mwfc .mwfc-grid {
    gap: 1.5rem; /* グリッド間隔縮小 */
  }
  .mwfc .mwfc-title {
    font-size: 1.1rem; /* タイトル縮小 */
  }
  .mwfc .mwfc-body {
    padding: 0.8rem 1rem 1rem;
  }
}
/* ▼ 380px 以下 */
@media (max-width: 380px) {
  .mwfc .mwfc-tabs {
    flex-direction: column; /* タブを縦並びに */
    align-items: stretch;
    gap: 0.5rem;
  }
  .mwfc .mwfc-tab {
    padding: 0.5rem 1rem; /* さらに小さく */
    font-size: 0.85rem;
    text-align: center;
  }
  .mwfc .mwfc-body {
    padding: 0.6rem 0.8rem 0.8rem;
    gap: 0.4rem;
  }
  .mwfc .mwfc-title {
    font-size: 1rem;
  }
  .mwfc .mwfc-excerpt {
    font-size: 0.85rem;
  }
  .mwfc .mwfc-date {
    font-size: 0.8rem;
  }
}
.gradient-horizontal {
  position: relative;
  padding: 0.25em 0 1em 0; /* 下のパディングを大きくしてみる */
  font-size: 1.3rem;
  font-weight: bold;
}
.gradient-horizontal:after {
  content: "";
  margin-top: 0.3em;
  display: block;
  height: 4px;
  width: 200px; /* 横幅を200pxに固定 */
  background: linear-gradient(to right, rgb(230, 181, 90), transparent);
}

.center-position {
  display: flex;
  font-size: 27px;
  font-weight: bold;
  justify-content: center; /* 横方向の中央揃え */
  align-items: center; /* 縦方向の中央揃え */
  text-align: center; /* テキストを中央揃え */
  flex-direction: column; /* 縦並びにする場合 */
}

.center-text-list {
  display: flex;
  justify-content: center; /* 横中央 */
  align-items: center; /* 縦中央 */
  padding: 20px;
}

.text-list {
  max-width: 720px;
  width: 100%;
  text-align: left;
}

.text-list p {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.8;
  position: relative; /* ::before位置調整用 */
  padding-left: 32px; /* アイコン分の余白 */
}

.center-text-list .text-list p::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #000;
  font-weight: 700;
}

/* --- 768px以下のスタイル --- */
@media (max-width: 768px) {
  .text-list p {
    font-size: 16px;
    padding-left: 28px; /* アイコン分の余白少し縮小 */
  }
  .text-list p::before {
    width: 18px;
    height: 18px;
  }
}
/* --- 380px以下のスタイル --- */
@media (max-width: 380px) {
  .text-list p {
    font-size: 14px;
    padding-left: 24px;
  }
  .text-list p::before {
    width: 16px;
    height: 16px;
  }
}
.msgs {
  font-size: 19px;
  line-height: 2.5;
}

/* --- 768px以下のスタイル --- */
@media (max-width: 768px) {
  .msgs {
    font-size: 17px;
    line-height: 2.2;
  }
}
/* --- 380px以下のスタイル --- */
@media (max-width: 380px) {
  .msgs {
    font-size: 15px;
    line-height: 2;
  }
}
.c-entry__title {
  background-color: #1a52cc;
  padding: 40px 20px;
  text-align: center;
  color: #ffffff;
  font-size: 28px;
  font-weight: bold;
}

.l-contents__sidebar {
  display: none;
}

/********************************************
 * 投稿・カスタム投稿の個別ページだけ
 * タイトル上の余白を削除
 ********************************************/
.single .c-entry__header {
  margin-top: 0 !important; /* 上の余白を消す */
  padding-top: 0 !important; /* 内側の余白も消す（必要に応じて） */
}

.single .c-entry__title {
  margin-top: 0 !important; /* タイトル自体の余白も消す */
}

/*************************************************
 * 投稿 & すべてのカスタム投稿（個別ページ .single）
 * - サイドバーは残す（レイアウト変更なし）
 * - タイトル帯は #1a52cc で “画面端まで” フルブリード
 * - 本文は枠・影なし（自然な余白のみ）
 *************************************************/
/* 0) 念のため：親が overflow で切らないようにしておく */
.single .l-contents,
.single .l-contents__main,
.single .c-entry {
  overflow: visible;
}

/* 1) タイトル帯：本体は透明にして、擬似要素で背景だけを100vwに広げる */
.single .c-entry__title {
  position: relative;
  text-align: center;
  padding: 100px 0; /* 帯の上下の厚み（必要に応じて調整） */
  margin: 0;
  background: transparent; /* 背景は擬似要素に任せる */
  border: none;
  box-shadow: none;
  margin-top: 0 !important;
}

/* フルブリード背景（画面端まで） */
.single .c-entry__title::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  /* ★ ここで画面幅いっぱいに広げる（親の幅制限を無視） */
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  background: #1a52cc; /* 指定色 */
  z-index: -1; /* 見出しテキストの背面に敷く */
}

/* 見出しテキスト */
.single .c-entry__title {
  color: #fff;
  font-weight: 700;
  font-size: 30px; /* お好みで 32–36px に */
  line-height: 1.25;
  margin: 0;
}

/* 2) 本文：枠・影をなくして自然な余白だけ */
.single .c-entry__body {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  /* サイトの本文幅に合わせて左右の安全余白だけ確保 */
  padding: 0 20px;
  /* タイトル帯との間隔（上下） */
}

/* 読みやすさのための最小整形 */
.single .c-entry__body p {
  line-height: 1.85;
  margin: 0 0 18px;
}

.single .c-entry__body h2,
.single .c-entry__body h3 {
  margin: 32px 0 12px;
  font-weight: 700;
  color: #333;
}

/* 画像は自然に可変、枠は付けない */
.single .c-entry__body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 16px auto;
  border: none;
  box-shadow: none;
}

/* 3) レスポンシブ微調整 */
@media (min-width: 768px) {
  .single .c-entry__header {
    padding: 72px 0;
  }
  .single .c-entry__title {
    font-size: 34px;
  }
  .single .c-entry__body {
    padding: 0 24px;
  }
}
.single .c-entry__body p {
  line-height: 1.85;
  margin: 70px 0;
}

.smb-box__background {
  background-color: var(--smb-box--background-color);
  background-image: var(--smb-box--background-image);
  border: #fff;
  border-radius: var(--smb-box--border-radius);
  bottom: 0;
  display: block;
  left: 0;
  opacity: var(--smb-box--background-opacity);
  position: absolute;
  right: 0;
  top: 0;
}/*# sourceMappingURL=style.css.map */

.l-contents__inner:last-child{
      margin-bottom: 0;
     padding-bottom: 0;
}

.wpcf7-spinner {
  display: none !important;
}

.wpcf7 form .wpcf7-response-output {
    margin: 0em 0.5em 2em;
    padding: 0.2em 1em;
    border: 2px solid #00a0d2;
}
.wpcf7 form.sent .wpcf7-response-output {
    border-color: #1A52CC;
}
.submit-btn{ text-align:center; margin-top:10px; margin-bottom:20px; }