/* 見出しタグ整理用（2026-11-18）: 見出しレベルを変更した要素に、変更前と同じ見た目を適用します */

/* ブラウザ既定スタイルの差を打ち消す */
.UNDER_MT_title_w h2 {font-size:2em;margin-block:0.67em;color:inherit;font-weight:normal;font-family:"Noto Sans JP";}
.bland_greenbox h3 {font-size:1.5em;margin-block:0.83em;color:black;font-weight:normal;font-family:"Noto Sans JP";}
.bland_graybox h3 {font-size:1.5em;margin-block:0.83em;color:black;font-weight:normal;font-family:"Noto Sans JP";}
.item_title h2 {font-size:1em;margin-block:1em;color:inherit;font-weight:normal;font-family:"Noto Sans JP";}
.r_box_card h3 {font-size:1.5em;margin-block:0.83em;color:black;font-weight:normal;font-family:"Noto Sans JP";}
.members_title h2 {font-size:2em;margin-block:0.67em;color:inherit;font-weight:normal;font-family:"Noto Sans JP";}
.photo_style h3 {font-size:1.5em;margin-block:0.83em;color:black;font-weight:normal;font-family:"Noto Sans JP";}
.UNDER_MT_title h2.sec_title {font-size:2em;margin-block:0.67em;color:inherit;font-weight:normal;font-family:"Noto Sans JP";}

/* トップページのメインコピー（画像）を h1 に */
.copy_ninchi h1, .copy_ninchi_sm h1 {margin:0; font-size:inherit; font-weight:inherit; font-family:inherit; line-height:inherit;}

/* style.css の既存ルールを新しい見出しレベルに複製 */
.item_title h2 {display: flex; justify-content: center; color: white; font-size: 36px; font-family: "Noto Sans JP"; font-weight: normal; margin-top: 20px; text-align: justify;}
.r_box_card h3 {font-size: 18px; margin-bottom: -15px;}
.members_title h2 {font-family: "Noto Sans JP"; font-size: 32px; color: black; margin-bottom: -10px;}
.members_title h2:hover {color: rgb(105, 27, 229);}
.UNDER_MT_title h2.sec_title {font-family: "Noto Sans JP"; font-size: 30px;}
.UNDER_MT_title_w h2 {display: flex; justify-content: center; font-family: "Noto Sans JP"; font-weight: normal; font-size: 19px;}
.photo_style h3 {font-family: "Noto Sans JP"; font-size: 20px; line-height: 22px;}
.bland_graybox h3 {text-align: center; width: 230px; height: 80px; background-color: white; border-radius: 10px; padding-top: 50px; font-family: "Noto Sans JP"; font-size: 18px;}
.bland_greenbox h3 {text-align: center; width: 400px; height: 35px; background-color: rgb(204, 234, 180); border-radius: 10px; padding-top: 15px; font-family: "Noto Sans JP"; font-size: 16px;}

@media screen and (max-width: 680px) {
  .bland_greenbox h3 {width: 280px;}
  .bland_graybox h3 {width: 86vw; max-width: 500px;}
}

@media screen and (max-width: 430px) {
  .UNDER_MT_title h2.sec_title {text-align: center;}
  .UNDER_MT_title_w h2 {margin-bottom: 40px;}
  .photo_style h3 {line-height: 34px; margin-top: 40px;}
}


/* ===== トップページ 集客導線の追加（2026-11-18） ===== */
/* お悩みカードをリンク化（見た目は変えずに、マウスを乗せると浮き上がる） */
.waku_r {transition: box-shadow 0.2s, transform 0.2s;}
.r_card_link {display: block; height: 100%; color: inherit; font-family: inherit; font-weight: inherit; border-radius: 15px;}
.waku_r:has(.r_card_link):hover {box-shadow: 0 6px 18px rgba(74, 27, 229, 0.18); transform: translateY(-2px);}

/* ページ末尾の相談ボタン */
.cta_end_text {display: flex; justify-content: center; background-color: rgb(242, 242, 242); padding: 0 20px;}
.cta_end_text p {max-width: 640px; text-align: center; line-height: 30px; margin: 0;}
.cta_end {background-color: rgb(242, 242, 242); margin-top: 0; margin-bottom: -21px; padding: 40px 0 121px;} /* フッター上の隙間（背面の動画が透ける）を防ぐ */
.cta_end .ap_box_title, .cta_end .sm_price {width: 100%;}

/* サービスカード下の白いボタンを横並びの列でそろえる（2026-11-18） */
@media (min-width: 840px) and (max-width: 1400px) {
  .item_content {height: auto; min-height: 450px; flex: 1 0 auto; justify-content: flex-start;}
  .item_content .contents_box {flex: 1 0 auto;}
}

/* トップページ Seminar / News / Blog（動画の窓）（2026-11-18） */
.news_window {margin: 0; padding: 38px 20px 64px; min-height: 300px; box-sizing: border-box; background-color: transparent; display: flex; align-items: center; justify-content: center;}
.news_window + .card_box2 {margin-top: 0; padding-top: 20px;}
.news_window .news_info {margin: 0; width: 100%; max-width: 1080px; display: block;}
.news_head {position: relative; text-align: center; color: #fff; margin-bottom: 38px; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);}
.news_pickup {margin: 0; font-size: 15px; font-style: italic; letter-spacing: 0.04em;}
.news_heading {margin: 4px 0 0; color: #fff; font-size: 34px; font-weight: bold; line-height: 1.3; font-family: inherit;}
.news_heading span {font-size: 18px; font-weight: normal; margin: 0 4px;}
.news_viewall {position: absolute; right: 0; bottom: 6px; color: #fff; font-size: 12px; letter-spacing: 0.08em; text-decoration: none;}
.news_viewall:hover {text-decoration: underline;}
.news_cards {display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);}
.news_card {position: relative; display: flex; flex-direction: column; padding: 22px 24px 18px; color: #222; text-decoration: none; border-left: 1px solid rgba(0, 0, 0, 0.1); background-color: rgba(242, 242, 242, 0.85); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color 0.3s, color 0.3s, -webkit-backdrop-filter 0.3s, backdrop-filter 0.3s;}
.news_card:nth-child(3n+1) {border-left: none;}
.news_card:nth-child(n+4) {border-top: 1px solid rgba(0, 0, 0, 0.1);}
/* マウスを乗せると透けて後ろの動画が見え、文字が白に反転する */
.news_card:not(.news_card_nolink):hover {background-color: rgba(0, 0, 0, 0.2); -webkit-backdrop-filter: none; backdrop-filter: none; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);}
.news_card:not(.news_card_nolink):hover .news_meta, .news_card:not(.news_card_nolink):hover .news_date {color: #fff;}
.news_card:not(.news_card_nolink):hover .news_tag {color: #fff; border-color: #fff;}
.news_card_nolink {cursor: default;}
.news_badge {position: absolute; top: 0; right: 0; display: flex; flex-direction: column; align-items: center; padding: 5px 11px 6px; background: linear-gradient(rgb(136, 28, 230), rgb(43, 75, 255)); color: #fff; line-height: 1.1;}
.nb_m {font-size: 11px;}
.nb_d {font-size: 22px; font-weight: bold; letter-spacing: 0.02em;}
.nb_d i {font-style: normal; font-size: 14px; font-weight: normal;}
.nb_w {font-size: 9px; letter-spacing: 0.08em; margin-top: 2px;}
.news_meta {display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; color: #555; transition: color 0.3s;}
.news_badge + .news_meta {padding-right: 66px; min-height: 36px; align-content: flex-start;} /* 日付札とタイトルが重ならないように */
.news_tag {display: inline-block; padding: 2px 11px; border: 1px solid rgb(136, 28, 230); border-radius: 20px; color: rgb(136, 28, 230); font-size: 12px; letter-spacing: 0.06em; transition: color 0.3s, border-color 0.3s;}
.news_title {margin-top: 10px; font-size: 16px; font-weight: bold; line-height: 1.6;}
.news_date {margin-top: auto; padding-top: 10px; font-size: 13px; color: #999; transition: color 0.3s;}
@media (max-width: 1169px) {
  .news_card:nth-child(n+4) {display: none;} /* 動画の高さに収まるよう、画面が狭いときは新しい3件だけ表示 */
}
@media (max-width: 900px) {
  .news_cards {grid-template-columns: 1fr; grid-auto-rows: auto;}
  .news_card, .news_card:nth-child(n) {border-left: none; border-top: 1px solid rgba(0, 0, 0, 0.1); padding: 22px 20px 18px;}
  .news_card:nth-child(1) {border-top: none;}
  .news_viewall {position: static; display: inline-block; margin-top: 8px;}
}
@media (max-width: 600px) {
  .news_window {padding: 36px 14px;}
  .news_head {margin-bottom: 16px;}
  .news_heading {font-size: 22px;}
  .news_heading span {font-size: 14px;}
  .news_card, .news_card:nth-child(n) {padding: 16px 16px 14px;}
  .news_title {margin-top: 8px; font-size: 14px;}
  .news_date {padding-top: 6px;}
  .news_badge {padding: 4px 10px 5px;}
  .nb_d {font-size: 18px;}
  .news_badge + .news_meta {min-height: 36px;}
}

/* セミナー・講演の依頼の帯（NEWS欄の下）：紫〜青のグラデーション。マウスを乗せるとタイルと同じく黒20％で動画が透ける */
.news_request {position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 22px; padding: 16px 24px; color: #fff; text-decoration: none; background-color: rgba(0, 0, 0, 0.2); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); transition: text-shadow 0.3s;}
.news_request::before {content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(136, 28, 230), rgb(43, 75, 255)); transition: opacity 0.3s;}
.news_request:hover::before {opacity: 0;}
.news_request:hover {text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);}
.nr_text, .nr_btn {position: relative; z-index: 1;}
.nr_text {display: flex; flex-direction: column; gap: 4px;}
.nr_title {font-size: 20px; font-weight: 700; line-height: 1.5; letter-spacing: 0.02em;}
.nr_sub {font-size: 13px; line-height: 1.6;}
.nr_btn {flex: 0 0 auto; padding: 10px 20px; background: #fff; color: rgb(110, 30, 220); font-size: 14px; letter-spacing: 0.04em; text-shadow: none; transition: background 0.3s, color 0.3s;}
.news_request:hover .nr_btn {background: linear-gradient(90deg, rgb(136, 28, 230), rgb(43, 75, 255)); color: #fff;} /* 帯が透けたらボタンがグラデーションに */

/* スマホ・タブレット（900px以下）：動画の窓をやめ、読みやすさ優先の普通のセクションにする */
@media (max-width: 900px) {
  .news_window {margin-top: 100px; padding: 44px 16px 50px; background-color: rgb(242, 242, 242);} /* 上の100pxだけ動画が見える */
  .news_head {color: #222; text-shadow: none;}
  .news_heading {color: #222;}
  .news_viewall {color: rgb(110, 30, 220);}
  .news_cards {box-shadow: none;}
  .news_card, .news_card:nth-child(n) {background-color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; border-top-color: #e3e3e3;}
  .news_card:not(.news_card_nolink):hover {background-color: #fff; color: #222; text-shadow: none;}
  .news_card:not(.news_card_nolink):hover .news_meta {color: #555;}
  .news_card:not(.news_card_nolink):hover .news_date {color: #999;}
  .news_card:not(.news_card_nolink):hover .news_tag {color: rgb(136, 28, 230); border-color: rgb(136, 28, 230);}
  .news_request {margin-top: 32px; flex-direction: column; align-items: stretch; gap: 16px; padding: 22px 18px; background: linear-gradient(135deg, rgb(136, 28, 230), rgb(43, 75, 255)); box-shadow: 0 8px 20px rgba(74, 27, 229, 0.25);}
  .news_request::before {display: none;}
  .news_request:hover {text-shadow: none;}
  .news_request:hover .nr_btn {background: #fff; color: rgb(110, 30, 220);}
  .nr_btn {text-align: center;}
}
@media (max-width: 600px) {
  .nr_title {font-size: 16px;}
  .nr_sub {font-size: 12px;}
}

/* 実績・事例ページ（works.html）：事例の段落の左端をそろえる、表の「時期」列を読みやすく */
.works_page .UNDER_MT_contents p {width: 100%;}
.works_page table td:first-child {min-width: 7em;}
