@import url("https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@400;500;700&family=Noto+Sans+JP:wght@300;400;500;700&display=swap");

/* reset.css */
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

body {
  line-height: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

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

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  text-decoration: none;
  color: currentColor;
}

/* change colours to suit your needs */
ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

/* change colours to suit your needs */
mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

del {
  text-decoration: line-through;
}

abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

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

/* change border colour to suit your needs */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}

input,
select {
  vertical-align: middle;
}

/* # =================================================================
   # Forms
   # ================================================================= */
input {
  border-radius: 0;
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
  /* Correct the cursor style of increment and decrement buttons in Chrome */
}

[type=search] {
  -webkit-appearance: textfield;
  /* Correct the odd appearance in Chrome and Safari */
  outline-offset: -2px;
  /* Correct the outline style in Safari */
}

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
  /* Remove the inner padding in Chrome and Safari on macOS */
}

textarea {
  overflow: auto;
  /* Internet Explorer 11+ */
  resize: vertical;
  /* Specify textarea resizability */
}

button,
input,
optgroup,
select,
textarea {
  font: inherit;
  /* Specify font inheritance of form elements */
}

optgroup {
  font-weight: bold;
  /* Restore the font weight unset by the previous rule */
}

button {
  overflow: visible;
  /* Address `overflow` set to `hidden` in IE 8/9/10/11 */
}

button,
select {
  text-transform: none;
  /* Firefox 40+, Internet Explorer 11- */
}

/* Apply cursor pointer to button elements */
button,
[type=button],
[type=reset],
[type=submit],
[role=button] {
  cursor: pointer;
}

/* Remove inner padding and border in Firefox 4+ */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/* Replace focus style removed in the border reset above */
button:-moz-focusring,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  outline: 1px dotted ButtonText;
}

button,
html [type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
  /* Correct the inability to style clickable types in iOS */
}

/* Remove the default button styling in all browsers */
button,
input,
select,
textarea {
  background-color: transparent;
  border-style: none;
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline-width: 0;
  outline: none;
}

/* Style select like a standard input */
select {
  -moz-appearance: none;
  /* Firefox 36+ */
  -webkit-appearance: none;
  /* Chrome 41+ */
  color: currentColor;
}

select::-ms-expand {
  display: none;
  /* Internet Explorer 11+ */
}

select::-ms-value {
  color: currentColor;
  /* Internet Explorer 11+ */
}

legend {
  border: 0;
  /* Correct `color` not being inherited in IE 8/9/10/11 */
  color: inherit;
  /* Correct the color inheritance from `fieldset` elements in IE */
  display: table;
  /* Correct the text wrapping in Edge and IE */
  max-width: 100%;
  /* Correct the text wrapping in Edge and IE */
  white-space: normal;
  /* Correct the text wrapping in Edge and IE */
  max-width: 100%;
  /* Correct the text wrapping in Edge 18- and IE */
}

::-webkit-file-upload-button {
  /* Correct the inability to style clickable types in iOS and Safari */
  -webkit-appearance: button;
  color: inherit;
  font: inherit;
  /* Change font properties to `inherit` in Chrome and Safari */
}

/* Replace pointer cursor in disabled elements */
[disabled] {
  cursor: default;
}

/* org-add */
*,
*::before,
*::after {
  background-repeat: no-repeat;
  box-sizing: border-box;
}

::before,
::after {
  text-decoration: inherit;
  vertical-align: inherit;
}

@media screen and (min-width: 1024px) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}

textarea,
input[type=text],
input[type=email],
input[type=tel],
input[type=search],
input[type=url],
input[type=password],
input[type=number],
input[type=range] {
  font-size: max(1.15rem, 16px);
}

@media screen and (min-width: 1024px) {

  textarea,
  input[type=text],
  input[type=email],
  input[type=tel],
  input[type=search],
  input[type=url],
  input[type=password],
  input[type=number],
  input[type=range] {
    font-size: max(1rem, 16px);
  }
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #2C2B2B;
  line-height: 1.65;
  background-color: #FFFAF4;
}

body.is-nav-open {
  position: fixed;
  left: 0;
}

body.is-nav-open main {
  width: 100vw;
}

p {
  text-align: justify;
}

a {
  cursor: pointer;
}

.l-header__top-menu {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* height: 87px; */
  padding: 0 20px;
  z-index: 1;
}

@media screen and (min-width: 1024px) {
  .l-header__top-menu {
    /* height: 145px; */
    padding: 0 40px;
  }
}

@media screen and (min-width: 1280px) {
  .l-header__top-menu {
    padding: 0 220px 0 40px;
  }
}

body.is-nav-open .l-header__top-menu {
  background-color: transparent;
}

.l-header__logo-wrap {
  padding-top: 15px;
}

@media screen and (min-width: 1024px) {
  .l-header__logo-wrap {
    padding-top: 25px;
  }
}

.l-header__logo-img {
  height: 100%;
  width: 7vw;
  min-width: 85px
}

/* @media screen and (min-width: 1024px) {
  .l-header__logo-img {
    width: 247px;
  }
} */

.l-header__nav {
  width: 100%;
}

.l-header__nav .l-nav__list {
  width: 100%;
}

@media screen and (min-width: 768px) {
  .l-header__nav .l-nav__list {
    display: flex;
    gap: 0 20px;
    align-items: center;
    justify-content: flex-end;
    font-size: 1rem;
  }
}

@media screen and (min-width: 1280px) {
  .l-header__nav .l-nav__list {
    font-size: 1.125rem;
    padding-right: 50px;
  }
}

.l-header__nav .l-header__nav-none {
  display: none;
}

.l-header__cta {
  display: flex;
  gap: 0 20px;
  align-items: center;
  justify-content: center;
}

.l-header__menu-btn-wrap {
  background-color: #4E383F;
  height: 62px;
  width: 62px;
  border-radius: 50%;
  position: fixed;
  top: 25px;
  right: 25px;
  z-index: 110;
}

/* 🔴 本番（旧 WP）は right:25px 固定＝全幅共通。
   「.l-header__top-menu の padding と揃える」意図で入れていた
   @media(1024) right:40px / @media(1280) right:220px は 2026-07-30 に削除した
   （1280px+ で本番より 195px も内側に寄り、本番と並べたときに一目で違う）。判断＝ADR-0021 */

/* @media screen and (min-width: 768px) {
  .l-header__menu-btn-wrap {
    top: 80px;
  }
} */

.l-header__menu-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 20px;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.l-header__menu-btn>span,
.l-header__menu-btn::before,
.l-header__menu-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  transition: 0.3s ease-in-out;
}

.l-header__menu-btn>span {
  top: calc(50% - 1px);
}

.l-header__menu-btn::before {
  top: 0;
}

.l-header__menu-btn::after {
  bottom: 0;
}

body.is-nav-open .l-header__menu-btn::before {
  top: 50%;
  transform: translateX(-50%) rotate(-45deg);
}

body.is-nav-open .l-header__menu-btn::after {
  opacity: 0;
}

body.is-nav-open .l-header__menu-btn>span {
  top: 50%;
  transform: translateX(-50%) rotate(45deg);
}

/* modal */
.l-header__modal {
  display: grid;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(var(--vh, 1vh) * 100);
  align-items: center;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.25s ease-in-out;
}

body.is-nav-open .l-header__modal {
  opacity: 1;
  z-index: 10;
}

.l-header__overlay {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.8;
  transition: opacity 1s ease-in-out;
  width: 100%;
  height: 100%;
  background-color: #0092D9;
}

@media screen and (min-width: 1024px) {
  .l-header__overlay {
    background-color: transparent;
  }
}

.l-header__modal-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  align-items: center;
  justify-content: center;
}

.l-header__modal-nav .l-nav__list {
  display: grid;
  text-align: center;
  color: #ffffff;
  font-size: 1.3571428571rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #ffffff;
  text-decoration-thickness: 2px;
  height: 45vh;
  align-items: stretch;
}

@media screen and (min-width: 1024px) {
  .l-header__modal-nav .l-nav__list {
    font-size: 2rem;
  }
}

.l-header__modal .l-header__modal-none {
  display: none;
}

.l-footer {
  background-color: #22ADE5;
  color: #ffffff;
  padding: 50px 0;
  width: 100%;
  position: relative;
}

.l-footer__logo-wrap {
  width: 100%;
  text-align: center;
}

/* @media screen and (min-width: 1024px) {
  .l-footer__logo-wrap {
    max-width: 247px;
  }
} */

.l-footer__logo-img {
  width: 100%;
  max-width: 150px;
  height: auto;
}

.l-footer__body {
  display: grid;
  justify-content: center;
  row-gap: 20px;
}

@media screen and (min-width: 1024px) {
  .l-footer__body {
    column-gap: 20px;
    grid-template-columns: 105px 1fr;
    align-items: center;
    justify-content: space-between;
  }
}

.l-footer__menu {
  display: flex;
  flex-direction: column;
  gap: 15px 0;
}

@media screen and (min-width: 1024px) {
  .l-footer__menu {
    flex-direction: row;
    justify-content: end;
    gap: 0 20px;
  }
}

.l-footer__copyright {
  text-align: center;
  font-size: 0.8571428571rem;
  margin-top: 16px;
}

@media screen and (min-width: 1024px) {
  .l-footer__copyright {
    text-align: right;
    font-size: 0.875rem;
    margin-top: 15px;
  }
}

.l-footer__go-top {
  position: absolute;
  bottom: 10px;
  right: 20px;
  height: 40px;
  width: 40px;
  background: url("/yorisoi/assets/img/go-top.svg") no-repeat no-repeat center/contain;
  cursor: pointer;
  transition: 0.25s ease-in-out;
}

@media (hover: hover) {
  .l-footer__go-top:hover {
    opacity: 0.7;
  }
}

@media screen and (min-width: 1024px) {
  .l-footer__go-top {
    top: -30px;
    transform: translateY(-100%);
    right: 220px;
    height: 62px;
    width: 62px;
  }
}

.l-section {
  margin-top: 100px;
}

@media screen and (min-width: 1024px) {
  .l-section {
    margin-top: 180px;
  }
}

.l-container {
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

.l-container--md {
  max-width: 823px;
}

.l-container--lg {
  max-width: 1118px;
}

.l-container--no-padding {
  padding-left: 0;
  padding-right: 0;
}

.c-title-second {
  font-family: "M PLUS 1p", sans-serif;
}

.c-title-h1 {
  font-size: 2rem;
}

@media screen and (min-width: 1024px) {
  .c-title-h1 {
    font-size: 3rem;
  }
}

.c-title-h2 {
  font-size: 1.5714285714rem;
}

@media screen and (min-width: 1024px) {
  .c-title-h2 {
    font-size: 2.25rem;
  }
}

.c-title-h3 {
  font-size: 1.2857142857rem;
}

@media screen and (min-width: 1024px) {
  .c-title-h3 {
    font-size: 1.875rem;
  }
}

.c-title-h4 {
  font-size: 1.1428571429rem;
}

@media screen and (min-width: 1024px) {
  .c-title-h4 {
    font-size: 1.5rem;
  }
}

.c-title-h5 {
  font-size: 1.0714285714rem;
}

@media screen and (min-width: 1024px) {
  .c-title-h5 {
    font-size: 1.25rem;
  }
}

.c-title-h6 {
  font-size: 1rem;
}

@media screen and (min-width: 1024px) {
  .c-title-h6 {
    font-size: 1.125rem;
  }
}

.c-head-left-line {
  position: relative;
  padding-left: 35px;
  min-height: 60px;
  display: flex;
  align-items: center;
}

.c-head-left-line::before {
  content: "";
  display: block;
  height: 100%;
  width: 11px;
  background-color: #E70012;
  position: absolute;
  top: 0;
  left: 0;
}

.c-head-underline {
  position: relative;
}

.c-head-underline::after {
  content: "";
  display: block;
  width: calc(200% + 80px);
  height: 4.2px;
  position: absolute;
  bottom: -20px;
  left: -80px;
  background: url("/yorisoi/assets/img/head-underline.svg") no-repeat;
}

@media screen and (min-width: 1024px) {
  .c-head-underline::after {
    width: 100%;
    left: 0;
  }
}

.c-hero-box {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(var(--vh) * 70);
  overflow: hidden;
}

.is-front .c-hero-box {
  height: 100vh;
  /* height: calc(100vh + 100px); */
}

@media screen and (min-width: 1024px) {
  .is-front .c-hero-box {
    height: calc(var(--vh) * 100);
  }
}

.c-hero {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 100%;
  transition: left 0.5s ease-in-out;
}

.c-hero.is-active {
  left: 0;
}

.c-hero.is-second {
  left: 100%;
  opacity: 0;
}

.c-hero.is-third {
  left: 100%;
  opacity: 0;
}

.c-hero__circle-img-wrap {
  width: 100%;
  height: calc(100vh + 100px);
  z-index: -1;
}

@media screen and (min-width: 1024px) {
  .c-hero__circle-img-wrap {
    height: calc(100vh - 15px);
  }
}

.c-hero__circle-img {
  width: 100%;
  height: 100%;
  object-position: bottom;
  object-fit: cover;
}

.c-hero__circle-box {
  position: relative;
  z-index: -1;
}

.c-hero__circle {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #0092D9;
  width: 100%;
  height: calc(var(--vh) * 100);
}

@media screen and (min-width: 1024px) {
  .c-hero__circle {
    left: 50%;
    transform: translate(-50%, min(-50%, -60vw));
    border-radius: 50%;
    width: 120vw;
    height: 120vw;
    padding-bottom: 0;
  }
}

@media screen and (min-width: 1024px) and (max-aspect-ratio: 4/3) {
  .c-hero__circle {
    width: 135vw;
    height: 135vw;
    transform: translate(-50%, -45%);
  }
}

@media screen and (min-width: 1024px) and (min-aspect-ratio: 2/1) {
  .c-hero__circle {
    width: 110vw;
    height: 110vw;
    transform: translate(-50%, -60%);
  }
}

.c-hero__circle:nth-of-type(2) {
  background-color: #DB1D68;
}

.c-hero__circle:nth-of-type(3) {
  background-color: #8CB810;
}

.c-hero__circle-sm {
  position: absolute;
  top: 0;
  left: 50%;
  background-color: #ffffff;
  transform: translate(-50%, -50%);
  width: 65vh;
  height: 65vh;
  border-radius: 50%;
}

@media screen and (min-width: 428px) {
  .c-hero__circle-sm {
    width: 70vh;
    height: 70vh;
  }
}

@media screen and (min-width: 1024px) {
  .c-hero__circle-sm {
    transform: translate(-50%, -55%);
    width: 62vw;
    height: 62vw;
  }
}

@media screen and (min-width: 1024px) and (max-aspect-ratio: 4/3) {
  .c-hero__circle-sm {
    transform: translate(-50%, -60%);
    width: 75vw;
    height: 75vw;
  }
}

@media screen and (min-width: 1024px) and (min-aspect-ratio: 2/1) {
  .c-hero__circle-sm {
    transform: translate(-50%, -65%);
    width: 48vw;
    height: 48vw;
  }
}

.c-hero__logo-img {
  position: absolute;
  top: min(100px, 9vh);
  left: 50%;
  transform: translateX(-50%);
  width: 10%;
  height: auto;
  min-width: 165px;
  max-width: 205px;
}

@media screen and (min-width: 640px) {
  .c-hero__logo-img {
    min-width: 140px;
  }
}

@media screen and (min-width: 1024px) {
  .c-hero__logo-img {
    top: min(65px, 5vh);
  }
}

.c-hero__moji {
  position: absolute;
  top: 30%;
  left: 10%;
  transform: rotate(-5deg);
  max-width: 233px;
  min-width: 200px;
  width: 20%;
}

@media screen and (min-width: 1024px) and (max-aspect-ratio: 2/1) {
  .c-hero__moji {
    top: 25%;
    left: 5%;
  }
}

.c-hero__moji-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.c-hero__content {
  position: absolute;
  top: calc(54% - 100px);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #ffffff;
  width: 100%;
}

@media screen and (min-width: 1024px) {
  .c-hero__content {
    top: 35%;
  }
}

@media screen and (min-width: 1024px) and (max-aspect-ratio: 2/1) {
  .c-hero__content {
    top: 38%;
  }
}

.c-hero__body:not(:nth-child(1)) {
  display: none;
}

.c-hero__catch {
  text-align: center;
  margin-bottom: 5px;
  font-weight: 700;
  font-size: 1.5rem;
}

@media screen and (min-width: 428px) {
  .c-hero__catch {
    font-size: 2.375rem;
    margin-bottom: 20px;
  }
}

.c-hero__text {
  display: inline-block;
  text-align: center;
  font-size: 0.9rem;
}

@media screen and (min-width: 428px) {
  .c-hero__text {
    font-size: 1.0714285714rem;
  }
}

@media screen and (min-width: 1024px) {
  .c-hero__text {
    font-size: 1.125rem;
  }
}

@media screen and (min-width: 1024px) and (max-aspect-ratio: 2/1) {
  .c-hero__text {
    font-size: 1rem;
  }
}

.c-hero__person-wrap {
  position: absolute;
  bottom: 65px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 1;
}

@media screen and (min-width: 1024px) {
  .c-hero__person-wrap {
    bottom: -20px;
  }
}

.c-hero__person-link {
  display: block;
  cursor: pointer;
}

.c-hero__person-img {
  max-width: 340px;
  min-width: 165px;
  width: 28%;
  height: auto;
  object-fit: contain;
}

@media screen and (min-width: 428px) {
  .c-hero__person-img {
    /* min-width: 240px; */
    max-width: 100%;
    width: min(calc((400 / 1920) * 100vw), 422px);
  }
}

.c-hero__slide-dots {
  display: none;
}

@media screen and (min-width: 1024px) {
  .c-hero__slide-dots {
    display: flex;
    column-gap: 20px;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-top: 20px;
  }
}

.c-hero__slide-dot-link {
  transition: opacity 0.25s ease-in-out;
}

.c-hero__slide-dot-link.is-active {
  pointer-events: none;
}

.c-hero__slide-dot-link.is-active .c-hero__slide-dot-img {
  opacity: 1;
}

@media (hover: hover) {
  .c-hero__slide-dot-link:hover {
    opacity: 0.7;
  }
}

.c-hero__slide-dot-img {
  width: 80px;
  height: auto;
  object-fit: contain;
  opacity: 0.35;
}

@media screen and (min-width: 1024px) {
  .c-hero--second .c-hero__circle {
    transform: translate(-50%, -68%);
  }
}

.c-hero--second .c-hero__circle-img-wrap {
  height: 90vh;
}

@media screen and (min-width: 1024px) {
  .c-hero--second .c-hero__circle-img-wrap {
    height: 100vh;
  }
}

.c-hero--second .c-hero__content {
  text-align: left;
  top: 53%;
}

@media screen and (min-width: 1024px) {
  .c-hero--second .c-hero__content {
    top: 48%;
  }
}

.c-hero--second .c-hero__catch {
  text-align: left;
  color: #E70012;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 2rem;
}

@media screen and (min-width: 428px) {
  .c-hero--second .c-hero__catch {
    font-size: 3.125rem;
    margin-bottom: 20px;
  }
}

.c-hero--second .c-hero__text {
  text-align: left;
  color: #2C2B2B;
  display: inline-block;
  font-size: 0.9rem;
}

@media screen and (min-width: 428px) {
  .c-hero--second .c-hero__text {
    font-size: 1.2857142857rem;
  }
}

@media screen and (min-width: 1024px) {
  .c-hero--second .c-hero__text {
    font-size: 1.5625rem;
  }
}

.c-hero__title-wrap {
  position: absolute;
  top: 12vh;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

@media screen and (min-width: 1024px) {
  .c-hero__title-wrap {
    top: 8vh;
  }
}

.c-hero__title-img {
  width: 28vw;
  height: auto;
  min-width: 280px;
  max-width: 645px;
}

.c-hero__link {
  margin-top: 20px;
  text-align: center;
}

@media screen and (min-width: 1024px) {
  .c-hero__link {
    margin-top: 30px;
  }
}

.c-hero--second+section {
  margin-top: -30vh;
}

@media screen and (min-width: 1024px) {
  .c-hero--second+section {
    margin-top: -25vh;
  }
}

.c-list__item {
  padding: 14px 20px 14px 20px;
  position: relative;
  display: flex;
  align-items: center;
}

@media screen and (min-width: 1024px) {
  .c-list__item {
    padding: 14px 50px 14px 20px;
    justify-content: flex-start;
  }
}

.c-list__item--border {
  border-bottom: dotted 1px #2C2B2B;
}

.c-list__item--border:first-child {
  border-top: dotted 1px #2C2B2B;
}

.c-list__body {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
  row-gap: 2px;
}

@media screen and (min-width: 640px) {
  .c-list__body {
    align-items: center;
    flex-direction: row;
  }
}

.c-list__body::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url("/yorisoi/assets/img/arrow.svg") no-repeat no-repeat center/contain;
  transition: opacity 0.25s ease-in-out;
}

@media (hover: hover) {

  .c-list__body:hover .c-list__date,
  .c-list__body:hover .c-list__text {
    opacity: 0.7;
  }
}

.c-list__date {
  font-weight: 700;
  margin-right: 20px;
  transition: opacity 0.25s ease-in-out;
}

@media screen and (min-width: 1024px) {
  .c-list__date {
    margin-right: 85px;
    margin-bottom: 0;
  }
}

.c-list__text {
  padding-right: 30px;
  display: block;
  transition: opacity 0.25s ease-in-out;
  max-width: 75vw;
}

@media screen and (min-width: 1024px) {
  .c-list__text {
    padding-right: 45px;
  }
}

@media (hover: hover) {
  .c-list__text:hover::after {
    opacity: 0.7;
  }
}

.c-tabs {
  width: 100%;
}

.c-tab__label {
  display: block;
  height: 80px;
  line-height: 80px;
  background-color: #0092D9;
  color: #ffffff;
  padding-left: 60px;
  font-size: 1.7857142857rem;
  font-weight: 500;
  transition: background-color 0.25s ease-in-out;
  cursor: pointer;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  position: relative;
}

.c-tab__label::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  border-radius: 50%;
  background-color: #ffffff;
  width: 20px;
  height: 20px;
}

.c-tab__label::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 20px solid #ffffff;
  transform: translateY(-10px) rotate(-180deg);
  transition: 0.2s ease-in-out;
}

@media screen and (min-width: 1024px) {
  .c-tab__label {
    text-align: center;
    width: calc((100% - 40px) / 3);
    height: 75px;
    float: left;
    border-radius: 20px 20px 0 0;
    line-height: 75px;
    margin: 0;
    padding-left: 0;
    font-size: 1.75rem;
  }

  .c-tab__label:not(:nth-of-type(3)) {
    margin-right: 20px;
  }

  .c-tab__label::before,
  .c-tab__label::after {
    content: none;
  }
}

.c-tab__label.is-open::after {
  transform: translateY(-10px) rotate(0);
}

.c-tab__label.is-open+.c-tab__body {
  display: block;
}

.c-tab__label--b {
  background-color: #0092D9;
}

@media screen and (min-width: 1024px) {
  .c-tab__label--b {
    background-color: rgba(0, 146, 217, 0.16);
  }

  .c-tab__label--b.is-open {
    background-color: #0092D9;
  }
}

.c-tab__label--p {
  background-color: #DB1D68;
}

@media screen and (min-width: 1024px) {
  .c-tab__label--p {
    background-color: rgba(219, 29, 104, 0.16);
  }

  .c-tab__label--p.is-open {
    background-color: #DB1D68;
  }
}

.c-tab__label--g {
  background-color: #8CB810;
}

@media screen and (min-width: 1024px) {
  .c-tab__label--g {
    background-color: rgba(141, 183, 21, 0.16);
  }

  .c-tab__label--g.is-open {
    background-color: #8CB810;
  }
}

input[name=c-tab__label] {
  display: none;
}

.c-tab__body {
  display: none;
  clear: both;
  overflow: hidden;
  background-color: #0092D9;
  color: #ffffff;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  padding-bottom: 20px;
}

@media screen and (min-width: 1024px) {
  .c-tab__body {
    padding-bottom: 100px;
  }
}

.c-tab__body--tab-1 {
  background-color: rgba(0, 146, 217, 0.75);
}

@media screen and (min-width: 1024px) {
  .c-tab__body--tab-1 {
    background-color: #0092D9;
  }
}

.c-tab__body--tab-2 {
  background-color: rgba(219, 29, 104, 0.75);
}

@media screen and (min-width: 1024px) {
  .c-tab__body--tab-2 {
    background-color: #DB1D68;
  }
}

.c-tab__body--tab-3 {
  background-color: rgba(141, 183, 21, 0.75);
}

@media screen and (min-width: 1024px) {
  .c-tab__body--tab-3 {
    background-color: #8CB810;
  }
}

.c-tab__lead {
  padding: 20px 0 25px;
}

@media screen and (min-width: 1024px) {
  .c-tab__lead {
    padding: 25px 0 50px;
  }
}

@media screen and (min-width: 1024px) {
  #tab-1:checked+.c-tab__label {
    background-color: #0092D9;
  }
}

@media screen and (min-width: 1024px) {
  #tab-2:checked+.c-tab__label {
    background-color: #DB1D68;
  }
}

@media screen and (min-width: 1024px) {
  #tab-3:checked+.c-tab__label {
    background-color: #8CB810;
  }
}

@media screen and (min-width: 1024px) {

  #tab-1:checked~#tab-1_content,
  #tab-2:checked~#tab-2_content,
  #tab-3:checked~#tab-3_content {
    display: block;
  }
}

.c-button {
  display: block;
  max-width: 350px;
  border-radius: 15px;
  background-color: #22ADE5;
  text-align: center;
  font-size: 1.4375rem;
  font-weight: 700;
  color: #ffffff;
  padding: 10px 30px;
}

@media (hover: hover) {
  .c-button:hover {
    opacity: 0.8;
    transition: opacity 0.25s ease-in-out;
  }
}

.c-button2 {
  display: block;
  max-width: 350px;
  border-radius: 15px;
  background-color: #CC2463;
  text-align: center;
  font-size: 1.4375rem;
  font-weight: 700;
  color: #ffffff;
  padding: 10px 30px;
}

@media (hover: hover) {
  .c-button2:hover {
    opacity: 0.8;
    transition: opacity 0.25s ease-in-out;
  }
}

.c-button-full {
  display: block;
  background-color: #ffffff;
  color: #2C2B2B;
  font-weight: 500;
  font-size: 1.1428571429rem;
  padding: 10px 20px;
  width: calc(100% + 40px);
  transform: translateX(-20px);
}

@media screen and (min-width: 1024px) {
  .c-button-full {
    width: 100%;
    margin: 0;
    border-radius: 60px;
    font-size: 1.6875rem;
    padding: 16px 40px;
    transform: translateX(0);
  }
}

@media (hover: hover) {
  .c-button-full:hover {
    opacity: 0.8;
    transition: opacity 0.25s ease-in-out;
  }
}

.c-button-arrow {
  position: relative;
}

.c-button-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: inline-block;
  width: 28px;
  height: 28px;
  background: url("/yorisoi/assets/img/arrow.svg") no-repeat center/contain;
  transition: 0.25s ease-in-out;
}

@media screen and (min-width: 1024px) {
  .c-button-arrow::after {
    right: 40px;
  }
}

.c-button-arrow--b::after {
  background-image: url("/yorisoi/assets/img/arrow-b.svg");
}

.c-button-arrow--p::after {
  background-image: url("/yorisoi/assets/img/arrow-p.svg");
}

.c-button-arrow--g::after {
  background-image: url("/yorisoi/assets/img/arrow-g.svg");
}

.c-button-square {
  display: inline-block;
  padding: 10px 15px;
  border: 1px solid #ffffff;
  background-color: #ffffff;
  color: #22ADE5;
  width: 100%;
  text-align: center;
}

@media screen and (min-width: 1024px) {
  .c-button-square {
    width: unset;
  }
}

@media (hover: hover) {
  .c-button-square:hover {
    opacity: 0.8;
    transition: opacity 0.25s ease-in-out;
  }
}

.c-button-square--yellow {
  background-color: #FCF8E0;
}

.c-button-square--outline {
  background-color: inherit;
  color: inherit;
}

.l-nav__item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-fuwafuwa {
  animation: fuwafuwa 3s infinite ease-in-out 0.8s alternate;
  display: inline-block;
  transition: translate 1s ease-in-out;
}

@keyframes fuwafuwa {
  0% {
    transform: translate(0, 0) rotate(-7deg);
  }

  50% {
    transform: translate(0, -7px) rotate(0deg);
  }

  100% {
    transform: translate(0, 0) rotate(7deg);
  }
}

.c-label-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.c-label-list--col {
  flex-direction: column;
}

.c-label {
  display: block;
  border-radius: 20px;
  background-color: #22ADE5;
  text-align: center;
  font-size: 0.9285714286rem;
  font-weight: 500;
  color: #ffffff;
  padding: 3px 20px;
}

@media (hover: hover) {
  .c-label:hover {
    opacity: 0.8;
    transition: opacity 0.25s ease-in-out;
  }
}

@media screen and (min-width: 768px) {
  .c-label {
    font-size: 1rem;
    padding: 5px 30px;
  }
}

@media screen and (min-width: 1024px) {
  .c-label {
    font-size: 1.125rem;
    padding: 5px 54px;
  }
}

.c-label--sm {
  width: 120px;
  height: 25px;
  font-size: 0.75rem;
  padding: 2px 10px;
}

@media screen and (min-width: 1024px) {
  .c-label--sm {
    width: 140px;
    height: 28px;
    font-size: 0.85rem;
    padding: 3px 12px;
  }
}

.c-label--news {
  background-color: #E70012;
}

.c-label--life {
  background-color: #CD0068;
}

.c-label--person {
  background-color: #0092D9;
}

.c-label--environment {
  background-color: #8CB810;
}

main {
  overflow: hidden;
}

.p-adjustment {
  height: calc(var(--vh) * 100);
}

.p-slide-box {
  position: relative;
  top: -50px;
  left: 0;
  z-index: -1;
}

@media screen and (min-width: 1024px) {
  .p-slide-box {
    top: -420px;
  }
}

.slick-slide {
  padding-right: 30px;
}

.p-slide-box__inner {
  z-index: -10;
}

.p-slide-box__bg {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: #0092D9;
  margin-top: -5px;
}

.p-slide-box__img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-width: 300px;
}

.p-back-img-wrap {
  position: relative;
  margin-top: 135px;
  z-index: -10;
}

.p-back-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--bodyHeight);
  object-fit: contain;
  background: url("/yorisoi/assets/img/back.svg") no-repeat top/contain;
}

@media screen and (min-width: 768px) {
  .p-content-float {
    display: grid;
    grid-template-columns: 1fr 215px;
    align-items: center;
  }
}

.p-content-float__right {
  width: 100%;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .p-content-float__right {
    padding-left: 40px;
  }
}

.p-content-float__right-img {
  margin-top: 150px;
  max-width: 215px;
  min-width: 165px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media screen and (min-width: 768px) {
  .p-content-float__right-img {
    margin-top: unset;
  }
}

.p-yorisoi-img-wrap {
  position: relative;
  margin-top: 140px;
  width: 100%;
  max-width: 830px;
  height: auto;
  object-fit: contain;
  margin-left: auto;
  margin-right: auto;
}

.p-yorisoi-img-back {
  width: 100%;
  height: auto;
}

.p-yorisoi-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  max-width: 595px;
  min-width: 320px;
  height: auto;
  object-fit: contain;
}

.p-base-text-font {
  font-size: 1.0714285714rem;
  font-weight: 300;
}

@media screen and (min-width: 1024px) {
  .p-base-text-font {
    font-size: 1.1875rem;
  }
}

.p-content-news {
  margin-top: 50px;
}

/* 🔴 本番（旧 WP）と同一。PC で一覧をヒーロー（70vh・overflow:hidden）の下部へ引き上げる。
   この 1 行を外したことが /news/ 表示崩れの起点だった（詳細＝ADR-0021）。
   トップは .p-content-news.u-ver2 で、後方の @media(1024) .u-ver2{margin-top:60px} が
   同一詳細度＋後勝ちで上書きするため競合しない（本番も同じ順序）。 */
@media screen and (min-width: 1024px) {
  .p-content-news {
    margin-top: -200px;
  }
}

.p-content-news__link-wrap {
  text-align: right;
  margin-top: 5px;
  position: relative;
  margin-right: 20px;
}

@media screen and (min-width: 1024px) {
  .p-content-news__link-wrap {
    margin-right: 0;
  }
}

.p-content-news__link {
  border-bottom: 1px solid #000;
  transition: opacity 0.25s ease-in-out;
}

.p-content-news__link-wrap>.p-content-news__link {
  margin-right: 30px;
}

.p-content-news__link:hover {
  opacity: .7;
}

.p-content-news__link-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url("/yorisoi/assets/img/arrow.svg") no-repeat no-repeat center/contain;
  transition: opacity 0.25s ease-in-out;
}

.p-content-report {
  position: relative;
  padding-top: 120px;
  padding-bottom: 50px;
  overflow: hidden;
}

@media screen and (min-width: 1024px) {
  .p-content-report {
    padding-top: 150px;
    padding-bottom: 175px;
  }
}

.p-pamphlet-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.p-content-report__cover-link {
  display: block;
}

@media screen and (min-width: 1024px) {
  .p-content-report__img-wrap {
    position: absolute;
    top: 110px;
    right: 75px;
  }
}

/* 🔴 本番（旧 WP）は width:300px の 1 本のみ＝全幅共通。
   本番にある @media screen and (min-width: ) { width:300px } は min-width 空欄で
   クエリ自体が不正＝ブラウザが丸ごと無視する no-op（値も 300px で同じ）。
   MT 側は base 225px + PC 300px にしていたため SP だけ本番より小さかった。
   2026-07-30 に本番と同じ 300px 一本へ揃えた。判断＝ADR-0021 */
.p-content-report__img {
  width: 300px;
  height: auto;
  object-fit: contain;
}

.p-content-report__pamphlet {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
}

@media screen and (min-width: 768px) {
  .p-content-report__pamphlet {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
  }
}

@media screen and (min-width: 1024px) {
  .p-content-report__pamphlet {
    margin-top: 0;
  }
}

/* デジタルブック年度ボタン（テーマ u-bg-color-2/3/5 と同色） */
.c-button-pamphlet {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 28px;
  border-radius: 60px;
  color: #ffffff;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}

@media screen and (min-width: 1024px) {
  .c-button-pamphlet {
    font-size: 1.125rem;
    padding: 14px 32px;
  }
}

@media (hover: hover) {
  .c-button-pamphlet:hover {
    opacity: 0.85;
    transition: opacity 0.25s ease-in-out;
  }
}

.c-button-pamphlet--2024 {
  background-color: #8CB810;
}

.c-button-pamphlet--2023 {
  background-color: #DB1D68;
}

.c-button-pamphlet--2022 {
  background-color: #22ADE5;
}

.p-width-full {
  margin: 0 calc(50% - 50vw);
  width: 100vw;
}

@media screen and (min-width: 1024px) {
  .p-width-full {
    margin: unset;
    width: unset;
  }
}

/* //@tailwind base; */
/* //@tailwind components; */
.u-mt-12 {
  margin-top: 3rem;
}

.u-mb-12 {
  margin-bottom: 3rem;
}

.u-mb-6 {
  margin-bottom: 1.5rem;
}

.u-mt-28 {
  margin-top: 7rem;
}

.u-mt-24 {
  margin-top: 6rem;
}

.u-mt-9 {
  margin-top: 2.25rem;
}

.u-mt-5 {
  margin-top: 1.25rem;
}

.u-mt-6 {
  margin-top: 1.5rem;
}

.u-mb-0 {
  margin-bottom: 0px;
}

.u-mb-7 {
  margin-bottom: 1.75rem;
}

.u-mt-16 {
  margin-top: 4rem;
}

.u-block {
  display: block;
}

.u-flex {
  display: flex;
}

.u-grid {
  display: grid;
}

.u-hidden {
  display: none;
}

.u-items-center {
  align-items: center;
}

.u-items-start {
  align-items: flex-start;
}

.u-justify-between {
  justify-content: space-between;
}

.u-gap-2 {
  gap: 0.5rem;
}

.u-gap-5 {
  gap: 1.25rem;
}

.u-gap-12 {
  gap: 3rem;
}

.u-pt-4 {
  padding-top: 1rem;
}

.u-pt-12 {
  padding-top: 3rem;
}

.u-text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.u-text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.u-text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.u-text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.u-text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.u-text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.u-font-bold {
  font-weight: 700;
}

.u-font-medium {
  font-weight: 500;
}

@media (min-width: 1024px) {
  .lg\:u-mt-52 {
    margin-top: 13rem;
  }

  .lg\:u-mt-80 {
    margin-top: 20rem;
  }

  .lg\:u-mb-11 {
    margin-bottom: 2.75rem;
  }

  .lg\:u-block {
    display: block;
  }

  .lg\:u-flex {
    display: flex;
  }

  .lg\:u-hidden {
    display: none;
  }

  .lg\:u-gap-5 {
    gap: 1.25rem;
  }

  .lg\:u-gap-24 {
    gap: 6rem;
  }

  .lg\:u-text-5xl {
    font-size: 3rem;
    line-height: 1;
  }

  .lg\:u-text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .lg\:u-text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  .lg\:u-text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
}

/* font */
.u-text-white {
  color: #ffffff;
}

.u-text-color-1 {
  color: #0092D9;
}

.u-text-color-2 {
  color: #DB1D68;
}

.u-text-color-3 {
  color: #8CB810;
}

.u-text-color-4 {
  color: #FCF8E0;
}

.u-text-color-5 {
  color: #22ADE5;
}

.u-text-color-6 {
  color: #E70012;
}

.u-text-narrow {
  display: block;
  transform: scale(0.8, 1);
}

/* color */
.u-bg-color-1 {
  background-color: #0092D9;
}

.u-bg-color-2 {
  background-color: #DB1D68;
}

.u-bg-color-3 {
  background-color: #8CB810;
}

.u-bg-color-4 {
  background-color: #FCF8E0;
}

.u-bg-color-5 {
  background-color: #22ADE5;
}

.u-bg-tra-16-color-1 {
  background-color: rgba(0, 146, 217, 0.16);
}

.u-bg-tra-16-color-2 {
  background-color: rgba(219, 29, 104, 0.16);
}

.u-bg-tra-16-color-3 {
  background-color: rgba(141, 183, 21, 0.16);
}

/* image*/
.u-img-full-space {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.u-img-fluid {
  width: 100%;
  height: auto;
}

.u-aspect-1-1 {
  aspect-ratio: 1/1;
}

.u-aspect-4-3 {
  aspect-ratio: 4/3;
}

.u-aspect-3-4 {
  aspect-ratio: 3/4;
}

.u-aspect-16-9 {
  aspect-ratio: 16/9;
}

/*link*/
.u-link-box-wrap {
  position: relative;
}

.u-link-box {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.u-link-underline {
  position: relative;
}

.u-link-underline::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  border-bottom: 1px solid #0092D9;
  transition: all 0.25s ease-in-out;
}

@media (hover: hover) {
  .u-link-underline:hover::after {
    width: 100%;
  }
}

.u-underline {
  text-decoration-color: #0092D9;
}

@media (hover: hover) {
  .u-hover:hover {
    opacity: 0.7;
  }
}

.u-br-none-1\/2 {
  display: block;
}

@media screen and (min-width: 1024px) and (max-aspect-ratio: 2/1) {
  .u-br-none-1\/2 {
    display: none;
  }
}

.u-br-none-1\/2.u-hidden {
  display: none;
}

.u-w-12 {
  width: 3rem;
}

/*# sourceMappingURL=style.css.map */

.single .c-label {
  white-space: nowrap;
}

.single .c-hero--second .c-hero__content {
  top: auto;
  bottom: 0;
}

.single .c-hero-box {
  height: calc(var(--vh) * 46);
  overflow: unset;
}

.single .has-large-font-size {
  text-align: left;
  color: #2C2B2B;
  display: inline-block;
  font-size: 0.9rem !important;
}

@media screen and (min-width: 428px) {
  .single .has-large-font-size {
    font-size: 1.2857142857rem !important;
  }
}

@media screen and (min-width: 1024px) {
  .single .has-large-font-size {
    font-size: 1.5625rem !important;
  }
}

.single .l-container--news h2 {
  position: relative;
  padding-left: 35px;
  min-height: 60px;
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  line-height: 2rem;
  margin-bottom: 1.75rem;
  margin-top: 3rem;
}

.single .l-container--news h2::before {
  content: "";
  display: block;
  height: 100%;
  width: 11px;
  background-color: #E70012;
  position: absolute;
  top: 0;
  left: 0;
}

@media (min-width: 1024px) {
  .single .l-container--news h2 {
    font-size: 1.875rem;
    line-height: 2.25rem;
    margin-bottom: 2.75rem;
    margin-top: 6rem;
  }
}

.single .l-container--news .wp-block-columns {
  gap: 1.25rem;
  margin-top: 4rem;
}

@media (min-width: 1024px) {
  .single .l-container--news .wp-block-image {
    max-width: 529px;
  }
}

.single .l-container--news p {
  margin-bottom: 1rem;
}

.single .c-hero--second .c-hero__catch {
  font-size: 1.5rem;
  line-height: 1.3;
}

@media screen and (min-width: 768px) {
  .single .c-hero--second .c-hero__catch {
    font-size: 2.825rem;
  }
}

/* 🔴 本番（旧 WP）と同一＝`.page` を含めない。
   ウェブページ（/news/）は既定の .c-hero-box（70vh + overflow:hidden）を使うのが本番の挙動。
   ここに `.page` を足すと 30vh になり、装飾（.c-hero__circle-img-wrap = 90/100vh）が
   はみ出す前提になって上書きハックが連鎖する。詳細＝ADR-0021 */
.category .c-hero-box,
.blog .c-hero-box {
  height: calc(var(--vh) * 30);
  overflow: unset;
}

@media (min-width: 1024px) {

  .category .c-hero-box,
  .blog .c-hero-box {
    height: calc(var(--vh) * 70);
  }
}

/*
 * 🔴 ここにあった News 一覧ヒーローの上書き群（body.page main>.c-hero-box:first-of-type /
 *    .c-hero-box:has(+ .p-content-news) 系 39 セレクタ）は 2026-07-30 に全削除した。
 *
 * 削除理由: 本番（旧 WP）の CSS に該当セレクタが 1 つも存在せず、本番は
 *   ① .c-hero-box = 70vh + overflow:hidden で 90/100vh の装飾をクリップ
 *   ② @media(1024) .p-content-news { margin-top:-200px } で一覧をヒーロー下部へ引き上げ
 * の 2 手だけで組んでいた。上書き群は ① を 30vh + overflow:visible に変えたため
 * 装飾が約 70vh ぶん下へ漏れて一覧・Tab セクションに被り、② を外したため
 * タイトルと一覧の間に大きな空白ができていた（実機で表示崩れとして観測）。
 * 症状ごとにハックを重ねる構造だったので、本番と同じ 2 手へ戻すことで解消した。
 * 判断＝ADR-0021。比較根拠＝旧 WP 本番の実 CSS/HTML との 1:1 差分。
 */

/*
 * 🔴 ここにあった独自クラス .p-content-news__list（+ .p-content-news .c-list__item /
 *    body.page main>.l-container--lg の左右 40px 指定）は 2026-07-30 に全削除した。
 *
 * 本番（旧 WP）の一覧コンテナは `l-container l-container--lg l-container--no-padding`
 * ＝ padding:0 で 1118px を使い切る。独自クラスは SP20/PC40px を足していたため
 * PC で一覧が本番より左右 40px ずつ狭かった。NewsList.mtml / TopNews.mtml の
 * クラスも本番と同じ `l-container--no-padding` に戻した。判断＝ADR-0021
 */

/* add */
.p-video {
  position: relative;
  z-index: -1;
  width: 100%;
  height: auto;
  aspect-ratio: 720 / 1280;
  background-color: #fff;
}

.p-video video {
  width: 100%;
  height: 100%;
}

@media (min-width: 768px) {
  .p-video {
    aspect-ratio: 1920 / 1080;
  }
}

@media (min-width: 1024px) {
  .u-ver2 {
    margin-top: 60px;
  }
}

.home .l-header__logo-wrap {
  opacity: 0;
  pointer-events: none;
}

/* WP コア block-library 互換（WP 6.4.8 wp-includes/css/dist/block-library/style.min.css より抜粋・逐語コピー）
   WP 本番はテーマ style.css に加えてこのコア CSS を読み込んでおり、
   本文画像を figure 幅に収める .wp-block-image img { max-width: 100% } はここ由来。
   MT にはテーマ CSS しか移していないため、移行記事で実際に使われている
   wp-block-image / wp-block-gallery(has-nested-images)のルールのみ補完する */
.wp-block-image img {
  box-sizing: border-box;
  height: auto;
  max-width: 100%;
  vertical-align: bottom;
}

.wp-block-image figcaption {
  margin-bottom: 1em;
  margin-top: 0.5em;
}

figure.wp-block-gallery.has-nested-images {
  align-items: normal;
}

.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
  margin: 0;
  width: calc(50% - var(--wp--style--unstable-gallery-gap, 16px) / 2);
}

.wp-block-gallery.has-nested-images figure.wp-block-image {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: center;
  max-width: 100%;
  position: relative;
}

.wp-block-gallery.has-nested-images figure.wp-block-image img {
  display: block;
  height: auto;
  max-width: 100% !important;
  width: auto;
}

.wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image) {
  margin-bottom: auto;
  margin-top: 0;
}

.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) {
  align-self: inherit;
}

.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) > a,
.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) > div:not(.components-drop-zone) {
  display: flex;
}

.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) a,
.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img {
  flex: 1 0 0%;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

@media (min-width: 600px) {
  .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image) {
    width: calc(33.33% - var(--wp--style--unstable-gallery-gap, 16px) * 0.66667);
  }
  .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2),
  .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2) ~ figure.wp-block-image:not(#individual-image) {
    width: calc(50% - var(--wp--style--unstable-gallery-gap, 16px) * 0.5);
  }
  .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:last-child {
    width: 100%;
  }
}

/* News のデジタルパンフ・バッジ（Path A）。年度別カラーは c-button-pamphlet と同色。
   幅は「20XX年度デジタルパンフ」の文言に合わせて可変にする（c-label--sm の固定幅を上書き）。 */
.c-label--pamphlet {
  width: auto;
  padding-right: 14px;
  padding-left: 14px;
  white-space: nowrap;
}
.c-label--pamphlet-2024 {
  background-color: #8CB810;
}
.c-label--pamphlet-2023 {
  background-color: #DB1D68;
}
.c-label--pamphlet-2022 {
  background-color: #22ADE5;
}