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

footer {
    margin-top: 0px!important;
    background-color: #fff;
}

header {
    background-color: #fff;
}
    
body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333;
  font-size: 15px;
  line-height: 1.75;
  background: #eff8fe!important;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

ul {
  list-style: none;
}

.l-container {
  max-width: 100%;
  width: 1020px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

/* ============================================================
   HERO
============================================================ */
.p-hero {
  position: relative;
  background: url(images/fv_bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right bottom;
  padding: 30px 0 0px;
  margin: 0 0 50px;
  min-height: 600px;
  height: 50vh;
  display: flex;
  align-items: center;
}

.p-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #eff8fe 38%, rgba(239, 248, 254, 0.55) 62%, transparent 82%);
  pointer-events: none;
}

.p-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 1000px;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  bottom: -40px;
}

.p-hero__body {
  width: 100%;
}

.p-hero__heading {
  font-size: 40px;
  font-weight: bold;
  color: #1e2d6e;
  margin-bottom: 2px;
  line-height: 1.3;
}
.p-hero__heading .min {
  font-size: 24px;
}

.p-hero__title {
  font-size: 40px;
  font-weight: bold;
  color: #1e2d6e;
  line-height: 1.1;
  margin-bottom: 14px;
}

.p-hero__subtitle {
  display: inline-block;
  background: #1e2d6e;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  padding: 8px 44px 8px 20px;
  margin-bottom: 22px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 50%, 100% 100%, 0 100%);
}

.p-hero__text {
  font-size: 14px;
  color: #333;
  line-height: 1.9;
  margin-bottom: 28px;
}

.p-hero__btns {
  display: flex;
  gap: 14px;
}

.c-btn--green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #78c658;
  color: #fff;
  font-weight: bold;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 3px;
  transition: background .2s;
}

.c-btn--green:hover {
  background: #5aa83e;
}

.c-btn--outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #1e2d6e;
  color: #1e2d6e;
  font-weight: bold;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.85);
  transition: all .2s;
}

.c-btn--outline:hover {
  background: #1e2d6e;
  color: #fff;
}

.p-hero__badge {
  flex-shrink: 0;
  background: #fff;
  border-radius: 50%;
  width: 220px;
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .22);
  margin-right: 20px;
}

.p-hero__badge-icon {
  margin-bottom: 6px;
}

.p-hero__badge-icon img {
  width: 44px;
}

.p-hero__badge-label {
  font-size: 14px;
  font-weight: bold;
  color: #1e2d6e;
  line-height: 1.4;
  margin-bottom: 2px;
}

.p-hero__badge-num {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  font-size: 16px;
  font-weight: bold;
  color: #1e2d6e;
  line-height: 1;
  margin-bottom: 2px;
}

.p-hero__badge-num strong {
  font-size: 50px;
  font-weight: bold;
  color: #6fba2c;
  line-height: 1;
}

.p-hero__badge-desc {
  font-size: 14px;
  color: #1e2d6e;
  font-weight: 600;
  line-height: 1.4;
}

.p-hero__sp-banner {
  display: none;
}

/* SP用コンテナはPCでは非表示 */
.p-hero > .l-container:nth-child(3) {
  display: none;
}

/* ============================================================
   FV FEATURES
============================================================ */
.p-fv-features {
  position: relative;
}

.p-fv-features__box {
  background: #fff;
  border: 2px solid #171c61;
  display: flex;
  position: relative;
  border-radius: 10px;
}

.p-fv-features__item {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  position: relative;
}

.p-fv-features__item+.p-fv-features__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: #d0d8e8;
}

.p-fv-features__icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.p-fv-features__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.p-fv-features__title {
  font-size: 14px;
  font-weight: bold;
  color: #1e2d6e;
  margin-bottom: 5px;
}

.p-fv-features__text {
  font-size: 12px;
  color: #555;
  line-height: 1.7;
}

/* ============================================================
   SECTION COMMON
============================================================ */
.p-section {
  padding: 60px 0;
}

.p-section__title {
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  color: #1e2d6e;
  margin-bottom: 36px;
  position: relative;
  padding-bottom: 16px;
}

.p-section__title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: #78c658;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* ============================================================
   WORRIES
============================================================ */

.p-worries__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.p-worries__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border-radius: 10px;
  padding: 20px 8px;
  border: 2px solid #171c61;
}

.p-worries__icon {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
}

.p-worries__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.p-worries__text {
  font-size: 12px;
  font-weight: bold;
  color: #333;
  line-height: 1.6;
}

/* ============================================================
   CAN DO
============================================================ */
.p-cando__box {
  background: #fff;
  border: 2px solid #171c61;
  display: flex;
  border-radius: 10px;
}

.p-cando__item {
  flex: 1;
  padding: 32px 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
}

.p-cando__item+.p-cando__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: #d0d8e8!important;
}

.p-cando__icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.p-cando__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.p-cando__body {}

.p-cando__num {
  font-size: 12px;
  color: #78c658;
  font-weight: bold;
  letter-spacing: .1em;
  margin-bottom: 4px;
}

.p-cando__title {
  font-size: 18px;
  font-weight: bold;
  color: #1e2d6e;
  margin-bottom: 10px;
}

.p-cando__text {
  font-size: 13px;
  color: #555;
  line-height: 1.8;
}

/* ============================================================
   RENTAL TABLE
============================================================ */
.p-rental__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 14px;
  background-color: #fff;
}

.p-rental__col {
  display: flex;
  flex-direction: column;
}

.p-rental__col+.p-rental__col {
  border-left: 1px solid #ccc;
}

.p-rental__col-head {
  background: #1e2d6e;
  color: #fff;
  font-weight: bold;
  font-size: 15px;
  text-align: center;
  padding: 12px 8px;
}

.p-rental__col-img {
  background: #fff;
  padding: 18px 12px;
  border-bottom: 1px solid #ddd;
  text-align: center;
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-rental__col-img img {
  max-height: 100px;
  object-fit: contain;
}

.p-rental__col-list {
  padding: 12px 20px 12px 3em;
  flex: 1;
}

.p-rental__col-list li {
  font-size: 14px;
  color: #333;
  list-style: disc;
  padding: 6px 0;
  border-bottom: 1px solid #eee;
}

.p-rental__col-list li:last-child {
  border-bottom: none;
}

.p-rental__note {
  font-size: 13px;
  color: #777;
  text-align: center;
}

/* ============================================================
   MAP
============================================================ */
.p-map {
  background: #e4eef8;
}

.p-map__inner {
  display: flex;
  align-items: center;
  gap: 36px;
}

.p-map__map {
  flex-shrink: 0;
  width: 220px;
}

.p-map__map img {
  width: 100%;
  display: block;
}

.p-map__body {
  flex: 1;
}

.p-map__title {
  font-size: 22px;
  font-weight: bold;
  color: #1e2d6e;
  line-height: 1.5;
  margin-bottom: 16px;
}

.p-map__text {
  font-size: 14px;
  color: #444;
  line-height: 1.9;
  margin-bottom: 8px;
}

.p-map__note {
  font-size: 12px;
  color: #666;
}

.p-map__photo {
  flex-shrink: 0;
  width: 220px;
}

.p-map__photo img {
  width: 100%;
  display: block;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}

/* ============================================================
   FLOW
============================================================ */
.p-flow {
  background: #f4f7fc;
}

.p-flow__list {
  display: flex;
  flex-direction: column;
  max-width: 680px;
  margin: 0 auto;
}

.p-flow__item {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(30, 45, 110, .08);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 32px 22px 0;
  overflow: hidden;
}

.p-flow__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: #171c61;
  border-radius: 12px 0 0 12px;
}

.p-flow__step-badge {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 76px;
  padding-left: 6px;
}

.p-flow__step-label {
  display: block;
  font-size: 9px;
  font-weight: bold;
  letter-spacing: .18em;
  color: #171c61;
  margin-bottom: 0;
}

.p-flow__step-num {
  display: block;
  font-size: 42px;
  font-weight: bold;
  color: #171c61;
  line-height: 1;
  font-family: Arial, sans-serif;
}

.p-flow__body {
  flex: 1;
  padding-right: 80px;
}

.p-flow__title {
  font-size: 17px;
  font-weight: bold;
  color: #1e2d6e;
  margin-bottom: 5px;
  line-height: 1.45;
}

.p-flow__text {
  font-size: 13px;
  color: #666;
  line-height: 1.75;
}

.p-flow__bg-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 72px;
  height: 72px;
  opacity: 0.12;
  pointer-events: none;
}

.p-flow__bg-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.p-flow__arrow {
  position: relative;
  width: 2px;
  height: 28px;
  background: #c8d4e8;
  margin: 0 auto;
}

.p-flow__arrow::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 9px solid #c8d4e8;
}

/* ============================================================
   CTA
============================================================ */
.p-cta {
  background: #1e2d6e;
  padding: 44px 0;
}

.p-cta__inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.p-cta__chara {
  width: 120px;
  flex-shrink: 0;
}

.p-cta__chara img {
  width: 100%;
}

.p-cta__body {
  flex: 1;
}

.p-cta__title {
  font-size: 22px;
  font-weight: bold;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 8px;
}

.p-cta__text {
  font-size: 13px;
  color: rgba(255, 255, 255, .82);
  line-height: 1.9;
}

.p-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  flex-shrink: 0;
}

.c-btn--cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #78c658;
  color: #fff;
  font-weight: bold;
  font-size: 15px;
  padding: 15px 32px;
  border-radius: 6px;
  transition: background .2s;
  white-space: nowrap;
}

.c-btn--cta:hover {
  background: #5aa83e;
}

.p-cta__tel_box {
    text-align: center;
    background: #fff;
    width: 100%;
    color: #171c61;
    padding: 12px 0;
    border-radius: 6px;
}

.p-cta__tel-label {
  font-size: 14px;
  font-weight: bold;
}

.p-cta__tel-num {
  font-size: 24px;
  font-weight: bold;
  font-family: Arial, sans-serif;
  letter-spacing: .05em;
  line-height: 1.2;
}

.p-cta__tel-hours {
  font-size: 12px;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 768px) {
  .p-section {
    padding: 48px 0;
  }

  .p-section__title {
    font-size: 18px;
  }

  /* Hero */
  .p-hero {
    background: none;
    display: block;
    padding: 0;
    min-height: auto;
    height: auto;
  }

  /* 上部：画像表示、下部：サイト背景色で画像を隠す */
  .p-hero::before {
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.08) 58%,
      #f0f4fa 58%
    );
  }

  /* SPバナー */
  .p-hero__sp-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #171c61;
    color: #fff;
    padding: 10px 16px;
    position: relative;
    z-index: 2;
  }

  .p-hero__sp-banner-icon {
    max-width: 15%;
    width: 60px;
    margin: 0 20px 0 0;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
  }

  .p-hero__sp-banner-body {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 8px;
    flex: 1;
    min-width: 0;
  }

  .p-hero__sp-banner-main {
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
  }

  .p-hero__sp-banner-main strong {
    font-size: 16px;
    font-weight: bold;
    padding: 0px 2px;
  }
  .p-hero__sp-banner-main strong .num {
    font-size: 22px;
    color: #78c658;
  }

  .p-hero__sp-banner-sub {
    font-size: 11px;
    opacity: .85;
  }

  /* PC用コンテナ：非表示 */
  .p-hero > .l-container:nth-child(2) {
    display: none;
  }

  /* SP用コンテナ：表示 */
  .p-hero > .l-container:nth-child(3) {
    display: block;
    position: relative;
    z-index: 1;
    padding-bottom: 0;
  }

  /* 画像ゾーン（見出し・タイトル・サブタイトル） */
  .p-hero__inner {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: url('./images/sp_fv_bg.png');
    background-size: cover;
    background-position: center top;
  }

  .p-hero__badge {
    display: none;
  }

  .p-hero__body {
    width: 100%;
  }

  .p-hero__heading {
    font-size: 30px;
    margin: 0 0 6px;
  }

  .p-hero__heading .min {
    font-size: 16px;
    display: block;
  }

  .p-hero__title {
    font-size: 30px;
    margin-bottom: 12px;
  }

  .p-hero__subtitle {
    font-size: 15px;
  }

  .sp_fv.l-container {
    padding: 0;
  }

  .sp_fv.l-container .p-hero__inner{
    height: 380px;
    margin: 0 auto 30px;
    position: relative;
    bottom: 0;
  }

  .sp_fv.l-container .p-hero__body {
    width: 90%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
  }

  .sp_fv.l-container .p-hero__text,
  .sp_fv.l-container .p-hero__btns{
    padding: 0 24px;
    margin: 0 auto 30px;
  }


  /* コンテンツゾーン（本文・ボタン） */
  .p-hero__text {
    text-align: center;
    padding: 28px 0 20px;
    margin-bottom: 0;
  }

  .p-hero__btns {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding-bottom: 36px;
  }

  .p-hero__btns a {
    flex: 1;
    min-width: 130px;
    text-align: center;
    font-size: 13px;
    padding: 13px 14px;
  }

  /* FV features */
  .p-fv-features__box {
    flex-direction: column;
    position: relative;
    top: 0;
  }

  .p-fv-features__item+.p-fv-features__item::before {
    top: 0;
    bottom: auto;
    left: 14px;
    right: 14px;
    width: auto;
    height: 1px;
  }

  /* Worries */
  .p-worries__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* CAN DO */
  .p-cando__box {
    flex-direction: column;
  }

  .p-cando__item+.p-cando__item::before {
    top: 0;
    bottom: auto;
    left: 18px;
    right: 18px;
    width: auto;
    height: 1px;
  }

  /* Rental */
  .p-rental__grid {
    grid-template-columns: 1fr;
  }

  .p-rental__col+.p-rental__col {
    border-left: none;
    border-top: 1px solid #ccc;
  }

  /* Map */
  .p-map__inner {
    flex-direction: column;
    gap: 24px;
  }

  .p-map__map,
  .p-map__photo {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .p-map__title {
    font-size: 18px;
  }

  /* Flow */
  .p-flow__item {
    padding: 18px 24px 18px 0;
    gap: 16px;
  }

  .p-flow__step-badge {
    width: 60px;
  }

  .p-flow__step-num {
    font-size: 32px;
  }

  .p-flow__body {
    padding-right: 56px;
  }

  .p-flow__bg-icon {
    width: 52px;
    height: 52px;
    right: 12px;
  }

  /* CTA */
  .p-cta {
    padding: 44px 0;
  }

  .p-cta__inner {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .p-cta__chara {
    width: 100px;
  }

  .p-cta__actions {
    align-items: center;
  }
  
  
  body #page-top {
    margin-top: 0px!important;
  }
}

@media (max-width: 480px) {
  .p-worries__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   フェードインアニメーション
============================================================ */
.js-fade {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.js-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}