:root {
  --renewal-color-dark: #293366;
  --renewal-color-light: #00b9e4;
  --renewal-color-white: #ffffff;
  --renewal-container-width: 1200px;
  --renewal-header-height-pc: 94px;
  --renewal-header-height-sp: 84px;
  --renewal-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

.notpc {
  display: none;
}
.notsp {
  display: block;
}

@media screen and (max-width: 1024px) {
  .notpc {
    display: block;
  }
  .notsp {
    display: none !important;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.renewal {
  margin: 0;
  color: var(--renewal-color-dark);
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
}

body.renewal img {
  display: block;
  width: 100%;
  height: auto;
}

body.renewal.is-menu-open {
  overflow: hidden;
}

.renewal-main {
  width: 100%;
}

.renewal-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  backdrop-filter: blur(5px);
  border-bottom: 1px solid rgb(0 185 228 / 22%);
}

.renewal-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 48px, var(--renewal-container-width));
  height: var(--renewal-header-height-pc);
  margin: 0 auto;
}

.renewal-header__logo-link {
  width: 334px;
}

.renewal-header__logo {
  width: 100%;
}

.renewal-nav__list {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.renewal-nav__item {
  border-right: 0;
}

.renewal-nav__item:first-child {
  border-left: 0;
}

.renewal-nav__link {
	display: block;
	padding: 10px 13px;
	color: var(--renewal-color-dark);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition:
		color 0.25s var(--renewal-ease),
		background-color 0.25s var(--renewal-ease);
}

/* PC表示時は改行させず、横幅に応じて段階的に詰める */
@media screen and (min-width: 1025px) {
	.renewal-nav__list {
		gap: clamp(0px, 0.45vw, 6px);
	}

	.renewal-nav__link {
		padding-inline: clamp(5px, 0.7vw, 13px);
		font-size: clamp(12px, 0.85vw, 14px);
		white-space: nowrap;
	}
}

.renewal-nav__link:hover,
.renewal-nav__link:focus-visible {
  color: var(--renewal-color-light);
  background: rgb(0 185 228 / 7%);
  outline: none;
}

.renewal-header__toggle {
  display: none;
}

.renewal-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: max(620px, 82vh);
  padding-top: var(--renewal-header-height-pc);
  background-image: image-set(url("../images/renewal/hero.webp") type("image/webp"));
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* メインキャッチ＋透過合成（PC: hero-case1 / SP: hero-case1-sp） */
.renewal-hero__stage {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
}

.renewal-hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgb(255 255 255 / 10%) 0%, rgb(255 255 255 / 0%) 50%, rgb(0 185 228 / 10%) 100%);
}

.renewal-hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, var(--renewal-container-width));
  max-width: var(--renewal-container-width);
  margin: 0 auto;
  padding: 12px 0 8px;
}

.renewal-hero__title {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
}

.renewal-hero__title-line {
  display: block;
}

.renewal-hero__title-sub {
  display: block;
  margin-top: 0.5em;
}

.renewal-hero__case {
  width: 100%;
}

.renewal-hero__case-img {
  display: block;
  width: 100%;
  height: auto;
}

/* ヒーロー直下・4サービスバナー（hero-bar1～4） */
.renewal-hero__bars {
  flex-shrink: 0;
  width: 100%;
  margin-bottom: 30px;
}

.renewal-hero__bars-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  width: min(100% - 48px, var(--renewal-container-width));
  max-width: var(--renewal-container-width);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.renewal-hero__bars-link {
  display: block;
  line-height: 0;
  overflow: hidden;
  border-radius: 4px;
  outline-offset: 4px;
  transition:
    transform 0.35s var(--renewal-ease),
    box-shadow 0.35s var(--renewal-ease);
}

.renewal-hero__bars-link:hover,
.renewal-hero__bars-link:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgb(41 51 102 / 22%);
}

.renewal-hero__bars-link:focus-visible {
  outline: 2px solid var(--renewal-color-light);
}

.renewal-hero__bars-link:hover .renewal-hero__bars-img,
.renewal-hero__bars-link:focus-visible .renewal-hero__bars-img {
  transform: scale(1.09);
}

.renewal-hero__bars-img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s var(--renewal-ease);
}

.renewal-announcement {
  padding: 80px 0;
  background: var(--renewal-color-white);
}

.renewal-announcement__inner {
  width: min(100% - 48px, var(--renewal-container-width));
  margin: 0 auto;
  text-align: center;
}

.renewal-announcement__lead {
  margin: 0;
  color: #1179b2;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.03em;
}

.renewal-announcement__text {
  margin: 30px 0 0;
  color: var(--renewal-color-dark);
  font-size: 21px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.02em;
}

.renewal-posts {
  padding: 0 0 76px;
}

.renewal-posts__inner {
  width: min(100% - 48px, var(--renewal-container-width));
  margin: 0 auto;
}

.renewal-posts__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.renewal-posts__head .renewal-posts__heading {
  flex: 1;
}

.renewal-posts__heading {
  margin: 0;
  padding-bottom: 9px;
  color: var(--renewal-color-light);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.02em;
  border-bottom: 2px solid rgb(0 185 228 / 86%);
}

.renewal-posts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px 34px;
  margin-top: 32px;
}

.renewal-card {
  min-width: 0;
  height: 100%;
}

.renewal-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.renewal-card__thumb-wrap {
	position: relative;
	aspect-ratio: 505 / 243;
	background: var(--renewal-color-light);
	overflow: hidden;
}

.renewal-card__thumb {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.renewal-card__thumb--blank {
	object-fit: cover;
	object-position: center center;
}

.renewal-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-top: 14px;
}

.renewal-card__date {
  margin: 0;
  color: rgb(41 51 102 / 76%);
  font-size: 12px;
  line-height: 1.2;
}

.renewal-card__title {
  margin: 10px 0 0;
  color: var(--renewal-color-light);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  min-height: calc(1.35em * 2);
  letter-spacing: 0.01em;
}

.renewal-card__excerpt {
  margin: 16px 0 0;
  color: rgb(41 51 102 / 86%);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 1.6em;
  letter-spacing: 0.02em;
}

.renewal-card__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 116px;
  margin-top: auto;
  padding: 8px 16px;
  color: var(--renewal-color-white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  background: var(--renewal-color-light);
  border-radius: 8px;
  box-shadow: 0 2px 5px rgb(0 0 0 / 22%);
  transform: translateY(0);
  transition:
    transform 0.25s var(--renewal-ease),
    box-shadow 0.25s var(--renewal-ease),
    background-color 0.25s var(--renewal-ease);
}

.renewal-posts__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  height: 36px;
  padding: 0 16px;
  margin-bottom: 9px;
  margin-left: 20px;
  color: var(--renewal-color-white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  background: var(--renewal-color-light);
  border-radius: 8px;
  box-shadow: 0 2px 5px rgb(0 0 0 / 22%);
  transform: translateY(0);
  transition:
    transform 0.25s var(--renewal-ease),
    box-shadow 0.25s var(--renewal-ease),
    opacity 0.25s var(--renewal-ease);
}

.renewal-posts__button:hover,
.renewal-posts__button:focus-visible {
  opacity: 1;
  box-shadow: 0 4px 8px rgb(0 0 0 / 24%);
  transform: translateY(-2px);
  outline: none;
}

.renewal-card__more:hover,
.renewal-card__more:focus-visible {
  box-shadow: 0 4px 8px rgb(0 0 0 / 24%);
  transform: translateY(-2px);
  outline: none;
}

.renewal-posts__empty {
  margin: 24px 0 0;
  color: rgb(41 51 102 / 80%);
  font-size: 16px;
}

.renewal-posts--blog {
  padding-bottom: 96px;
}

.renewal-posts--blog .renewal-posts__head {
  justify-content: flex-start;
  align-items: flex-end;
  border-bottom: 2px solid rgb(0 185 228 / 86%);
}

.renewal-posts--blog .renewal-posts__heading {
  flex: none;
  border-bottom: 0;
}

.renewal-bars {
  padding: 0 0 80px;
}

.renewal-bars__inner {
  width: min(100% - 48px, var(--renewal-container-width));
  margin: 0 auto;
}

.renewal-bars__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.renewal-bars__item + .renewal-bars__item {
  margin-top: 14px;
}

.renewal-bars__item picture,
.renewal-bars__item img {
  display: block;
  width: 100%;
  height: auto;
}

.renewal-footer {
  padding: 15px 0 26px;
  background: var(--renewal-color-white);
  color: #00429a;
}

.renewal-footer__inner {
  width: min(100% - 48px, var(--renewal-container-width));
  margin: 0 auto;
}

.renewal-footer__logo-wrap {
  margin: 0;
  width: 100%;
  max-width: 180px;
}

.renewal-footer__logo {
  width: 100%;
  height: auto;
}

.renewal-footer__nav {
  margin-top: 15px;
}

.renewal-footer__nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.renewal-footer__nav-item {
  border-right: 0;
}

.renewal-footer__nav-item:first-child {
  border-left: 0;
}

.renewal-footer__nav-link {
  display: block;
  padding: 0 16px;
  color: #00429a;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.renewal-footer__nav-item:first-child .renewal-footer__nav-link {
  padding-left: 0;
}

.renewal-footer__nav-link:hover,
.renewal-footer__nav-link:focus-visible {
  color: var(--renewal-color-light);
  outline: none;
}

.renewal-footer__copyright {
  margin: 16px 0 0;
  color: #00429a;
  font-size: 8px;
  line-height: 1.4;
}

@media screen and (max-width: 1200px) {
	.renewal-nav__link {
		padding: 10px 8px;
		font-size: 12px;
	}
}

@media screen and (max-width: 1024px) {
  .renewal-header__inner {
    width: calc(100% - 32px);
    height: var(--renewal-header-height-sp);
  }

  .renewal-header__logo-link {
    width: 240px;
  }

  .renewal-header__toggle {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
  }

  .renewal-header__toggle-line {
    position: absolute;
    width: 30px;
    height: 2px;
    background: var(--renewal-color-dark);
    transition:
      transform 0.35s var(--renewal-ease),
      opacity 0.35s var(--renewal-ease);
  }

  .renewal-header__toggle-line:nth-child(1) {
    transform: translateY(-9px);
  }

  .renewal-header__toggle-line:nth-child(2) {
    transform: translateY(0);
  }

  .renewal-header__toggle-line:nth-child(3) {
    transform: translateY(9px);
  }

  .renewal-header__toggle[aria-expanded="true"] .renewal-header__toggle-line:nth-child(1) {
    transform: translateY(0) rotate(42deg);
  }

  .renewal-header__toggle[aria-expanded="true"] .renewal-header__toggle-line:nth-child(2) {
    opacity: 0;
  }

  .renewal-header__toggle[aria-expanded="true"] .renewal-header__toggle-line:nth-child(3) {
    transform: translateY(0) rotate(-42deg);
  }

  .renewal-nav {
    position: fixed;
    top: var(--renewal-header-height-sp);
    left: 0;
    width: 100%;
    height: calc(100dvh - var(--renewal-header-height-sp));
    padding: 24px 16px 36px;
    background: rgb(255 255 255 / 96%);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
      opacity 0.28s var(--renewal-ease),
      transform 0.28s var(--renewal-ease),
      visibility 0.28s var(--renewal-ease);
    overflow-y: auto;
  }

  .renewal-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .renewal-nav__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 560px;
    margin: 0 auto;
  }

  .renewal-nav__item,
  .renewal-nav__item:first-child {
    border: 0;
    border-bottom: 1px solid rgb(41 51 102 / 16%);
  }

  .renewal-nav__link {
    padding: 16px 6px;
    font-size: 17px;
    line-height: 1.4;
  }

  .renewal-hero {
    min-height: max(520px, 74vh);
    padding-top: var(--renewal-header-height-sp);
    background-image: image-set(url("../images/renewal/hero-sp.webp") type("image/webp"));
  }

  .renewal-hero__inner {
    width: calc(100% - 32px);
    max-width: var(--renewal-container-width);
    padding: 10px 0 8px;
  }

  .renewal-hero__bars-list {
    width: calc(100% - 32px);
    max-width: var(--renewal-container-width);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .renewal-announcement {
    padding: 68px 0 74px;
  }

  .renewal-announcement__inner {
    width: calc(100% - 32px);
  }

  .renewal-announcement__lead {
    font-size: 28px;
    line-height: 1.5;
  }

  .renewal-announcement__text {
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.9;
  }

  .renewal-posts {
    padding: 0 0 54px;
  }

  .renewal-posts__inner {
    width: calc(100% - 32px);
  }

  .renewal-posts__heading {
    width: 100%;
    font-size: 36px;
    padding-bottom: 10px;
  }

  .renewal-posts__head {
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: 10px;
  }

  .renewal-posts__head .renewal-posts__heading {
    flex: 1;
  }

  .renewal-posts__button {
    min-width: 72px;
    height: 40px;
    margin-left: 10px;
    margin-bottom: 0;
    padding: 0 12px;
    font-size: 18px;
    margin-bottom: 12px;
  }

  .renewal-posts__grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 18px;
  }

  .renewal-card {
    padding: 20px 0;
    border-bottom: 1px solid rgb(41 51 102 / 12%);
  }

  .renewal-card__link {
    display: grid;
    grid-template-columns: 36% 1fr;
    gap: 14px;
    height: auto;
  }

  .renewal-card__thumb-wrap {
	aspect-ratio: 505 / 243;
	}

  .renewal-card__body {
    display: block;
    padding-top: 0;
  }

  .renewal-card__date {
    font-size: 13px;
  }

  .renewal-card__title {
    margin-top: 6px;
    font-size: 21px;
    line-height: 1.32;
    min-height: calc(1.32em * 2);
  }

  .renewal-card__excerpt {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.56;
    margin-bottom: 1.56em;
  }

  .renewal-card__more {
    min-width: 76px;
    margin-top: 10px;
    padding: 6px 10px;
    font-size: 11px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgb(0 0 0 / 20%);
  }

  .renewal-posts--blog {
    padding-bottom: 64px;
  }

  .renewal-bars {
    padding-bottom: 56px;
  }

  .renewal-bars__inner {
    width: calc(100% - 32px);
  }

  .renewal-bars__item + .renewal-bars__item {
    margin-top: 10px;
  }

  .renewal-footer {
    padding: 30px 0 22px;
  }

  .renewal-footer__inner {
    width: calc(100% - 32px);
  }

  .renewal-footer__logo-wrap {
    width: 100%;
    max-width: 180px;
  }

  .renewal-footer__nav {
    margin-top: 22px;
    padding-top: 14px;
  }

  .renewal-footer__nav-list {
    gap: 14px 0;
  }

  .renewal-footer__nav-item,
  .renewal-footer__nav-item:first-child {
    border: 0;
  }

  .renewal-footer__nav-link {
    padding: 0 22px 0 0;
    font-size: 12px;
  }

  .renewal-footer__copyright {
    margin-top: 22px;
    font-size: 8px;
  }
}
