@charset "utf-8";

h2 {
    font-size: clamp(1.2rem, 3.0vw, 20px);
    margin: 64px auto 24px;
    background: #E2F6F3;
    border-left: 8px solid #009A97;
    padding: 16px 8px 16px 1rem;
    font-weight: 700;
}
h3 {
    font-size: clamp(1.1rem, 3.0vw, 18px);
    margin: 32px auto 24px;
    color: #00AE9A;
    border-bottom: 2px solid #00AE9A;
    font-weight: 500;
}
.header-right a:hover,
.TopMv .MvBtnArea a:hover {
  transform: translateY(-3px); /* 少し浮かせる */
  box-shadow: 0 6px 12px rgba(0,0,0,0.2); /* 影を追加 */
  opacity: 0.9; /* 少しトーンダウンで反応感 */
}

.Col-green {
	color: #00AE9A;
}
.Col-orange {
	color: #FF6F00;
}
.Col-red {
	color:#FF0000;
}
.emphasis {
	font-weight: 600;
}
/***************
ボタン各種
***************/

.ContactBtnArea,
.LinkBtnArea {
  display: flex;
  flex-direction: column; /* 縦に並べる */
  align-items: center;     /* 横方向の中央寄せ */
  gap: 16px;               /* ボタン間の余白 */
  margin: 40px 0 0;          /* 上下余白（お好みで） */
  font-size: clamp(1.1rem, 2vw, 18px);
}
.ManuBtnArea {
  display: flex;
  flex-direction: column; /* 縦に並べる */
  align-items: center;     /* 横方向の中央寄せ */
  gap: 16px;               /* ボタン間の余白 */
  margin: 0;          /* 上下余白（お好みで） */
  font-size: clamp(0.8rem, 2vw, 14px);
}
.ContactBtnArea a {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 16px;
    border-radius: 50px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    max-width: 300px;
	transition: all 0.3s ease;
	letter-spacing: .1em;
    border: 1px solid #FFF;
    box-sizing: border-box;
}
.ManuBtnArea a {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 16px;
    border-radius: 50px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    max-width: 480px;
	transition: all 0.3s ease;
	letter-spacing: .1em;
    border: 1px solid #FFF;
    box-sizing: border-box;
}
.LinkBtnArea a {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 16px;
    border-radius: 50px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    max-width: 480px;
	transition: all 0.3s ease;
	letter-spacing: .1em;
    border: 1px solid #FFF;
    box-sizing: border-box;
}
/* 各ボタンの色分け例 */
.BtnLine {
  background-color: #06c755;
}
.BtnTel {
  background-color: #F68B1F;
}
.BtnMail {
  background-color: #1E88E5;
}
.BtnLink {
  background-color: #009A97;
}
.ContactBtnArea a:hover,
.LinkBtnArea a:hover,
.ManuBtnArea a:hover {
  transform: translateY(-3px); /* 少し浮かせる */
  box-shadow: 0 6px 12px rgba(0,0,0,0.2); /* 影を追加 */
  opacity: 0.8; /* 少しトーンダウンで反応感 */
}

.section {
    padding: 0 40px;
	position: relative;
}
#Container {
    display: flex;
    flex-direction: row;
}
#Background {
	position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	background-image: linear-gradient(146deg, #009a97, #c9fdff);
    z-index: -1;
}
#Contents {
    order: 2;
    max-width: 768px;
    background: #fff;
}
#pc-menu {
    width: 30vw;
    order: 1;
}
.pc-menu {
	display: flex;
    position: fixed;
    justify-content: center;
    top: 0;
    width: inherit;
    height: 100vh;
}
.pc-navigation {
    align-self: center;
    display: flex;
    flex-direction: column;
    padding: 36px 48px;
    gap: 24px;
    width: 412px;
    box-sizing: border-box;
}
.nav-menu {
	display: flex;
    flex-direction: column;
    width: 100%;
}
.nav-menu ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
}
.nav-menu ul li {
  font-size: clamp(0.6rem, 2vw, 18px);
  font-weight: 600;
  line-height: 2.78em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
/* aタグの基本設定 */
.nav-menu ul li a {
  color: #FFF;
  text-decoration: none;
  display: inline-block;
  transition: color 0.3s ease;
  width: 100%;
}

/* ＞マークをliの右端に固定配置 */
.nav-menu ul li::after {
  content: '›'; /* 細めの矢印（→でもOK） */
  position: absolute;
  right: 0;
  font-size: 1.6em;
  transition: transform 0.3s ease, opacity 0.3s ease;
  color: #FFF;
}

/* ホバー時に右へスライド＋濃く表示 */
.nav-menu ul li:hover::after {
  transform: translateX(5px);
  opacity: 1;
  color: #333;
}

/* aの色変化（任意） */
.nav-menu ul li:hover a {
  color: #333;
}

/* ヘッダーの全体スタイル */
.header {
    width: 100%;
    max-width: 768px;
    background-color: #fff;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    z-index: 10;
}
.Header-title {
	font-size: clamp(0.6rem, 2vw, 12px);
	margin: 0;
	font-weight: 400;
	max-width: 85%;
	line-height: 1.5;
}
/* コンテナのスタイル */
.header-area {
	margin: 0 auto;
    padding: 16px;
    height: 110px;
    box-sizing: border-box;
    display: block;
    align-items: center;
}
.header-container {
	margin: 0 auto;
    height: 70px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.header-right {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 10px;
}
.header-right .h-btns {
	font-size: 12px;
    padding: 16px;
    border-radius: 50px;
    color: #FFF;
    text-decoration: none;
	line-height: 1.0;
	transition: all 0.3s ease;
}

/* ロゴのスタイル */
.site-logo img {
    max-width: 300px;
}
/* パンくず */
.aioseo-breadcrumbs {
	font-size: clamp(0.6rem, 0.8vw, 0.8rem);
    position: relative;
    text-align: right;
    padding: 8px 24px;
    background: #DCEAEA;
}

/********** ヘッターメニュー **********/
/* PCメニュー */
.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}
.main-navigation .nav-menu ul {
    padding: 24px 0 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.main-navigation .nav-menu ul li {
    border-right: 1px solid #000;
    xpadding: 0 27px;
    line-height: 1;
    transition: .5s;
}
.main-navigation .nav-menu > ul > li:first-child {
    border-left: 1px solid #000;
}
.main-navigation .nav-menu ul li a {
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
	color: #333;
	padding: 8px 27px;
	display: block;
}
.main-navigation .nav-menu ul li a:hover {
	color: #505050;
}
.menu-item-has-children::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 6px;
    position: absolute;
    margin: auto;
    right: 16px;
    top: 0;
    bottom: 0;
    clip-path: polygon(0 0, 100% 0%, 50% 100%);
    background-color: #000;
    transition: .5s;
}
/* サブメニュー */
.main-navigation ul.sub-menu {
	padding: 0;
    display: flex;
    justify-content: left;
    align-items: center;
    flex-wrap: wrap;
    background: #FFF;
}
.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
	min-width: 400px;
}
.main-navigation ul.sub-menu li {
    width: calc(100% / 2);
	border: none;
	padding: 0;
}
.main-navigation ul.sub-menu li a {
	display: block;
	padding: 16px 8px;
}

/* サブメニュー２段階目 */
.main-navigation ul.sub-menu li > ul.sub-menu {
	top: 100%;
}


/* ================================
   SPヘッダーメニュー（1024px以下表示）
   完全版 CSS（display:block 常時化バグ修正）
================================ */

/* ハンバーガーボタン（指定） */
.button{
  border: none;
  background: none;
  padding: 0;
  line-height: 1;
  box-shadow: none;
  appearance: none;
  cursor: pointer;
  position: absolute;
  top: 8px;
  right: 16px;
  z-index: 1001;
}

/* 背景スクロール抑止 */
html.no-scroll, body.no-scroll { overflow: hidden; }

/* dialog本体：通常は不可視＆非クリック（displayは触らない） */
.dialog{
  padding: 0;
  border: none;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .35s ease, visibility .35s ease;
}

/* backdropのフェード */
.dialog::backdrop{
  background: rgba(0,0,0,.45);
  opacity: 0;
  transition: opacity .35s ease;
}

/* 開いた時だけ可視＆クリック可 */
.dialog.-open{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.dialog.-open::backdrop{ opacity: 1; }

/* 全画面パネル（ふわっと表示） */
.mobile-menu-container{
  position: fixed; inset: 0;
  width: 100vw; height: 100dvh; /* iOS用にdvh基準 */
  background: #fff;
  display: grid; grid-template-rows: auto 1fr auto auto;
  gap: 16px; padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
  transform: translateY(8px) scale(.98);
  opacity: 0; filter: blur(6px);
  transition:
    transform .45s cubic-bezier(.2,.7,.3,1),
    opacity   .45s cubic-bezier(.2,.7,.3,1),
    filter    .45s cubic-bezier(.2,.7,.3,1);
  will-change: transform, opacity, filter;
  overscroll-behavior: contain;  /* ビヨン防止 */
  overflow: hidden;               /* 中身だけスクロール */
  z-index: 1000;
}
@supports (height: 100svh){
  .mobile-menu-container{ height: 100svh; } /* Android等で更に安定 */
}
.dialog.-open .mobile-menu-container{
  transform: translateY(0) scale(1);
  opacity: 1; filter: blur(0);
}

/* 中身の“ふわっ”（ロゴ画像・メニュー項目・SNS・閉じる） */
.dialog .mobile-menu-container > img,
.dialog .menu-list > li,
.dialog .sns-icons,
.dialog .close-button{
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .45s cubic-bezier(.2,.7,.3,1),
              transform .45s cubic-bezier(.2,.7,.3,1);
  will-change: opacity, transform;
}
.dialog.-open .mobile-menu-container > img,
.dialog.-open .menu-list > li,
.dialog.-open .sns-icons,
.dialog.-open .close-button{
  opacity: 1;
  transform: translateY(0);
}

/* --- 二回目以降で真っ白対策（最低保証の上書き） --- */
.dialog.-open .menu-list > li,
.dialog.-open .sns-icons,
.dialog.-open .close-button,
.dialog.-open .mobile-menu-container > img{
  opacity: 1 !important;
  transform: none !important;
}

/* 順番ディレイ（ロゴ→メニュー→SNS→閉じる） */
.dialog.-open .mobile-menu-container > img { transition-delay: .05s; }
.dialog.-open .menu-list > li:nth-child(1) { transition-delay: .10s; }
.dialog.-open .menu-list > li:nth-child(2) { transition-delay: .16s; }
.dialog.-open .menu-list > li:nth-child(3) { transition-delay: .22s; }
.dialog.-open .menu-list > li:nth-child(4) { transition-delay: .28s; }
.dialog.-open .menu-list > li:nth-child(5) { transition-delay: .34s; }
.dialog.-open .menu-list > li:nth-child(6) { transition-delay: .40s; }
.dialog.-open .menu-list > li:nth-child(7) { transition-delay: .46s; }
.dialog.-open .menu-list > li:nth-child(8) { transition-delay: .52s; }
.dialog.-open .menu-list > li:nth-child(9) { transition-delay: .58s; }
.dialog.-open .menu-list > li:nth-child(10){ transition-delay: .64s; }
.dialog.-open .sns-icons   { transition-delay: .70s; margin: 8px 0; }
.dialog.-open .close-button{ transition-delay: .76s; }

/* ====== メニューが多い時のスクロール（今回のキモ） ====== */
.mobile-menu{            /* グリッド2行目をスクロール領域に */
  min-height: 0;         /* Grid子をスクロール可能にする必須指定 */
  max-height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding-bottom: env(safe-area-inset-bottom);
}

/* リスト・リンクの見た目 */
.menu-list{ list-style: none; margin: 0; padding: 0 0 12px; }
.menu-list li a{
  display: block; padding: 16px 6px;
  border-bottom: 1px solid #eee;
  color: #222; text-decoration: none; opacity: .9;
  transition: background-color .2s ease, color .2s ease, opacity .35s ease;
}
.menu-list li a:hover,
.menu-list li a:focus{ background: #f7f7f7; opacity: 1; }

/* SNS行 */
.sns-icons{ display: flex; gap: 16px; align-items: center; }
.sns-icon img{ width: 28px; height: 28px; display: block; }

/* 閉じるボタン（X型） */
.button .line-box .line{ display:block; width:28px; height:2px; background:#111; margin:6px 0; }
.button.close-button{
  position: absolute; top: 8px; right: 8px;
  background: transparent; border: none; padding: 8px; cursor: pointer;
}
.button.close-button .line-box .line:first-child{ transform: translateY(4px) rotate(45deg); }
.button.close-button .line-box .line:last-child { transform: translateY(-4px) rotate(-45deg); }

/* モーション軽減 */
@media (prefers-reduced-motion: reduce){
  .dialog::backdrop{ transition: none; }
  .mobile-menu-container,
  .mobile-menu-container > img,
  .menu-list > li,
  .sns-icons,
  .close-button{
    transition: none; transform: none; opacity: 1; filter: none;
  }
}

/* ====== レスポンシブ切替 ====== */
/* PC(>=1025px)：SPメニュー非表示 */
@media (min-width: 1025px){
  .button,
  .dialog{ display: none !important; }
  /* PCメニューの表示が必要ならここで #pc-menu{display:block;} */
}

/* SP(<=1024px)：表示対象（dialogは常時blockにしない！） */
@media (max-width: 1024px){
  .open-button{ display: inline-grid; }
  /* .dialog{ display:block; } ← これを置かないのが今回の修正点 */
  .mobile-menu-container{ z-index: 1000; }
}

@media (max-width: 900px) {
#Container {
	display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  overflow-x: hidden; 
}
.header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;          /* ★折り返し許可 */
}
.header-area {
    padding: 16px;
	width: 100%;
}

#pc-menu {
	display: none;
}
#Contents {
    order: 2;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
.TopMv {
	xmargin-top: 110px;
}
#pc-social-links {
	display: none;
}
}
@media (max-width: 767px) {
#Contents {
    max-width: 100%;
}
}
@media (max-width: 480px) {

.section {
    padding: 0 24px;
}

.header-right .h-btns {
	font-size: 10px;
    padding: 16px 8px;
}
/* ロゴのスタイル */
.site-logo img {
    max-width: 180px;
}
}

#pc-social-links {
    order: 3;
}
.social-media {
    background: transparent;
    padding: 40px 0;
    position: fixed;
    bottom: 40px;
}
.social-box {
	margin: 0 auto;
    padding: 0 8px;
}
.icons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.icons a {
    display: inline-block;
    transition: transform .2s ease;
}
.icons a:hover {
    transform: scale(1.1);
}
.icons img {
    width: 40px;
    height: 40px;
	max-width: 40px;
}
/********** フッター **********/
footer {
    background: #0BA4AA;
    font-size: 14px;
    color: #FFF;
    position: relative;
    padding: 64px 24px 16px;

}
.footer_logo {
}
.footerBox {
    margin: 48px auto 64px;
    background: #0BA4AA;
}
.footer_area {
    padding: 56px 0 8px;
}
/* a.footer_logo を中央寄せ＆余白ゼロ化 */
.footer_logo {
  display: flex;
  justify-content: center;           /* 横中央 */
  align-items: center;               /* 縦中央（必要なら） */
  line-height: 0;            /* ベースライン余白をゼロ化 */
  font-size: 0;              /* 念のためテキスト由来の行高も無効化 */
}

/* 画像の余白を根絶 */
.footer_logo img {
  display: block;            /* インライン特有の余白を排除 */
  height: auto;
  max-width: 100%;
}
.footer ul {
  padding: 0;
  list-style: none;
  margin: 0 auto;
  text-align: center;
  font-size: 16px;
  line-height: 2.4;
}
.footer a {
  color: #FFF;
  text-decoration: none;
  position: relative;
  line-height: 2.0;
}

.footer .menu a::after {
position: absolute;
left: 0;
content: '';
width: 100%;
height: 2px;
background: #FFF;
bottom: -1px;               /*アンダーラインがaタグの下端から現れる*/
transform: scale(0, 1);     /*アンダーラインの縮尺比率。ホバー前はx方向に0*/
transform-origin: left top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の左端*/
transition: transform 0.3s; /*変形の時間*/
}

.footer .menu a:hover::after {
transform: scale(1, 1);     /*ホバー後、x軸方向に1（相対値）伸長*/
}

.footer hr {
  height: 1px;
  border: 0;
  border-top: 1px solid #FFF;
  margin-bottom: 0;
}
.footerInfo {
	margin: 48px auto;
}
.footer address {
  font-style: normal;
}

.footer__logo {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.footer__navi li {
  margin-bottom: 0.75rem;
}

.footer__address {
  margin-bottom: 2rem;
}

.footer__address a {
  text-decoration: underline;
}
.copyright {
	text-align: center;
	margin: 5px auto;
}
.footer__address a {
    text-decoration: none;
    pointer-events: none;
}

/***** 追尾ページTOP *****/
.back-to-top {
    position: fixed;
    bottom: 16px;
    right: 16px;
    display: none; /* 初期状態では非表示 */
    background-color: #0BA4AA;
    color: #fff;
    padding: 16px;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    z-index: 1000;
    line-height: 1.0;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s;
}

/* ホバー時のアニメーション */
.back-to-top:hover {
    background-color: #0BA4AA;
    transform: translateY(-10px) scale(1.1); /* 上に浮き上がり、少し大きくなる */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
	color: #FFFFFF;
}

/* ホバー時のスピンアニメーション */
.back-to-top:hover i {
    animation: spin 0.6s linear infinite; /* アイコンが回転 */
}

/* スピンアニメーションの定義 */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
/***** contactarea *****/
.ContactArea {
	background: #E2F6F3;
	text-align: center;
    padding: 64px 24px;
	position: relative;
	margin-top: 64px;
}
.contact-icon {
    width: 50px;
    height: auto;
}
.contact-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}
.contact-header h2 {
    letter-spacing: .2em;
    margin: auto;
    font-size: clamp(1.6rem, 3.0vw, 30px);
    background: inherit;
    border-left: 0;
    padding: inherit;
    font-weight: 600;
}

.Times {
	text-align: center;
	margin: 24px auto 0;
}

/***** gmap *****/
.gmap {
height: 0;
overflow: hidden;
padding-bottom: 56.25%!important;
position: relative;
min-height: 400px;
}
.gmap iframe {
position: absolute;
left: 0;
top: 0;
height: 100%;
width: 100%;
}


/********** メインビュースタイル **********/
.TopMv {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  position: relative;
}

.Mv-Main-Title p,
.Mv-Main-Text p,
.Mv-Main-Prof p {
  margin: 0;
}

.MvBox {
  position: absolute;
  bottom: 230px;
  padding: 24px;
}
#PageMv .MvBox {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 24px;
}

.Mv-Main-Title {
  background: #fff;
  border: 1px solid #000;
  font-size: 30px;
  font-weight: 700;
  padding: 16px;
  line-height: 1.4;
  z-index: 2;
  letter-spacing: .1em;
  margin-bottom: 16px;
  display: table;
}
.Mv-Main-Text {
  background: #fff;
  border: 1px solid #000;
  font-size: 26px;
  font-weight: 700;
  padding: 16px;
  line-height: 1.4;
  z-index: 2;
  letter-spacing: .1em;
  margin-bottom: 16px;
  display: table;
}
.Mv-Main-Prof {
  background: #fff;
  border: 1px solid #000;
  font-weight: 400;
  padding: 16px;
  line-height: 1.4;
  z-index: 2;
  margin-bottom: 16px;
  display: table;
}

.ProfName {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.TopMv .MvBtnArea {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0 0;
  justify-content: center;
  font-size: 18px;
}
.TopMv .MvBtnArea a {
  width: 100%;
  max-width: 250px;
  text-align: center;
  padding: 16px;
  border-radius: 50px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* ================================
   アニメ用ベース（FOUC防止）
   ※ <head> で <script>document.documentElement.classList.add('js');</script> を先出し
   ================================ */
.js .Mv-Main-Title p,
.js .Mv-Main-Prof p,
.js .Mv-Main-Text p {
  visibility: hidden; /* JSで順次visibleに */
}

/* 一文字アニメで必要：文字を包むspanは行内ブロックに */
.Mv-Main-Title span,
.Mv-Main-Title p span,
.Mv-Main-Prof span,
.Mv-Main-Prof p span {
  display: inline-block;
}

/* 文字ごとアニメ（Title / Profの各pで使用） */
.fade-in-char {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.6s ease forwards;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 4段目：本文（Mv-Main-Text）はまとめてフェード */
.Mv-Main-Text p {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.Mv-Main-Text p.is-show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
.MvBox {
	position:absolute;
	bottom: 0;
}
#pc-menu {
    width: 27vw;
    order: 1;
}
.pc-navigation {
    padding: 32px;
    width: 240px;
}
}
@media (max-width: 680px) {

.Mv-Main-Title {
    font-size: 20px;
}
.Mv-Main-Text {
    font-size: 18px;
}
.ProfName {
    font-size: 16px;
}
.ProfText {
	font-size: 14px;
}
.TopMv .MvBtnArea a {
	max-width: 200px;
}
}
@media (max-width: 480px) {

#PageMv .MvBox {
	position:absolute;
	bottom: 0;
}
.Mv-Main-Title {
    font-size: 16px;
	padding: 8px;
	margin-bottom: 8px;
}
.Mv-Main-Text {
	padding: 8px;
	margin-bottom: 8px;
}
.Mv-Main-Prof {
	padding: 8px;
	margin-bottom: 8px;
}
.ProfName {
    font-size: 14px;
}
.ProfText {
	font-size: 12px;
}
.TopMv .MvBtnArea a {
    font-size: 14px;
}
}

/***** よくある質問共通スタイル *****/
.faq-list{margin:24px 0}
.faq-item + .faq-item{margin-top:12px}
.faq-q{
    width: 100%;
    text-align: left;
    background: #E2F6F3;
    border: 1px solid #009A97;
    border-radius: 8px;
    padding: 14px 44px 14px 16px;
    position: relative;
    display: flex;
    gap: .5em;
    align-items: center;
    font-size: clamp(16px, 2.0vw, 18px);
    cursor: pointer;
    line-height: 1.3;
}
.faq-q:focus{outline:2px solid #009A97; outline-offset:0px}
.faq-q-label{color:#0BA4AA; font-weight:700; flex:none}
.faq-q-text{flex:1}
.faq-icon{
  position:absolute; right:12px; top:50%; transform:translateY(-50%);
  width:20px; height:20px;
}
.faq-icon::before, .faq-icon::after{
  content:""; position:absolute; left:0; top:50%; width:100%; height:2px; background:#009A97; transform:translateY(-50%);
}
.faq-icon::after{transform:translateY(-50%) rotate(90deg)}
.faq-q[aria-expanded="true"] .faq-icon::after{display:none}

.faq-a{
  background:#F9F9F9; border:1px solid #ddd; border-radius:0 0 8px 8px;
  padding:16px; margin-top:-8px;
}

/* PCはAを開く、SP(<=768)は閉じる：JSの初期化と合わせる */
@media (max-width:768px){
  .faq-a{display:none}
  .faq-q[aria-expanded="true"] + .faq-a{display:block}
}
@media (min-width:769px){
  .faq-a{display:block}
}

/***** ３列カード共通スタイル *****/
.CateArea ul {
	margin:0;
    list-style: none;
}
.jump-cards {
	display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px 2%;
    margin-bottom: 40px;
    padding: 0;
}
.jump-cards li {
	width: calc(33.16% - 8px);
    background-color: #ffffff;
    text-align: center;
    list-style: none;
}
.jump-cards li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
	padding: 16px;
    height: 100%;
    color: #029ca3;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #cce6f1;
    border-radius: 8px;
}
.jump-cards li a:hover {
	transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
}
.jump-cards li img {
    height: auto;
    margin-bottom: 8px;
}

@media (max-width:480px){
.jump-cards li {
	width: calc(50% - 8px);
}
}

/***** ３列カード共通スタイル2 *****/
.InternalLink {
	margin-top: 32px;
}

.InternalLink ul {
	margin:0;
    list-style: none;
}
.Internal-cards {
	display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 0;
}
.Internal-cards li {
	width: calc(33.3333% - 16px);
    background-color: #E2F6F3;
    text-align: center;
    list-style: none;
}
.Internal-cards li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
	padding: 16px;
    height: 100%;
    color: #029ca3;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #cce6f1;
    border-radius: 8px;
}
.Internal-cards li a:hover {
	transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
}
.Internal-cards li img {
    max-width: 200px;
    height: 150px;
    margin-bottom: 8px;
}

/****** ページリンク3列 *****/
.link-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px; /* 縦横の余白 */
  margin: 0 auto; /* センター寄せ */
}

.link-buttons a {
	display: flex;
    justify-content: center;
    align-items: center;
    background-color: #00a89b;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    transition: 0.2s;
	text-align: center;
	line-height:1.5;
    font-size: clamp(0.8rem, 2vw, 14px);
    min-height: 70px;
	transition: transform .2s ease;
}

.link-buttons a:hover {
	transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
}

@media (max-width:640px){
	
/***** ３列カード共通スタイル2 *****/
.Internal-cards li {
	width: calc(50% - 8px);
}
.Internal-cards li img {
    max-width: 200px;
    height: 90px;
    margin-bottom: 8px;
}
/****** ページリンク3列 *****/
.link-buttons {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
.link-buttons a {
    padding: 8px;
	min-height: 50px;
  }
}


/* =========================
   共通：カードUI（関連記事/ランキング共通）
   ========================= */
.ResultArea{
  overflow-x:auto;
  margin-bottom:32px;
}
.Cards-scroll{
  display:flex;
  flex-direction:row;
  gap:16px;
}
.Card{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
/* a要素を直指定でも .CardLink でもOKに */
.Card a,
.CardLink{
  min-width:240px;
  max-width:280px;
  background:#fff;
  border-radius:12px;
  box-shadow:0 2px 8px #00000014;
  padding:16px;
  transition:all .2s ease;
  text-decoration:none;
  color:#333; /* 念のため */
}
.Card a:hover,
.CardLink:hover{
  box-shadow:0 4px 16px #00000029;
  transform:translateY(-1px);
  opacity:.9;
}
.Card img{
  width:100%;
  height:160px;
  object-fit:contain;
  display:block;
  border-radius:8px;
  margin-bottom:12px;
  background:#f5f5f5;
}
.Card a h3,
.CardLink .article-title{
  font-size:16px;
  color:#333;
  font-weight:500;
}

/* =========================
   ランキング専用（.Results--ranking 配下）
   ========================= */
.Cards--ranking{
  counter-reset:rank;
}
.Card--ranking{
  position:relative;
}
/* ランキングはサムネ見栄え重視で cover に上書き */
.Results--ranking .Card--ranking img{
  object-fit:cover;
}
/* CardLinkにしている場合も反映（ベースと同じ見た目に） */
.Results--ranking .Card--ranking .CardLink{
  position:relative;
  display:block;
}

/* 順位バッジ（1〜3位色替え） */
.rank-badge{
  position:absolute;
  top:8px;
  left:8px;
  width:32px;
  height:32px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  font-weight:700;
  font-size:15px;
  color:#fff;
  background:linear-gradient(135deg,#ffb300,#ff8f00);
  box-shadow:0 2px 6px rgba(0,0,0,.2);
}
.Card--ranking:nth-child(1) .rank-badge{
  background:linear-gradient(135deg,#fdd835,#fbc02d); /* gold */
}
.Card--ranking:nth-child(2) .rank-badge{
  background:linear-gradient(135deg,#cfd8dc,#b0bec5); /* silver */
}
.Card--ranking:nth-child(3) .rank-badge{
  background:linear-gradient(135deg,#ffb74d,#fb8c00); /* bronze */
}

/* タイトル＆メタ（ランキング用の微調整） */
.Results--ranking .Card--ranking .article-title{
  font-size:16px;
  font-weight:600;
  margin-bottom:6px;
  line-height:1.4;
}
.Results--ranking .Card--ranking .article-meta{
  font-size:13px;
  color:#757575;
}

/***** コラム一覧カード表示 *****/
/* Cards */
.c-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
}
.c-card { border: 1px solid #eee; border-radius: 8px; overflow: hidden; background: #fff; }
.c-card__link { display: block; text-decoration: none; color: inherit; }
.c-card__thumb { aspect-ratio: 16 / 9; background: #fafafa; overflow: hidden; }
.c-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.c-card__noimg { width: 100%; height: 100%; background: linear-gradient(180deg, #fafafa, #f2f2f2); }
.c-card__body { padding: 16px; }
.c-card__title {
	margin: 0 0 8px;
	color: #505050;
    border-bottom: 0;
}
.c-card__meta { font-size: 12px; color: #666; margin-bottom: 10px; display: flex; gap: .5em; flex-wrap: wrap; }
.c-card__date { white-space: nowrap; }


/* 記事一覧ページ */

.ArcArea {
    padding: 16px;
	background: #F7F7F7;
    border-radius: 8px;
    padding: 24px;
}
.post-grid {
  display: block;
  list-style: none; /* リストマーカーを削除 */
  padding: 0; /* パディングを削除 */
  margin: 24px auto 0;
}

.post-item {
	margin-bottom: 16px;
    box-sizing: border-box;
    /* box-shadow: 0 1px 3px rgba(0, 0, 0, .16); */
	position: relative;
}
.post-item > a{
	position: relative;
    box-sizing: border-box;
	text-decoration: none; /* リンクの下線を削除 */
	display: block;
    padding: 16px 40px 16px 16px;
    background: #FFF;
    border-radius: 8px;
    /* box-shadow: 0 1px 3px rgba(0, 0, 0, .16); */
    border: 1px solid #D9D9D9;
	text-decoration: none;
	transition: opacity 0.5s ease, transform 0.5s ease;
}
.post-item > a:hover {
    box-shadow: 0 1px 3px rgba(0, 0, 0, .16);
    transform: translateY(-1px);
    opacity: 0.9;
}
.external-icon {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.post-item > a:hover .external-icon {
  opacity: 1;
}
.post-item h3 {
    font-size: clamp(1.0rem, 2vw, 16px);
    font-weight: 600;
	margin: 0;
	border-bottom: 0;
	color: #505050;
}
.post-date {
    font-size: clamp(0.6rem, 0.8vw, 08rem);
	color: #00AE9A;
}
.post-tags {
  margin-top: 10px;
  font-size: 14px;
}

.post-tags a {
    font-size: clamp(0.6rem, 0.8vw, 08rem);
  background-color: #C9A22A;
  padding: 5px;
  border-radius: 3px;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 5px;
}

.post-tags a:hover {
  background-color: #ccc;
}

/* ページネーション */
.pagination {
    margin: 24px auto;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.nav-links {
    display: flex;
}
.pagination .page-numbers {
    display: inline-block;
    margin-right: 10px;
    padding: 10px 14px;
    color: #0f1419;
    border-radius: 30px;
    background: #fff;
    border: 1px solid #00AE9A;
	line-height: 1.0;
}
.pagination .current {
    background: #00AE9A;
    color: #fff;
}
.pagination .prev,
.pagination .next {
    background: transparent;
    box-shadow: none;
    color: #00AE9A;
}
.pagination .dots {
    background: transparent;
    box-shadow: none;
    border: none;
}

@media screen and (max-width: 800px) {
  .post-item {
    flex: 0 0 calc(50% - 20px); /* 画面が小さいときは2列 */
  }
}

@media screen and (max-width: 500px) {
  .post-item {
    flex: 0 0 100%; /* さらに小さい画面では1列表示 */
  }
}
.tag-cloud {
	margin-top: 8px;

}
.tag-cloud a {
    display: inline-block;
    padding: 5px 10px;
    background-color: #00AE9A;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-size: clamp(10px, 2vw, 12px);
    transition: all 0.2s ease;
}

.tag-cloud a:hover {
transform: translateY(-1px);
    opacity: 0.9;
}

.Single {
	padding: 0 40px;
    position: relative;
    margin-top: 64px;
}


.entry {
	margin: 32px 0;
}

.Single h1 {
	font-size: clamp(1.4rem, 3.0vw, 23px);
    margin: 0 auto 24px;
    font-weight: 600;
	letter-spacing: .1em;
}
mark,
.highlight{
	font-weight:bold; background:#DDF4AA;
}
.heading-31 {
    position: relative;
    padding: 0 0 0 1.5rem;
    border-bottom: 3px solid #0BA4AA;
    color: #333;
}

.heading-31::before {
    position: absolute;
    top: 0;
    left: .3em;
    transform: rotate(55deg);
    height: 11px;
    width: 12px;
    background: #0BA4AA;
    content: '';
}

.heading-31::after {
    position: absolute;
    transform: rotate(15deg);
    top: .6em;
    left: 0;
    height: 8px;
    width: 8px;
    background: #5EC8C8;
    content: '';
}

/* カテゴリーのスタイル */
.post-categories {
    margin: 24px 0;
    text-align: left;
}
.category-list {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 8px;
    margin: 0;
}
.category-item a {
    display: inline-block;
    padding: 5px 10px;
    background-color: #00AE9A;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
	font-size:  clamp(10px, 2vw, 12px);
    transition: all 0.2s ease;
}
.category-item a:hover {
  transform: translateY(-1px); /* 少し浮かせる */
  opacity: 0.9; /* 少しトーンダウンで反応感 */
}

/* タグのスタイル */
.post-tags {
    margin-top: 20px;
    text-align: left;
}
.tag-list {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
	margin: 0 auto;
}
.tag-item a {
	display: inline-block;
    padding: 4px 8px;
    background-color: #D9D9D9;
    color: #333;
    border-radius: 50px;
    text-decoration: none;
    font-size: clamp(10px, 2vw, 12px);
    transition: all 0.2s ease;
}
.tag-item a:hover {
  transform: translateY(-1px); /* 少し浮かせる */
  opacity: 0.9; /* 少しトーンダウンで反応感 */
}

/* ======================================================
   TABLE（ビジュアル＆スマホ対応）
   ====================================================== */

/* 横スク対応コンテナ */
 .table-wrap {
overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 24px 0;
}
 .table-wrap:focus {
  outline: 2px solid #cde;
  outline-offset: 2px;
}

/* テーブルベース */
 table.tbl {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px; /* 狭い画面で横スク発生 */
  background: #fff;
}
 .tbl caption {
  caption-side: top;
  text-align: left;
  font-weight: 600;
  margin: 8px;
}

/* 共通セル */
 .tbl th,
 .tbl td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
  vertical-align: middle;
}

/* ヘッダー：淡い水色 */
 .tbl thead th {
  background: #e3f6f6;
  color: #111;
  font-weight: 700;
  text-align: left;
  border: 1px solid #cfe9e9;
  padding: 8px;
  position: sticky; /* スクロール時ヘッダー固定 */
  top: 0;
  z-index: 2;
}

/* 行見出し（1列目） */
 .tbl th[scope="row"] {
  background: #fcfcfc;
  font-weight: 600;
  white-space: nowrap;
}

/* 交互背景 */
 .tbl tbody tr:nth-child(odd) td,
 .tbl tbody tr:nth-child(odd) th[scope="row"] {
  background: #fafafa;
}

/* 🟩 バリエーション（薄オレンジヘッダー） */
.tbl-orange thead th {
  background: #FFEEDB;
  border-color: #FFD099;
}

/* テキスト補助 */
 .u-bold { font-weight: 700; }
 .u-center { text-align: center; }
 .u-nowrap { white-space: nowrap; }

/* スクロールバー見やすく */
.table-wrap::-webkit-scrollbar {
  height: 6px;
}
.table-wrap::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

/* 緑リスト */
.list-green {
  background-color: #E2F6F3;
  border-radius: 8px;
  padding: 24px;
  list-style: none; /* デフォルトのドットを消す */
  margin: 24px 0;
}

.list-green li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 2em;
  font-weight: bold;
}
.list-green li:last-child {
  margin-bottom: 0px;
}
/* アイコン指定部分 */
.list-green li::before {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 20px;
  background: url('https://makotonew.hptest.work/wp-content/themes/tm_02/img/listcheck1.png') no-repeat center;
  background-size: contain;
}

/* オレンジリスト */
.list-orange {
  background-color: #FFEEDB;
  border-radius: 8px;
  padding: 24px;
  list-style: none;
  margin: 24px 0;
}

.list-orange li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 2em;
  font-weight: bold;
}
.list-orange li:last-child {
  margin-bottom: 0px;
}
.list-orange li::before {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 20px;
  background: url('https://makotonew.hptest.work/wp-content/themes/tm_02/img/listcheck2.png') no-repeat center;
  background-size: contain;
}
/* 赤リスト */
.list-red {
  background-color: #FFD4D4;
  border-radius: 8px;
  padding: 24px;
  list-style: none; /* デフォルトのドットを消す */
  margin: 24px 0;
  color: #FF0000;

}

.list-red li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 2em;
  font-weight: 400;
  font-size: clamp(0.7rem, 2vw, 12px);
}
.list-red li:last-child {
  margin-bottom: 0px;
}

/* ナンバーリスト */
/* 角丸バッジ付きの番号リスト - 緑 */
ol.numlist-green {
  list-style: none;             /* 既定の番号は消す */
  margin: 1em 0;
  padding-left: 0;
  counter-reset: num;           /* カウンター初期化 */
}
ol.numlist-green > li {
	position: relative;
    counter-increment: num;
    padding-left: 4em;
    margin: 0 0 16px;
	border-bottom: 1px dotted #00AE9A;
    padding-bottom: 8px;
    min-height: 60px;
}
ol.numlist-green > li::before {
	content: counter(num);
    position: absolute;
    left: 0;
    top: 0.1em;
    width: 2em;
    height: 2em;
    line-height: 1.8;
    text-align: center;
    font-weight: 700;
    color: #fff;
    background: #05b3a6;
    border-radius: 8px;
    box-shadow: 0 0 0 0.5px rgba(0, 0, 0, .06);
    font-size: clamp(1.2rem, 3.0vw, 20px);
}


/* アイコン指定部分 */
.list-red li::before {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 20px;
  background: url('https://makotonew.hptest.work/wp-content/themes/tm_02/img/listcheck3.png') no-repeat center;
  background-size: contain;
}
/* 担当者コメント枠 */
.staff-comment{
  background: #F8FFD3;
  border: 2px solid #E0FD48;
  border-radius: 12px;
  padding: 24px;
  position: relative;
  margin: 60px 0 24px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.03);
}

/* 画像バッジ：左上に少し被せる */
.staff-comment::before{
  content: "";
  position: absolute;
  left: -8px;
  top: -40px;
  width: 60px;
  height: 60px;
  background: url('https://makotonew.hptest.work/wp-content/themes/tm_02/img/icon-chara01.png') no-repeat center / contain;
  pointer-events: none;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.06));
}

/* ラッパー（段落上下の余白を統一） */
.blog-link-wrap { margin: 16px 0; }

/* 記事リンクボタン */
.blog-link-btn {
    display: inline-block;
    width: 100%;
    text-align: left;
    padding: 16px;
    border-radius: 50px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    max-width: 100%;
    transition: all 0.3s ease;
    background: #D9D9D9;
}
.blog-link-btn:hover {
	transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
}

@media (max-width: 680px) {
   .tbl th,
   .tbl td {
    font-size: 14px;
  }
}
#Policy {
	background: #FFF;
}
#PolicyAreas {
    background: #E6F8F9;
}

#Policy ol,
#Policy ul {
	margin: 0;
    padding: 0;
}
#Policy ol li,
#Policy ul li {
    list-style: none;
}
#Policy dt {
    margin: 24px auto;
}
#Policy dd {
    margin: 0;
    padding: 0 0 0 1rem;
}

/****** Authorセクション ******/
#Author {
	border: 1px solid #009A97;
    box-sizing: border-box;
}
#Author h2 {
	margin: 0;
    background: #009A97;
    color: #FFF;
	margin-bottom: 16px;
}
.Author {
	display: flex;
    gap: 24px;
    margin: 16px;
}
.Author figure {
    margin: 0;
}
.AuthorName {
    font-size: clamp(1.2rem, 3.0vw, 20px);
    font-weight: 700;
    margin-bottom: 0;
    display: block;
	color: #009A97;
	
}
.AuthorQualification {
    margin-bottom: 16px;
    font-weight: 700;
}
.AuthorComment {
	border: 1px solid #999;
    padding: 8px;
    font-size: clamp(0.8rem, 2vw, 14px);
}
.history {
	margin-top: 32px;
}
/* ベース */
.history dl {
  display: grid;
  grid-template-columns: max-content 1fr; /* 左=年号（幅は内容ぶん） 右=本文 */
  column-gap: 16px;
  row-gap: 14px;
  margin: 0;
}

/* 年号バッジ */
.history dt {
  align-self: start;
  margin: 0;
  text-align: center;
  padding: 8px 16px;
  background: #d9d9d9;
  border-radius: 50px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;           /* 折り返さない */
}

/* 本文 */
.history dd {
  grid-column: 2;                /* 常に右カラムへ */
}

/* 見た目の詰まりを抑える（長文でも読みやすく） */
.history dd + dt { margin-top: 6px; }

/* ダーク背景用（必要なら） */
/*
.Post-Profile .history dt { background:#e0e0e0; color:#111; }
*/

/* SPでの余白最適化（任意） */
@media (max-width: 480px) {
  .history dl { column-gap: 12px; row-gap: 12px; }
  .history dt { padding: 6px 10px; font-size: 13px; }
  .history dd { font-size: 14px; }
}
