@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Darumadrop+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@100;300;400;500;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@300;400;500;700;900&display=swap');


/** 定数の設定 **/
:root {
  --footer-h: 60px;
  --border: rgba(0,0,0,.08);
  --shadow: 0 10px 30px rgba(0,0,0,.12);
  --link-color: #000000;
  --link-color-focus: #818181;

  /* ===== メニュー（PC）見た目 ===== */
  --menu-max-w: 900px;                 /* 中央900px */
  --menu-pad-x: 28px;
  --menu-pad-y: 24px;

  --menu-surface: rgb(255 236 96);     /* 中央メニュー面の色 */
  --menu-overlay: rgba(0,0,0,.35);     /* 全画面背景色（暗幕） */
}

/** 共通 **/
html {
  scroll-behavior: smooth;
  background-color: rgb(255 224 0 / 10%);
}
html:has(.cms-public), body:has(.cms-public) {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 24.5px;
  margin: 0px;
}

figure { margin: 0px; }

a {
  color: #336699;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  text-decoration-color: currentColor;
  transition: text-decoration-color 150ms ease;
}
a:focus-visible {
  text-decoration-color: transparent;
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
a:hover,
a:focus {
  text-decoration-color: transparent;
}

img { vertical-align: bottom; }

.image_listitem a { transition: 0.3s; }
.image_listitem a:hover,
.image_listitem a:focus { opacity: 0.8; }

body:not(.dev-mb) .cms-public .list li > img {
  top: unset;
  transform: translateY(-25%);
}

.cms-public .image figcaption:has(ruby) { padding-top: 10px; }

.cms-public .table {
  margin: 0px 10px 1em;
  overflow: auto;
  white-space: nowrap;
}
.cms-public .table table th,
.cms-public .table table td {
  padding: 10px 10px 0px;
}
.cms-public .table table tr th { background-color: #ffeccf; }

body:not(.dev-mb) .cms-public .list li > img,
body:not(.dev-mb) .cms-public .list dt > img,
body:not(.dev-mb) .cms-public .list li > span > img,
.cms-public .title-list .title a > img {
  top: 0;
  transform: translateY(-45%);
}

.cms-public .title-list,
.cms-public .title-list .no-index { border: none; }

/* 段組リスト */
.list-style-table { width: unset !important; }

/* safariのルビと本文の間を縮める */
@supports (-webkit-touch-callout: none){
  ruby rt{
    transform: translateY(0.5em);
  }
}

/* ==========================================================
 * 下固定フッター
 * ========================================================== */

.footerbar{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: var(--footer-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(255 224 0);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(12px);
  overflow: visible !important;
}

.footerbar__inner{
  width: min(980px, 100%);
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.footerbar__inner > div{
  display: flex;
  width: 100%;
}

.footerbar__inner .block > .html{
  display: flex;
  align-items: center;
}
.footerbar__inner .block > .html > div{ flex: 1; }

.footerbar__inner .block > .html > div.logo{
  text-align: center;
}
.footerbar__inner .block > .html > div.logo img{
  background-color: #ffffff;
  border-radius: 99px;
  height: 56px;
}

.footerbar__inner .block > .html > div:nth-child(3){
  text-align: right;
}

.topBtn{
  appearance: none;
  color: #000000;
  font-weight: 500;
  font-size: 16px;
  line-height: 1em;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  height: 50px;
  min-width: 44px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  text-decoration-color: transparent;
}
.topBtn img{ width: 20px; }

.area3:not(.top-area3):has(> *) > :last-child {
  margin-bottom: calc(var(--footer-h) + 30px);
}

/* ==========================================================
 * ハンバーガー
 * ========================================================== */

.menuBtn{
  appearance: none;
  color: #000000;
  border: 1px solid var(--border);
  background: #fff;
  height: 50px;
  min-width: 44px;
  line-height: 1em;
  padding: 5px 10px 0px;
  display: inline-flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.menuBtn:focus-visible{
  outline: 3px solid rgba(0,0,0,.18);
  outline-offset: 2px;
}
.menuBtn__label {
  font-size: 10px;
  font-weight: 700;
}

.burger{
  width: 30px;
  height: 26px;
  position: relative;
  display: inline-block;
}
.burger span{
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 2px;
  background: #111;
  transition: transform 220ms ease, top 220ms ease, opacity 160ms ease;
}
.burger span:nth-child(1){ top: 0; }
.burger span:nth-child(2){ top: 11px; }
.burger span:nth-child(3){ top: 21px; }

body.menu-open .burger span:nth-child(1){ top: 9px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2){ opacity: 0; }
body.menu-open .burger span:nth-child(3){ top: 9px; transform: rotate(-45deg); }

/* ==========================================================
 * メニューオーバーレイ（全画面背景色 + 中央800px）
 *  - フッターは除外（フッターの×で閉じる）
 *  - スクロールは overlay 内で発生
 *  - “浮き・拡大・カード影”を抑えてポップアップ感を消す
 * ========================================================== */

.menuOverlay{
  position: fixed !important;
  width: calc(100% - 10px);
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: var(--footer-h) !important;  /* フッターは残す */

  z-index: 99999 !important;

  /* 全画面背景色 */
  background: var(--menu-overlay);

  /* 中央800pxを置くための外枠 */
  display: block;
  padding: 5px 5px;                 /* 端の余白（PCでも少し余白） */
  box-sizing: border-box;

  /* 中身が多い時はここで縦スクロール */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 200ms ease, visibility 0s linear 200ms;
}

body.menu-open .menuOverlay{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 200ms ease, visibility 0s linear 0s;
}

/* 中央の“メニュー面” */
.menuPanel{
  width: min(var(--menu-max-w), 100%);
  margin: 0 auto;

  background: var(--menu-surface);

  /* ポップアップ感を消すため：角丸は残してもOKだが“カード影”は付けない */
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 18px;
  box-shadow: none;
  transform: none;
  transition: none;

  padding: var(--menu-pad-y) var(--menu-pad-x);
  box-sizing: border-box;
}

/* 見出し（いまはフォントサイズ0のままでもOK） */
.menuPanel__title{
  font-size: 0;
  margin: 0 0 10px 0;
}

/* グリッド（PC=2列。SPは別CSSで1列にする想定） */
.menuGrid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px 12px;
  margin-top: 10px;
}

/* メニュー項目 */
.menuItem{
  padding: 0;
  text-decoration: none;
  color: #ffffff;
  background: transparent;
  border-radius: 18px;
  display: block;

  transform: translateY(0);
  transition:
    transform 140ms cubic-bezier(.4,0,.2,1),
    filter 140ms ease;
}

.menuItem__label{
  margin: 0;
  padding: 16px 14px;
  font-weight: 800;
  text-align: center;

  /* ===== オレンジ系 ===== */
  background: #eb8a45;
  color: #ffffff;

  border-radius: 18px;

  /* ===== 3D感（オレンジ用） ===== */
  box-shadow:
    0 10px 0 #c66f34,            /* オレンジの台座 */
    0 14px 20px rgba(0,0,0,.18); /* 落ち影 */

  position: relative;
  overflow: hidden;

  transition:
    box-shadow 160ms cubic-bezier(.4,0,.2,1),
    background 160ms ease;
}

/* ===== ホバー：浮く ===== */
.menuItem:hover{
  transform: translateY(-2px);
}
.menuItem:hover .menuItem__label{
  box-shadow:
    0 12px 0 #c66f34,
    0 20px 26px rgba(0,0,0,.22);
}

/* ===== フォーカス ===== */
.menuItem:focus-visible{
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

/* ===== 押下：沈む ===== */
.menuItem:active{
  transform: translateY(6px);
}
.menuItem:active .menuItem__label{
  box-shadow:
    0 4px 0 #c66f34,
    0 8px 12px rgba(0,0,0,.18);
}

/* 動きが苦手な人向け */
@media (prefers-reduced-motion: reduce){
  .menuItem,
  .menuItem__label{
    transition: none !important;
  }
}

/* 住所ブロック */
.menu-address{
  text-align: center;
  background-color: #ffffff;
  border-radius: 20px;
  margin-top: 50px;
}

/* メニュー住所：長い英数字がはみ出さないようにする */
.menu-address,
.menu-address *{
  box-sizing: border-box;
}

.menu-address{
  max-width: 100%;
}

.menu-address .list-style-ul-def{
  padding-left: 0;        /* 余白が原因で幅を食う場合の保険 */
  margin-left: 0;
}

.menu-address .list-style-white-space{
  max-width: 100%;
  overflow-wrap: anywhere; /* email等を強制的に折り返す（最強） */
  word-break: break-word;  /* 古いブラウザ向け保険 */
}

/* メニュー開いている間は背景スクロール停止 */
body.menu-open{
  overflow: hidden;
  touch-action: none;
}

/* 動きが苦手な人にはアニメ無し */
@media (prefers-reduced-motion: reduce){
  .menuOverlay, .burger span, .menuItem{
    transition: none !important;
  }
}

/** 見出し **/
body:not(.dev-mb) .cms-public .heading h1,
body:not(.dev-mb) .cms-public .heading h2,
body:not(.dev-mb) .cms-public .heading h3,
body:not(.dev-mb) .cms-public .heading h4,
body:not(.dev-mb) .cms-public .heading h5 {
  font-weight: 400;
  font-style: normal;
  background: transparent;
  border: none;
  text-align: center;
  color: #000000;
}

/* ===== h1を含む.heading だけヒーロー化 ===== */
.area1 .heading:has(h1) {
  position: relative;
  width: 100%;
  height: 400px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.area1 .heading:has(h1)::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: url(/man/file/img/1031529.png) left center / cover no-repeat;
  z-index: 0;
  border-radius: 0px 0px 50% 50%;
  opacity: 0.8;
}
/* 見出し文字 */
.area1 .heading:has(h1) h1 {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff;
/*  font-family: "Darumadrop One", sans-serif; */
/*  font-family: "Zen Maru Gothic", sans-serif; */
  font-weight: 700 !important;
  font-style: normal !important;
  text-align: center;
  text-shadow: 0 4px 12px rgba(0,0,0,.45);
  position: relative;
  z-index: 1;
}
.area1 .heading:has(h1) h1 > span:not(:has(span)),
.area1 .heading:has(h1) h1 > span > span {
  color: rgb(255 224 0);
  max-width: min(1200px, 90vw);
  margin-inline: auto;
  font-size: clamp(24px, 4vw, 100px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: -3px -3px 0 #4a3a00, 3px -3px 0 #4a3a00, -3px 3px 0 #4a3a00, 3px 3px 0 #4a3a00, 0 -3px 0 #4a3a00, 0 3px 0 #4a3a00, -3px 0 0 #4a3a00, 3px 0 0 #4a3a00;
  padding: 0px 65px 8px;
  border: 3px solid #4a3a00;
  border-radius: 40px;
  background-color: #ffffff;
}
.area1 .heading:has(h1) h1 > span > span{
  padding: 14px 65px 0px;
}
body:not(.dev-mb) .cms-public .heading h1 ruby > rt {
  font-size: 18px;
  color: #4a3a00;
  text-shadow: none;
  text-align: center;
}

body:not(.dev-mb) .cms-public .heading time {
  right: 15px;
  bottom: -0.5em;
}

/* ==========================================================
 * article-area1：ulに背景（背景だけopacity 0.8）、liに枠＋縁取り文字（中央配置）
 * HTML:
 * <ul class="list-style-ul-def"><li class="list-style-white-space">おしらせ</li></ul>
 * ========================================================== */

/* ---------- 0) 余白リセット（横幅いっぱいにするため） ---------- */
.area1 .article-area1 figure{ margin: 0; }

.area1 .article-area1 ul.list-style-ul-def{
  margin: 0;
  margin-bottom: 30px;
  padding: 0;
  list-style: none;

  width: 100%;
  min-height: 400px;

  /* 下だけ丸く＋はみ出しを切る */
  border-radius: 0 0 50% 50%;
  overflow: hidden;

  /* li（文字ラベル）を上下左右中央へ */
  display: flex;
  align-items: center;
  justify-content: center;

  /* 背景だけを薄くするための土台 */
  position: relative;
}

/* ---------- 1) ul背景画像（背景だけ opacity:0.8） ---------- */
.area1 .article-area1 ul.list-style-ul-def::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;

  background: url(/man/file/img/1031529.png) left center / cover no-repeat;
  opacity: 0.8;
}

/* ---------- 2) li：枠＋文字（縁取り3px） ---------- */
.area1 .article-area1 ul.list-style-ul-def > li.list-style-white-space{
  margin: -8px 0px 0px;
  padding: 12px 65px 20px;
  background: #ffffff;
  border: 3px solid #4a3a00;
  border-radius: 40px;
  font-weight: 700;
  font-style: normal;
  text-align: center;
  color: rgb(255 224 0);
  font-size: clamp(24px, 4vw, 100px);
  line-height: 1.1;

  text-shadow:
    -3px -3px 0 #4a3a00,
     3px -3px 0 #4a3a00,
    -3px  3px 0 #4a3a00,
     3px  3px 0 #4a3a00,
     0  -3px 0 #4a3a00,
     0   3px 0 #4a3a00,
    -3px  0   0 #4a3a00,
     3px  0   0 #4a3a00;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  /* 背景より前面へ */
  position: relative;
  z-index: 1;
}

/* ---------- 3) スマホ調整（任意） ---------- */
@media screen and (max-width: 799.99px){
  .area1 .article-area1 ul.list-style-ul-def{
    min-height: 260px;
  }
  .area1 .article-area1 ul.list-style-ul-def > li.list-style-white-space{
    padding: 12px 28px 8px;
    border-radius: 28px;
  }
}


body:not(.dev-mb) .cms-public .heading h2,
body:not(.dev-mb) .cms-public .heading h3,
body:not(.dev-mb) .cms-public .heading h4,
body:not(.dev-mb) .cms-public .heading h5,
body:not(.dev-mb) .cms-public .heading h6 {
  color: #db5319;
  font-weight: 800;
  text-align: center;
  border: none;
  padding: 0;
  margin: 0 0 0 10px;
}
body:not(.dev-mb) .cms-public .heading h2 {
  font-size: 1.8rem;
  margin-top: 20px;
  margin-bottom: 15px;
}
body:not(.dev-mb) .cms-public .heading h3 {
  font-size: 1.5rem;
  margin-top: 15px;
}
body:not(.dev-mb) .cms-public .heading h4 { font-size: 1.2rem; }
body:not(.dev-mb) .cms-public .heading h4::after { content: none; }
body:not(.dev-mb) .cms-public .heading h5 { font-size: 1.1rem; }

/** タイトルリスト **/
.cms-public .news a,
.cms-public .form-list a { color: var(--link-color); }
.cms-public .news  .title-list .tab ul li,
.cms-public .form-list .title-list .tab ul li {
  border-top: 1px solid #000000;
  padding: 10px 10px;
}
.cms-public .news  .title-list .tab ul li:nth-child(1),
.cms-public .form-list .title-list .tab ul li:nth-child(1) { border-top: none; }

/** リスト **/
.cms-public .area3 .list > figure > ul {
  width: calc(100% - 30px);
  margin: 10px 0 10px 10px;
  list-style: none;
}
.cms-public .area3 .list > figure > ol {
  width: calc(100% - 30px);
  margin: 10px 0 10px 10px;
}
.cms-public .area3 .list > figure > ul li {
  position: relative;
  padding-left: 30px;
}
.cms-public .area3 .list > figure > ol li {
  position: relative;
  margin-left: 40px;
  text-indent: 0;
}
.cms-public .area3 .list > figure > ul li::before {
  content: '';
  display: inline-block;
  position: absolute;
  top: 0.5em;
  left: 10px;
  width: 10px;
  height: 10px;
  background-color: #ff9900;
  border-radius: 5px;
}
.cms-public .area3 .list > figure > ul li:has(ruby)::before { top: calc(0.5em + 5px); }
.cms-public .area3 .list > figure > ol li::before {
  position: absolute;
  top: 0.25em;
  left: -2em;
}
.cms-public .area3 .list > figure > ul.list-style-ul-def li { padding-left: 0px; }
ol.list-style-parenthesized { margin: 0; }
ol.list-style-parenthesized li.parenthesized { text-indent: 0.5em; }
.cms-public .area3 .list > figure > ul.list-style-ul-def li::before { content: none; }

.cms-public .title-list .paging a { border: none; }
.cms-public .title-list .paging a span { color: var(--link-color) !important; }

.cms-public .title-list .tab ul li {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  column-gap: 10px;
}
.cms-public .title-list .tab ul.totaling li time {
  position: relative;
  min-width: 9.5em;
}

/** リスト リンク **/
.link ul {
  display: flex;
  justify-content: center;
}
.link.right ul { justify-content: right; }

.link ul li a {
  display: flex;
  justify-content: center;
  color: #ffffff !important;
  text-align: center;
  text-decoration: none;
  padding: 12px 35px 7px 35px;
  background-color: var(--link-color);
  border-radius: 50px;
  transition: 0.3s;
}
.link ul li:has(> img):not(:has(> img + img)) > a { padding-right: 65px; }
.link ul li:has(> img + img) > a { padding-right: 85px; }

.link ul li a:hover,
.link ul li a:focus { background-color: var(--link-color-focus); }

.form-list .link { margin-bottom: -25px; }

.link ul li a + img,
.link ul li a + img + img {
  filter: brightness(0) saturate(100%) invert(99%) sepia(83%) saturate(269%) hue-rotate(166deg) brightness(111%) contrast(101%);
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.link ul li img:last-of-type { right: 40px; }
.link ul li img:nth-last-of-type(2) { right: 60px; }

.cms-public .area3 .block.btn_style { margin: 15px 0px; }

.cms-public .area3 .block.btn_style .list > figure > ul li a {
  color: #ffffff;
  padding: 13px 40px;
  background-color: var(--link-color);
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s;
}
.cms-public .area3 .block.btn_style .list > figure > ul li a:focus,
.cms-public .area3 .block.btn_style .list > figure > ul li a:hover {
  background-color: var(--link-color-focus);
}

/** お問い合わせブロック **/
.cms-public .contact {
  width: calc(100% - 20px);
  margin: 10px 5px !important;
  padding: 10px !important;
}
.cms-public .contact .contact_title { margin: 0px 0 10px 0px; }

/** 目次(ol),リンク一覧(ul) **/
body:not(.dev-mb) .cms-public .clip-area .heading h2 {
  color: #000000;
  text-align: center;
  font-size: 2em;
  font-weight: 500;
  margin-bottom: 20px;
  margin-left: 0px;
}
.clip-area ol { padding-left: 0em !important; }
.clip-area ol li,
.clip-area ul li {
  position: relative;
  margin-bottom: 10px;
}
.clip-area ol li::after,
.clip-area ul li::after {
  position: absolute;
  bottom: -4px;
  left: -2em;
  content: "";
  width: calc(100% + 2em);
  height: 1px;
  background-color: #dcdcdc;
}
.clip-area ul li::after {
  width: 100%;
  left: 0;
}
.clip-area ul li a,
.clip-area ol li a { color: var(--link-color); }

.clip-area.kodomo-rights > .note {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 15px;
  grid-row-gap: 0px;
}
.clip-area.kodomo-rights > .note > div:nth-child(1) { grid-area: 1 / 1 / 2 / 3; }
.clip-area.kodomo-rights > .note > div:nth-child(2) { grid-area: 2 / 1 / 3 / 2; align-self: end; }
.clip-area.kodomo-rights > .note > div:nth-child(3) { grid-area: 3 / 1 / 4 / 2; }
.clip-area.kodomo-rights > .note > div:nth-child(4) { grid-area: 2 / 2 / 3 / 3; align-self: end; }
.clip-area.kodomo-rights > .note > div:nth-child(5) { grid-area: 3 / 2 / 4 / 3; }

/** サイトマップ **/
.cms-public .sitemap .menu-sitemap ul { list-style: none; }
.cms-public .sitemap .menu-sitemap > ul >li { margin-bottom: 30px; }
.cms-public .sitemap ul ul li {
  position: relative;
  padding-left: 30px;
}
.cms-public .sitemap ul ul li::before {
  content: '';
  display: inline-block;
  position: absolute;
  top: 0.5em;
  left: 10px;
  width: 10px;
  height: 10px;
  background-color: #ff9900;
  border-radius: 5px;
}
.cms-public .sitemap ul ul li:has(ruby)::before { top: 0.75em; }
.cms-public .sitemap .menu-sitemap a { color: #336699; }
.cms-public .sitemap .menu-sitemap > ul > li > a {
  color: #db5319;
  border-bottom: none;
  display: inline-block;
  padding-left: 10px;
}
.cms-public .sitemap .menu-sitemap > ul > li > a:hover,
.cms-public .sitemap .menu-sitemap > ul > li > a:focus {
  text-decoration-color: transparent;
}

/* フォーム */
.form-area .submit > input {
  padding: 10px 20px;
  color: #ffffff;
  background-color: var(--link-color);
  border-radius: 100px;
  border: none;
  transition: 0.2s;
}
.form-area .submit > input:hover,
.form-area .submit > input:focus {
  background-color: var(--link-color-focus);
}

/* =========================================================
   link-div_01：ラベンダー統一＋左右ストライプ（カード高だけ揃える）
   - hover時もborder色は変えない
   - 画像は高さ200px、全体表示（contain）、小さい画像は中央
   - カードの高さは揃える
   - 左右を斜めストライプ（擬似要素）
   - liは指定デザイン（そのまま）
========================================================= */

/* ====== ラベンダー配色（ここだけ触れば全体調整できます） ====== */
:root{
  --lav-border:   #9A8BE8;  /* 外枠ライン（ラベンダー） */
  --lav-stripe-a: #CFC8F8;  /* ストライプ明 */
  --lav-stripe-b: #B9B0F2;  /* ストライプ暗 */
  --lav-hover: rgb(223 215 255); /* hoverの薄ラベンダー */
  --stripe-w:     35px;     /* 左右ストライプ幅 */
  --stripe-angle: 45deg;    /* 斜め角度 */
}

/* 親（カード一覧） */
.link-div_01{
  margin-bottom: 30px;
}
.link-div_01 > .div_tag{
  display: flex;
  flex-wrap: wrap;
  gap: 30px 20px;
  align-items: stretch; /* ★カード高を揃える */
}

/* カード（各アイテム） */
.link-div_01 > .div_tag > .parts{
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
  box-sizing: border-box;
  position: relative;
  border-radius: 20px;
  background: #fff;
  /* ★外枠（色固定：hoverでも変えない） */
  border: 5px solid var(--lav-border);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .10);
  overflow: hidden;
  padding:
    10px
    calc(10px + var(--stripe-w))
    10px
    calc(10px + var(--stripe-w));
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 12px;
  transition:
    transform 160ms cubic-bezier(.4, 0, .2, 1),
    box-shadow 160ms cubic-bezier(.4, 0, .2, 1),
    background-color 160ms ease;
  cursor: pointer;
}

/* 左右ストライプ（擬似要素） */
.link-div_01 > .div_tag > .parts::before,
.link-div_01 > .div_tag > .parts::after{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--stripe-w);
  pointer-events: none; /* クリックの邪魔をしない */
  z-index: 0;
  /* 斜めストライプ */
  background: repeating-linear-gradient(
    var(--stripe-angle),
    var(--lav-stripe-a) 0px,
    var(--lav-stripe-a) 8px,
    var(--lav-stripe-b) 8px,
    var(--lav-stripe-b) 16px
  );
}

.link-div_01 > .div_tag > .parts::before{ left: 0; }
.link-div_01 > .div_tag > .parts::after { right: 0; }
/* 中身をストライプより前に出す */
.link-div_01 > .div_tag > .parts > *{
  position: relative;
  z-index: 1;
}
/* hover：淡いラベンダー（border色はそのまま） */
.link-div_01 > .div_tag > .parts:hover{
  background: var(--lav-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0,0,0,.14);
}
/* figure等の余白リセット */
.link-div_01 figure{ margin: 0; }
.link-div_01 .note,
.link-div_01 .block{ margin: 0; }

/* =========================================================
   画像：高さ200px固定 / 全体表示 / 小さい画像は中央
========================================================= */
.link-div_01 .image{ width: 100%; }
.link-div_01 .image a{
  display: block;
}
.link-div_01 .image img{
  display: block;
  height: 200px !important;
  width: 100% !important;
  object-fit: contain;
  object-position: center;
  border-radius: 14px;
}
.link-div_01 .image .block{
  border: 1px solid #cdcdcd;
  border-radius: 5px;
}

/* =========================================================
   タイトル：liは指定デザイン
========================================================= */
.link-div_01 .list{
  width: 100%;
  text-align: center;
}
.link-div_01 .list-style-ul-def{
  list-style: none;
  padding: 0;
  margin: 10px 0 !important;
  width: 100% !important;
}
.link-div_01 .list-style-ul-def > li.list-style-white-space{
  font-size: 1.1em;
  font-weight: 600;
  padding: 15px 0px 10px !important;
  line-height: unset;
  min-height: unset;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  text-align: center;
  overflow: visible;
}

/* =========================================================
   本文：省略なし
========================================================= */
.link-div_01 .sentence{
  width: 100%;
  margin: 0 !important;
}

.link-div_01 .sentence p{
  margin: 0;
  color: #000;
  line-height: 1.6;

  display: block;
  overflow: visible;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* =========================================================
   カード高を揃える：親align-items: stretch + カードflex列 でOK
========================================================= */

/* ==========================================================
 * link-div_02：PC 2列 / SP 1列（正しいグリッド位置）
 * ========================================================== */
.link-div_02 > .div_tag{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 30px;
}

.link-div_02 > .div_tag > .parts{
  min-width: 0;          /* はみ出し保険 */
  height: 100%;          /* セル高さを揃える */
  display: flex;         /* 中身を伸ばすため */
}
/* .parts の中身（note/block/list）も伸ばす（CMSの余計な高さ差を吸収） */
.link-div_02 > .div_tag > .parts > .note,
.link-div_02 > .div_tag > .parts > .note > .block,
.link-div_02 > .div_tag > .parts > .note > .block > .list,
.link-div_02 > .div_tag > .parts > .note > .block > .list > figure,
.link-div_02 > .div_tag > .parts > .note > .block > .list > figure > .list-style-ul-def{
  width: 100%;
  height: 100%;
}

/* 余白リセット */
.link-div_02 figure{ margin: 0; }
.link-div_02 .list-style-ul-def{
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ===== ボタン土台 ===== */
.link-div_02 .list-style-ul-def{
  margin: 0 !important;
}
.link-div_02 .list-style-ul-def > li{
  height: 100%;
  margin: 0;
  border-radius: 18px;
  background: #27b36a;
  box-shadow:
    0 10px 0 #1e8d54,
    0 14px 20px rgba(0,0,0,.16);
  overflow: hidden;

  position: relative; /* 右矢印の配置に使う */

  display: flex;
  align-items: stretch;

  transform: translateY(0);
  transition: transform 140ms cubic-bezier(.4,0,.2,1), filter 140ms ease;
}
.link-div_02 .list-style-ul-def > li:hover{
  transform: translateY(-2px);
  filter: brightness(1.03);
}
.link-div_02 .list-style-ul-def > li:active{
  transform: translateY(6px);
  box-shadow:
    0 4px 0 #1e8d54,
    0 8px 12px rgba(0,0,0,.16);
}

/* ===== a（テキスト） ===== */
.link-div_02 .list-style-ul-def > li > a{
  flex: 1 1 auto;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  min-height: 110px;
  padding: 18px 54px 18px 16px; /* 右側：矢印/アイコン分を空ける */

  box-sizing: border-box;
  text-decoration: none;

  color: #ffffff;
  font-weight: 600;
  line-height: 1.25;
}
.link-div_02 .list-style-ul-def > li > a > span{
  display: inline-block;
  max-width: 100%;
}

/* ==========================================================
 * 右矢印（疑似要素で追加）
 *  - /man/file/img/1031902.png を使用
 *  - 少し上下に動かす
 * ========================================================== */
.link-div_02 .list-style-ul-def > li::after{
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 22px;
  height: 22px;

  transform: translateY(-50%);
  background: url("/man/file/img/1031902.png") no-repeat center / contain;

  animation: linkArrowFloat 1.6s ease-in-out infinite;
  pointer-events: none; /* クリック阻害しない */
}

@keyframes linkArrowFloat{
  0%, 100% { transform: translateY(-50%) translateY(-2px); }
  50%      { transform: translateY(-50%) translateY( 2px); }
}

/* ==========================================================
 * 外部リンク/別窓アイコン：白化
 *  - PNGが黒でも白に見せられることが多い
 * ========================================================== */
.link-div_02 .list-style-ul-def > li > img{
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  display: block;         /* baselineのズレを消す */
  align-self: center;     /* flex内で縦中央 */
  margin-top: 0;
  margin-bottom: 0;
  margin-right: 3px;
  filter: brightness(0) invert(1) contrast(1.2); /* 黒→白に */
  transform: translateY(0%) !important;
}
/* 最後の img だけ右側を大きく空ける（右矢印との距離） */
.link-div_02 .list-style-ul-def > li > img:last-of-type{
  margin-right: 44px;
}
/* 2個あるとき横並び＆間隔 */
.link-div_02 .list-style-ul-def > li > img:first-of-type{
  margin-left: 10px; /* テキストとの間 */
}

/* フォーカス */
.link-div_02 .list-style-ul-def > li > a:focus-visible{
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

/* ==========================================================
 * 会話（左右吹き出し）
 * ========================================================== */

/* 共通 */
.talk-left_02,
.talk-right_02{
  width: 95% !important;
  margin-bottom: 60px;

  /* ===== スクロール表示用（初期非表示） ===== */
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 520ms cubic-bezier(.2,.8,.2,1),
    transform 520ms cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}

/* 吹き出し本体 */
.talk-left_02 .note > .block .sentence,
.talk-right_02 .note > .block .sentence {
  position: relative;
  padding: 0.5rem 1.5em;
  margin: 0;
  border-radius: 10px;
  background-color: #d9cef7;
  color: #333;
  font-weight: bold;
  font-size: 18px;
}

/* 枠線（二重） */
.talk-left_02 .note > .block .sentence::before,
.talk-right_02 .note > .block .sentence::before {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  border: 3px solid #333;
  content: "";
  pointer-events: none;
}

/* 吹き出しのしっぽ */
.talk-left_02 .note > .block .sentence::after,
.talk-right_02 .note > .block .sentence::after {
  position: absolute;
  bottom: -31px;
  left: 50px;
  height: 25px;
  width: 15px;
  border-right: 3px solid #333;
  background-color: rgb(255 252 229);
  transform: skew(-25deg);
  content: "";
}

/* ==========================================================
 * 左側の吹き出し
 * ========================================================== */

.talk-left_02{
  transform: translate3d(-32px, 14px, 0);
}

/* 表示状態 */
.talk-left_02.is-show{
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* ==========================================================
 * 右側の吹き出し
 * ========================================================== */

.talk-right_02{
  float: right !important;
  transform: translate3d(0, 14px, 0);
  /* 右側は少し遅らせる */
  transition-delay: 140ms;
}

/* 色変更 */
.talk-right_02 .note > .block .sentence{
  background-color: #f9ca70;
  transform: translate3d(24px, 0, 0);
  transition: transform 520ms cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}

/* 枠線位置反転 */
.talk-right_02 .note > .block .sentence::before{
  left: unset;
  right: 5px;
}

/* しっぽ位置・角度反転 */
.talk-right_02 .note > .block .sentence::after{
  left: unset;
  right: 50px;
  transform: skew(25deg);
}

/* 表示状態 */
.talk-right_02.is-show{
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* 代わりに “中身” をポップさせる（親の transform と干渉しない） */
.talk-left_02.is-show .note > .block .sentence,
.talk-right_02.is-show .note > .block .sentence{
  animation: talk-pop-inner 320ms ease-out;
  transform-origin: 50% 100%;
}
.talk-right_02.is-show .note > .block .sentence {
  transform: translate3d(0, 0, 0);
}

@keyframes talk-pop-inner{
  0%   { transform: scale(.96); }
  60%  { transform: scale(1.02); }
  100% { transform: scale(1); }
}

/* ==========================================================
 * handbook-link-div：ハンドブック表紙＋対象者をカードで並べる
 * - PC: 最大4列
 * - 画面が狭い/スマホ: 自動で2列まで
 * ========================================================== */

/* グリッド本体 */
.handbook-link-div{
  margin-bottom: 70px;
}
.handbook-link-div > .div_tag{
  display: grid;
  gap: 16px;
  /* 1枚あたりの最小幅を確保しつつ、最大4列まで */
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* 最大4列に制限（auto-fit が広い画面で増えすぎるのを防ぐ） */
.handbook-link-div > .div_tag{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.handbook-link-div.link_2 > .div_tag{
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: calc((100% - (16px * 3)) / 2);
  margin-inline: auto;
}

/* ===== カード（直下の parts） ===== */
.handbook-link-div > .div_tag > .parts{
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 0 rgba(0,0,0,.08), 0 14px 24px rgba(0,0,0,.12);
  overflow: hidden;
  transform: translateY(0);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

/* hover/focus で少し浮かす */
.handbook-link-div > .div_tag > .parts:hover{
  transform: translateY(-2px);
  filter: brightness(1.02);
  box-shadow: 0 12px 0 rgba(0,0,0,.10), 0 18px 28px rgba(0,0,0,.14);
}

/* カード内の余白リセット（CMSのデフォ余白対策） */
.handbook-link-div figure{ margin: 0; }
.handbook-link-div .list-style-ul-def{
  list-style: none;
  margin: 0 !important;
  padding: 0;
  width: 100% !important;
}

/* ===== 表紙画像：カード上部 ===== */
.handbook-link-div .image{
  margin: 0;
}
.handbook-link-div .image img{
  display: block;
  width: 100%;
  height: auto;
}

/* ===== 対象者テキスト：カード下部 ===== */
.handbook-link-div .list{
  padding: 12px 12px 14px;
  font-weight: 500;
  text-align: center;
  line-height: 1.25;
}

/* ===== 「カード全体をクリック」化 =====
   既存の <a> をブロック化して面積を増やす（JS不要）
*/
.handbook-link-div .image a{
  display: block;
}

/* キーボード操作の見た目 */
.handbook-link-div .image a:focus-visible{
  outline: 3px solid rgba(0,120,255,.85);
  outline-offset: 3px;
  border-radius: 12px;
}

/* ==========================================================
 * みんなのこえ 
 * ========================================================== */
/* リスト全体をグリッド化 */
.kodomo-voice-link .image .block.center{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  justify-content: center;   /* 全体を中央寄せ */
  margin: 0 auto;
}

/* 各カード */
.kodomo-voice-link .image_listitem{
  width: 100%;
}

/* 画像の余白リセット */
.kodomo-voice-link figure{
  margin: 0;
}

/* 画像をレスポンシブに */
.kodomo-voice-link img{
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================
 * シンプルな白抜きフキダシ（fukidashi-sentence 用）
 * - 中央配置
 * - 角丸＋枠線
 * - 下中央にしっぽ
 * ========================================================== */

/* 画面中央に置く（中身は inline-block にする） */
.fukidashi-sentence{
  text-align: center;
  margin: 0px auto 25px;
}
/* フキダシ本体 */
.fukidashi-sentence .sentence{
  --page-bg: #fff;
  --bubble-bg: #fff;
  --bubble-border: #333;
  position: relative;
  display: inline-block;
  padding: 24px 32px !IMPORTANT;
  border: solid 2px var(--bubble-border);
  border-radius: 48px;
  background: var(--bubble-bg);
  /* 長文でも収まりよく */
  max-width: min(920px, 92vw);
  box-sizing: border-box;
}
/* p の余白リセット＋読みやすさ */
.fukidashi-sentence .sentence p{
  margin: 0;
  line-height: 1.7;
}
/* しっぽ（背景で欠けを隠すパーツ） */
.fukidashi-sentence .sentence::before{
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 18px;
  height: 18px;
  box-sizing: border-box;
  background-color: var(--page-bg);
  transform: translateX(-50%) rotate(45deg);
}
/* しっぽ（枠線パーツ） */
.fukidashi-sentence .sentence::after{
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 15px;
  height: 15px;
  box-sizing: border-box;
  border: solid 2px;
  border-color: var(--bubble-border) var(--bubble-border) transparent transparent;
  transform: translateX(-50%) rotate(135deg);
}

/* ==========================================================
 * questionnaire-div：アンケートカード（横長画像 + link-div_02風ボタン）
 * ========================================================== */
/* ---------- 余白リセット ---------- */
.questionnaire-div *,
.questionnaire-div *::before,
.questionnaire-div *::after{
  box-sizing: border-box;
}
.questionnaire-div .note,
.questionnaire-div .block,
.questionnaire-div figure{
  margin: 0;
}

/* ==========================================================
 * 一覧
 * ========================================================== */
.questionnaire-div > .div_tag{
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

/* ==========================================================
 * カード本体：左 画像 / 右 テキスト
 * ========================================================== */
.questionnaire-div > .div_tag > .parts{
  display: grid;
  grid-template-columns: 40% 60%;
  min-height: 220px;
  height: 100%;
  background: #fff;
  border-radius: 18px;
  border: 3px solid rgb(255 224 0);
  box-shadow: 0 6px 4px rgba(0, 0, 0, .10);
  overflow: hidden;
}
@media screen and (max-width: 799.99px){
  .questionnaire-div > .div_tag > .parts{
    grid-template-columns: 40% 60%;
    min-height: 180px;
  }
}

/* CMS .note を潰す（ブロックをカードグリッドに流す） */
.questionnaire-div > .div_tag > .parts > .note{
  display: contents;
}

/* ==========================================================
 * 左：画像（横長を切らずに収める）
 * ========================================================== */
.questionnaire-div > .div_tag > .parts > .note > .block:first-child{
  grid-column: 1;
  grid-row: 1 / span 3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;

  background-color: #ffffff;
  background-image: radial-gradient(circle, #ffe00066 7.5px, transparent 7.5px), radial-gradient(circle, #ffe00066 7.5px, transparent 7.5px), radial-gradient(circle, #ffe00066 7.5px, transparent 7.5px), radial-gradient(circle, #ffe00066 7.5px, transparent 7.5px);
  background-position: 0 0, 35px 0, 17.5px 35px, 52.5px 35px;
  background-size: 70px 70px;
}
.questionnaire-div > .div_tag > .parts > .note > .block:first-child .image,
.questionnaire-div > .div_tag > .parts > .note > .block:first-child .block.center,
.questionnaire-div > .div_tag > .parts > .note > .block:first-child .image_listitem,
.questionnaire-div > .div_tag > .parts > .note > .block:first-child figure,
.questionnaire-div > .div_tag > .parts > .note > .block:first-child figure > div{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.questionnaire-div > .div_tag > .parts > .note > .block:first-child img{
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ==========================================================
 * 右：テキスト
 * ========================================================== */
.questionnaire-div > .div_tag > .parts > .note > .block:not(:first-child){
  grid-column: 2;
  padding: 0px 10px;
}
.questionnaire-div > .div_tag > .parts > .note > .block:nth-child(2){
  padding-top: 10px;
}
.questionnaire-div > .div_tag > .parts > .note > .block:last-child{
  padding-bottom: 10px;
}
@media screen and (max-width: 799.99px){
  .questionnaire-div > .div_tag > .parts > .note > .block:not(:first-child){
    padding: 12px 14px;
  }
}

/* 見出し */
body:not(.dev-mb) .cms-public .questionnaire-div .heading h2{
  margin: 0;
  font-size: 1.2em;
  line-height: 1.25;
  text-align: left;
}

/* 説明文 */
body:not(.dev-mb) .cms-public .questionnaire-div .sentence{
  margin: 10px 0 0;
}
.questionnaire-div .sentence p{ margin: 0; }

/* ==========================================================
 * リンク：link-div_02風（赤版）
 * - li を「ボタンの土台」にする（段差影＋押し込み）
 * - 右矢印（/man/file/img/1031902.png）を疑似要素で追加
 * ========================================================== */

/* UL：横並び */
.questionnaire-div .questionnaire-links .list-style-ul-def{
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

/* ===== ボタン土台（li）===== */
.questionnaire-div .questionnaire-links .list-style-ul-def > li{
  margin: 0;
  border-radius: 999px;

  /* 赤系（link-div_02 のグリーンを赤に置換） */
  background: #e63946;
  box-shadow:
    0 8px 0 #b4232c,
    0 12px 18px rgba(0,0,0,.16);
  overflow: hidden;

  position: relative;
  display: flex;
  align-items: stretch;

  transform: translateY(0);
  transition: transform 140ms cubic-bezier(.4,0,.2,1), filter 140ms ease, box-shadow 140ms ease;
}

.questionnaire-div .questionnaire-links .list-style-ul-def > li:hover{
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.questionnaire-div .questionnaire-links .list-style-ul-def > li:active{
  transform: translateY(5px);
  box-shadow:
    0 3px 0 #b4232c,
    0 6px 10px rgba(0,0,0,.16);
}

/* ===== a（中身）===== */
.questionnaire-div .questionnaire-links .list-style-ul-def > li > a{
  flex: 1 1 auto;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  /* 小ボタンなので link-div_02 より少しコンパクト */
  min-height: 44px;
  padding: 10px 44px 10px 14px; /* 右側：矢印分を空ける */

  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  line-height: 1.15;
}

/* テキスト折返しが必要な場合も破綻しないように */
.questionnaire-div .questionnaire-links .list-style-ul-def > li > a > span{
  display: inline-block;
  max-width: 100%;
}

/* ===== 右矢印（link-div_02 と同じ画像）===== */
.questionnaire-div .questionnaire-links .list-style-ul-def > li::after{
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 18px;
  height: 18px;

  transform: translateY(-50%);
  background: url("/man/file/img/1031902.png") no-repeat center / contain;

  animation: qLinkArrowFloat 1.6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes qLinkArrowFloat{
  0%, 100% { transform: translateY(-50%) translateY(-2px); }
  50%      { transform: translateY(-50%) translateY( 2px); }
}

/* フォーカス（白枠） */
.questionnaire-div .questionnaire-links .list-style-ul-def > li > a:focus-visible{
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}


/* ==========================================================
 * questionnaire-result-div / questionnaire-action-div（共通）
 * - PC: 2列（カード内は 画像 | 日付+タイトル）
 * - 狭い画面: 画像カラムが縮んで右が見切れない
 * - SP: 縦積み（画像→日付→タイトル）
 * ========================================================== */

/* ---------- 基本（安全な範囲だけ） ---------- */
.questionnaire-result-div *,
.questionnaire-result-div *::before,
.questionnaire-result-div *::after,
.questionnaire-action-div *,
.questionnaire-action-div *::before,
.questionnaire-action-div *::after{
  box-sizing: border-box;
}

/* ---------- CMS付属のUIは不要なら非表示 ---------- */
.questionnaire-result-div .title-list .title-top,
.questionnaire-result-div .title-list .slide-prev,
.questionnaire-result-div .title-list .slide-next,
.questionnaire-result-div .title-list .paging,
.questionnaire-result-div .title-list .other,
.questionnaire-action-div .title-list .title-top,
.questionnaire-action-div .title-list .slide-prev,
.questionnaire-action-div .title-list .slide-next,
.questionnaire-action-div .title-list .paging,
.questionnaire-action-div .title-list .other{
  display: none !important;
}

/* ==========================================================
 * 一覧：2列グリッド（PC）
 * ========================================================== */
.questionnaire-result-div .title-list .tab ul.totaling,
.questionnaire-action-div .title-list .tab ul.totaling{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;

  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ==========================================================
 * カード：li（ここが1カード）
 * - 画像カラムは最大300px、狭くなると縮む
 * ========================================================== */
.questionnaire-result-div .title-list .tab ul.totaling > li.display_date,
.questionnaire-action-div .title-list .tab ul.totaling > li.display_date{
  position: relative;
  width: 100%;
  display: grid !important;
  grid-template-columns: clamp(160px, 35%, 300px) minmax(0, 1fr) !important;

  /* 右側は「日付→タイトル」の2段 */
  grid-template-rows: 2em auto !important;
  column-gap: 16px !important;
  row-gap: 8px !important;
  align-items: start !important;
  padding: 14px !important;

  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease;

  /* result（黄色） */
  border: 3px solid rgb(255 224 0);
  background-color: #ffffff;
  background-image:
    radial-gradient(circle, #ffe00066 7.5px, transparent 7.5px),
    radial-gradient(circle, #ffe00066 7.5px, transparent 7.5px),
    radial-gradient(circle, #ffe00066 7.5px, transparent 7.5px),
    radial-gradient(circle, #ffe00066 7.5px, transparent 7.5px);
  background-position: 0 0, 35px 0, 17.5px 35px, 52.5px 35px;
  background-size: 70px 70px;
}

/* action（緑）は差分だけ上書き */
.questionnaire-action-div .title-list .tab ul.totaling > li.display_date{
  border: 3px solid rgb(25 150 0);
  background-image:
    radial-gradient(circle, rgba(31,199,0,.30) 7.5px, transparent 7.5px),
    radial-gradient(circle, rgba(31,199,0,.30) 7.5px, transparent 7.5px),
    radial-gradient(circle, rgba(31,199,0,.30) 7.5px, transparent 7.5px),
    radial-gradient(circle, rgba(31,199,0,.30) 7.5px, transparent 7.5px);
}

.questionnaire-result-div .title-list .tab ul.totaling > li.display_date:hover,
.questionnaire-action-div .title-list .tab ul.totaling > li.display_date:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,.14);
}

/* ---------- CMS既存CSSの浮動・inline潰し ---------- */
.questionnaire-result-div .title-list .tab ul.totaling > li.display_date time,
.questionnaire-result-div .title-list .tab ul.totaling > li.display_date .picture,
.questionnaire-result-div .title-list .tab ul.totaling > li.display_date .title,
.questionnaire-action-div .title-list .tab ul.totaling > li.display_date time,
.questionnaire-action-div .title-list .tab ul.totaling > li.display_date .picture,
.questionnaire-action-div .title-list .tab ul.totaling > li.display_date .title{
  float: none !important;
  clear: none !important;
  display: block !important;
  margin: 0 !important;
}

/* ==========================================================
 * 左：画像
 * - width固定をやめて、上限300px＆縮小OKに
 * ========================================================== */
.questionnaire-result-div .title-list .tab ul.totaling > li.display_date .picture,
.questionnaire-action-div .title-list .tab ul.totaling > li.display_date .picture{
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;

  width: 100% !important;        /* ★縮小できる */
  max-width: 300px !important;   /* ★最大300px */
  height: auto !important;
  border: none;
}

.questionnaire-result-div .title-list .tab ul.totaling > li.display_date .picture img,
.questionnaire-action-div .title-list .tab ul.totaling > li.display_date .picture img{
  width: 100% !important;
  height: auto !important;
  display: block;

  /* 見た目を揃える（300x200相当の比率） */
  aspect-ratio: 3 / 2;
  object-fit: cover !important;

  border-radius: 14px;
}

/* ==========================================================
 * 右：日付 → タイトル（縦並び）
 * ========================================================== */
.questionnaire-result-div .title-list .tab ul.totaling > li.display_date time,
.questionnaire-action-div .title-list .tab ul.totaling > li.display_date time{
  grid-column: 2 !important;
  grid-row: 1 !important;
  opacity: .75;
  background-color: #ffffff;
  padding: 10px;
  min-width: 0; /* 折返し/縮小安全 */
}

.questionnaire-result-div .title-list .tab ul.totaling > li.display_date .title,
.questionnaire-action-div .title-list .tab ul.totaling > li.display_date .title{
  grid-column: 2 !important;
  grid-row: 2 !important;
  height: 100%;
  font-weight: 600;

  background-color: rgb(255 255 255 / 90%);
  border-radius: 10px;
  padding: 10px;

  min-width: 0; /* 折返し/縮小安全 */
}

/* ルビが入っても崩れにくく */
.questionnaire-result-div .title-list .tab ul.totaling > li.display_date .title ruby,
.questionnaire-action-div .title-list .tab ul.totaling > li.display_date .title ruby{
  ruby-position: over;
}

/* タイトルリンク装飾 */
.questionnaire-result-div .title-list .tab ul.totaling > li.display_date .title a,
.questionnaire-action-div .title-list .tab ul.totaling > li.display_date .title a{
  color: inherit;
  text-decoration: none;

  /* タイトルは折り返しOK */
  white-space: normal;
  overflow-wrap: anywhere; /* 長い単語/URLも安全 */
  word-break: break-word;
}

/* ==========================================================
 * カード全体クリック（CSS）
 * ========================================================== */
.questionnaire-result-div .title-list .tab ul.totaling > li.display_date .title a::after,
.questionnaire-action-div .title-list .tab ul.totaling > li.display_date .title a::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* 見た目要素はクリックレイヤーより前面に */
.questionnaire-result-div .title-list .tab ul.totaling > li.display_date .picture,
.questionnaire-result-div .title-list .tab ul.totaling > li.display_date time,
.questionnaire-result-div .title-list .tab ul.totaling > li.display_date .title,
.questionnaire-action-div .title-list .tab ul.totaling > li.display_date .picture,
.questionnaire-action-div .title-list .tab ul.totaling > li.display_date time,
.questionnaire-action-div .title-list .tab ul.totaling > li.display_date .title{
  z-index: 2;
}

/* キーボードフォーカス（アクセシビリティ） */
.questionnaire-result-div .title-list .tab ul.totaling > li.display_date .title a:focus-visible::after,
.questionnaire-action-div .title-list .tab ul.totaling > li.display_date .title a:focus-visible::after{
  outline: 3px solid rgba(0,120,255,.9);
  outline-offset: -3px;
  border-radius: 18px;
}

/* ==========================================================
 * ご意見・ご感想
 * ========================================================== */
.feedback-attention{
  position: relative;
  padding: 10px;
  box-sizing: border-box;
  border: 3px solid #ff7b7b;
  border-left: 150px solid #ff7b7b;
  border-radius: 30px;
  background-color: #ffffff;
}
.feedback-attention::before{
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  top: 50%;
  left: 0;
  transform: translate(calc(-100% + -30px), -50%);
  background-image: url(/man/file/img/1032401.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

/* =========================================
 * 質問（左）／入力（右） 2カラムレイアウト
 * ========================================= */

/* 1問（qdiv）単位の枠 */
  padding: 14px 12px;
  margin: 12px 0;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
}

/* 左：質問 / 右：入力 を並べる本体 */
.feedback-form > div .input > strong{
  display: block; /* strong内のlabelをブロックに */
}
.feedback-form > div .input{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0px;
  align-items: stretch;
  margin-bottom: 40px;
}

/* 質問テキスト（左） */
.feedback-form > div .input > strong,
.feedback-form > div .input > label{
  display: flex;
  align-items: center;
  padding: 20px;
  color: #ffffff;
  background-color: rgb(255 118 0);
  border-radius: 30px 0px 0px 30px;
  box-sizing: border-box;
}
.feedback-form > div .qmain{
  display: block;
  font-weight: 700;
  line-height: 1.5;
  font-size: 1.2em;
}

/* 入力エリア（右） */
.feedback-form > div .qinput{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 10px;
  margin: 0px;
  border: 7px solid rgb(255 118 0);
  border-radius: 0px 30px 30px 0px;
  background-color: #ffffff;
  box-sizing: border-box;
}

/* =========================================
 * 3Dラジオボタン（yellow base）
 * base: rgb(255 224 0)
 * ========================================= */

:root{
  --btn-base: rgb(255 224 0);     /* 面 */
  --btn-edge: rgb(235 195 0);    /* 縁・影（少し濃い） */
  --btn-text: #4a3b00;           /* 文字（黒より柔らかく） */
}

/* ラジオ非表示 */
.feedback-form > div .qinput input[type="radio"]{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* ===== ボタン本体 ===== */
.feedback-form > div .qinput label.user_options{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: var(--btn-base);
  color: var(--btn-text);
  line-height: 1.1;
  border: 2px solid rgba(0,0,0,.12);
  cursor: pointer;
  user-select: none;

  /* 3D台座 */
  box-shadow:
    0 10px 0 var(--btn-edge),
    0 15px 15px rgba(0,0,0,.18);

  transform: translateY(0);
  transition:
    transform 120ms ease,
    box-shadow 120ms ease,
    filter 120ms ease;
}

/* hover：少し持ち上がる */
@media (hover:hover){
  .feedback-form > div .qinput label.user_options:hover{
    transform: translateY(-1px);
    box-shadow:
      0 12px 0 var(--btn-edge),
      0 18px 26px rgba(0,0,0,.22);
    filter: brightness(1.05);
  }
}

/* 押下中（クリック） */
.feedback-form > div .qinput label.user_options:active{
  transform: translateY(8px);
  box-shadow:
    0 2px 0 var(--btn-edge),
    0 8px 14px rgba(0,0,0,.16);
}

/* 選択時（押し込まれた状態で固定） */
.feedback-form > div
.qinput label.user_options:has(input[type="radio"]:checked){
  transform: translateY(8px);
  box-shadow:
    0 2px 0 var(--btn-edge),
    0 8px 14px rgba(0,0,0,.16);
  filter: brightness(0.98);
}

/* フォーカス（キーボード操作） */
.feedback-form > div
.qinput label.user_options:has(input[type="radio"]:focus-visible){
  outline: 3px solid rgba(0,120,255,.85);
  outline-offset: 3px;
}

/* スマホ幅 */
@media screen and (max-width: 799.99px){
  .feedback-form > div .qinput label.user_options{
    width: 100%;
  }
}


/* =========================
 * テキストエリア（右）も整える
 * ========================= */
.feedback-form > div textarea.question{
  width: 100%;
  min-height: 140px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 2px solid rgba(0,0,0,.12);
  background: #fff;
  line-height: 1.6;
  resize: vertical;
}

/* =========================
 * スマホ：1カラム（上下）に戻す
 * ========================= */
@media screen and (max-width: 799.99px){
  .feedback-attention {
    border-left: 3px solid #ff7b7b;
    border-top: 70px solid #ff7b7b;
  }
  .feedback-attention::before {
    top: 0;
    left: 50%;
    transform: translate(-50%, -62px);
    height: 55px;
    width: 55px;
  }
  .feedback-form > div .input{
    grid-template-columns: 1fr;
    margin-bottom: 15px;
  }
  .feedback-form > div .qmain{
    padding-top: 0;
  }
  .feedback-form > div .input > strong,
  .feedback-form > div .input > label {
    border-radius: 30px 30px 0px 0px;
  }
  .feedback-form > div .qinput{
    gap: 8px;
    border-radius: 0px 0px 30px 30px;
  }
  .feedback-form > div .qinput label.user_options{
    width: 100%;
    justify-content: center; /* 1行をボタンとして見せる */
  }
}
/* =========================================
 * Q2（name^="q1-"）を☆画像にする（動的クラス/属性に依存しない）
 * - デフォルト：白黒
 * - 選択時：カラー
 * ========================================= */

/* Q2の入力エリア（qinput）を特定：中に name^="q1-" のラジオがある */
.feedback-form .qinput:has(input[type="radio"][name^="q1-"]){
  gap: 12px;
  align-items: center;
}

/* Q2だけ：ボタン風の装飾を無効化（label.user_options が対象） */
.feedback-form .qinput:has(input[type="radio"][name^="q1-"])
label.user_options{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  padding: 0 !important;
  min-height: auto !important;

  /* 画像ボタン化 */
  width: 100px !important;
  height: 66px !important;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  cursor: pointer;
  user-select: none;

  /* デフォルト白黒 */
  filter: grayscale(1) brightness(1.05) contrast(.95);
  transition: filter 120ms ease, transform 120ms ease;
}

/* hover（PCのみ） */
@media (hover:hover){
  .feedback-form .qinput:has(input[type="radio"][name^="q1-"])
  label.user_options:hover{
    transform: translateY(-1px);
    filter: grayscale(1) brightness(1.1) contrast(1);
  }
}

/* 選択時：カラー */
.feedback-form .qinput:has(input[type="radio"][name^="q1-"])
label.user_options:has(input[type="radio"]:checked){
  filter: none;
  transform: translateY(0);
}

/* フォーカス */
.feedback-form .qinput:has(input[type="radio"][name^="q1-"])
label.user_options:has(input[type="radio"]:focus-visible){
  outline: 3px solid rgba(0,120,255,.85);
  outline-offset: 3px;
}

/* 既存の "1個/2個..." テキストは見た目だけ隠す（読み上げは残る） */
.feedback-form .qinput:has(input[type="radio"][name^="q1-"])
label.user_options > span{
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* =========================================
 * 画像割り当て（順番で割り当てる：1〜5）
 * ※ Q2は選択肢が 5個固定の前提
 * ========================================= */
.feedback-form .qinput:has(input[type="radio"][name^="q1-"])
label.user_options:nth-of-type(1){ background-image: url("/man/file/img/1032418.png") !important; }

.feedback-form .qinput:has(input[type="radio"][name^="q1-"])
label.user_options:nth-of-type(2){ background-image: url("/man/file/img/1032419.png") !important; }

.feedback-form .qinput:has(input[type="radio"][name^="q1-"])
label.user_options:nth-of-type(3){ background-image: url("/man/file/img/1032420.png") !important; }

.feedback-form .qinput:has(input[type="radio"][name^="q1-"])
label.user_options:nth-of-type(4){ background-image: url("/man/file/img/1032421.png") !important; }

.feedback-form .qinput:has(input[type="radio"][name^="q1-"])
label.user_options:nth-of-type(5){ background-image: url("/man/file/img/1032422.png") !important; }


/* 配置（すでに inline で指定済みだが保険） */
.submit{
  display: flex;
  justify-content: center;
}

/* ===== ボタン本体 ===== */
.submit input[type="submit"]{
  -webkit-appearance: none;
  appearance: none;

  border: 0;
  border-radius: 18px;
  cursor: pointer;

  margin: 0;
  margin-bottom: 20px;
  min-width: 10em;
  padding: 16px 14px;
  font-size: 1.1em;
  font-weight: 700;
  font-family: "M PLUS Rounded 1c", sans-serif;
  text-align: center;

  color: #ffffff;
  background: rgb(255 118 0);

  /* ===== 3D感 ===== */
  box-shadow:
    0 10px 0 rgb(204 88 0),       /* 台座 */
    0 14px 20px rgba(0,0,0,.18);  /* 落ち影 */

  transform: translateY(0);
  transition:
    transform 140ms cubic-bezier(.4,0,.2,1),
    box-shadow 160ms cubic-bezier(.4,0,.2,1),
    filter 140ms ease;
    
}

/* ===== ホバー：浮く ===== */
.submit input[type="submit"]:hover{
  transform: translateY(-2px);
  filter: brightness(1.02);
  box-shadow:
    0 12px 0 rgb(204 88 0),
    0 20px 26px rgba(0,0,0,.22);
}

/* ===== フォーカス（キーボード操作） ===== */
.submit input[type="submit"]:focus-visible{
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

/* ===== 押下：沈む ===== */
.submit input[type="submit"]:active{
  transform: translateY(6px);
  box-shadow:
    0 4px 0 rgb(204 88 0),
    0 8px 12px rgba(0,0,0,.18);
}

/* ===== 動きが苦手な人向け ===== */
@media (prefers-reduced-motion: reduce){
  .submit input[type="submit"]{
    transition: none !important;
  }
}

/* ==========================================================
 * area3 記事ページ：h1見出し（完全版）
 * ========================================================== */

/* ---------- 0) h1 の内側ラッパ（span）を“幅制御できる形”にする ---------- */
body:not(.dev-mb) .cms-public .area3 .heading h1{
  margin: 0;                 /* CMS既定がある場合の保険 */
  padding: 0;
  text-align: center;
}

/* 1200px以内＋改行OK＋一回り小さく */
body:not(.dev-mb) .cms-public .area3 .heading h1 > span > span{
  /* 幅を1200pxに収めて中央寄せ */
  display: block;            /* max-width を確実に効かせる */
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;

  /* 改行OK（ellipsis/クリップ系を解除） */
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  word-break: break-word;
  overflow-wrap: anywhere;

  font-size: 45px;

  /* 既存の見た目は維持 */
  color: rgb(255 224 0);
  text-shadow:
    -1px -1px 0 #4a3a00,
     1px -1px 0 #4a3a00,
    -1px  1px 0 #4a3a00,
     1px  1px 0 #4a3a00,
     0   -1px 0 #4a3a00,
     0    1px 0 #4a3a00,
    -1px  0    0 #4a3a00,
     1px  0    0 #4a3a00;
}

/* ---------- 1) .heading 自体も 1200px に寄せたい場合（保険・任意） ----------
 * h1の中だけでなく、heading全体の見た目を揃えたいときに有効
 * ※ :has を使っています（Chrome/Edge/Safari向け）
 */
body:not(.dev-mb) .cms-public .area3 .heading:has(h1){
  max-width: 1200px;
  margin-inline: auto;
}
body:not(.dev-mb) .cms-public .area3 .heading h1 ruby > rt {
  font-size: 16px;
}
body:not(.dev-mb) .cms-public .area3 .heading time {
  position: relative;
  right: 15px;
  bottom: unset;
  margin-top: 13px;
  display: block;
  text-align: right;
}