/*
Theme Name: かぢ大希 公式サイト
Theme URI: https://kaji-daiki.net/
Author: かぢ大希事務所
Author URI: https://kaji-daiki.net/
Description: かぢ大希公式サイト専用のオリジナルWordPressテーマです。
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kaji-daiki
*/

:root {
  --base: #004190;
  --base-dark: #00326f;
  --accent: #fabe00;
  --ink: #16304f;
  --text: #35516f;
  --muted: #6f7f94;
  --line: rgba(0, 65, 144, 0.16);
  --pale: #eef3f9;
  --white: #ffffff;
  --u: min(1px, 0.052083333333vw);
  --container: 1200px;
  --shadow: 0 18px 38px rgba(0, 35, 88, 0.13);
  --hover-duration: 440ms;
  --hover-duration-slow: 620ms;
  --hover-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font:
    "Yu Gothic", "YuGothic", "游ゴシック体", "游ゴシック",
    "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(148 * var(--u));
}

#news,
#about,
#policy,
#children,
#information,
#support {
  scroll-margin-top: calc(148 * var(--u));
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: var(--font);
  font-size: clamp(1.3rem, 1.4vw, 1.5rem);
  line-height: 1.7;
  overflow-x: hidden;
}

.pageLoader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: #fff;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 620ms ease,
    visibility 620ms ease;
  animation: loaderFallback 0s linear 8s forwards;
}

.pageLoader.isLoaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  animation: none;
}

.pageLoaderInner {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: calc(16 * var(--u));
  color: var(--base);
}

.pageLoaderArea {
  display: grid;
  place-items: center;
  min-width: calc(94 * var(--u));
  min-height: calc(72 * var(--u));
  padding: calc(10 * var(--u)) calc(12 * var(--u));
  border: 1px solid currentColor;
  font-weight: 900;
  line-height: 1;
}

.pageLoaderArea small {
  font-size: calc(18 * var(--u));
}

.pageLoaderArea strong {
  font-size: calc(30 * var(--u));
}

.pageLoaderName {
  font-size: calc(54 * var(--u));
  font-weight: 900;
  line-height: 0.95;
}

.pageLoaderLine {
  position: relative;
  grid-column: 1 / -1;
  display: block;
  height: calc(4 * var(--u));
  margin-top: calc(14 * var(--u));
  overflow: hidden;
  background: rgba(0, 65, 144, 0.12);
}

.pageLoaderLine::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-100%);
  animation: loaderLine 1100ms ease-in-out infinite;
}

@keyframes loaderLine {
  0% {
    transform: translateX(-100%);
  }
  55%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes loaderFallback {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

body.isMenuOpen {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

figure {
  margin: 0;
}

.container {
  width: 90%;
  max-width: var(--container);
  margin: 0 auto;
}

.siteHeader {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 60;
  height: calc(128 * var(--u));
  border-bottom: 1px solid rgba(0, 65, 144, 0.12);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(0, 35, 88, 0.08);
  transform: translateY(-105%);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.siteHeader.isVisible {
  transform: translateY(0);
}

.headerInner {
  display: flex;
  align-items: center;
  width: 96%;
  max-width: none;
  height: 100%;
}

.headerBrand {
  display: inline-flex;
  align-items: center;
  gap: calc(14 * var(--u));
  color: var(--base);
  font-weight: 900;
  line-height: 0.9;
  opacity: 0;
  transform: translateY(calc(18 * var(--u)));
  transition:
    opacity 260ms ease,
    transform 340ms cubic-bezier(0.22, 1, 0.36, 1);
}

.siteHeader.isVisible .headerBrand {
  opacity: 1;
  transform: translateY(0);
}

.headerBrandArea {
  display: grid;
  place-items: center;
  width: calc(70 * var(--u));
  padding: calc(6 * var(--u));
  border: 1px solid var(--base);
  line-height: 1;
}

.headerBrandAreaCity {
  font-size: calc(17 * var(--u));
}

.headerBrandAreaWard {
  font-size: calc(26 * var(--u));
}

.headerBrandName {
  display: inline-flex;
  align-items: flex-end;
}

.headerBrandKaji {
  font-size: calc(54 * var(--u));
}

.headerBrandTaiki {
  font-size: calc(50 * var(--u));
}

.menuButton {
  position: fixed;
  top: calc(28 * var(--u));
  right: calc(32 * var(--u));
  z-index: 80;
  display: grid;
  place-items: center;
  width: calc(100 * var(--u));
  height: calc(100 * var(--u));
  padding: 0;
  border: 0;
  border-radius: 999rem;
  background: var(--base);
  box-shadow: 0 12px 24px rgba(0, 42, 98, 0.22);
  cursor: pointer;
  transition:
    top 420ms cubic-bezier(0.22, 1, 0.36, 1),
    right 420ms cubic-bezier(0.22, 1, 0.36, 1),
    width 420ms cubic-bezier(0.22, 1, 0.36, 1),
    height 420ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow var(--hover-duration) var(--hover-ease),
    transform var(--hover-duration) var(--hover-ease);
}

.siteHeader.isVisible + .menuButton {
  top: calc(22 * var(--u));
  right: 2%;
  width: calc(84 * var(--u));
  height: calc(84 * var(--u));
  box-shadow: 0 7px 16px rgba(0, 42, 98, 0.16);
}

.headerLineButton {
  position: fixed;
  right: calc(146 * var(--u));
  top: calc(28 * var(--u));
  z-index: 79;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(12 * var(--u));
  width: calc(330 * var(--u));
  height: calc(100 * var(--u));
  padding: 0 1.5em;
  border: 0;
  border-radius: 999px;
  background: #00b900;
  color: #fff;
  font-size: calc(18 * var(--u));
  font-weight: 900;
  box-shadow: 0 9px 20px rgba(0, 42, 98, 0.16);
  transition:
    top 420ms cubic-bezier(0.22, 1, 0.36, 1),
    right 420ms cubic-bezier(0.22, 1, 0.36, 1),
    height 420ms cubic-bezier(0.22, 1, 0.36, 1),
    transform var(--hover-duration) var(--hover-ease),
    opacity var(--hover-duration) var(--hover-ease);
}

.headerLineButton img {
  flex: 0 0 auto;
  width: calc(34 * var(--u));
  height: calc(34 * var(--u));
}

.headerLineButton span {
  line-height: 1.35;
  white-space: nowrap;
}

.siteHeader.isVisible ~ .headerLineButton {
  right: calc(2% + calc(98 * var(--u)));
  top: calc(22 * var(--u));
  height: calc(84 * var(--u));
}

body.isMenuOpen .headerLineButton {
  opacity: 0;
  pointer-events: none;
}

.menuButton span,
.menuButton::before,
.menuButton::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: calc(40 * var(--u));
  height: max(3px, calc(3 * var(--u)));
  border-radius: 999px;
  background: #fff;
  transition:
    transform var(--hover-duration) var(--hover-ease),
    opacity 320ms var(--hover-ease);
}

.menuButton span {
  transform: translate(-50%, -50%);
}

.menuButton::before {
  transform: translate(-50%, calc(-14 * var(--u)));
}

.menuButton::after {
  transform: translate(-50%, calc(11 * var(--u)));
}

.menuButton[aria-expanded="true"] span {
  opacity: 0;
}

.menuButton[aria-expanded="true"]::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menuButton[aria-expanded="true"]::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  overflow: auto;
  padding: calc(100 * var(--u)) 0;
  color: #fff;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 1.1s;
}

.drawer::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background: var(--base);
  clip-path: circle(
    0 at calc(100% - calc(82 * var(--u))) calc(78 * var(--u))
  );
  transition: clip-path 1.1s cubic-bezier(0.76, 0, 0.24, 1);
}

.drawer.isOpen {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.drawer.isOpen::before {
  clip-path: circle(
    150vmax at calc(100% - calc(82 * var(--u))) calc(78 * var(--u))
  );
}

.drawerInner {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  width: 90%;
  min-height: calc(100vh - calc(200 * var(--u)));
  max-width: var(--container);
  margin: 0 auto;
  align-content: center;
  row-gap: calc(44 * var(--u));
  opacity: 0;
  transform: translateY(calc(24 * var(--u)));
  transition:
    opacity 240ms ease,
    transform 240ms ease;
}

.drawer.isOpen .drawerInner {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 580ms;
}

.drawer nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 calc(72 * var(--u));
  width: 100%;
  font-weight: 900;
  font-size: 3.2rem;
  letter-spacing: 0;
}

.drawer nav a {
  position: relative;
  padding: calc(26 * var(--u)) calc(54 * var(--u)) calc(26 * var(--u)) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
}

.drawer nav a::after {
  content: "→";
  position: absolute;
  right: 0;
  top: 50%;
  display: grid;
  place-items: center;
  width: calc(38 * var(--u));
  height: calc(38 * var(--u));
  border-radius: 50%;
  background: var(--accent);
  color: var(--base);
  font-size: calc(20 * var(--u));
  line-height: 1;
  transform: translateY(-50%);
  transition:
    background-color var(--hover-duration) var(--hover-ease),
    color var(--hover-duration) var(--hover-ease),
    transform var(--hover-duration) var(--hover-ease);
}

.drawerActions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(20 * var(--u));
  width: 100%;
}

.drawerAction {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5em;
  min-height: calc(104 * var(--u));
  padding: calc(22 * var(--u)) calc(26 * var(--u));
  border: 1px solid #fff;
  border-radius: 8px;
  transition:
    background-color var(--hover-duration) var(--hover-ease),
    transform var(--hover-duration) var(--hover-ease);
}

.drawerActionContact {
  background: #fff;
  color: var(--base);
}

.drawerActionSupport {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--base);
}

.drawerAction small,
.drawerAction strong {
  display: block;
}

.drawerAction small {
  margin-bottom: 0.25em;
  font-family: "Avenir", "Avenir Next", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.drawerAction strong {
  font-size: clamp(1.6rem, 1.7vw, 2rem);
  font-weight: 900;
  line-height: 1.4;
}

.drawerActionArrow {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--base);
  font-size: 2rem;
  font-weight: 900;
  transition: transform var(--hover-duration) var(--hover-ease);
}

.drawerActionSupport .drawerActionArrow {
  background: var(--base);
  color: #fff;
}

.hero {
  --heroCompactHeight: min(calc(1016 * var(--u)), 82vh);
  --heroExpandedHeight: 100vh;
  position: relative;
  min-height: var(--heroExpandedHeight);
  overflow: hidden;
  background: var(--base);
  color: #fff;
  transition: min-height 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero.isCompact {
  min-height: var(--heroCompactHeight);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(35, 45, 54, 0.36) 0%,
      rgba(55, 64, 71, 0.17) 49.9%,
      rgba(0, 65, 144, 0.04) 50%,
      rgba(0, 65, 144, 0.08) 100%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04) 0%,
      rgba(0, 65, 144, 0.02) 58%,
      rgba(0, 65, 144, 0.28) 100%
    );
  pointer-events: none;
}

.heroPanels {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.heroSlider {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.heroSlide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.035);
  transition:
    opacity 1100ms ease,
    transform 6500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.heroSlide.isActive {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.heroSlide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.heroSliderBackground .heroSlide img {
  object-position: center center;
  filter: saturate(0.55) brightness(0.9) contrast(0.94);
}

.heroSliderPerson .heroSlide:first-child img {
  object-position: center 42%;
}

.heroSliderPerson .heroSlide:last-child img {
  object-position: center 38%;
}

.heroContent {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  width: 100%;
  max-width: none;
  min-height: var(--heroExpandedHeight);
  padding: calc(48 * var(--u)) 0 calc(116 * var(--u));
  transition: min-height 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero.isCompact .heroContent {
  min-height: var(--heroCompactHeight);
}

.heroCopy {
  grid-column: 1;
  justify-self: center;
  width: min(calc(560 * var(--u)), 42vw);
  margin-left: 0;
  padding-left: 0;
  transform: translateY(calc(-52 * var(--u)));
}

.floatingSupport {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(16 * var(--u));
  width: calc(82 * var(--u));
  min-height: calc(250 * var(--u));
  padding: calc(22 * var(--u)) calc(12 * var(--u));
  border: 1px solid rgba(0, 65, 144, 0.14);
  border-right: 0;
  border-radius: calc(12 * var(--u)) 0 0 calc(12 * var(--u));
  background: var(--accent);
  color: var(--base);
  box-shadow: none;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(100%, -50%, 0);
  transition:
    width var(--hover-duration) var(--hover-ease),
    background-color var(--hover-duration) var(--hover-ease),
    opacity var(--hover-duration) var(--hover-ease),
    transform var(--hover-duration-slow) var(--hover-ease),
    visibility 0s linear var(--hover-duration-slow);
}

body.hasScrolled .floatingSupport {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, -50%, 0);
  transition-delay: 0s;
}

body.hasScrolled.hasReachedSupport .floatingSupport {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(100%, -50%, 0);
  transition-delay: 0s, 0s, 0s, 0s, var(--hover-duration-slow);
}

.floatingSupport img {
  width: calc(48 * var(--u));
  height: calc(48 * var(--u));
  object-fit: contain;
}

.floatingSupport span {
  font-size: clamp(1.2rem, 1.5vw, 1.6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
  text-orientation: upright;
}

.visuallyHidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.heroCatchImage {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 7px 14px rgba(0, 42, 98, 0.2));
}

.heroName {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: calc(16 * var(--u));
  flex-wrap: nowrap;
  margin-top: 1em;
  margin-left: 0;
  width: 100%;
  color: #fff;
  white-space: nowrap;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.9);
}

.heroArea {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: calc(126 * var(--u));
  padding: calc(10 * var(--u)) calc(12 * var(--u)) calc(12 * var(--u));
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-weight: 900;
  line-height: 1;
}

.heroAreaCity,
.heroAreaWard {
  display: block;
  width: calc(90 * var(--u));
  text-align: center;
  line-height: 1.05;
}

.heroAreaCity {
  font-size: calc(30 * var(--u));
}

.heroAreaWard {
  font-size: calc(44 * var(--u));
}

.heroName strong {
  display: inline-flex;
  align-items: flex-end;
  flex: 0 0 auto;
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: 0;
  white-space: nowrap;
}

.heroNameKaji {
  display: block;
  font-size: calc(120 * var(--u));
}

.heroNameTaiki {
  display: block;
  font-size: calc(110 * var(--u));
}

.activity {
  position: relative;
  z-index: 5;
  margin-top: calc(-170 * var(--u));
  padding: 100px 0 80px;
  overflow: hidden;
  background: transparent;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, calc(72 * var(--u)), 0);
  transition:
    opacity 680ms ease,
    transform 820ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear;
}

.hero.isCompact + .activity {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  transition-delay: 180ms;
}

.activity::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 0;
  height: calc(350 * var(--u));
  background: url("img/top/curve-blue.png") center top / auto 100%
    no-repeat;
  pointer-events: none;
}

.activity::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(349 * var(--u));
  bottom: 0;
  z-index: 0;
  background: var(--base);
  pointer-events: none;
}

.activity .container {
  position: relative;
  z-index: 1;
  margin-top: -4em;
}

.activityTitle {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  width: auto;
  height: auto;
  margin: 0 0 calc(22 * var(--u));
  padding: 0.5em 0.75em;
  border-bottom: calc(4 * var(--u)) solid var(--accent);
  background: #fff;
  color: var(--base);
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
}

.activityTitle small {
  margin-left: calc(12 * var(--u));
  color: var(--muted);
  font-family: "Avenir", "Avenir Next", sans-serif;
  font-size: clamp(0.8rem, 1vw, 1.2rem);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.activity .container {
  container-name: activityContent;
  container-type: inline-size;
}

.activityList {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 160px));
  gap: calc(15 * var(--u));
  align-items: stretch;
  justify-content: space-between;
}

.mobileBreak {
  display: none;
}

.activityCard {
  position: relative;
  width: 100%;
  max-width: 160px;
  aspect-ratio: 230 / 330;
  min-height: 0;
  overflow: hidden;
  background: #fff;
}

.activityCard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}

.activitySliderControls {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.activitySliderButton {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: #fff;
  color: var(--base);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color var(--hover-duration) var(--hover-ease),
    color var(--hover-duration) var(--hover-ease),
    opacity var(--hover-duration) var(--hover-ease),
    transform var(--hover-duration) var(--hover-ease);
}

.activitySliderButton:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.activitySliderButton:disabled {
  opacity: 0.36;
  cursor: default;
  transform: none;
}

@container activityContent (max-width: 1034px) {
  .activityList {
    display: flex;
    gap: 12px;
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    touch-action: pan-x pinch-zoom;
    -webkit-overflow-scrolling: touch;
  }

  .activityList::-webkit-scrollbar {
    display: none;
  }

  .activityCard {
    flex: 0 0 160px;
    scroll-snap-align: start;
  }

  .activitySliderControls {
    display: flex;
  }
}

.moreButton {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: calc(282 * var(--u));
  min-height: calc(66 * var(--u));
  margin: calc(30 * var(--u)) auto 0;
  padding: 1em calc(78 * var(--u)) 1em calc(34 * var(--u));
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--base);
  font-size: clamp(1.4rem, 1.5rem, 1.6rem);
  font-weight: 900;
  box-shadow: none;
  transition:
    background-color var(--hover-duration) var(--hover-ease),
    transform var(--hover-duration) var(--hover-ease);
}

.moreButton::before {
  content: "→";
  position: absolute;
  right: calc(24 * var(--u));
  top: 50%;
  z-index: 2;
  color: #fff;
  font-size: calc(22 * var(--u));
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
}

.moreButton::after {
  content: "";
  position: absolute;
  right: calc(10 * var(--u));
  top: 50%;
  width: calc(46 * var(--u));
  height: calc(46 * var(--u));
  border-radius: 50%;
  background: var(--base);
  transform: translateY(-50%);
}

.buttonWrap {
  display: flex;
  justify-content: center;
}

.profile {
  position: relative;
  padding: 100px 0 15px;
  overflow: hidden;
  background: var(--pale);
}

.profile::before {
  content: "";
  position: absolute;
  left: calc(-170 * var(--u));
  top: auto;
  bottom: calc(120 * var(--u));
  z-index: 1;
  width: calc(1040 * var(--u));
  height: calc(1000 * var(--u));
  background: #9ed0f1;
  opacity: 0.42;
  transform: rotate(-11deg);
  -webkit-mask: url("img/common/deco.svg") center / contain no-repeat;
  mask: url("img/common/deco.svg") center / contain no-repeat;
}

.profile::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  height: calc(350 * var(--u));
  background: url("img/top/curve-white-inverse.png") center bottom / auto
    100% no-repeat;
}

.profile > .container {
  position: relative;
  z-index: 2;
  margin-bottom: calc(36 * var(--u));
}

.profile > .profileSummary {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(500px, 1fr);
  gap: calc(36 * var(--u));
  align-items: start;
  margin-bottom: 0;
}

.profileSummaryBody {
  max-width: calc(620 * var(--u));
  padding-left: 0;
}

.profileSummaryBody > .sectionTab {
  margin-bottom: calc(58 * var(--u));
}

.profileSummaryName {
  display: flex;
  align-items: baseline;
  gap: calc(12 * var(--u));
  margin: 0;
  color: var(--base);
  font-size: clamp(3.6rem, 4.3vw, 5.4rem);
  font-weight: 900;
  line-height: 1.2;
}

.profileSummaryGivenName {
  position: relative;
  display: inline-block;
  line-height: inherit;
}

.profileSummaryGivenName small {
  position: absolute;
  left: 50%;
  bottom: calc(100% + calc(2 * var(--u)));
  color: #6b7e96;
  font-size: 0.28em;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transform: translateX(-50%);
}

.profileSummaryRole {
  margin: calc(12 * var(--u)) 0 calc(30 * var(--u));
  padding-left: calc(14 * var(--u));
  border-left: calc(4 * var(--u)) solid var(--accent);
  color: #334f70;
  font-size: clamp(1.5rem, 1.5vw, 1.8rem);
  font-weight: 900;
  line-height: 1.5;
}

.profileSummaryFacts {
  margin: 0;
  border-top: 1px solid rgba(0, 65, 144, 0.2);
}

.profileSummaryFacts > div {
  display: grid;
  grid-template-columns: calc(120 * var(--u)) minmax(0, 1fr);
  gap: calc(18 * var(--u));
  padding: calc(13 * var(--u)) 0;
  border-bottom: 1px solid rgba(0, 65, 144, 0.2);
}

.profileSummaryFacts dt {
  color: var(--base);
  font-weight: 900;
}

.profileSummaryFacts dd {
  margin: 0;
  color: #37506d;
  font-weight: 500;
}

.profileSummaryLead {
  margin: calc(26 * var(--u)) 0 0;
  color: #37506d;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.9;
}

.profileSummaryPhoto {
  --portraitOverlap: clamp(130px, 8vw, 170px);
  position: relative;
  order: 2;
  display: grid;
  align-self: stretch;
  margin: 0;
  overflow: visible;
  background: transparent;
  align-items: end;
}

.profileSummaryPhoto img {
  position: absolute;
  left: 0;
  top: 0;
  width: auto;
  height: calc(100% + var(--portraitOverlap));
  min-height: 0;
  max-width: none;
  margin: 0;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: left top;
}

@media (min-width: 1600px) {
  .profileSummaryPhoto {
    --portraitWideShift: clamp(64px, 4.2vw, 80px);
    margin-right: calc(0px - var(--portraitWideShift));
    margin-left: var(--portraitWideShift);
  }
}

.profileLayout {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: none;
  margin-top: calc(70 * var(--u));
}

.sectionTab {
  display: inline-flex;
  align-items: baseline;
  gap: calc(13 * var(--u));
  width: auto;
  height: auto;
  margin: 0 0 calc(22 * var(--u));
  padding: 0.5em 0.75em;
  border-bottom: calc(4 * var(--u)) solid var(--accent);
  background: var(--base);
  color: #fff;
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.sectionTab small {
  color: rgba(255, 255, 255, 0.74);
  font-family: "Avenir", "Avenir Next", sans-serif;
  font-size: clamp(0.8rem, 1vw, 1.2rem);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.profileGrid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: end;
  min-height: 0;
  padding-bottom: 0;
}

.profilePhotoBlock {
  position: relative;
  grid-area: 1 / 1;
  justify-self: start;
  width: calc(1160 * var(--u));
  padding-bottom: 0;
}

.profileFamily {
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}

.profileFamily img {
  width: 100%;
  aspect-ratio: 1160 / 900;
  object-fit: cover;
  object-position: center center;
}

.profileCard {
  position: relative;
  display: flex;
  grid-area: 1 / 1;
  align-self: start;
  justify-self: end;
  width: 40%;
  max-width: 640px;
  margin-top: 1em;
  margin-right: calc(30 * var(--u));
  padding: calc(56 * var(--u)) calc(50 * var(--u)) calc(50 * var(--u));
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 15px 36px rgba(0, 35, 88, 0.08);
  flex-direction: column;
}

.profileCard::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: calc(7 * var(--u));
  background: var(--accent);
}

.profileCard h2 {
  margin: 0 0 18px;
  color: var(--base);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0;
}

.profileCard .profileCardQuote {
  margin: 0;
  padding-top: 1em;
  color: var(--ink);
  font-size: clamp(1.8rem, 1.75vw, 2.6rem);
  font-weight: 900;
  line-height: 1.5;
}

.profileCardQuote mark {
  padding: 0 0 0.2em;
  background: linear-gradient(
    180deg,
    transparent 58%,
    rgba(250, 190, 0, 0.75) 58%
  );
  color: inherit;
}

.profileCard p {
  margin: 0 0 13px;
  color: #37506d;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.75;
}

.profileCard p:last-of-type {
  margin-bottom: 0;
}

.profileHistorySlider {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: calc(70 * var(--u));
  margin-bottom: calc(350 * var(--u) + 25px);
  overflow: hidden;
}

.profileHistoryTrack {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: profileHistoryScroll 64s linear infinite;
}

.profileHistoryGroup {
  display: flex;
  flex: 0 0 auto;
  gap: clamp(12px, 1.25vw, 24px);
  padding-right: clamp(12px, 1.25vw, 24px);
}

.profileHistoryItem {
  flex: 0 0 auto;
  height: clamp(180px, 18vw, 320px);
  overflow: hidden;
  background: #dbe7f4;
}

.profileHistoryItem img {
  display: block;
  width: auto;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

@keyframes profileHistoryScroll {
  to {
    transform: translateX(-50%);
  }
}

.fatherProfile {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(120px, calc(158 * var(--u))) minmax(0, 1fr);
  gap: calc(24 * var(--u));
  align-items: center;
  margin-top: calc(34 * var(--u));
  padding: calc(24 * var(--u)) 0;
  border-top: 1px solid rgba(0, 65, 144, 0.22);
  border-bottom: 1px solid rgba(0, 65, 144, 0.22);
}

.fatherProfilePhoto {
  overflow: hidden;
  background: #fff;
}

.fatherProfilePhoto img {
  width: 100%;
  aspect-ratio: 365 / 314;
  object-fit: cover;
}

.fatherProfileBody {
  padding-left: 0;
}

.fatherProfileRole {
  margin: 0 0 calc(6 * var(--u));
  color: var(--ink);
  font-size: clamp(1.2rem, 1.1vw, 1.4rem);
  font-weight: 700;
}

.fatherProfileName {
  display: flex;
  align-items: baseline;
  gap: calc(10 * var(--u));
  margin: 0 0 calc(16 * var(--u));
  color: var(--base);
  font-size: clamp(2.2rem, 2.4vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
}

.fatherProfileName small {
  color: var(--ink);
  font-size: 0.55em;
  font-weight: 700;
}

.fatherProfileLink {
  display: inline-flex;
  align-items: center;
  gap: calc(14 * var(--u));
  min-height: calc(46 * var(--u));
  padding: calc(8 * var(--u)) calc(14 * var(--u))
    calc(8 * var(--u)) calc(20 * var(--u));
  border: 1px solid var(--base);
  border-radius: 999px;
  background: #fff;
  color: var(--base);
  font-size: 1.3rem;
  font-weight: 900;
  box-shadow: 0 calc(4 * var(--u)) 0 #d6a300;
}

.fatherProfileLink span {
  display: grid;
  place-items: center;
  width: calc(28 * var(--u));
  height: calc(28 * var(--u));
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  line-height: 1;
}

.policy {
  position: relative;
  z-index: 2;
  padding: calc(20 * var(--u)) 0 calc(180 * var(--u));
  overflow: hidden;
  background: #fff;
}

.policy > .container {
  position: relative;
  z-index: 1;
}

.policyHeading {
  display: grid;
  justify-items: center;
  gap: calc(18 * var(--u));
  margin-bottom: calc(52 * var(--u));
  text-align: center;
}

.policyHeading h2 {
  display: inline-flex;
  align-items: baseline;
  gap: calc(14 * var(--u));
  width: auto;
  height: auto;
  margin: 0 0 calc(22 * var(--u));
  padding: 0.5em 0.75em;
  border-bottom: calc(4 * var(--u)) solid var(--accent);
  color: var(--base);
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0;
  white-space: nowrap;
}

.policyHeading h2 small {
  color: var(--muted);
  font-family: "Avenir", "Avenir Next", sans-serif;
  font-size: clamp(0.8rem, 1vw, 1.2rem);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.policyAccent {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  margin-top: calc(2 * var(--u));
}

.policyAccent img {
  position: relative;
  z-index: 2;
  width: calc(100 * var(--u));
  margin-right: calc(-60 * var(--u));
  filter: drop-shadow(0 5px 0 rgba(0, 65, 144, 0.08));
}

.policyAccent span {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: calc(70 * var(--u));
  padding: 0 calc(22 * var(--u)) 0 calc(80 * var(--u));
  border-radius: 999px;
  background: var(--accent);
  color: var(--base);
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 7px 0 rgba(0, 65, 144, 0.08);
}

.policyGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(24 * var(--u));
  padding-top: calc(34 * var(--u));
}

.policyCard {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 100%;
  padding: calc(28 * var(--u)) calc(26 * var(--u)) calc(30 * var(--u));
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 15px 36px rgba(0, 35, 88, 0.08);
  overflow: hidden;
}

.policyCard::before {
  content: none;
}

.policyCard::after {
  content: "PROMISE";
  position: absolute;
  right: -0.25em;
  bottom: -0.25em;
  z-index: 0;
  color: rgba(250, 190, 0, 0.2);
  font-family: "Avenir", "Avenir Next", sans-serif;
  font-size: calc(66 * var(--u));
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
  pointer-events: none;
}

.policyCard > * {
  position: relative;
  z-index: 1;
}

.policyNum {
  display: inline-grid;
  place-items: center;
  flex: 0 0 calc(56 * var(--u));
  width: calc(56 * var(--u));
  height: calc(54 * var(--u));
  margin-bottom: 0;
  border-top: 1px solid;
  border-bottom: 1px solid;
  background: #fff;
  color: var(--accent);
  font-family: "Avenir", "Avenir Next", sans-serif;
  font-size: calc(20 * var(--u));
  font-weight: 900;
}

.policyMeta {
  position: absolute;
  left: 0;
  top: 1em;
  z-index: 2;
  display: flex;
  width: auto;
  max-width: 100%;
  align-items: center;
  gap: 0;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0 999px 999px 0;
  background: var(--accent);
  box-shadow: none;
  transform: none;
}

.policyMeta small {
  display: flex;
  align-items: center;
  min-height: calc(54 * var(--u));
  margin: 0;
  padding: calc(8 * var(--u)) calc(18 * var(--u));
  color: var(--base);
  font-size: 1.5rem;
  line-height: 1.35;
  white-space: nowrap;
}

.policyCardImage {
  width: 100%;
  margin: 0 0 calc(22 * var(--u));
  overflow: hidden;
  background: var(--pale);
}

.policyCardImage img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.policyCard small {
  display: flex;
  align-items: center;
  margin-bottom: 0;
  color: var(--base);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.4;
}

.policyCard h3 {
  margin: 0 0 calc(16 * var(--u));
  color: var(--base);
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.55;
  letter-spacing: 0;
}

.policyCard p {
  margin: 0;
  color: #405875;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.75;
}

.children {
  position: relative;
  padding: calc(110 * var(--u)) 0 calc(140 * var(--u));
  overflow: hidden;
  background: var(--pale);
}

.children::before {
  content: "";
  position: absolute;
  right: calc(-280 * var(--u));
  top: calc(70 * var(--u));
  width: calc(1040 * var(--u));
  height: calc(1000 * var(--u));
  background: #9ed0f1;
  opacity: 0.32;
  transform: rotate(10deg);
  -webkit-mask: url("img/common/deco.svg") center / contain no-repeat;
  mask: url("img/common/deco.svg") center / contain no-repeat;
}

.children > .container {
  position: relative;
  z-index: 1;
}

.childrenHeading {
  margin-bottom: calc(38 * var(--u));
}

.childrenHeading .sectionTab {
  background: #fff;
  color: var(--base);
}

.childrenHeading .sectionTab small {
  color: var(--muted);
}

.childrenFeatureHeader {
  margin-bottom: calc(28 * var(--u));
  padding: calc(14 * var(--u)) 0 calc(22 * var(--u));
  text-align: center;
}

.childrenFeatureTitle {
  max-width: 100%;
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(2.8rem, 2.6vw, 4rem);
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
}

.childrenFeatureTitle::after {
  content: "";
  display: block;
  width: calc(84 * var(--u));
  height: calc(4 * var(--u));
  margin: calc(20 * var(--u)) auto 0;
  background: var(--accent);
}

.childrenFeatureIntro {
  margin: calc(24 * var(--u)) 0 0;
  color: #405875;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.8;
  text-align: left;
}

.childrenLead {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  width: 100%;
  margin: 0;
}

.childrenLead figure {
  position: relative;
  z-index: 2;
  aspect-ratio: 1;
  margin: 0;
}

.childrenLead figure::after {
  content: none;
}

.childrenLead img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
}

.childrenFeatureCopy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  margin-left: calc(-170 * var(--u));
  padding: calc(54 * var(--u)) calc(56 * var(--u))
    calc(54 * var(--u)) calc(210 * var(--u));
  border-radius: 999px;
  isolation: isolate;
}

.childrenFeatureCopy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transform: scaleX(1);
  transform-origin: left center;
}

.childrenFeatureCopy > * {
  position: relative;
  z-index: 1;
}

.childrenFeatureLabel {
  position: absolute;
  left: 0;
  right: auto;
  top: calc(38 * var(--u));
  z-index: 2;
  max-width: none;
  padding: calc(11 * var(--u)) calc(20 * var(--u));
  border-radius: 999px;
  background: var(--base);
  color: #fff;
  font-size: clamp(1.2rem, 1.3vw, 1.4rem);
  font-weight: 900;
  line-height: 1.5;
  white-space: nowrap;
}

.childrenFeatureLabel::after {
  content: "";
  position: absolute;
  right: calc(18 * var(--u));
  bottom: calc(-17 * var(--u));
  width: calc(24 * var(--u));
  height: calc(20 * var(--u));
  background: var(--base);
  clip-path: polygon(0 0, 100% 0, 78% 100%);
}

.childrenFeatureCopy h3 {
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.8rem, 2vw, 2.7rem);
  font-weight: 900;
  line-height: 1.45;
  white-space: nowrap;
}

.projectActivities {
  display: grid;
  gap: calc(72 * var(--u));
  margin-top: calc(70 * var(--u));
}

.projectActivity {
  position: relative;
  overflow: hidden;
  padding: calc(54 * var(--u)) calc(56 * var(--u));
  border: 1px solid rgba(0, 65, 144, 0.12);
  border-radius: calc(36 * var(--u));
  background: #fff;
  box-shadow: 0 18px 42px rgba(0, 65, 144, 0.08);
}

.projectActivityMain {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(
      calc(400 * var(--u)),
      0.58fr
    );
  gap: calc(34 * var(--u));
  align-items: center;
}

.projectActivityCopy .projectActivityEyebrow {
  width: fit-content;
  margin: 0 0 calc(20 * var(--u)) calc(-56 * var(--u));
  padding: calc(11 * var(--u)) calc(28 * var(--u)) calc(11 * var(--u))
    calc(56 * var(--u));
  background: var(--accent);
  color: var(--base);
  font-family: "Avenir", "Avenir Next", sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.projectActivity h3 {
  margin: 0 0 calc(20 * var(--u));
  color: var(--ink);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.5;
}

.projectActivityCopy p {
  margin: 0;
  color: #405875;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.8;
}

.projectActivityVisual {
  display: grid;
  place-items: center;
  min-height: calc(320 * var(--u));
  margin: 0;
}

.projectActivityVisual img {
  width: calc(430 * var(--u));
  max-width: 100%;
  max-height: calc(320 * var(--u));
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 65, 144, 0.12));
}

.projectGalleryShell {
  position: relative;
  margin: calc(48 * var(--u)) calc(-56 * var(--u)) 0;
}

.projectGallery {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: auto;
  scroll-snap-type: none;
  scrollbar-width: none;
}

.projectGallery::-webkit-scrollbar {
  display: none;
}

.projectGalleryTrack {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(20% - calc(9.6 * var(--u)));
  gap: calc(12 * var(--u));
  width: 100%;
  padding: 0;
}

.projectGalleryItem {
  overflow: hidden;
  border-radius: 0;
  background: var(--pale);
}

.projectGalleryItem img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.revealItem {
  opacity: 0;
  transform: translate3d(0, calc(34 * var(--u)), 0);
  transition:
    opacity 720ms ease,
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.revealItem.revealLeft {
  transform: translate3d(calc(-42 * var(--u)), 0, 0);
}

.revealItem.revealRight {
  transform: translate3d(calc(42 * var(--u)), 0, 0);
}

.revealItem.isRevealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.childrenFeatureCopy.revealItem,
.childrenFeatureCopy.revealItem.revealRight {
  opacity: 1;
  transform: none;
  transition: none;
}

.childrenFeatureCopy.revealItem::before {
  transform: scaleX(0);
  transition: transform 960ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 120ms;
}

.childrenFeatureCopy.revealItem > * {
  opacity: 0;
  transform: translate3d(calc(-14 * var(--u)), 0, 0);
  transition:
    opacity 420ms ease 520ms,
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1) 520ms;
}

.childrenFeatureCopy.revealItem.isRevealed::before {
  transform: scaleX(1);
}

.childrenFeatureCopy.revealItem.isRevealed > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.policyCard.revealItem {
  transform: translate3d(0, calc(72 * var(--u)), 0);
  transition-duration: 820ms;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.policyCard.revealItem.isRevealed {
  transform: translate3d(0, 0, 0);
}

.heroCatchImage,
.heroName,
.heroPanels {
  opacity: 0;
}

.hero.isReady .heroCatchImage {
  animation: hero-copy-in 900ms 120ms both cubic-bezier(0.22, 1, 0.36, 1);
}

.hero.isReady .heroName {
  animation: hero-name-in 900ms 300ms both cubic-bezier(0.22, 1, 0.36, 1);
}

.hero.isReady .heroPanels {
  animation: hero-photo-in 1200ms 100ms both
    cubic-bezier(0.22, 1, 0.36, 1);
}

.hero.isReady .heroSliderBackground {
  animation: hero-panel-left-in 1250ms 120ms both
    cubic-bezier(0.22, 1, 0.36, 1);
}

.hero.isReady .heroSliderPerson {
  animation: hero-panel-right-in 1250ms 220ms both
    cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes hero-copy-in {
  from {
    opacity: 0;
    transform: translate3d(calc(-38 * var(--u)), 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hero-name-in {
  from {
    opacity: 0;
    transform: translate3d(0, calc(28 * var(--u)), 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hero-photo-in {
  from {
    opacity: 0;
    filter: blur(calc(8 * var(--u)));
    transform: scale(1.02);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

@keyframes hero-panel-left-in {
  from {
    opacity: 0;
    transform: translate3d(calc(-42 * var(--u)), 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hero-panel-right-in {
  from {
    opacity: 0;
    transform: translate3d(calc(42 * var(--u)), 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (hover: hover) {
  .activityCard,
  .moreButton,
  .fatherProfileLink,
  .supportCta,
  .footerSocial a,
  .footerNav a,
  .footerLegal a,
  .footerPagetop,
  .footerPrivacy,
  .drawer nav a {
    transition:
      transform var(--hover-duration) var(--hover-ease),
      box-shadow var(--hover-duration) var(--hover-ease),
      color var(--hover-duration) var(--hover-ease),
      opacity var(--hover-duration) var(--hover-ease),
      border-color var(--hover-duration) var(--hover-ease);
  }

  .activityCard:hover {
    transform: translateY(calc(-5 * var(--u)));
    box-shadow: 0 18px 38px rgba(0, 35, 88, 0.16);
  }

  .supportCta:hover {
    opacity: 0.9;
  }

  .floatingSupport:hover {
    width: calc(96 * var(--u));
    background: #ffd02f;
  }

  .headerLineButton:hover {
    transform: translateY(calc(-2 * var(--u)));
  }

  .menuButton:hover {
    transform: scale(1.06);
    box-shadow: 0 16px 30px rgba(0, 42, 98, 0.22);
  }

  .activityCard img {
    transition: transform var(--hover-duration-slow) var(--hover-ease);
  }

  .activityCard:hover img {
    transform: scale(1.045);
  }

  .moreButton:hover {
    transform: translateY(calc(-2 * var(--u)));
  }

  .fatherProfileLink:hover {
    transform: translateY(calc(-2 * var(--u)));
    box-shadow: 0 calc(7 * var(--u)) 0 #d6a300;
  }

  .supportCta:hover .supportCtaAction span:last-child {
    transform: translateX(calc(3 * var(--u)));
  }

  .footerSocial a:hover {
    transform: translateY(calc(-3 * var(--u))) scale(1.05);
  }

  .footerNav a:hover,
  .footerLegal a:hover,
  .footerPagetop:hover,
  .footerPrivacy:hover {
    color: var(--ink);
    transform: translateX(calc(2 * var(--u)));
  }

  .drawer nav a:hover {
    border-bottom-color: var(--accent);
    color: #fff;
    transform: translateX(calc(3 * var(--u)));
  }

  .drawer nav a:hover::after {
    background: #fff;
    color: var(--base);
    transform: translateY(-50%) rotate(-20deg);
  }

  .drawerAction:hover {
    transform: translateY(calc(-2 * var(--u)));
  }

  .drawerActionContact:hover {
    background: var(--pale);
  }

  .drawerActionSupport:hover {
    background: #ffd02f;
  }

  .drawerAction:hover .drawerActionArrow {
    transform: translateX(calc(3 * var(--u)));
  }
}

.information {
  position: relative;
  padding: calc(110 * var(--u)) 0 calc(60 * var(--u));
  overflow: hidden;
  background: #fff;
}

.information > .container {
  position: relative;
  z-index: 1;
}

.informationHeading {
  margin-bottom: calc(48 * var(--u));
}

.informationHeading h2 {
  display: inline-flex;
  align-items: baseline;
  gap: calc(14 * var(--u));
  width: auto;
  margin: 0;
  padding: 0.5em 0.75em;
  border-bottom: calc(4 * var(--u)) solid var(--accent);
  color: var(--base);
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 900;
  line-height: 1.35;
  white-space: nowrap;
}

.informationHeading h2 small {
  color: var(--muted);
  font-family: "Avenir", "Avenir Next", sans-serif;
  font-size: clamp(0.8rem, 1vw, 1.2rem);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.informationList {
  border-top: 1px solid var(--line);
}

.informationItem {
  position: relative;
  display: grid;
  grid-template-columns: calc(128 * var(--u)) minmax(0, 1fr) 4rem;
  gap: calc(28 * var(--u));
  align-items: center;
  padding: calc(28 * var(--u)) 0;
  border-bottom: 1px solid var(--line);
  transition: background-color var(--hover-duration) var(--hover-ease);
}

.informationItem time {
  color: var(--base);
  font-family: "Avenir", "Avenir Next", sans-serif;
  font-size: clamp(1.1rem, 1.3vw, 1.4rem);
  font-weight: 900;
}

.informationItem h3 {
  margin: 0 0 calc(5 * var(--u));
  color: var(--ink);
  font-size: clamp(1.2rem, 1.5vw, 1.6rem);
  font-weight: 900;
  line-height: 1.5;
  transition:
    color var(--hover-duration) var(--hover-ease),
    transform var(--hover-duration) var(--hover-ease);
}

.informationItem p {
  display: none;
}

.informationArrow {
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  color: var(--base);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  transition:
    background-color var(--hover-duration) var(--hover-ease),
    color var(--hover-duration) var(--hover-ease),
    transform var(--hover-duration) var(--hover-ease);
}

@media (hover: hover) {
  a.informationItem:hover {
    background-color: rgba(0, 65, 144, 0.04);
  }

  a.informationItem:hover h3 {
    color: var(--base);
    transform: translateX(0.35rem);
  }

  a.informationItem:hover .informationArrow {
    background: var(--base);
    color: #fff;
    transform: rotate(-20deg);
  }
}

.supportSection {
  position: relative;
  margin-top: 0;
  padding: calc(60 * var(--u)) 0 calc(180 * var(--u));
  overflow: hidden;
  background: var(--pale) url("img/top/minamiku.png") center bottom / cover
    no-repeat;
}

.supportSection > .container {
  position: relative;
  z-index: 1;
}

.supportVisual {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

.supportCtaGrid {
  position: relative;
  z-index: 2;
  display: grid;
  flex: 0 0 74%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(30 * var(--u));
  width: auto;
  max-width: none;
  margin: 0 -5% 0 0;
}

.supportPortrait {
  position: absolute;
  top: calc(-60 * var(--u));
  right: 0;
  bottom: calc(-180 * var(--u));
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 31%;
  margin: 0;
  pointer-events: none;
}

.supportPortrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.supportCta {
  position: relative;
  display: flex;
  min-height: calc(430 * var(--u));
  padding: calc(40 * var(--u));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  flex-direction: column;
  background: #fff;
  color: var(--ink);
}

.supportCta.isSupport {
  border-color: var(--base);
  background: var(--base);
  color: #fff;
}

.supportCta.isSupport::before {
  content: none;
}

.supportCta > * {
  position: relative;
  z-index: 1;
}

.supportCta small {
  margin-bottom: calc(16 * var(--u));
  color: var(--base);
  font-family: "Avenir", "Avenir Next", sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.supportCta.isSupport small {
  color: var(--accent);
}

.supportCta h2 {
  margin: 0 0 calc(20 * var(--u));
  color: inherit;
  font-size: clamp(2.8rem, 2.2vw, 3.6rem);
  font-weight: 900;
  line-height: 1.35;
  white-space: nowrap;
}

.supportCta p {
  max-width: none;
  margin: 0;
  color: #405875;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.8;
  line-break: strict;
  text-wrap: pretty;
  word-break: normal;
}

.supportCta.isSupport p {
  color: rgba(255, 255, 255, 0.86);
}

.supportCtaAction {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(20 * var(--u));
  margin-top: auto;
  padding-top: calc(54 * var(--u));
  color: var(--base);
  font-size: 1.8rem;
  font-weight: 900;
}

.supportCtaAction::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(24 * var(--u));
  height: 1px;
  background: var(--line);
}

.supportCta.isSupport .supportCtaAction {
  color: #fff;
}

.supportCta.isSupport .supportCtaAction::before {
  background: rgba(255, 255, 255, 0.3);
}

.supportCtaAction span:last-child {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: calc(42 * var(--u));
  height: calc(42 * var(--u));
  border-radius: 50%;
  background: var(--accent);
  color: var(--base);
  font-size: calc(22 * var(--u));
  transition: transform var(--hover-duration) var(--hover-ease);
}

.snsRow {
  display: flex;
  flex-wrap: wrap;
  gap: calc(12 * var(--u));
}

.snsLink {
  display: inline-grid;
  place-items: center;
  width: calc(48 * var(--u));
  height: calc(48 * var(--u));
  border: 1px solid var(--base);
  border-radius: 50%;
  background: #fff;
  color: var(--base);
  font-family: "Avenir", "Avenir Next", sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
}

.siteFooter {
  position: relative;
  padding: calc(86 * var(--u)) 0 calc(30 * var(--u));
  overflow: hidden;
  background: #dfeaf7;
  color: var(--base);
}

.siteFooter::before {
  content: "";
  position: absolute;
  right: calc(-120 * var(--u));
  top: calc(-140 * var(--u));
  width: calc(810 * var(--u));
  height: calc(780 * var(--u));
  background: #86bfe8;
  opacity: 0.26;
  transform: rotate(9deg);
  -webkit-mask: url("img/common/deco.svg") center / contain no-repeat;
  mask: url("img/common/deco.svg") center / contain no-repeat;
  pointer-events: none;
}

.siteFooter > .container {
  position: relative;
  z-index: 1;
}

.footerBrand {
  display: grid;
  gap: calc(6 * var(--u));
  margin-bottom: calc(58 * var(--u));
}

.footerBrand strong {
  color: var(--base);
  font-size: 4.8rem;
  font-weight: 900;
  line-height: 1.15;
}

.footerBrand span {
  color: var(--ink);
  font-size: 1.6rem;
  font-weight: 900;
}

.footerBrand address {
  color: var(--text);
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 700;
}

.footerMain {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(32 * var(--u));
  padding-bottom: calc(30 * var(--u));
  border-bottom: 1px solid rgba(0, 65, 144, 0.2);
}

.footerNav,
.footerLegal {
  display: flex;
  flex-wrap: wrap;
  gap: calc(12 * var(--u)) calc(28 * var(--u));
  font-weight: 900;
}

.footerNav {
  font-size: clamp(1.1rem, 1.2vw, 1.3rem);
}

.footerSocial {
  display: flex;
  flex: 0 0 auto;
  gap: calc(14 * var(--u));
}

.footerSocial a {
  display: grid;
  place-items: center;
  width: calc(34 * var(--u));
  height: calc(34 * var(--u));
}

.footerSocial img {
  width: calc(24 * var(--u));
  max-height: calc(24 * var(--u));
  object-fit: contain;
}

.footerLegalRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(28 * var(--u));
  padding: calc(26 * var(--u)) 0 calc(42 * var(--u));
}

.footerLegal {
  font-size: clamp(1.1rem, 1.2vw, 1.3rem);
}

.footerBottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(28 * var(--u));
  padding-top: calc(40 * var(--u));
}

.footerCopy {
  margin: 0;
  color: rgba(0, 65, 144, 0.72);
  font-family: "Avenir", "Avenir Next", sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
}

.footerPagetop {
  position: relative;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: calc(12 * var(--u));
  color: var(--base);
  font-family: "Avenir", "Avenir Next", sans-serif;
  font-size: clamp(1.1rem, 1.2vw, 1.3rem);
  font-weight: 900;
  pointer-events: auto;
  cursor: pointer;
}

.footerPrivacy {
  color: var(--base);
  font-size: clamp(1.1rem, 1.2vw, 1.3rem);
  font-weight: 900;
}

.footerPagetop span {
  display: grid;
  place-items: center;
  width: calc(30 * var(--u));
  height: calc(30 * var(--u));
  border-radius: 4px;
  background: var(--base);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .siteHeader,
  .headerBrand,
  .headerLineButton,
  .menuButton,
  .drawer,
  .drawer::before,
  .drawerInner {
    transition-duration: 0.01ms;
    transition-delay: 0s;
  }

  .heroCatchImage,
  .heroName,
  .heroPanels {
    opacity: 1;
    animation: none;
  }

  .heroSliderBackground,
  .heroSliderPerson,
  .profileHistoryTrack,
  .pageLoaderLine::after {
    animation: none;
  }

  .pageLoaderLine::after {
    transform: none;
  }

  .heroSlide {
    transition: none;
  }

  .hero,
  .heroContent,
  .activity {
    transition: none;
  }

  .revealItem,
  .revealItem.revealLeft,
  .revealItem.revealRight {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .childrenFeatureCopy.revealItem,
  .childrenFeatureCopy.revealItem.revealRight {
    opacity: 1;
    transform: none;
  }

  .childrenFeatureCopy.revealItem::before,
  .childrenFeatureCopy.revealItem > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media screen and (max-width: 1200px) {
  .profileGrid {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .profilePhotoBlock {
    position: static;
    grid-area: auto;
    justify-self: stretch;
    width: auto;
    margin-left: 0;
  }

  .profileCard {
    position: static;
    grid-area: auto;
    align-self: auto;
    justify-self: stretch;
    width: auto;
    min-height: 0;
    margin-top: 0;
    margin-right: 0;
  }
}

@media screen and (min-width: 769px) and (max-width: 1200px) {
  .profileCard {
    position: static;
    grid-area: auto;
    align-self: auto;
    justify-self: stretch;
    width: 96%;
    max-width: none;
    min-height: 0;
    margin: -2em auto 0;
  }
}

@media screen and (max-width: 1024px) {
  :root {
    --u: 1px;
  }

  html {
    scroll-padding-top: 100px;
  }

  #news,
  #about,
  #policy,
  #children,
  #information,
  #support {
    scroll-margin-top: 100px;
  }

  .siteHeader {
    height: 80px;
  }

  .headerBrandKaji {
    font-size: 3rem;
  }

  .headerBrandTaiki {
    font-size: 2.8rem;
  }

  .menuButton,
  .siteHeader.isVisible + .menuButton {
    top: 12px;
    right: 2%;
    width: 56px;
    height: 56px;
  }

  .headerLineButton,
  .siteHeader.isVisible ~ .headerLineButton {
    top: 12px;
    right: calc(2% + 68px);
    width: 244px;
    height: 56px;
    gap: 8px;
    font-size: 1.4rem;
  }

  .headerLineButton img {
    width: 28px;
    height: 28px;
  }

  .menuButton span,
  .menuButton::before,
  .menuButton::after {
    width: 28px;
    height: 2px;
  }

  .menuButton::before {
    transform: translate(-50%, -9px);
  }

  .menuButton::after {
    transform: translate(-50%, 7px);
  }

  .hero {
    --heroCompactHeight: min(720px, 82vh);
    --heroExpandedHeight: 100vh;
    min-height: var(--heroExpandedHeight);
  }

  .heroContent {
    min-height: var(--heroExpandedHeight);
  }

  .heroCopy {
    width: min(45vw, 460px);
  }

  .heroCatchImage {
    width: 90%;
    margin-right: auto;
    margin-left: auto;
  }

  .heroName {
    gap: clamp(8px, 1vw, 12px);
    flex-wrap: nowrap;
  }

  .heroArea {
    width: clamp(62px, 8vw, 82px);
    padding: 7px 8px 8px;
  }

  .heroAreaCity,
  .heroAreaWard {
    width: 100%;
  }

  .heroAreaCity {
    font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  }

  .heroAreaWard {
    font-size: clamp(2.3rem, 3.1vw, 3.1rem);
  }

  .heroNameKaji {
    font-size: clamp(5.2rem, 6.3vw, 6.8rem);
  }

  .heroNameTaiki {
    font-size: clamp(4.9rem, 5.85vw, 6.3rem);
  }

  .heroName strong {
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .policyGrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .childrenLead {
    gap: 0;
  }

  .childrenFeatureCopy {
    margin-left: -120px;
    padding-right: 40px;
    padding-left: 150px;
  }

  .supportCtaGrid {
    gap: 18px;
  }

  .supportCta {
    padding: 32px;
  }

  .profile > .profileSummary {
    grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1fr);
    gap: 28px;
  }

  .profileSummaryBody {
    padding-left: 0;
  }

  .profileSummaryPhoto img {
    min-height: 0;
  }

  .sectionTab {
    margin-left: 0;
  }

}

@media screen and (min-width: 769px) and (max-width: 1047px) {
  .profile > .profileSummary {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
    gap: 24px;
  }

  .profileSummaryBody {
    max-width: none;
  }

  .profileSummaryPhoto {
    margin-right: -5vw;
  }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .profile > .profileSummary {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.55fr);
    align-items: end;
  }

  .profileSummaryPhoto {
    --portraitOverlap: 0px;
    align-self: end;
    justify-self: center;
    width: 100%;
    min-height: 0;
    margin-right: 0;
  }

  .profileSummaryPhoto picture {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
  }

  .profileSummaryPhoto img {
    position: static;
    width: auto;
    max-width: 100%;
    height: clamp(720px, 90vw, 900px);
    object-fit: contain;
    object-position: center bottom;
    transform: none;
  }
}

@media screen and (max-width: 1024px) {
  .supportVisual {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 34%);
  }

  .supportCtaGrid {
    grid-template-columns: 1fr;
    width: auto;
    margin-right: -44px;
  }

  .supportPortrait {
    width: 34%;
  }

  .supportCta {
    min-height: auto;
  }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .container {
    width: 96%;
    max-width: var(--container);
    margin: 0 auto;
  }

  .profileHistorySlider {
    margin-bottom: calc(175 * var(--u) + 12px);
  }

  .profile::before {
    left: -110px;
    bottom: calc(350 * var(--u) + 40px);
    width: 560px;
    height: 540px;
  }

  .policyGrid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .policyCard {
    grid-template-columns: minmax(280px, 42%) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 30px;
    row-gap: 12px;
    width: 100%;
  }

  .policyCardImage {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: stretch;
    height: 100%;
    margin: 0;
  }

  .policyCardImage img {
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .policyCard h3 {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 0;
  }

  .policyCard p {
    grid-column: 2;
    grid-row: 2;
  }

  .projectActivityMain {
    position: relative;
    display: block;
  }

  .projectActivityCopy {
    width: 100%;
  }

  .projectActivityVisual img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
  }

  .projectActivityCopy > p:last-child {
    width: 100%;
  }

  .supportSection {
    position: relative;
    margin-top: 0;
    padding: calc(60 * var(--u)) 0 calc(60 * var(--u));
    overflow: hidden;
    background: #fff url("img/top/minamiku.png") center bottom / cover
      no-repeat;
    background-size: 140%;
  }

  .supportPortrait {
    width: 54%;
    right: -10%;
    bottom: calc(-80 * var(--u));
  }

  .floatingSupport {
    position: fixed;
    right: 0;
    top: 50%;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(10 * var(--u));
    width: calc(66 * var(--u));
    min-height: calc(250 * var(--u));
    padding: calc(22 * var(--u)) calc(12 * var(--u));
    border: 1px solid rgba(0, 65, 144, 0.14);
    border-right: 0;
    border-radius: calc(12 * var(--u)) 0 0 calc(12 * var(--u));
    background: var(--accent);
    color: var(--base);
    box-shadow: none;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(100%, -50%, 0);
    transition:
      width var(--hover-duration) var(--hover-ease),
      background-color var(--hover-duration) var(--hover-ease),
      opacity var(--hover-duration) var(--hover-ease),
      transform var(--hover-duration-slow) var(--hover-ease),
      visibility 0s linear var(--hover-duration-slow);
  }

  .floatingSupport img {
    width: calc(36 * var(--u));
    height: calc(36 * var(--u));
    object-fit: contain;
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 76px;
  }

  #news,
  #about,
  #policy,
  #children,
  #information,
  #support {
    scroll-margin-top: 76px;
  }

  .container {
    width: 90%;
  }

  .menuButton {
    top: 10px;
    right: 2%;
    width: 40px;
    height: 40px;
    box-shadow: 0 5px 12px rgba(0, 42, 98, 0.16);
  }

  .siteHeader {
    height: 60px;
  }

  .headerInner {
    width: 96%;
  }

  .headerBrandKaji {
    font-size: 2rem;
  }

  .headerBrandTaiki {
    font-size: 1.9rem;
  }

  .headerBrand {
    gap: 5px;
  }

  .headerBrandArea {
    width: 34px;
    padding: 3px;
  }

  .headerBrandAreaCity {
    font-size: 0.8rem;
  }

  .headerBrandAreaWard {
    font-size: 1.2rem;
  }

  .siteHeader.isVisible + .menuButton {
    top: 10px;
    right: 2%;
    width: 40px;
    height: 40px;
  }

  .headerLineButton {
    top: 10px;
    right: calc(2% + 48px);
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    box-shadow: 0 5px 12px rgba(0, 42, 98, 0.14);
  }

  .headerLineButton img {
    width: 24px;
    height: 24px;
  }

  .headerLineButton span {
    display: none;
  }

  .siteHeader.isVisible ~ .headerLineButton {
    top: 10px;
    right: calc(2% + 48px);
    width: 40px;
    height: 40px;
  }

  .menuButton span,
  .menuButton::before,
  .menuButton::after {
    width: 20px;
    height: 2px;
  }

  .menuButton::before {
    transform: translate(-50%, -7px);
  }

  .menuButton::after {
    transform: translate(-50%, 5px);
  }

  .drawer {
    padding: 60px 0 40px;
  }

  .drawer::before {
    clip-path: circle(0 at calc(100% - 28px) 30px);
  }

  .drawer.isOpen::before {
    clip-path: circle(150vmax at calc(100% - 28px) 30px);
  }

  .drawerInner {
    min-height: calc(100vh - 60px);
  }

  .drawer nav {
    grid-template-columns: 1fr;
    font-size: 2.2rem;
  }

  .drawer nav a {
    padding: 20px 48px 20px 0;
  }

  .drawerInner {
    row-gap: 24px;
  }

  .drawerActions {
    gap: 10px;
  }

  .drawerAction {
    min-height: 78px;
    padding: 14px;
  }

  .drawerAction strong {
    font-size: 1.4rem;
  }

  .drawerActionArrow {
    width: 3rem;
    height: 3rem;
    font-size: 1.6rem;
  }

  .hero {
    --heroCompactHeight: min(720px, 86vh);
    --heroCompactHeight: min(720px, 86svh);
    --heroExpandedHeight: 100vh;
    --heroExpandedHeight: 100svh;
    min-height: var(--heroExpandedHeight);
  }

  .heroPanels {
    grid-template-columns: 1fr;
    grid-template-rows: 50% 50%;
  }

  .heroSliderBackground {
    grid-row: 1;
  }

  .heroSliderPerson {
    grid-row: 2;
  }

  .hero::before {
    background:
      linear-gradient(
        180deg,
        rgba(35, 45, 54, 0.34) 0%,
        rgba(55, 64, 71, 0.2) 49.9%,
        rgba(0, 65, 144, 0.04) 50%,
        rgba(0, 65, 144, 0.12) 100%
      ),
      linear-gradient(
        180deg,
        rgba(0, 65, 144, 0.01) 0%,
        rgba(0, 65, 144, 0.08) 58%,
        rgba(0, 65, 144, 0.48) 100%
      );
  }

  .heroSliderBackground .heroSlide img {
    object-position: center center;
  }

  .heroSliderPerson .heroSlide:first-child img,
  .heroSliderPerson .heroSlide:last-child img {
    object-position: center 30%;
  }

  .heroContent {
    grid-template-columns: 1fr;
    grid-template-rows: 50% 50%;
    min-height: var(--heroExpandedHeight);
    padding: 0;
    align-content: stretch;
  }

  .heroCopy {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-self: center;
    width: 100%;
    max-height: calc(50vh - 16px);
    max-height: calc(50svh - 16px);
    margin-left: 0;
    padding-left: 0;
    flex-direction: column;
    justify-content: center;
    transform: none;
  }

  .heroCatchImage {
    width: 54vw;
    max-width: none;
    max-height: calc(50vh - 94px);
    max-height: calc(50svh - 94px);
    margin: 0 auto;
    object-fit: contain;
  }

  .heroArea {
    width: clamp(34px, 10vw, 40px);
    min-width: clamp(34px, 10vw, 40px);
    padding: 5px 4px;
    font-size: 1.4rem;
  }

  .heroAreaCity,
  .heroAreaWard {
    width: 100%;
  }

  .heroAreaCity {
    font-size: clamp(0.9rem, 2.6vw, 1rem);
  }

  .heroAreaWard {
    font-size: clamp(1.3rem, 3.8vw, 1.5rem);
  }

  .heroNameKaji {
    font-size: clamp(3.1rem, 9.8vw, 3.9rem);
  }

  .heroNameTaiki {
    font-size: clamp(2.9rem, 9.3vw, 3.6rem);
  }

  .heroName {
    justify-content: center;
    gap: clamp(6px, 1.5vw, 10px);
    width: 64vw;
    margin-top: 8px;
    margin-right: auto;
    margin-left: auto;
    align-self: center;
  }

  .floatingSupport {
    top: auto;
    bottom: 10%;
    width: 56px;
    min-height: 184px;
    gap: 10px;
    padding: 14px 8px;
    border-radius: 8px 0 0 8px;
    transform: translate3d(100%, 0, 0);
  }

  body.hasScrolled .floatingSupport {
    transform: translate3d(0, 0, 0);
  }

  body.hasScrolled.hasReachedSupport .floatingSupport {
    transform: translate3d(100%, 0, 0);
  }

  .floatingSupport img {
    width: 32px;
    height: 32px;
  }

  .floatingSupport:hover {
    width: 66px;
  }

  .activity {
    margin-top: -170px;
    padding-top: 140px;
    padding-bottom: 56px;
    transform: none;
    transition:
      opacity 420ms ease,
      visibility 0s linear;
  }

  .activity::before {
    height: 350px;
    background-position: center top;
    background-size: auto 100%;
  }

  .activity::after {
    top: 349px;
  }

  .activity .container {
    width: 100%;
    max-width: none;
    margin-top: 0;
  }

  .activityTitle {
    min-width: 0;
    margin-left: 5%;
  }

  .activitySliderControls {
    justify-content: flex-start;
    gap: 8px;
    margin-top: 12px;
    padding: 0 5vw;
  }

  .activitySliderButton {
    width: 34px;
    height: 34px;
    font-size: 1.4rem;
  }

  .activityList {
    padding: 0 5vw;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-left: 5vw;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
  }

  .activityCard,
  .activityCard img {
    -webkit-user-drag: none;
  }

  .policyGrid {
    grid-template-columns: 1fr;
  }

  .activityCard {
    flex-basis: min(160px, calc((90vw - 24px) / 2.5));
    min-height: 0;
  }

  .activityCard.revealItem,
  .activityCard.revealItem.isRevealed {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .profile {
    padding: 62px 0 15px;
  }

  .profile > .profileSummary {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 0;
  }

  .profileSummaryPhoto {
    --portraitOverlap: clamp(72px, 19.2vw, 96px);
    order: 2;
    justify-self: center;
    width: min(62.4vw, 352px);
    min-height: clamp(368px, 105.6vw, 576px);
    margin-right: 0;
  }

  .profileSummaryBody {
    order: 1;
    max-width: none;
  }

  .profileSummaryPhoto img {
    left: 50%;
    right: auto;
    top: 0;
    width: auto;
    height: calc(100% + var(--portraitOverlap));
    min-height: 0;
    aspect-ratio: auto;
    object-position: center top;
    transform: translateX(-50%);
  }

  .profileLayout {
    margin-top: 45px;
  }

  .profileSummaryFacts > div {
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 14px;
  }

  .profileSummaryLead {
    font-size: 1.5rem;
    line-height: 1.8;
  }

  .sectionTab,
  .activityTitle,
  .policyHeading h2,
  .informationHeading h2 {
    justify-content: center;
    flex-wrap: nowrap;
    margin-bottom: 1em;
    font-size: clamp(1.6rem, 5vw, 3.2rem);
    white-space: nowrap;
  }

  .profilePhotoBlock {
    padding-bottom: 0;
  }

  .profileCard {
    padding: 28px 22px;
  }

  .profileCard h2 {
    font-size: 2.5rem;
  }

  .profileCard .profileCardQuote {
    font-size: clamp(1.8rem, 5.4vw, 2.3rem);
  }

  .fatherProfile {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 16px;
    margin-top: 30px;
    padding: 22px 0;
  }

  .fatherProfilePhoto {
    width: 100%;
    margin: 0;
  }

  .fatherProfileBody {
    padding-left: 0;
  }

  .fatherProfileLink {
    width: 100%;
    justify-content: space-between;
    min-height: 46px;
    padding-right: 12px;
    padding-left: 18px;
    font-size: 1.2rem;
  }

  .policyHeading h2 {
    gap: 4px;
    font-size: clamp(2rem, 3vw, 3.2rem);
  }

  .profileHistorySlider {
    margin-bottom: 155px;
  }

  .policy {
    padding: 0 0 90px;
    overflow: visible;
  }

  .policy > .container {
    margin-top: -70px;
  }

  .policyHeading {
    gap: 0;
    margin-bottom: 26px;
  }

  .policyAccent {
    width: 100%;
    max-width: 100%;
  }

  .policyAccent img {
    flex: 0 0 auto;
    width: 72px;
    margin-right: -44px;
  }

  .policyAccent span {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 3em;
    padding: 0.5em 1em 0.5em 2.5em;
    font-size: clamp(1.3rem, 3.5vw, 1.5rem);
    line-height: 1.35;
    white-space: normal;
  }

  .policyCard small {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    color: var(--base);
    font-size: clamp(1.2rem, 1.4vw, 1.5rem);
    font-weight: 900;
    line-height: 1.4;
  }

  .policyMeta small {
    display: flex;
    align-items: center;
    min-height: calc(40 * var(--u));
    margin: 0;
    padding: calc(8 * var(--u)) calc(18 * var(--u));
    color: var(--base);
    font-size: 1.5rem;
    line-height: 1.35;
    white-space: nowrap;
  }

  .policyNum {
    display: inline-grid;
    place-items: center;
    flex: 0 0 calc(56 * var(--u));
    width: calc(36 * var(--u));
    height: calc(40 * var(--u));
    margin-bottom: 0;
    border-top: 1px solid;
    border-bottom: 1px solid;
    background: #fff;
    color: var(--accent);
    font-family: "Avenir", "Avenir Next", sans-serif;
    font-size: clamp(1.2rem, 1.4vw, 1.5rem);
    font-weight: 900;
  }

  .children {
    padding: 72px 0 84px;
  }

  .childrenHeading {
    margin-bottom: 0;
  }

  .profile::before,
  .children::before {
    width: 520px;
    height: 500px;
  }

  .profile::before {
    left: -120px;
    top: auto;
    bottom: 170px;
  }

  .profile::after {
    background-position: center bottom;
    background-size: auto 100%;
  }

  .children::before {
    right: -210px;
    top: 100px;
  }

  .childrenLead {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .childrenFeatureHeader {
    min-height: 0;
    margin-bottom: 1em;
    padding: 10px 0 24px;
  }

  .childrenFeatureTitle {
    font-size: clamp(2.8rem, 2.6vw, 4rem);
    line-height: 1.45;
    text-align: center;
    white-space: normal;
  }

  .childrenFeatureTitle::after {
    width: 72px;
    height: 4px;
    margin: 18px auto 0;
  }

  .childrenLead figure {
    width: calc(100% + 32px);
    margin: 0 0 0 -16px;
  }

  .childrenFeatureLabel {
    left: 0;
    right: auto;
    top: 24px;
    max-width: 230px;
    padding: 10px 14px;
    font-size: clamp(1.2rem, 1.3vw, 1.4rem);
  }

  .childrenLead h3 {
    font-size: clamp(1.4rem, 4vw, 1.6rem);
    white-space: nowrap;
  }

  .childrenFeatureCopy h3 {
    text-align: center;
  }

  .childrenFeatureCopy {
    width: calc(100% + 32px);
    height: auto;
    aspect-ratio: 1;
    margin: -52px 0 0 -16px;
    padding: 86px 52px 44px;
    border-radius: 50%;
  }

  .childrenFeatureIntro {
    max-width: none;
    font-size: 1.4rem;
  }

  .mobileBreak {
    display: inline;
  }

  .projectActivities {
    gap: 42px;
    margin-top: 48px;
  }

  .projectActivity {
    padding: 30px 22px;
    border-radius: 22px;
  }

  .projectActivityMain {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .projectActivity h3 {
    font-size: 2.4rem;
  }

  .projectActivityCopy .projectActivityEyebrow {
    margin-left: -22px;
    padding-left: 22px;
  }

  .projectActivityVisual {
    min-height: 240px;
  }

  .projectActivityVisual img {
    width: 300px;
    max-height: 250px;
  }

  .projectGalleryShell {
    margin: 32px -22px 0;
  }

  .projectGalleryTrack {
    grid-auto-columns: 72vw;
    gap: 10px;
    padding: 0;
  }

  .projectGalleryItem {
    border-radius: 0;
  }

  .information {
    padding: 72px 0 48px;
  }

  .informationHeading {
    margin-bottom: 34px;
  }

  .informationHeading h2 {
    gap: 6px;
    max-width: 100%;
    flex-wrap: nowrap;
    font-size: clamp(1.6rem, 5vw, 3.2rem);
    white-space: nowrap;
  }

  .informationHeading h2 small {
    font-size: clamp(0.8rem, 1vw, 1.2rem);
  }

  .informationItem {
    grid-template-columns: minmax(0, 1fr) 36px;
    gap: 12px;
    padding: 22px 0;
  }

  .informationItem time {
    grid-column: 1 / -1;
  }

  .supportCtaGrid {
    order: 1;
    grid-template-columns: 1fr;
    width: 100%;
    margin: 0;
  }

  .supportCta {
    min-height: 370px;
    padding: 30px 24px;
  }

  .supportVisual {
    display: flex;
    align-items: stretch;
    flex-direction: column;
  }

  .supportCta h2 {
    font-size: clamp(2.4rem, 7vw, 2.8rem);
    white-space: nowrap;
  }

  .siteFooter {
    padding: 58px 0 26px;
  }

  .siteFooter::before {
    right: -90px;
    top: -110px;
    width: 540px;
    height: 520px;
  }

  .footerBrand {
    margin-bottom: 40px;
  }

  .footerBrand strong {
    font-size: 3.6rem;
  }

  .footerMain,
  .footerLegalRow,
  .footerBottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footerMain {
    gap: 26px;
  }

  .footerNav {
    gap: 12px 20px;
  }

  .footerLegalRow {
    padding-bottom: 34px;
  }
}

.projectActivity h3 {
  margin: 0 0 calc(20 * var(--u));
  color: var(--ink);
  font-size: clamp(2rem, 2.4vw, 3rem);
  font-weight: 900;
  line-height: 1.5;
}

.projectActivityCopy .projectActivityEyebrow {
  width: fit-content;
  margin: 0 0 calc(20 * var(--u)) calc(-56 * var(--u));
  padding: calc(11 * var(--u)) calc(20 * var(--u)) calc(11 * var(--u))
    calc(56 * var(--u));
  background: var(--accent);
  color: var(--base);
  font-family: "Avenir", "Avenir Next", sans-serif;
  font-size: clamp(1.2rem, 1.5vw, 1.8rem);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.projectActivityCopy p {
  margin: 0;
  color: #405875;
  font-size: clamp(1.4rem, 1.5vw, 1.6rem);
  font-weight: 500;
  line-height: 1.8;
}

.supportCta small {
  margin-bottom: 0;
  color: var(--base);
  font-family: "Avenir", "Avenir Next", sans-serif;
  font-size: clamp(1.3rem, 1.5vw, 1.8rem);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.supportCtaAction::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(12 * var(--u));
  height: 1px;
  background: var(--line);
}

.supportCtaAction {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(20 * var(--u));
  margin-top: auto;
  padding-top: calc(24 * var(--u));
  color: var(--base);
  font-size: 1.8rem;
  font-weight: 900;
}

.supportCtaAction span:last-child {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: calc(36 * var(--u));
  height: calc(36 * var(--u));
  border-radius: 50%;
  background: var(--accent);
  color: var(--base);
  font-size: calc(22 * var(--u));
  transition: transform var(--hover-duration) var(--hover-ease);
}

.supportPortrait picture {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .container {
    width: 94%;
  }

  .projectActivityVisual {
    min-height: auto;
    margin: 1em auto;
  }

  .projectGalleryTrack {
    grid-auto-columns: 42vw;
    gap: 10px;
    padding: 0;
  }

  .information {
    padding: 40px 0;
  }

  .informationHeading {
    margin-bottom: 0.5em;
  }

  .informationItem {
    grid-template-columns: minmax(0, 1fr) 36px;
    gap: 0;
    padding: 0.5em 0;
  }

  .informationItem time {
    grid-column: 1;
  }

  .informationArrow {
    display: grid;
    place-items: center;
    align-self: center;
    justify-self: end;
    grid-column: 2;
    grid-row: 1 / 3;
    width: 2.4rem;
    height: 2.4rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--accent);
    color: var(--base);
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 1;
  }

  .supportSection {
    position: relative;
    margin-top: 0;
    padding: 3em 0 2em;
    overflow: hidden;
    background: #fff url("img/top/minamiku.png") center bottom / cover no-repeat;
    background-size: 240%;
  }

  .supportCtaGrid {
    position: relative;
    transform: translateY(-2em);
  }

  .supportCta {
    width: 72%;
    min-height: auto;
    padding: 1.5em;
  }

  .supportCta h2 {
    margin-bottom: 0.25em;
    font-size: clamp(2rem, 3vw, 2.8rem);
    white-space: nowrap;
  }

  .childrenFeatureCopy {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    margin: -8em 0 0;
    padding: 86px 52px 44px;
    border-radius: 50%;
  }

  .childrenLead figure {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .supportVisual {
    display: flex;
    align-items: stretch;
    flex-direction: row;
  }

  .supportCtaGrid {
    flex: 0 0 72%;
    width: 72%;
    margin: 0;
  }

  .supportCta {
    width: 100%;
  }

  .supportPortrait {
    position: absolute;
    top: 0;
    right: -6%;
    bottom: 1em;
    z-index: 1;
    order: initial;
    width: clamp(16rem, 44vw, 22rem);
    margin: 0;
    transform: none;
  }

  .supportPortrait picture {
    align-items: flex-end;
    justify-content: flex-end;
    height: 100%;
  }

  .supportPortrait img {
    width: auto;
    max-width: none;
    height: 100%;
    max-height: none;
    object-fit: contain;
    object-position: right bottom;
  }

  .footerBottom {
    width: 100%;
  }

  .footerPagetop {
    align-self: flex-end;
    margin-left: auto;
  }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .heroContent {
    padding: 24px 0 72px;
  }

  .heroCopy {
    width: min(42vw, 430px);
  }

  .heroCatchImage {
    width: 82%;
  }

  .policy {
    position: relative;
    z-index: 2;
    margin-top: -4em;
    padding: calc(0 * var(--u)) 0 calc(140 * var(--u));
    overflow: hidden;
    background: #fff;
  }

  .projectActivity {
    position: relative;
    overflow: hidden;
    padding: 2em 2em 3em;
    border: 1px solid rgba(0, 65, 144, 0.12);
    border-radius: calc(36 * var(--u));
    background: #fff;
    box-shadow: 0 18px 42px rgba(0, 65, 144, 0.08);
  }

  .projectActivity h3 {
    display: block;
    min-height: auto;
    margin: 1.5em 0 1em;
    color: var(--ink);
    font-size: clamp(2rem, 2.4vw, 3rem);
    font-weight: 900;
    line-height: 1.5;
  }

  .projectActivityVisual {
    position: absolute;
    right: 1em;
    top: -1em;
    width: 250px;
    min-height: 0;
    height: 160px;
  }
}

@media screen and (min-width: 1025px) {
  .heroCopy {
    --heroScaleUnit: min(var(--u), 0.0935vh);
    width: min(calc(560 * var(--heroScaleUnit)), 42vw);
    max-height: 70vh;
    transform: translateY(calc(-52 * var(--heroScaleUnit)));
  }

  .heroName {
    gap: calc(16 * var(--heroScaleUnit));
    margin-top: calc(15 * var(--heroScaleUnit));
  }

  .heroArea {
    width: calc(126 * var(--heroScaleUnit));
    padding: calc(10 * var(--heroScaleUnit))
      calc(12 * var(--heroScaleUnit)) calc(12 * var(--heroScaleUnit));
  }

  .heroAreaCity,
  .heroAreaWard {
    width: calc(90 * var(--heroScaleUnit));
  }

  .heroAreaCity {
    font-size: calc(30 * var(--heroScaleUnit));
  }

  .heroAreaWard {
    font-size: calc(44 * var(--heroScaleUnit));
  }

  .heroNameKaji {
    font-size: calc(120 * var(--heroScaleUnit));
  }

  .heroNameTaiki {
    font-size: calc(110 * var(--heroScaleUnit));
  }
}

.projectGalleryShell.isStatic .projectGallery {
  overflow: visible;
}

.projectGalleryShell.isStatic {
  margin-right: 0;
  margin-left: 0;
}

.projectGalleryShell.isStatic .projectGalleryTrack {
  grid-auto-flow: row;
  grid-auto-columns: auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.projectGalleryShell.isStatic.isTwoUp .projectGalleryTrack {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.projectGalleryShell.isStatic.isTwoUp .projectGalleryItem img {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.profileHistoryItem img,
.projectGalleryItem img {
  filter: saturate(0.9) contrast(1.04) brightness(1.015);
}

@media screen and (max-width: 768px) {
  .projectGalleryShell.isStatic .projectGalleryTrack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.profileHistoryItem,
.projectGalleryItem {
  cursor: zoom-in;
}

.imageCaption {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 4.8rem;
  margin: 0.5em 0 0;
  padding: 1em 1.2em;
  border: 1px solid rgba(0, 65, 144, 0.2);
  border-radius: 999rem;
  background: #fff;
  color: var(--ink);
  font-size: clamp(1.1rem, 1.15vw, 1.3rem);
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
}

.profileHistorySlider {
  padding-bottom: 7.2rem;
}

.profileHistoryItem {
  position: relative;
  overflow: visible;
}

.profileHistoryItem .imageCaption {
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  min-height: 5.8rem;
}

.projectGalleryShell {
  margin: calc(48 * var(--u)) 0 0;
}

.projectGallery {
  overflow-x: visible;
  scroll-snap-type: none;
}

.projectGalleryTrack {
  display: grid;
  grid-auto-flow: row;
  grid-auto-columns: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(16 * var(--u));
  width: 100%;
}

.projectGalleryItem {
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
  background: #fff;
}

.projectGalleryItem img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.projectGalleryShell.isTwoUp .projectGalleryItem img {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.projectGalleryShell.isSlider .projectGallery {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.projectGalleryShell.isSlider .projectGalleryTrack {
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - calc(16 * var(--u))) / 2);
  grid-template-columns: none;
}

.projectGalleryShell.isSlider .projectGalleryItem {
  scroll-snap-align: start;
}

.projectGalleryControls {
  display: flex;
  justify-content: flex-end;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.projectGalleryControls[hidden] {
  display: none;
}

.projectGalleryPrev,
.projectGalleryNext {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  padding: 0;
  border: 1px solid var(--base);
  border-radius: 50%;
  background: #fff;
  color: var(--base);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 260ms ease,
    color 260ms ease,
    opacity 260ms ease,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.projectGalleryPrev:disabled,
.projectGalleryNext:disabled {
  opacity: 0.3;
  cursor: default;
}

@media (hover: hover) and (pointer: fine) {
  .projectGalleryPrev:not(:disabled):hover,
  .projectGalleryNext:not(:disabled):hover {
    background: var(--base);
    color: #fff;
    transform: scale(1.06);
  }
}

.profileHistoryItem img,
.projectGalleryItem img {
  transition:
    opacity 320ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .profileHistoryItem:hover img,
  .projectGalleryItem:hover img {
    opacity: 0.9;
    transform: scale(1.015);
  }
}

.profileHistoryItem:focus-visible,
.projectGalleryItem:focus-visible {
  outline: 0.3rem solid var(--accent);
  outline-offset: 0.3rem;
}

body.isLightboxOpen {
  overflow: hidden;
}

.isLightboxOpen .profileHistoryTrack {
  animation-play-state: paused;
}

.imageLightbox {
  width: min(92vw, 120rem);
  max-width: none;
  max-height: 92dvh;
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: #fff;
}

.imageLightbox::backdrop {
  background: rgba(0, 25, 54, 0.88);
  backdrop-filter: blur(0.4rem);
}

.imageLightboxFigure {
  display: grid;
  justify-items: center;
  gap: 1.6rem;
  margin: 0;
}

.imageLightboxImage {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(92dvh - 8rem);
  object-fit: contain;
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.32);
}

.imageLightboxCaption {
  max-width: 90rem;
  padding: 0 1.6rem;
  color: #fff;
  font-size: clamp(1.3rem, 1.5vw, 1.6rem);
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.imageLightboxClose {
  position: absolute;
  right: 0;
  top: -5.2rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 4.4rem;
  height: 4.4rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: #fff;
  color: var(--base);
  font-size: 2.8rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 260ms ease,
    color 260ms ease,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .imageLightboxClose:hover {
    background: var(--accent);
    color: var(--base);
    transform: scale(1.08);
  }
}

@media screen and (max-width: 768px) {
  .profileHistorySlider {
    padding-bottom: 8.4rem;
  }

  .projectGalleryShell.isSlider .projectGalleryTrack {
    grid-auto-columns: 100%;
    gap: 1rem;
  }

  .projectGalleryControls {
    justify-content: flex-start;
    margin-top: 1.2rem;
  }

  .projectGalleryPrev,
  .projectGalleryNext {
    width: 3.6rem;
    height: 3.6rem;
    font-size: 1.6rem;
  }

  .imageLightbox {
    width: 94vw;
    max-height: 88dvh;
  }

  .imageLightboxImage {
    max-height: calc(88dvh - 7rem);
  }

  .imageLightboxClose {
    right: 0;
    top: -4.6rem;
    width: 4rem;
    height: 4rem;
    font-size: 2.5rem;
  }

  .imageLightboxCaption {
    padding: 0 0.8rem;
  }
}

/* WordPress content pages */
.informationMoreWrap {
  margin-top: calc(34 * var(--u));
  text-align: center;
}

.informationMore {
  display: inline-flex;
  align-items: center;
  gap: 1.2em;
  min-height: calc(52 * var(--u));
  padding: 0.8em 1em 0.8em 1.6em;
  border: 1px solid var(--base);
  border-radius: 999px;
  background: #fff;
  color: var(--base);
  font-size: 1.4rem;
  font-weight: 900;
  transition:
    background-color var(--hover-duration) var(--hover-ease),
    color var(--hover-duration) var(--hover-ease);
}

.informationMore span:last-child {
  display: grid;
  place-items: center;
  width: 2.2em;
  height: 2.2em;
  border-radius: 50%;
  background: var(--accent);
  transition: transform var(--hover-duration) var(--hover-ease);
}

@media (hover: hover) {
  .informationMore:hover {
    background: var(--base);
    color: #fff;
  }

  .informationMore:hover span:last-child {
    transform: translateX(0.2em);
  }
}

.contentPage {
  min-height: 70vh;
  padding: calc(190 * var(--u)) 0 calc(110 * var(--u));
  background: #f4f7fa;
}

.contentPageInner {
  max-width: 960px;
}

.contentPageHeading {
  margin-bottom: calc(54 * var(--u));
}

.contentPageHeading h1 {
  display: inline-flex;
  align-items: baseline;
  gap: calc(14 * var(--u));
  margin: 0;
  padding: 0.5em 0.75em;
  border-bottom: calc(4 * var(--u)) solid var(--accent);
  color: var(--base);
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 900;
  line-height: 1.35;
  white-space: nowrap;
}

.contentPageHeading h1 small {
  color: var(--muted);
  font-family: "Avenir", "Avenir Next", sans-serif;
  font-size: clamp(0.8rem, 1vw, 1.2rem);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.informationEmpty {
  grid-column: 1 / -1;
  margin: 0;
  padding: calc(32 * var(--u)) 0;
  color: var(--text);
  text-align: center;
}

.informationArchiveInner {
  width: 90%;
  max-width: var(--container);
}

.informationArchiveHeading {
  margin-bottom: calc(62 * var(--u));
  text-align: center;
}

.informationArchiveHeading small {
  display: block;
  margin-bottom: 0.7em;
  color: var(--base);
  font-family: "Avenir", "Avenir Next", sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.3rem);
  font-weight: 500;
  letter-spacing: 0.12em;
}

.informationArchiveHeading h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(3rem, 4vw, 4.4rem);
  font-weight: 900;
  line-height: 1.4;
}

.informationArchiveHeading h1::after {
  content: "";
  display: block;
  width: 3.8rem;
  height: 4px;
  margin: 0.45em auto 0;
  background: var(--accent);
}

.informationArchiveGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: max-content;
  align-items: start;
  gap: calc(32 * var(--u)) calc(34 * var(--u));
}

.informationArchiveCard {
  align-self: start;
  height: fit-content;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
}

.informationArchiveCard > a {
  display: block;
  height: fit-content;
  min-height: 0;
  overflow: visible;
  background: transparent;
  color: inherit;
}

.informationArchiveImage {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--base);
  color: #fff;
  font-family: "Avenir", "Avenir Next", sans-serif;
  font-size: clamp(1.3rem, 1.6vw, 1.8rem);
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
}

.informationArchiveImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--hover-duration-slow) var(--hover-ease);
}

.informationArchivePlaceholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 8%;
  background: var(--base);
}

.informationArchiveImage .informationArchivePlaceholderCopy {
  width: auto;
  height: 54%;
  max-width: 90%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transform: translateY(-38%);
  transition: none;
}

.informationArchiveCardBody {
  position: relative;
  padding: calc(22 * var(--u)) 4.8rem calc(22 * var(--u)) 0;
  overflow: visible;
  background: transparent;
}

.informationArchiveMeta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7em 1em;
  margin-bottom: calc(9 * var(--u));
}

.informationArchiveMeta time {
  color: var(--base);
  font-family: "Avenir", "Avenir Next", sans-serif;
  font-size: clamp(1.1rem, 1.2vw, 1.3rem);
  font-weight: 900;
}

.informationArchiveCategory,
.contentArticleCategory,
.contentArticleLabel {
  display: inline-flex;
  align-items: center;
  min-height: 2.2em;
  padding: 0.35em 0.9em;
  background: var(--accent);
  color: var(--base);
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.2;
}

.informationArchiveCard h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.5rem, 1.6vw, 1.8rem);
  font-weight: 900;
  line-height: 1.45;
}

.informationArchiveArrow {
  position: absolute;
  right: 0.4rem;
  bottom: calc(22 * var(--u));
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--base);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  transition:
    transform var(--hover-duration) var(--hover-ease),
    background-color var(--hover-duration) var(--hover-ease);
}

@media (hover: hover) {
  .informationArchiveCard > a:hover .informationArchiveImage > img {
    transform: scale(1.035);
  }

  .informationArchiveCard > a:hover .informationArchiveArrow {
    background: var(--base-dark);
    transform: scale(1.05);
  }
}

.contentArticle {
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #fff;
}

.informationSingleInner {
  width: 90%;
  max-width: 1040px;
}

.contentArticleHeader {
  margin-bottom: calc(-56 * var(--u));
  padding: calc(12 * var(--u)) calc(80 * var(--u)) calc(44 * var(--u));
  transform: translateY(calc(-56 * var(--u)));
}

.contentArticleMeta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8em 1.2em;
  margin-bottom: calc(18 * var(--u));
}

.contentArticleHeader time {
  color: var(--base);
  font-family: "Avenir", "Avenir Next", sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.contentArticleHeader > .contentArticleLabel {
  margin-bottom: calc(18 * var(--u));
}

.contentArticleHeader h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.6rem, 3.2vw, 4rem);
  font-weight: 900;
  line-height: 1.5;
}

.contentArticleImage {
  margin: calc(8 * var(--u)) auto calc(10 * var(--u));
  width: calc(100% - calc(160 * var(--u)));
  max-width: 880px;
}

.contentArticleImage img {
  width: 100%;
  height: auto;
}

.contentArticleBody {
  padding: calc(46 * var(--u)) calc(80 * var(--u)) calc(78 * var(--u));
  color: var(--text);
  font-size: clamp(1.4rem, 1.5vw, 1.6rem);
  line-height: 2;
}

.contentArticleBody > :first-child {
  margin-top: 0;
}

.contentArticleBody > :last-child {
  margin-bottom: 0;
}

.contentArticleBody h2,
.contentArticleBody h3 {
  color: var(--base);
  font-weight: 900;
  line-height: 1.5;
}

.contentArticleBody h2 {
  margin: 2em 0 0.8em;
  padding-bottom: 0.35em;
  border-bottom: 3px solid var(--accent);
  font-size: clamp(2rem, 2.4vw, 2.8rem);
}

.contentArticleBody h3 {
  margin: 1.8em 0 0.65em;
  font-size: clamp(1.8rem, 2vw, 2.2rem);
}

.contentArticleBody a {
  color: var(--base);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.contentPostNav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(20 * var(--u));
  margin-top: calc(28 * var(--u));
}

.contentPostNavItem {
  display: flex;
  min-width: 0;
  min-height: 10rem;
  padding: 1.5em 1.7em;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  flex-direction: column;
  justify-content: center;
  transition:
    border-color var(--hover-duration) var(--hover-ease),
    color var(--hover-duration) var(--hover-ease);
}

.contentPostNavItem.isNext {
  align-items: flex-end;
  text-align: right;
}

.contentPostNavLabel {
  display: flex;
  align-items: center;
  gap: 0.55em;
  margin-bottom: 0.55em;
  color: var(--base);
  font-size: 1.2rem;
  font-weight: 900;
}

.contentPostNavItem strong {
  display: -webkit-box;
  overflow: hidden;
  color: inherit;
  font-size: clamp(1.4rem, 1.5vw, 1.6rem);
  font-weight: 900;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (hover: hover) {
  .contentPostNavItem:hover {
    border-color: var(--base);
    color: var(--base);
  }
}

.contentPageBackWrap {
  text-align: center;
}

.contentPageBack {
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  margin-top: calc(38 * var(--u));
  padding: 0.85em 1.5em;
  border: 1px solid var(--base);
  border-radius: 999px;
  background: #fff;
  color: var(--base);
  font-size: 1.4rem;
  font-weight: 900;
  transition:
    background-color var(--hover-duration) var(--hover-ease),
    color var(--hover-duration) var(--hover-ease);
}

@media (hover: hover) {
  .contentPageBack:hover {
    background: var(--base);
    color: #fff;
  }
}

.contentNotFound > p {
  margin: 0;
  padding: calc(48 * var(--u)) calc(60 * var(--u)) 0;
}

.contentNotFound .contentPageBack {
  margin: calc(34 * var(--u)) calc(60 * var(--u)) calc(60 * var(--u));
}

.navigation.pagination {
  margin-top: calc(70 * var(--u));
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: calc(8 * var(--u));
}

.nav-links .page-numbers {
  display: grid;
  place-items: center;
  width: 4.4rem;
  height: 4.4rem;
  padding: 0.45em;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--base);
  font-family: "Avenir", "Avenir Next", sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1;
}

.nav-links .page-numbers.current {
  border-color: var(--base);
  background: var(--base);
  color: #fff;
}

.admin-bar .siteHeader {
  top: 32px;
}

.admin-bar .menuButton,
.admin-bar .headerLineButton {
  margin-top: 32px;
}

@media screen and (max-width: 1024px) {
  .contentPage {
    padding: 130px 0 80px;
  }

  .informationArchiveGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 782px) {
  .admin-bar .siteHeader {
    top: 46px;
  }

  .admin-bar .menuButton,
  .admin-bar .headerLineButton {
    margin-top: 46px;
  }
}

@media screen and (max-width: 768px) {
  .contentPage {
    padding: 100px 0 60px;
  }

  .contentPageInner {
    width: 94%;
  }

  .informationArchiveInner,
  .informationSingleInner {
    width: 94%;
  }

  .informationArchiveHeading {
    margin-bottom: 3.5em;
  }

  .informationArchiveGrid {
    grid-template-columns: minmax(0, 1fr);
    gap: 3.5em;
  }

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

  .contentPageHeading {
    margin-bottom: 1em;
  }

  .contentArticleHeader,
  .contentArticleBody {
    padding: 2.2em 1.5em;
  }

  .contentArticleHeader {
    margin-bottom: 0;
    transform: none;
  }

  .contentArticleImage {
    margin-top: 2em;
    width: calc(100% - 3em);
  }

  .contentArticleMeta {
    margin-bottom: 1.2em;
  }

  .contentPostNav {
    gap: 1em;
    margin-top: 1.5em;
  }

  .contentPostNavItem {
    min-height: 8.5rem;
    padding: 1.2em;
  }

  .contentPostNavLabel {
    font-size: 1.1rem;
  }

  .navigation.pagination {
    margin-top: 4em;
  }

  .contentNotFound > p {
    padding: 2em 1.5em 0;
  }

  .contentNotFound .contentPageBack {
    margin: 2em 1.5em;
  }
}

.activityFeed {
  width: 100%;
  overflow: hidden;
}

.activityFeed #sb_instagram,
.activityFeed #sbi_images {
  width: 100% !important;
}

.activityFeed #sbi_images {
  display: grid !important;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 6rem) / 6);
  grid-template-columns: none !important;
  gap: 1.2rem;
  padding: 0 !important;
  overflow-x: auto !important;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.activityFeed #sbi_images::-webkit-scrollbar {
  display: none;
}

.activityFeed #sb_instagram #sbi_images .sbi_item {
  float: none !important;
  display: block !important;
  width: auto !important;
  padding: 0 !important;
  scroll-snap-align: start;
}

.activitySliderControls {
  display: flex;
  justify-content: flex-start;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.activitySliderButton {
  width: 3.6rem;
  height: 3.6rem;
  border-width: 1px;
  font-size: 1.6rem;
}

@media screen and (max-width: 768px) {
  .activityFeed #sbi_images {
    grid-auto-columns: calc((100% - 1.6rem) / 3);
    gap: 0.8rem;
  }
}

/* WPChatのフローティングボタンは使用しない */
#wp-chat-floating {
  display: none !important;
}

/* 3つの約束：カード見出しの縮小調整はスマホにだけ適用する */
@media screen and (max-width: 768px) {
  .policyCard {
    min-width: 0;
  }

  .policyMeta {
    width: min(100%, 30rem);
    max-width: 100%;
  }

  .policyCard h3 {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .policyMeta small {
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 5.6rem);
    padding-right: clamp(0.6rem, 1.2vw, 1.8rem);
    padding-left: clamp(0.6rem, 1.2vw, 1.8rem);
    overflow: hidden;
    font-size: clamp(1rem, 1.2vw, 1.5rem);
    text-overflow: clip;
    white-space: nowrap;
  }
}

@media screen and (max-width: 768px) {
  .policyMeta small {
    padding-right: clamp(0.4rem, 2vw, 1rem);
    padding-left: clamp(0.4rem, 2vw, 1rem);
    font-size: clamp(0.9rem, 3vw, 1.3rem);
  }

  .pageLoaderInner {
    gap: 0.8rem;
  }

  .pageLoaderArea {
    min-width: 6.2rem;
    min-height: 5.2rem;
    padding: 0.6rem 0.8rem;
  }

  .pageLoaderArea small {
    font-size: 1.1rem;
  }

  .pageLoaderArea strong {
    font-size: 1.8rem;
  }

  .pageLoaderName {
    font-size: 3.4rem;
  }

  .supportCta small,
  .supportCta h2,
  .supportCta p {
    width: 100%;
    text-align: left;
  }

  .supportCta small {
    font-size: 1.1rem;
  }

  .supportCta h2 {
    font-size: 1.8rem;
  }

  .supportCta p {
    font-size: 1.35rem;
    line-height: 1.7;
    text-wrap: wrap;
  }

  .supportCtaAction {
    font-size: 1.5rem;
  }

  .supportCtaAction span:last-child {
    width: 3.2rem;
    height: 3.2rem;
    font-size: 1.8rem;
  }
}
