/*
Theme Name: SWELL Child
Template: swell
*/

/* =========================
   Header nav for top page
========================= */
.home .renewal-header-nav,
.home .renewal-header-cta {
  display: flex;
  align-items: center;
}

.home .renewal-header-nav {
  margin-left: auto;
}

.home .renewal-header-nav__list {
  display: flex;
  align-items: center;
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home .renewal-header-nav__list a {
  position: relative;
  display: inline-block;
  color: #51627f;
  text-decoration: none;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

.home .renewal-header-nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #ea580c;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.home .renewal-header-nav__list a:hover {
  color: #ea580c;
  transform: translateY(-2px);
}

.home .renewal-header-nav__list a:hover::after {
  transform: scaleX(1);
}

.home .renewal-header-cta {
  margin-left: 28px;
}

.home .renewal-header-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 35px;
  padding: 0 24px;
  border-radius: 999px;
  background: #ea580c;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.18);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.home .renewal-header-cta__btn:hover {
  background: #c2410c;
  transform: translateY(-2px);
}

@media (max-width: 959px) {
  .home .renewal-header-nav,
  .home .renewal-header-cta {
    display: none;
  }
}
/* =========================
   CTA Section
========================= */
.renewal-cta,
.renewal-cta * {
  box-sizing: border-box;
}

.renewal-cta {
  position: relative;
  overflow: hidden;
  padding: 96px 0 0px;
  background:
    radial-gradient(circle at 12% 78%, rgba(48, 94, 188, 0.35) 0%, rgba(48, 94, 188, 0) 28%),
    radial-gradient(circle at 90% 14%, rgba(202, 102, 50, 0.24) 0%, rgba(202, 102, 50, 0) 24%),
    linear-gradient(135deg, #051535 0%, #081a42 36%, #0d1d45 68%, #122349 100%);
  margin-top: -70px;
}

.renewal-cta__inner {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

.renewal-cta__head {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.renewal-cta__title {
  margin: 0 0 22px;
  color: #fff !important;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.renewal-cta__lead {
  margin: 0;
  color: #94a3b8;
  font-size: 18px;
  line-height: 1.9;
}

.renewal-cta__actions {
  display: flex;
  justify-content: center;
  margin-bottom: 42px;
}

.renewal-cta__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 320px;
  min-height: 180px;
  padding: 28px 24px;
  border-radius: 22px;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.renewal-cta__card:hover {
  transform: translateY(-2px);
  opacity: 0.96;
  background: #c2410c !important;
}

.renewal-cta__card--primary {
  background: linear-gradient(135deg, #d84e00 0%, #ea580c 100%) !important;
  box-shadow: 0 18px 34px rgba(239, 90, 0, 0.24);
}

.renewal-cta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  color: #fff !important;
}

.renewal-cta__icon svg {
  display: block;
  width: 28px;
  height: 28px;
}

.renewal-cta__cardTitle {
  display: block;
  margin: 0 0 10px;
  color: #fff !important;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 800;
  text-align: center;
}

.renewal-cta__cardSub {
  display: block;
  color: rgba(255,255,255,0.88) !important;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.renewal-cta__tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.72);
  text-align: center;
  flex-wrap: wrap;
}

.renewal-cta__telLabel {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.6;
}

.renewal-cta__telNumber {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
}

.renewal-cta__telNumber svg {
  width: 18px;
  height: 18px;
  display: block;
}

.renewal-cta__telTime {
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.6;
}

/* SWELL見出し干渉対策 */
.renewal-cta h2,
.renewal-cta h2::before,
.renewal-cta h2::after,
.renewal-cta p {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.renewal-cta h2::before,
.renewal-cta h2::after {
  content: none !important;
  display: none !important;
}

/* SP */
@media (max-width: 768px) {
  .renewal-cta {
    padding: 90px 0 34px;
  }

  .renewal-cta__inner {
    width: calc(100% - 24px);
  }

  .renewal-cta__head {
    margin-bottom: 32px;
  }

  .renewal-cta__title {
    font-size: 34px;
    line-height: 1.28;
  }

  .renewal-cta__lead {
    font-size: 15px;
    line-height: 1.85;
	color: #94a3b8;
  }

  .renewal-cta__actions {
    margin-bottom: 0px;
  }

  .renewal-cta__card {
    width: 100%;
    min-width: 0;
    min-height: 154px;
    padding: 24px 20px;
    border-radius: 18px;
  }

  .renewal-cta__icon {
    margin-bottom: 16px;
  }

  .renewal-cta__cardTitle {
    font-size: 17px;
  }

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

  .renewal-cta__tel {
    gap: 10px;
    padding-top: 24px;
  }

  .renewal-cta__telLabel {
    width: 100%;
    font-size: 13px;
	color: #94a3b8;
  }

  .renewal-cta__telNumber {
    font-size: 20px;
  }

  .renewal-cta__telTime {
    width: 100%;
    font-size: 12px;
	color: #94a3b8;
  }
}


/* =========================
   Renewal Footer
========================= */
.renewal-footer,
.renewal-footer * {
  box-sizing: border-box;
}

.renewal-footer {
  background:
    linear-gradient(90deg, rgba(9, 28, 74, 0.96) 0%, rgba(4, 17, 48, 0.98) 100%);
  color: #fff;
  padding: 72px 0 36px;
}

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

.renewal-footer__main {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) auto;
  gap: 120px;
  align-items: start;
}

.renewal-footer__brand {
  max-width: 520px;
}

.renewal-footer__logoWrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.renewal-footer__logoText {
  color: #ffffff;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.renewal-footer__desc {
  margin: 0;
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.8;
}

.renewal-footer__navCols {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 220px));
  gap: 96px;
}

.renewal-footer__navTitle {
  margin: 0 0 28px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 800;
}

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

.renewal-footer__navList li + li {
  margin-top: 18px;
}

.renewal-footer__navList a {
  position: relative;
  display: inline-block;
  color: #94a3b8;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.6;
  transition: color 0.2s ease, transform 0.2s ease;
}

.renewal-footer__navList a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #ea580c;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.renewal-footer__navList a:hover {
  color: #ea580c;
  transform: translateY(-2px);
}

.renewal-footer__navList a:hover::after {
  transform: scaleX(1);
}

.renewal-footer__bottom {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.renewal-footer__copyright {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

.renewal-footer__logoMarkImage {
  display: block;
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 14px;
  flex: 0 0 54px;
}

/* SP */
@media (max-width: 768px) {
  .renewal-footer {
    padding: 36px 0 28px;
  }

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

  .renewal-footer__main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .renewal-footer__logoWrap {
    margin-bottom: 22px;
  }

  .renewal-footer__logoText {
    font-size: 24px;
  }

  .renewal-footer__navCols {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .renewal-footer__navTitle {
    margin-bottom: 18px;
    font-size: 16px;
  }

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

  .renewal-footer__navList a {
    font-size: 14px;
  }

  .renewal-footer__bottom {
    margin-top: 36px;
    padding-top: 22px;
  }

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


/* =========================
   Fixed header custom nav
========================= */
.home .renewal-fix-header-nav,
.home .renewal-fix-header-cta {
  display: flex;
  align-items: center;
}

.home .renewal-fixHeader__gnav,
.home .l-fixHeader__gnav {
  margin-right: 24px;
}

.home .renewal-fix-header-nav {
  margin-left: auto;
}

.home .renewal-fix-header-nav__list {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home .renewal-fix-header-nav__list a {
  position: relative;
  display: inline-block;
  color: #51627f;
  text-decoration: none;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

.home .renewal-fix-header-nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #ea580c;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.home .renewal-fix-header-nav__list a:hover {
  color: #ea580c;
  transform: translateY(-2px);
}

.home .renewal-fix-header-nav__list a:hover::after {
  transform: scaleX(1);
}

.home .renewal-fix-header-cta {
  margin-left: 20px;
}

.home .renewal-fix-header-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 35px;
  padding: 0 24px;
  border-radius: 999px;
  background: #ea580c;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(234, 88, 12, 0.18);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.home .renewal-fix-header-cta__btn:hover {
  background: #c2410c;
  transform: translateY(-2px);
}

@media (max-width: 959px) {
  .home .renewal-fix-header-nav,
  .home .renewal-fix-header-cta {
    display: none;
  }
}


/* ==========================================
   アーカイブページの「– archive –」を非表示
============================================== */
.post-type-archive-news .c-pageTitle__subTitle,
.post-type-archive-case .c-pageTitle__subTitle {
  display: none !important;
}



.p-postList__thumb.c-postThumb .c-postThumb__figure {
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden;
  background-color: #f1f5f9; 
}

.p-postList__thumb.c-postThumb .c-postThumb__img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}


/* =========================
   NEWS: シンプルなリスト
========================= */
.post-type-archive-news .p-postList__item {
  border-bottom: 1px solid #e5e7eb;
  padding: 18px 0;
  box-shadow: none;
  background: transparent;
  border-radius: 0;
}

.post-type-archive-news .p-postList__thumb {
  display: none;
}

.post-type-archive-news .p-postList__body {
  padding: 0;
}

.post-type-archive-news .p-postList__title {
  font-size: 18px;
  line-height: 1.6;
}

.post-type-archive-news .p-postList__meta {
  margin-bottom: 6px;
  font-size: 13px;
  color: #6b7280;
}