@charset "utf-8";

/* ==================================================
   COTTON TOP PAGE RENEWAL
   TOPページ専用。既存 style.css の後に読み込む。
================================================== */

#Page-top {
  --cotton-green: #005b4f;
  --cotton-green-dark: #003f38;
  --cotton-green-soft: #7faeaa;
  --cotton-green-pale: #eef7f5;
  --cotton-ink: #183d3a;
  --cotton-text: #4f5f5d;
  --cotton-line: #dce8e5;
  --cotton-white: #ffffff;
  --cotton-shadow: 0 12px 35px rgba(20, 61, 57, 0.08);
  background: #fff;
}

#Page-top,
#Page-top * {
  box-sizing: border-box;
}

#Page-top main,
#Page-top main p,
#Page-top main a,
#Page-top main li,
#Page-top main span,
#Page-top main time {
  font-family: "Noto Serif JP", "Shippori Mincho", "Yu Mincho", serif;
  font-weight: 400;
}

#Page-top main p,
#Page-top main li,
#Page-top main a {
  color: var(--cotton-text);
}

#Page-top header,
#Page-top footer {
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
}

#Page-top.cotton-renewal header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(0, 91, 79, 0.06);
  backdrop-filter: blur(10px);
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

#Page-top.cotton-renewal.is-scrolled header {
  background: #fff;
  border-bottom-color: rgba(0, 91, 79, 0.12);
  box-shadow: 0 8px 24px rgba(18, 61, 57, 0.08);
}

#Page-top .navbar,
#Page-top .navbar .navbar-collapse {
  background: transparent !important;
}

#Page-top .nav-link {
  color: var(--cotton-ink) !important;
  font-weight: 400;
}

#Page-top .nav-link:hover,
#Page-top .nav-item a.active {
  color: var(--cotton-green) !important;
}

#Page-top footer {
  border-top: 1px solid var(--cotton-line);
  background: #fff;
}

#Page-top section {
  padding: 0;
}

#Page-top.cotton-renewal main > section,
#Page-top.cotton-renewal main > .images-guidance,
#Page-top.cotton-renewal main > .index-attention {
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}

#Page-top .cotton-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: clamp(76px, 8vw, 126px) 0;
}

#Page-top .cotton-section__inner {
  position: relative;
  z-index: 2;
  width: min(88%, 1280px);
  margin: 0px auto;
}

#Page-top .cotton-split {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.45fr);
  align-items: center;
  gap: clamp(52px, 7vw, 110px);
}

#Page-top .cotton-section__intro {
  max-width: 430px;
}

#Page-top .cotton-section__intro--right {
  justify-self: end;
}

#Page-top .cotton-eyebrow {
  margin: 0 0 10px;
  color: var(--cotton-green-soft);
  font-family: "Cormorant Garamond", serif !important;
  font-size: 1.2rem;
  font-weight: 500 !important;
  letter-spacing: 0.12em;
}

#Page-top .cotton-heading {
  margin: 0;
  color: var(--cotton-ink);
  font-size: clamp(2.4rem, 3vw, 3.6rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.05em;
  text-transform: none;
}

#Page-top .cotton-heading-line {
  display: block;
  width: 20px;
  height: 1px;
  margin: 22px 0 28px;
  background: var(--cotton-green);
}

#Page-top .cotton-copy {
  margin: 0;
  color: var(--cotton-text);
  font-size: 1.45rem;
  line-height: 2.25;
  letter-spacing: 0.035em;
}

#Page-top .cotton-button-group {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

#Page-top .cotton-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 20px;
  border: 1px solid var(--cotton-green);
  text-decoration: none;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

#Page-top .cotton-button span {
  color: inherit;
  font-family: Arial, sans-serif !important;
  font-size: 2.2rem;
  font-weight: 300;
}

#Page-top .cotton-button--primary {
  background: var(--cotton-green);
  color: #fff;
}

#Page-top .cotton-button--outline {
  background: rgba(255, 255, 255, 0.72);
  color: var(--cotton-green);
}

#Page-top.cotton-renewal
  .cotton-lineup
  .cotton-section__intro--right
  > .cotton-button {
  margin-top: 34px;
}

#Page-top .cotton-button:hover {
  transform: translateY(-2px);
  background: var(--cotton-green-dark);
  color: #fff;
  opacity: 1;
}

#Page-top .cotton-button--small {
  width: 225px;
  min-height: 48px;
  font-size: 1.3rem;
}

#Page-top.cotton-renewal .nav-item--contractor {
  margin-left: 14px;
}
#Page-top.cotton-renewal .nav-contractor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 20px !important;
  border: 1px solid var(--cotton-green);
  background: var(--cotton-green);
  color: #fff !important;
  line-height: 1;
  letter-spacing: 0.04em;
}
#Page-top.cotton-renewal .nav-contractor-button:hover {
  background: var(--cotton-green-dark);
  color: #fff !important;
}
#Page-top.cotton-renewal .menu__item--contractor {
  margin-top: 12px;
}

/* HERO */
#Page-top .cotton-hero {
  position: relative;
  overflow: hidden;
}

#Page-top .cotton-hero .slider {
  margin-bottom: 0;
}

/* ==================================================
   HERO ご契約者さまへのご案内
================================================== */

#Page-top.cotton-renewal .cotton-hero-support-wrap {
  position: absolute;
  z-index: 12;
  inset: 0;
  width: min(88%, 1280px);
  margin: 0 auto;
  pointer-events: none;
}

#Page-top.cotton-renewal .cotton-hero-support {
  position: absolute;
  top: 50%;
  right: 0;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  width: min(370px, 32vw);
  padding: 34px 36px 30px;

  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 46px rgba(20, 61, 57, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  color: var(--cotton-ink);
  text-decoration: none;
  transform: translateY(-38%);
  pointer-events: auto;

  transition:
    transform 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

#Page-top.cotton-renewal .cotton-hero-support::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--cotton-green);
}

#Page-top.cotton-renewal .cotton-hero-support__en {
  margin-bottom: 11px;
  color: var(--cotton-green-soft);
  font-family: "Cormorant Garamond", serif !important;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.14em;
}

#Page-top.cotton-renewal .cotton-hero-support__title {
  margin: 0;
  color: var(--cotton-ink);
  font-size: clamp(1.8rem, 2vw, 2.35rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.055em;
}

#Page-top.cotton-renewal .cotton-hero-support__text {
  margin-top: 13px;
  color: var(--cotton-text);
  font-size: 1.2rem;
  line-height: 1.8;
  letter-spacing: 0.025em;
}

#Page-top.cotton-renewal .cotton-hero-support__more {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  margin-top: 25px;
  padding-top: 15px;

  border-top: 1px solid rgba(0, 91, 79, 0.18);
  color: var(--cotton-green);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

#Page-top.cotton-renewal .cotton-hero-support__more span {
  color: inherit;
  font-family: Arial, sans-serif !important;
  font-size: 2.1rem;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.25s ease;
}

#Page-top.cotton-renewal .cotton-hero-support:hover {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 56px rgba(20, 61, 57, 0.2);
  transform: translateY(calc(-38% - 4px));
  opacity: 1;
}

#Page-top.cotton-renewal
  .cotton-hero-support:hover
  .cotton-hero-support__more
  span {
  transform: translateX(5px);
}

/* CONTRACTORS */
#Page-top .cotton-contractors {
  background:
    linear-gradient(
      150deg,
      rgba(121, 182, 173, 0.1) 0 18%,
      transparent 18% 100%
    ),
    linear-gradient(
      335deg,
      rgba(121, 182, 173, 0.11) 0 15%,
      transparent 15% 100%
    ),
    #fbfdfc;
}

#Page-top .cotton-contractors::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -30%;
  width: 65%;
  height: 65%;
  border-radius: 50%;
  border: 1px solid rgba(0, 91, 79, 0.08);
  transform: rotate(-12deg);
}

#Page-top .contractor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

#Page-top .contractor-grid a {
  display: grid;
  place-items: center;
  min-height: 126px;
  padding: 20px 16px;
  border: 1px solid rgba(0, 91, 79, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--cotton-shadow);
  color: var(--cotton-ink);
  font-size: 1.35rem;
  line-height: 1.65;
  text-align: center;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
  border-bottom: 1.5px solid var(--cotton-green-dark);
}

#Page-top .contractor-grid a:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 91, 79, 0.35);
  box-shadow: 0 18px 40px rgba(20, 61, 57, 0.12);
  opacity: 1;
}

/* INTRO MESSAGE */
#Page-top.cotton-renewal .cotton-intro-message {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 6vw, 82px) 20px;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.035), transparent 42%),
    var(--cotton-green);
  text-align: center;
}

#Page-top.cotton-renewal .cotton-intro-message::before,
#Page-top.cotton-renewal .cotton-intro-message::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  transform: rotate(-35deg);
}

#Page-top.cotton-renewal .cotton-intro-message::before {
  top: 26px;
  left: -70px;
}

#Page-top.cotton-renewal .cotton-intro-message::after {
  right: -60px;
  bottom: 28px;
}

#Page-top.cotton-renewal .cotton-intro-message__inner {
  position: relative;
  z-index: 1;
  width: min(92%, 980px);
  margin: 0 auto;
}

#Page-top.cotton-renewal .cotton-intro-message h2 {
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(2.1rem, 2.5vw, 3rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: none;
}

#Page-top.cotton-renewal .cotton-intro-message p {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.3rem, 1.25vw, 1.55rem);
  font-weight: 400;
  line-height: 2.2;
  letter-spacing: 0.045em;
}

/* LINEUP */
#Page-top.cotton-renewal .cotton-lineup {
  min-height: 680px;
  background: #fff;
}

#Page-top.cotton-renewal .cotton-lineup__visual {
  position: absolute;
  inset: 0;
  background: url("../image/service.jpeg") center / cover no-repeat;
}

#Page-top.cotton-renewal .cotton-lineup__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 34%,
      rgba(255, 255, 255, 0.26) 43%,
      rgba(255, 255, 255, 0.68) 52%,
      rgba(255, 255, 255, 0.94) 61%,
      #fff 69%,
      #fff 100%
    ),
    rgba(18, 54, 51, 0.1);
}

#Page-top.cotton-renewal .cotton-lineup__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.7fr);
  align-items: center;
  gap: clamp(50px, 7vw, 100px);
}

#Page-top .insurance-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

#Page-top .insurance-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 34px 25px 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 50px rgba(28, 52, 49, 0.16);
}

#Page-top .insurance-card__en {
  order: 2;
  margin: 0 0 24px;
  color: var(--cotton-green-soft);
  font-family: "Cormorant Garamond", serif !important;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-align: center;
}

#Page-top .insurance-card__icon {
  display: block;
  order: 0;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
}

#Page-top .insurance-card h3 {
  order: 1;
  margin: 0 0 4px;
  color: var(--cotton-ink);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  text-align: center;
  text-transform: none;
}

#Page-top .insurance-card ul {
  display: grid;
  order: 3;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#Page-top.cotton-renewal .insurance-card li,
#Page-top.cotton-renewal .insurance-card li a {
  color: #263f3c;
  font-size: 1.56rem;
  line-height: 1.65;
  text-align: center;
  text-decoration: none;
}

#Page-top.cotton-renewal .insurance-card li a {
  position: relative;
  display: inline-block;
  padding: 3px 18px 5px 4px;
  border-bottom: 1px solid transparent;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

#Page-top.cotton-renewal .insurance-card li a::after {
  content: "›";
  position: absolute;
  top: 50%;
  right: 2px;
  color: var(--cotton-green-soft);
  font-family: Arial, sans-serif !important;
  font-size: 1.55rem;
  line-height: 1;
  transform: translateY(-52%);
  transition:
    right 0.2s ease,
    color 0.2s ease;
}

#Page-top.cotton-renewal .insurance-card li a:hover {
  right: auto;
  color: var(--cotton-green);
  border-bottom-color: rgba(0, 91, 79, 0.35);
  transform: translateX(2px);
}

#Page-top.cotton-renewal .insurance-card li a:hover::after {
  right: -1px;
  color: var(--cotton-green);
}

#Page-top .insurance-card__more {
  order: 4;
  margin-top: auto;
  padding-top: 20px;
  color: var(--cotton-green) !important;
  font-size: 1.15rem;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 4px;
}

#Page-top .cotton-sub-links {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

#Page-top .cotton-sub-links a {
  color: var(--cotton-green);
  font-size: 1.2rem;
  text-decoration: none;
}

#Page-top .cotton-sub-links a::before {
  content: "—";
  margin-right: 8px;
}

/* PARTNERS */
#Page-top .cotton-partners {
  background: #f8fbfa;
  padding: 80px 0;
  margin: 0px auto;
}

#Page-top .partner-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

#Page-top .partner-logo-grid a {
  display: grid;
  place-items: center;
  min-height: 112px;
  padding: 20px;
  border: 1px solid rgba(0, 91, 79, 0.08);
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 61, 57, 0.055);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

#Page-top .partner-logo-grid a:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(20, 61, 57, 0.1);
  opacity: 1;
}

#Page-top .partner-logo-grid img {
  width: auto;
  max-width: 100%;
  max-height: 62px;
  object-fit: contain;
}

/* COMPANY LINKS */
/* #Page-top .cotton-company-links {
  padding: clamp(66px, 7vw, 100px) 0;
  background: #fff;
}

#Page-top .cotton-company-links__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
  width: min(82%, 1320px);
  margin: 0 auto;
}

#Page-top .cotton-company-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1.72 / 1;
  background: #e9efed;
  text-decoration: none;
}

#Page-top .cotton-company-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(9, 35, 32, 0.35),
    rgba(9, 35, 32, 0.02) 68%
  );
}

#Page-top .cotton-company-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

#Page-top .cotton-company-card span {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 7%;
  transform: translateY(-50%);
  color: #fff;
  font-size: clamp(1.7rem, 2vw, 2.5rem);
  font-weight: 500;
  letter-spacing: 0.06em;
}

#Page-top .cotton-company-card:hover img {
  transform: scale(1.035);
} */

/* ==================================================
   私たちについて
================================================== */

#Page-top.cotton-renewal .cotton-company-about {
  position: relative;
  overflow: hidden;
  padding: clamp(78px, 8vw, 120px) 0;
  background: rgba(0, 91, 79, 0.1);
}

/* 薄い装飾 */
#Page-top.cotton-renewal .cotton-company-about::before {
  content: "";
  position: absolute;
  top: -280px;
  left: -240px;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(0, 91, 79, 0.07);
  border-radius: 50%;
  pointer-events: none;
}

#Page-top.cotton-renewal .cotton-company-about::after {
  content: "";
  position: absolute;
  right: -340px;
  bottom: -420px;
  width: 760px;
  height: 760px;
  border: 1px solid rgba(0, 91, 79, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

#Page-top.cotton-renewal .cotton-company-about__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns:
    minmax(0, 1.8fr)
    minmax(250px, 0.7fr);
  align-items: start;
  gap: clamp(48px, 6vw, 90px);
  width: min(88%, 1280px);
  margin: 0 auto;
}

#Page-top.cotton-renewal .cotton-company-about__cards,
#Page-top.cotton-renewal .cotton-company-about__intro {
  align-self: start;
}

/* 左側 */
#Page-top.cotton-renewal .cotton-company-about__intro {
  position: sticky;
  top: 130px;
  max-width: 390px;
}

#Page-top.cotton-renewal
  .cotton-company-about__intro
  .cotton-copy {
  max-width: 360px;
}

/* 右側カード */
#Page-top.cotton-renewal .cotton-company-about__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

#Page-top.cotton-renewal .cotton-company-about-card {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  min-width: 0;
  border: 1px solid rgba(0, 91, 79, 0.08);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 32px rgba(20, 61, 57, 0.08);
  color: inherit;
  text-decoration: none;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

#Page-top.cotton-renewal .cotton-company-about-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 91, 79, 0.22);
  box-shadow: 0 22px 46px rgba(20, 61, 57, 0.13);
  opacity: 1;
}

/* カード画像 */
#Page-top.cotton-renewal
  .cotton-company-about-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.3 / 1;
  background: #e8efed;
}

#Page-top.cotton-renewal
  .cotton-company-about-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 63, 56, 0) 58%,
    rgba(0, 63, 56, 0.12) 100%
  );
  pointer-events: none;
}

#Page-top.cotton-renewal
  .cotton-company-about-card__image
  img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition:
    transform 0.65s ease,
    filter 0.3s ease;
}

#Page-top.cotton-renewal
  .cotton-company-about-card:hover
  .cotton-company-about-card__image
  img {
  transform: scale(1.04);
}

/* 代表写真の位置調整 */
#Page-top.cotton-renewal
  .cotton-company-about-card:first-child
  .cotton-company-about-card__image
  img {
  object-position: center 30%;
}

/* カード本文 */
#Page-top.cotton-renewal
  .cotton-company-about-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(12px, 2.4vw, 20px);
}

#Page-top.cotton-renewal
  .cotton-company-about-card__en {
  margin: 0 0 8px;
  color: var(--cotton-green-soft);
  font-family: "Cormorant Garamond", serif !important;
  font-size: 0.95rem;
  font-weight: 500 !important;
  letter-spacing: 0.14em;
}

#Page-top.cotton-renewal
  .cotton-company-about-card
  h3 {
  margin: 0;
  color: var(--cotton-ink);
  font-size: clamp(1.8rem, 1.8vw, 2.25rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-transform: none;
}

#Page-top.cotton-renewal
  .cotton-company-about-card__text {
  margin: 15px 0 0;
  color: var(--cotton-text);
  font-size: 1.2rem;
  line-height: 1.9;
  letter-spacing: 0.025em;
}

#Page-top.cotton-renewal
  .cotton-company-about-card__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(0, 91, 79, 0.13);
  color: var(--cotton-green);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

#Page-top.cotton-renewal
  .cotton-company-about-card__link::after {
  content: "→";
  color: inherit;
  font-family: Arial, sans-serif !important;
  font-size: 1.7rem;
  font-weight: 300;
  line-height: 1;

  transition: transform 0.25s ease;
}

#Page-top.cotton-renewal
  .cotton-company-about-card:hover
  .cotton-company-about-card__link::after {
  transform: translateX(5px);
}

/* タブレット */
@media screen and (max-width: 1100px) {
  #Page-top.cotton-renewal
    .cotton-company-about__inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  #Page-top.cotton-renewal
    .cotton-company-about__intro {
    position: static;
    max-width: 680px;
  }

  #Page-top.cotton-renewal
    .cotton-company-about__intro
    .cotton-copy {
    max-width: 620px;
  }
}

/* スマホ */
@media screen and (max-width: 767.98px) {
  #Page-top.cotton-renewal .cotton-company-about {
    padding: 70px 0;
  }

  #Page-top.cotton-renewal
    .cotton-company-about__inner {
    width: min(88%, 680px);
    gap: 34px;
  }

  #Page-top.cotton-renewal
    .cotton-company-about__cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  #Page-top.cotton-renewal
    .cotton-company-about-card {
    display: grid;
    grid-template-columns: minmax(130px, 0.8fr) minmax(0, 1.2fr);
  }

  #Page-top.cotton-renewal
    .cotton-company-about-card__image {
    height: 100%;
    min-height: 150px;
    aspect-ratio: auto;
  }

  #Page-top.cotton-renewal
    .cotton-company-about-card__body {
    padding: 24px 20px;
  }

  #Page-top.cotton-renewal
    .cotton-company-about-card__text {
    font-size: 1.15rem;
    line-height: 1.8;
  }
}

/* 小さいスマホ */
@media screen and (max-width: 520px) {
  #Page-top.cotton-renewal
    .cotton-company-about-card {
    display: flex;
  }

  #Page-top.cotton-renewal
    .cotton-company-about-card__image {
    min-height: 0;
    aspect-ratio: 1.7 / 1;
  }

  #Page-top.cotton-renewal
    .cotton-company-about-card__body {
    padding: 22px 20px;
  }
}

/* NEWS =-------------------------------------*/
#Page-top .cotton-news {
  min-height: 520px;
  background: #fbfdfc;
}

#Page-top.cotton-renewal .cotton-news__image {
  position: absolute;
  inset: 0 0 0 50%;
  background:
    linear-gradient(
      90deg,
      #fbfdfc 0%,
      rgba(251, 253, 252, 0.72) 10%,
      rgba(251, 253, 252, 0.08) 30%
    ),
    url("../image/news-family.jpeg") center / cover no-repeat;
  opacity: 0.92;
}

#Page-top .cotton-news__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

#Page-top .cotton-news__main {
  width: calc(100% - 42px);
  max-width: none;
}

#Page-top .cotton-news__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

#Page-top .cotton-news-list {
  border-top: 1px solid var(--cotton-line);
}

#Page-top .cotton-news-item {
  display: grid;
  grid-template-columns: 105px 52px minmax(0, 1fr) 20px;
  align-items: center;
  min-height: 62px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--cotton-line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--cotton-text);
  text-decoration: none;
  transition: background 0.2s ease;
}

#Page-top .cotton-news-item:hover {
  background: #fff;
  opacity: 1;
}

#Page-top .cotton-news-item time {
  color: #71817f;
  font-size: 1.15rem;
}

#Page-top .cotton-news-label {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 18px;
  border: 1px solid #d3a3a3;
  color: #b56d6d;
  font-family: Arial, sans-serif !important;
  font-size: 0.9rem;
}

#Page-top .cotton-news-item p {
  margin: 0;
  color: #394b49;
  font-size: 1.25rem;
}

#Page-top .cotton-news-arrow {
  color: var(--cotton-green);
  font-family: Arial, sans-serif !important;
  font-size: 2rem;
  font-weight: 300;
}

/* FOOTER CTA */
.cotton-footer-cta {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 82px 20px;
  display: flex;
  align-items: center;
}
.cotton-footer-cta__image,
.cotton-footer-cta__overlay {
  position: absolute;
  inset: 0;
}
.cotton-footer-cta__image {
  background: url("../image/news-young-people.jpg") center / cover no-repeat;
}
.cotton-footer-cta__overlay {
  background: linear-gradient(
    90deg,
    rgba(0, 63, 56, 0.94) 0%,
    rgba(0, 63, 56, 0.86) 48%,
    rgba(0, 63, 56, 0.42) 100%
  );
}
.cotton-footer-cta__inner {
  position: relative;
  z-index: 1;
  width: min(88%, 1280px);
  margin: 0 auto;
  color: #fff;
}
.cotton-footer-cta .cotton-eyebrow,
.cotton-footer-cta h2,
.cotton-footer-cta p {
  color: #fff;
}
.cotton-footer-cta h2 {
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 3.2vw, 4rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: none;
}
.cotton-footer-cta p {
  max-width: 680px;
  margin: 0;
  font-size: 1.45rem;
  line-height: 2;
}
.cotton-footer-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-width: 300px;
  min-height: 58px;
  margin-top: 30px;
  padding: 0 22px;
  border: 1px solid #fff;
  background: rgba(255, 255, 255, 0.94);
  color: var(--cotton-green);
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}
.cotton-footer-cta__button span {
  color: inherit;
  font-family: Arial, sans-serif !important;
  font-size: 2rem;
}
.cotton-footer-cta__button:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-2px);
}

/* Existing lower content color adjustment */
#Page-top #pagetop07 {
  margin-top: 45px;
}

#Page-top #pagetop08 .contact-top {
  background: var(--cotton-green);
}

#Page-top a.btn-top,
#Page-top a.btn_003 {
  border-color: var(--cotton-green);
  color: var(--cotton-green);
}

#Page-top .contactForm {
  border-color: #005b4f;
}

@media screen and (max-width: 1100px) {
  #Page-top.cotton-renewal .cotton-hero-support {
    right: 0;
    width: min(330px, 34vw);
    padding: 28px 30px 26px;
  }

  #Page-top.cotton-renewal .cotton-lineup__inner {
    grid-template-columns: 1fr;
  }

  #Page-top.cotton-renewal .cotton-lineup__visual {
    inset: 0;
  }

  #Page-top .cotton-section__intro--right {
    justify-self: start;
    max-width: 620px;
    padding: 34px;
    background: rgba(255, 255, 255, 0.94);
  }
}

@media screen and (max-width: 900px) {
  #Page-top .cotton-split,
  #Page-top .cotton-split--contractors {
    grid-template-columns: 1fr;
  }

  #Page-top .cotton-section__intro {
    max-width: 650px;
  }

  #Page-top .cotton-contractors .cotton-section__intro {
    order: 1;
  }

  #Page-top .contractor-grid {
    order: 2;
  }

  #Page-top .insurance-cards {
    grid-template-columns: repeat(3, minmax(210px, 1fr));
    overflow-x: auto;
    padding: 10px 4px 24px;
    scroll-snap-type: x mandatory;
  }

  #Page-top .insurance-card {
    scroll-snap-align: start;
  }

  #Page-top.cotton-renewal .cotton-news__image {
    inset: 0;
    opacity: 0.13;
  }

  #Page-top .cotton-news__inner {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 767.98px) {
  #Page-top.cotton-renewal #contents-top {
    display: none;
  }
  #Page-top.cotton-renewal header {
    background: rgba(255, 255, 255, 0.78);
  }
  #Page-top.cotton-renewal.is-scrolled header {
    background: #fff;
  }
  #Page-top.cotton-renewal .nav-contractor-button {
    width: min(88%, 320px);
    margin: 0 auto;
    color: #fff !important;
  }

  #Page-top.cotton-renewal .cotton-hero-support-wrap {
    /* position: static; */
    width: 80%;
    position: absolute;
    /* bottom: 100px; */
  }

  #Page-top.cotton-renewal .cotton-hero-support {
    position: relative;
    /* top: auto; */
    right: auto;
    bottom: 100px;
    width: 100%;
    min-height: 0;
    padding: 12px;
    border: 1px solid rgba(0, 91, 79, 0.2);
    border-radius: 10px;
    transform: none;
    box-shadow: 0 8px 24px rgba(20, 61, 57, 0.16);
  }

  #Page-top.cotton-renewal .cotton-hero-support::before {
    display: none;
  }

  #Page-top.cotton-renewal .cotton-hero-support:hover {
    transform: none;
  }

  #Page-top.cotton-renewal .cotton-hero-support__title {
    width: 100%;
    margin-bottom: 8px;
    font-size: 1.25rem;
    text-align: center;
  }

  #Page-top.cotton-renewal .cotton-hero-support__emergency {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    min-height: 46px;
    padding: 7px 12px;
    border: 1px solid var(--cotton-green);
    border-radius: 6px;
    background: var(--cotton-green);
    color: #fff;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
  }

  #Page-top.cotton-renewal .cotton-hero-support__emergency small {
    color: inherit;
  }

  #Page-top.cotton-renewal .cotton-hero-support__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    margin-top: 6px;
  }

  #Page-top.cotton-renewal .cotton-hero-support__links a {
    display: grid;
    place-items: center;
    min-height: 40px;
    padding: 5px 8px;
    border: 1px solid var(--cotton-green);
    border-radius: 6px;
    background: #fff;
    color: var(--cotton-green);
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(20, 61, 57, 0.08);
  }

  .cotton-footer-cta {
    min-height: 320px;
    padding: 64px 20px;
  }
  .cotton-footer-cta__overlay {
    background: rgba(0, 63, 56, 0.84);
  }
  .cotton-footer-cta__button {
    min-width: 0;
    width: 100%;
  }

  #Page-top.cotton-renewal .cotton-intro-message {
    padding: 48px 20px;
  }

  #Page-top.cotton-renewal .cotton-intro-message h2 {
    margin-bottom: 18px;
    font-size: 2.05rem;
  }

  #Page-top.cotton-renewal .cotton-intro-message p {
    font-size: 1.3rem;
    line-height: 2;
    text-align: left;
  }

  #Page-top header {
    background: rgba(255, 255, 255, 0.96);
  }

  #Page-top .navbar .navbar-collapse {
    background: #fff !important;
  }

  #Page-top .cotton-section {
    /* padding: 72px 0; */
  }

  #Page-top .cotton-section__inner {
    width: min(88%, 680px);
  }

  #Page-top .contractor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #Page-top .contractor-grid a {
    min-height: 105px;
    padding: 15px 10px;
    font-size: 1.2rem;
  }

  #Page-top.cotton-renewal .cotton-lineup {
    min-height: auto;
  }

  #Page-top.cotton-renewal .cotton-lineup__visual {
    background-position: center;
  }

  #Page-top.cotton-renewal .cotton-lineup__inner {
    gap: 28px;
  }

  #Page-top .insurance-cards {
    grid-template-columns: 1fr;
    gap: 16px;
    overflow-x: visible;
    padding: 0;
    scroll-snap-type: none;
  }

  #Page-top .insurance-card {
    min-height: auto;
    padding: 26px 20px 22px;
    scroll-snap-align: none;
  }

  #Page-top .insurance-card h3 {
    margin-bottom: 4px;
  }

  #Page-top .insurance-card__en {
    margin-bottom: 18px;
  }

  #Page-top .insurance-card ul {
    gap: 10px;
  }

  #Page-top.cotton-renewal .insurance-card li,
  #Page-top.cotton-renewal .insurance-card li a {
    font-size: 1.25rem;
  }

  #Page-top .insurance-card__more {
    margin-top: 20px;
    padding-top: 0;
    font-size: 1.05rem;
  }

  #Page-top .cotton-section__intro--right {
    padding: 28px 24px;
  }

  #Page-top .partner-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #Page-top .partner-logo-grid a {
    min-height: 95px;
    padding: 14px;
  }

  #Page-top .cotton-company-links__inner {
    grid-template-columns: 1fr;
    width: min(88%, 680px);
    gap: 20px;
  }

  #Page-top .cotton-company-card {
    aspect-ratio: 1.9 / 1;
  }

  #Page-top .cotton-news__head {
    align-items: flex-start;
    flex-direction: column;
  }

  #Page-top .cotton-button--small {
    width: 100%;
  }

  #Page-top .cotton-news-item {
    grid-template-columns: 88px 42px minmax(0, 1fr) 16px;
    min-height: 70px;
    padding: 10px 5px;
  }

  #Page-top .cotton-news-item p {
    font-size: 1.15rem;
    line-height: 1.6;
  }
}

@media screen and (max-width: 480px) {
  #Page-top .cotton-heading {
    font-size: 2.35rem;
  }

  #Page-top .cotton-copy {
    font-size: 1.35rem;
    line-height: 2;
  }

  #Page-top .contractor-grid {
    grid-template-columns: 1fr;
  }

  #Page-top .contractor-grid a {
    min-height: 82px;
  }

  #Page-top .partner-logo-grid {
    grid-template-columns: 1fr 1fr;
  }

  #Page-top .cotton-news-item {
    grid-template-columns: 82px 1fr 14px;
    gap: 6px;
  }

  #Page-top .cotton-news-label {
    display: none;
  }
}

@media screen and (max-width: 424.98px) {
  #footer .nav {
    display: none;
  }
}

#Page-top.cotton-renewal #pagetop08 {
  display: none;
}

/* ==================================================
   地域の皆さまへのご案内
================================================== */

#Page-top.cotton-renewal .cotton-local {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 8vw, 120px) 0;
  background: #c9ded9;
}

#Page-top.cotton-renewal .cotton-local::before,
#Page-top.cotton-renewal .cotton-local::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(0, 91, 79, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

#Page-top.cotton-renewal .cotton-local::before {
  top: -220px;
  left: -180px;
  width: 520px;
  height: 520px;
}

#Page-top.cotton-renewal .cotton-local::after {
  right: -240px;
  bottom: -300px;
  width: 660px;
  height: 660px;
}

#Page-top.cotton-renewal .cotton-local__inner {
  position: relative;
  z-index: 1;
  width: min(88%, 1280px);
  margin: 0 auto;
}

#Page-top.cotton-renewal .cotton-local__head {
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

#Page-top.cotton-renewal .cotton-local__head .cotton-copy {
  max-width: 620px;
}

#Page-top.cotton-renewal .cotton-local__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 42px);
}

#Page-top.cotton-renewal .cotton-local-card {
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: 340px;
  align-items: flex-end;
  background: #fff;
  box-shadow: 0 14px 38px rgba(20, 61, 57, 0.1);
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

#Page-top.cotton-renewal .cotton-local-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(20, 61, 57, 0.15);
  opacity: 1;
}

#Page-top.cotton-renewal .cotton-local-card__image {
  position: absolute;
  inset: 0;
}

#Page-top.cotton-renewal .cotton-local-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

#Page-top.cotton-renewal
  .cotton-local-card:hover
  .cotton-local-card__image
  img {
  transform: scale(1.035);
}

#Page-top.cotton-renewal .cotton-local-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 45, 40, 0) 20%,
    rgba(0, 45, 40, 0.16) 52%,
    rgba(0, 45, 40, 0.82) 100%
  );
}

#Page-top.cotton-renewal .cotton-local-card__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(26px, 3.2vw, 42px);
}

#Page-top.cotton-renewal .cotton-local-card__label {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.75);
  font-family: "Cormorant Garamond", serif !important;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
}

#Page-top.cotton-renewal .cotton-local-card h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 2.5vw, 3rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-transform: none;
}

#Page-top.cotton-renewal .cotton-local-card__text {
  max-width: 520px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.3rem;
  line-height: 1.9;
}

#Page-top.cotton-renewal .cotton-local-card__link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  color: #fff;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

#Page-top.cotton-renewal .cotton-local-card__link::after {
  content: "›";
  color: inherit;
  font-family: Arial, sans-serif !important;
  font-size: 2rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

#Page-top.cotton-renewal
  .cotton-local-card:hover
  .cotton-local-card__link::after {
  transform: translateX(4px);
}

@media screen and (max-width: 767.98px) {
  #Page-top.cotton-renewal .cotton-local {
    padding: 70px 0;
  }

  #Page-top.cotton-renewal .cotton-local__inner {
    width: min(88%, 680px);
  }

  #Page-top.cotton-renewal .cotton-local__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  #Page-top.cotton-renewal .cotton-local-card {
    min-height: 300px;
  }

  #Page-top.cotton-renewal .cotton-local-card__content {
    padding: 28px 24px;
  }
}

@media screen and (max-width: 480px) {
  #Page-top.cotton-renewal .cotton-local-card {
    min-height: 270px;
  }

  #Page-top.cotton-renewal .cotton-local-card__text {
    font-size: 1.2rem;
  }
}


/* ページ固定のLINE誘導ボタン */
.line-floating {
  position: fixed;
  right: 24px;
  bottom: 130px;
  z-index: 1000;
  font-family:
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    sans-serif;
}

/* 通常時の丸ボタン */
.line-floating__button {
  width: 100px;
  height: 100px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(20, 45, 25, 0.16);
  cursor: pointer;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;

  color: #315b3a;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    opacity 0.3s ease;
}

.line-floating__button:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(20, 45, 25, 0.22);
}

.line-floating__button:focus-visible,
.line-floating__close:focus-visible,
.line-floating__link:focus-visible {
  outline: 2px solid #315b3a;
  outline-offset: 3px;
}

.line-floating__icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #06c755;
  color: #fff;

  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.line-floating__label {
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.05em;
}

/* 展開パネル */
.line-floating__panel {
  position: absolute;
  right: 0;
  bottom: 0;

  width: 220px;
  padding: 30px 24px 24px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 16px 45px rgba(15, 35, 20, 0.2);

  text-align: center;

  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.96);
  transform-origin: right bottom;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease;
}

.line-floating.is-open .line-floating__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.line-floating.is-open .line-floating__button {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.line-floating__close {
  position: absolute;
  top: 10px;
  right: 12px;

  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6f786f;

  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.line-floating__title {
  margin: 0;
  color: #315b3a;
  font-family:
    "Cormorant Garamond",
    "Times New Roman",
    serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.line-floating__title::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  margin: 12px auto 15px;
  background: #8da28f;
}

.line-floating__text {
  margin: 0 0 15px;
  color: #4d554e;
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0.06em;
}

.line-floating__qr {
  display: block;
  width: 104px;
  margin: 0 auto 15px;
}

.line-floating__qr img {
  display: block;
  width: 100%;
  height: auto;
}

.line-floating__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  color: #315b3a;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.line-floating__link span {
  transition: transform 0.3s ease;
}

.line-floating__link:hover span {
  transform: translateX(4px);
}

/* スマホ */
@media screen and (max-width: 767px) {
  .line-floating {
    right: 14px;
    bottom: 14px;
  }

  .line-floating__button {
    width: 70px;
    height: 70px;
  }

  .line-floating__icon {
    width: 31px;
    height: 31px;
    font-size: 9px;
  }

  .line-floating__label {
    font-size: 9px;
  }

  .line-floating__panel {
    width: min(210px, calc(100vw - 28px));
    padding: 28px 20px 22px;
  }

  .line-floating__qr {
    width: 96px;
  }
}