@charset "UTF-8";
/************************************************
* theme
***********************************************/
:root {
  /* Contents */
  --max-width: 1080px;
  --space-inline: 16px;
  --footer-height: 5.25rem;
  /* Color */
  --color-lightgray: #F2F2F2;
  --color-gray: #666666;
  --color-darkgray: #111;
  --color-black: #000;
  --color-white: #ffffff;
  --color-bg: var(--color-white);
  --color-bg-secondary: #E6F6F0;
  --color-bg-third: #ECF1BA;
  --color-text: var(--color-black);
  --color-text-secondary: var(--color-darkgray);
  --color-text-link: #0044FF;
  --color-anchor: #000AFF;
  --color-alert: #ff0000;
  --color-line: #00AB46;
  --color-primary: #C7000B;
  --color-secondary: #8FC31E;
  --color-accent: #E9546B;
  /* Font Family */
  --font-yu-gothic: "游ゴシック体", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN",
    "Meiryo", sans-serif;
  --font-roboto: "Roboto", sans-serif;
  --font-primary: var(--font-yu-gothic);
  --font-secondary: "Roboto", sans-serif;
  /* Line Heigt */
  --line-height: 1.5;
  --line-height-lg: 1.75;
  --letter-spacing: normal;
  /* space */
  --space-xl: 2.5rem;
  --space-lg: 1.875rem;
  --space-md: 1.25rem;
  --space-sm: 1rem;
  --space-xs: 0.875rem;
  --space-grid: var(--space-sm);
  /* Anime */
  --anime-duration: 500ms;
  --anime-function: ease-in-out;
}
@media screen and (max-width: 834px) {
  :root {
    --space-inline: 1rem;
  }
}
@media screen and (max-width: 549px) {
  :root {
    --space-inline: 1rem;
  }
}

/************************************************
* PC/SP  出し分け
***********************************************/

.is-pc {
    display: block;
}
.is-sp {
    display: none;
}
@media screen and (max-width: 834px) {
  .is-pc {
    display: none;
  }
  .is-sp {
    display: block;
  }
}
/************************************************
/*
/* All Element
/*
/***********************************************/
/************************************************
/*
/* Document
/*
/***********************************************/
/*
 * 2. Prevent adjustments of font size after orientation changes in
 *    IE on Windows Phone and in iOS.
 */
html {
  -webkit-text-size-adjust: 100%; /* 2 */
}

/************************************************
/*
/* Sections
/*
/***********************************************/
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/************************************************
/*
/* Grouping Content
/*
/***********************************************/
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

figure {
  margin: 0;
  padding: 0;
}

/************************************************
/*
/* Text Content
/*
/***********************************************/
h1, h2, h3, h4, h5, h6, strong {
  font-weight: normal;
}

h1, h2, h3, h4, h5, h6 {
  font-size: 1em;
  line-height: 1.3;
  font-family: inherit;
  margin: 0;
}

p, li, dt, dd, th, td, pre {
  line-break: strict;
  word-break: break-strict;
  margin: 0;
}

br {
  letter-spacing: 0;
}

/**
 * 1. Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent; /* 1 */
}

a:focus {
  outline: none;
}

a:hover, a:active {
  outline-width: 0;
}

/**
 * 1. Remove the bottom border in Firefox 39-.
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: none; /* 2 */
}

b, strong {
  font-weight: bold;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font style in Android 4.3-.
 */
dfn {
  font-style: normal;
}

/**
 * Add the correct background and color in IE 9-.
 */
mark {
  background-color: #ff0;
  color: #000;
}

em {
  font-style: normal;
}

small {
  font-size: inherit;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

q {
  quotes: "“" "”" "‘" "’";
}

/************************************************
/*
/* Embedded Content
/*
/***********************************************/
/**
 * Add the correct display in IE 9-.
 */
audio, video {
  display: inline-block;
}

/**
 * Add the correct display in iOS 4-7.
 */
audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * 1. Remove the border on images inside links in IE 10-.
 */
img {
  border-style: none; /* 1 */
  max-width: 100%;
  vertical-align: middle;
  border: 0;
  width: auto;
  height: auto;
}

/**
 * Hide the overflow in IE.
 */
svg:not(:root) {
  overflow: hidden;
}

/************************************************
/*
/* Scripting Content
/*
/***********************************************/
/**
 * Add the correct display in IE 9-.
 */
canvas {
  display: inline-block;
}

/**
 * Add the correct display in IE.
 */
template {
  display: none;
}

/************************************************
/*
/* Form Content
/*
/***********************************************/
/**
 * 1. Change the font styles in all browsers (opinionated).
 * 2. Remove the margin in Firefox and Safari.
 */
button, input, select, textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

button, input {
  line-height: normal;
}

button {
  background-color: transparent;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button:focus {
  outline: none;
}

button,
select { /* 1 */
  text-transform: none;
}

button,
input[type=button],
input[type=reset],
input[type=submit] {
  appearance: normal;
  cursor: pointer;
  border: none;
}

button[disabled],
input[disabled] {
  cursor: default;
}

input[type=checkbox],
input[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

input[type=search] {
  box-sizing: content-box;
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Change the border, margin, and padding in all browsers (opinionated).
 */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

textarea {
  overflow: auto;
  vertical-align: top;
  resize: none;
}

/************************************************
/*
/* Interactive Content
/*
/***********************************************/
/*
 * Add the correct display in IE 9-.
 * 1. Add the correct display in Edge, IE, and Firefox.
 */
details,
menu {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/**
 * 1. Add the correct display in IE 9-.
 * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/************************************************
/*
/* Table Content
/*
/***********************************************/
table {
  border-collapse: collapse;
  border-spacing: 0;
  font-size: inherit;
}

th {
  font-weight: normal;
}

/************************************************
/*
/* List Content
/*
/***********************************************/
ul, ol, dl {
  list-style: none;
  padding: 0;
  margin: 0;
}

dd {
  margin-left: 0px;
}

/************************************************
/*
/* Hidden
/*
/***********************************************/
[hidden] {
  display: none;
}

/*************************************************************
*
* Mocorun Custom Normalize
*
*************************************************************/
* {
  box-sizing: border-box;
  word-break: normal;
  word-wrap: break-word;
  white-space: normal;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}
*:before, *:after {
  box-sizing: border-box;
}

/* Retinaモニタの際にfont-smoothingを適用 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
  html,
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}
/************************************************
/* Document
/***********************************************/
html {
  overflow: auto; /* iOS用*/
  height: 100%; /* iOS用*/
}

/************************************************
/* Grouping Content
/***********************************************/
address {
  font-style: normal;
}

/************************************************
/* Text Content
/***********************************************/
a {
  text-decoration: none;
  color: inherit;
}
a:focus {
  outline: none;
}
a:hover, a:active {
  outline-width: 0;
}

strong {
  font-weight: normal;
}

button {
  text-align: left;
  padding: 0;
  border-radius: 0;
  border: none;
}

/*************************************************************
*
* Attribute
*
*************************************************************/
[disabled] {
  cursor: not-allowed;
}

/*************************************************************
*
* Status
*
*************************************************************/
:focus:not(:focus-visible) {
  outline: none;
}

/*************************************************************
*
* Typography
*
*************************************************************/
html {
  font-family: var(--font-primary);
  font-size: 16px;
  color: var(--color-text);
  line-height: 1;
  letter-spacing: var(--letter-spacing);
}
@media screen and (max-width: 1009px) {
  html {
    font-size: vw(16px, 1200px);
  }
}
@media screen and (max-width: 834px) {
  html {
    font-size: vw(16px, 768px);
  }
}
@media screen and (max-width: 549px) {
  html {
    font-size: vw(16px, 375px);
  }
}

body {
  font-size: inherit;
  overflow: hidden;
  position: relative;
  padding-bottom: var(--footer-height);
}

/* テキスト反転色 */
::selection {
  background: var(--color-primary); /*背景色*/
  color: #fff; /*文字色*/
}

/************************************************
/************************************************
* Layout
***********************************************/
/**************************************************************
*
* フッター
*
**************************************************************/
.l-footer {
  width: 100%;
  border-top: solid 0.0625rem #f7f7f8;
}
.l-footer__wrapper {
  max-width: var(--max-width);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-inline);
  padding-right: var(--space-inline);
  padding-top: 2.3125rem;
  padding-bottom: 2.3125rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.375rem;
}
.l-footer__text {
  text-align: center;
  line-height: var(--line-height);
  color: #363636;
}
.l-footer__message {
  max-width: 18.125rem;
}
.l-footer__copyright {
  width: 100%;
  padding: 1rem;
  font-size: 0.875rem;
  text-align: center;
  font-weight: bold;
  background-color: #0ca26c;
  color: #fff;
  line-height: var(--line-height);
}
@media screen and (max-width: 834px) {
  .l-footer__wrapper {
    padding-top: 1.375rem;
    padding-bottom: 1.375rem;
    gap: 1.875rem;
  }
  .l-footer__text {
    text-align: left;
  }
  .l-footer__message {
    max-width: 18.125rem;
  }
  .l-footer__copyright {
    padding: 1rem;
    font-size: 0.625rem;
  }
}

/**************************************************************
*
* Header
*
**************************************************************/
.l-header {
  width: 100%;
  background-color: var(--color-white);
  padding-inline: var(--space-inline);
  padding-block: 1.5625rem;
  border-bottom: solid 0.125rem #0CA26C;
}
.l-header__logo {
  width: 8.4375rem;
  height: auto;
}
@media screen and (max-width: 834px) {
  .l-header {
    padding-block: 0.875rem;
    border-bottom: solid 0.1875rem #0CA26C;
  }
  .l-header__logo {
    width: 6.5rem;
    height: auto;
  }
}

/**************************************************************
*
* FV TOP
*
**************************************************************/
.l-fv-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.75rem;
    padding-block: 1.3125rem 1.625rem;
}

.l-fv-top__logo-mikihouse {
    width: 12.1875rem;

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

.l-fv-top__icon-union {
    width: 1.5rem;

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

.l-fv-top__logo-resona {
    width: 11.3125rem;

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

@media screen and (max-width: 834px) {
  .l-fv-top {
    padding-block: 0.9375rem 1.125rem;
    gap: 1.125rem;
  }

  .l-fv-top__logo-mikihouse {
    width: 8.125rem;
  }

  .l-fv-top__icon-union {
    width: 0.9375rem;
  }

  .l-fv-top__logo-resona {
    width: 7.5rem;
  }
}

/**************************************************************
*
* HERO
*
**************************************************************/

.l-hero-bg {
    background: url(/kojin/hiraku/cam/2026kodomokouza/assets/images/img_fv_back.png) no-repeat center bottom;
    background-size: cover;
}
.l-hero {
  width: 100%;
  position: relative;
}

.l-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: min(18.875rem, 23.59375vw);
    height: min(9.75rem, 12.1875vw);
    background: url(/kojin/hiraku/cam/2026kodomokouza/assets/images/img_fv_left.png) no-repeat center bottom;
    background-size: cover;
}

.l-hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: min(18.875rem, 23.59375vw);
    height: min(9.75rem, 12.1875vw);
    background: url(/kojin/hiraku/cam/2026kodomokouza/assets/images/img_fv_right.png) no-repeat center bottom;
    background-size: cover;
}

.l-hero__message {
    background-color: #0CA26C;
    width: 18.5rem;
    text-align: center;
    margin-inline: auto;
    padding-block: 0.0625rem;
    padding-inline: 0.75rem;
    border-radius: 0.9375rem;
    position: relative;
    transform: translateY(-50%);
    z-index: 10;
}

.l-hero__message::before,
.l-hero__message::after {
    content: '・';
    position: absolute;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    top: 50%;
    transform: translateY(-50%);
}

.l-hero__message::before {
    left: 0.375rem;
}

.l-hero__message::after {
    right: 0.375rem;
}

.l-hero__message-text {
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
}

.l-hero__wrapper {
  width: 100%;
  position: relative;
  /* padding-top: 1.875rem; */
}
.l-hero__cta {
  margin-top: 2.0625rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.l-hero__cta-button {
    font-size: 1.125rem;
    font-weight: bold;
    border-radius: 2.5rem;
    width: 31.25rem;
    padding-block: 1.625rem 1.75rem;
    text-align: center;
    color: #fff;
    display: block;
    margin-inline: auto;
    transform: translateY(0);
    transition: var(--anime-duration) var(--anime-function);
    transition-property: box-shadow, transform;
    &:hover {
      transform: translateY(0.1875rem);
      box-shadow: 0 0 0 var(--this-shadow);
      color: #fff;
    }
    &:active {
      transform: translateY(0);
      box-shadow: 0 0.1875rem 0 var(--this-shadow);
    }
}
.l-hero__cta-modal {
    background-color: #FF4E69;
    box-shadow: 0 0.1875rem 0 #CA243D;
}
.l-hero__cta-web {
    background-color: #F7891E;
    box-shadow: 0 0.1875rem 0 #CC6500;
}

.l-hero__content {
  position: relative;
  display: block;
  max-width: 907px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-inline);
  padding-right: var(--space-inline);
  z-index: 1;
}
.l-hero__content img {
  width: 100%;
}

@media screen and (max-width: 834px) {
  .l-hero__message {
    width: 14.125rem;
  }

  .l-hero__message-text {
    font-size: 0.75rem;
  }

  .l-hero__content {
    margin-top: 0.75rem;
    max-width: 100%;
  }

  .l-hero::before,
  .l-hero::after {
    width: 6.375rem;
    height: 3.25rem;
  }

  .l-hero__cta {
    margin-top: 1.875rem;
    padding-inline: var(--space-inline);
  }

  .l-hero__cta-button {
    width: 18.75rem;
    max-width: 100%;
    padding-block: 1.4375rem 1.5625rem;
    font-size: 0.9375rem;
    border-radius: 2.1875rem;
  }

}

/************************************************
* Object - Utility
***********************************************/
/*************************************************************
* 要素の回り込み解除
*************************************************************/
.sc {
  clear: both;
}

/*************************************************************
* クリアフィックス
*************************************************************/
.cf {
  zoom: 1;
}
.cf:after {
  content: "";
  display: table;
}
.cf:after {
  clear: both;
}

/*************************************************************
* その他
*************************************************************/
/* objfit */
img.objfit {
  width: 100%;
  object-fit: cover;
  object-position: center;
  font-family: "object-fit: cover;object-position: center;";
}

.cc-window.cc-invisible {
  top: 100%;
}

.u-mx-auto {
  margin-inline: auto;
  display: block;
}

/* hr */
.u-hr-dashed {
  border: none;
  border-top: dashed 0.0625rem var(--color-gray);
}
.u-hr-dashed.__white {
  border-top: dashed 0.0625rem var(--color-bg);
}

.u-translatey--150 {
  transform: translateY(-9.375rem);
}

.u-image-sm {
  width: 12.5rem;
  min-width: 12.5rem;
  height: 12.5rem;
  object-fit: cover;
  margin-inline: auto;
}


/*************************************************************
*
* ブラウザ更新
*
*************************************************************/
.u-ie-update__bg {
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}
.u-ie-update__box {
  position: fixed;
  z-index: 2000;
  top: 50%;
  left: 50%;
  width: 500px !important;
  transform: translate(-50%, -50%);
  padding: 25px;
  background-color: #fff;
  text-align: center;
}
.u-ie-update__heading {
  font-size: 1.2em;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}
.u-ie-update__subtext {
  display: block;
  color: #999;
  font-size: 0.75em;
  font-weight: normal;
}
.u-ie-update__paragraph {
  text-align: justify;
  text-align-last: left;
  font-size: 0.875em;
  margin-bottom: 1.25rem;
}
.u-ie-update__btn {
  display: block;
  background-color: var(--color-primary);
  color: #fff;
}

@media screen and (max-width: 834px) {
  .u-wrapper-window {
    margin-left: calc(0 - var(--space-inline));
    margin-right: calc(0 - var(--space-inline));
  }
}


/************************************************
* section-inner
***********************************************/
.l-section-inner {
  padding-top: 5.1875rem;
  padding-bottom: 2.5rem;
}

@media screen and (max-width: 834px) {
    .l-section-inner {
    padding-top: 4.125rem;
      padding-bottom: 2.5rem;
    }
  }

.l-section-inner.__resona {
  padding-bottom: 4.125rem;
}
/************************************************
* ribbon
***********************************************/

.c-ribbon {
    --cut: 0.625rem;

    position: relative;
    display: block;
    font-size: 1.125rem;
    font-weight: bold;
    text-align: center;
    color: var(--color-white);
    width: 14.375rem;
    max-width: 100%;
    margin-inline: auto;
    padding-block: 0.375rem;
    clip-path: polygon(
    0 0,
    100% 0,
    calc(100% - var(--cut)) 50%,
    100% 100%,
    0 100%,
    var(--cut) 50%
  );

  @media screen and (max-width: 834px) {
    --cut: 0.4375rem;
    
    font-size: 0.875rem;
    width: 11.875rem;
    padding-block: 0.25rem;

  }
}
/************************************************
* Object - Project
***********************************************/
/*************************************************************
*
* Top cta fix
*
*************************************************************/
.p-cta-fix {
  width: 100%;
  padding: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  transform: translateY(100%);
  transform: translateY(0);
  z-index: 1;
}
.p-cta-fix.is-fixed {
  transform: translateY(0);
}
.p-cta-fix__container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-inline);
  padding-right: var(--space-inline);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.p-cta-fix::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-white);
  opacity: 0.8;
  z-index: -1;
}
.p-cta-fix__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 21.875rem;
  height: 3.75rem;
  border-radius: 2.5rem;
  background-color: #FF4E69;
  box-shadow: 0 0.1875rem 0 #CA243D;
  transform: translateY(0);
  transition: var(--anime-duration) var(--anime-function);
  transition-property: box-shadow, transform;
  font-size: 1.125rem;
  font-weight: bold;
  text-align: center;
  color: var(--color-white);
}
.p-cta-fix__button.__secondary {
  background-color: #F7891E;
  box-shadow: 0 0.1875rem 0 #CC6500;
}
.p-cta-fix__button:hover {
  box-shadow: 0 0 0 var(--this-shadow);
  transform: translateY(0.1875rem);
  color: #fff;
}
@media screen and (max-width: 767px) {
  .p-cta-fix {
    padding: 0.375rem;
  }
  .p-cta-fix__container {
    justify-content: center;
    gap: 0.625rem;
  }
  .p-cta-fix__button {
    max-width: 10rem;
    height: 2.375rem;
    border-radius: 1.25rem;
    font-size: 0.75rem;
    box-shadow: 0 0.125rem 0 #CA243D;
  }
  .p-cta-fix__button.__secondary {
    box-shadow: 0 0.125rem 0 #CC6500;
  }
  .p-cta-fix__button:hover {
    transform: translateY(0.125rem);
  }
}

/*************************************************************
*
* キャンペーンタイトル
*
*************************************************************/
.c-campaign__title {
    margin-bottom: 2.75rem;
    margin-inline: auto;
    position: relative;
    max-width: 100%;
  
    &::before {
      content: '';
      position: absolute;
      top: -2.125rem;
      left: 50%;
      transform: translateX(-50%);
      width: 6.25rem;
      height: 1.5rem;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }
  
    &.__campaign {
      width: 14.875rem;
      &::before {
          background-image: url(/kojin/hiraku/cam/2026kodomokouza/assets/images/img_font-arch_campaign.svg);
      }
    }

    &.__for-you {
      width: 18.875rem;
      &::before {
          background-image: url(/kojin/hiraku/cam/2026kodomokouza/assets/images/img_font-arch_for-you.svg);
      }
    }

    &.__resona {
      width: 19.8125rem;
      margin-bottom: 1.875rem;
      &::before {
          background-image: url(/kojin/hiraku/cam/2026kodomokouza/assets/images/img_font-arch_resona.svg);
      }
    }

    &.__step {
      width: 17.8125rem;
      margin-bottom: 3.0625rem;
      &::before {
          background-image: url(/kojin/hiraku/cam/2026kodomokouza/assets/images/img_font-arch_step.svg);
      }
    }

    &.__details {
      width: 15.75rem;
      margin-bottom: 1.25rem;
      &::before {
          background-image: url(/kojin/hiraku/cam/2026kodomokouza/assets/images/img_font-arch_details.svg);
      }
    }

    &.__notes {
      width: 9.625rem;
      &::before {
          background-image: url(/kojin/hiraku/cam/2026kodomokouza/assets/images/img_font-arch_notes.svg);
      }
    }
  }

@media screen and (max-width: 834px) {
  .c-campaign__title {
    margin-bottom: 1.75rem;
    max-width: 100%;

    &::before {
      top: -1.625rem;
    }

    &.__campaign {
      width: 12.3125rem;
    }

    &.__for-you {
      width: 16rem;
    }

    &.__resona {
      width: 15.9375rem;
    }

    &.__step {
        width: 14.5rem;
    }

    &.__details {
      width: 12.5rem;

    }

    &.__notes {
      width: 7.8125rem;
    }
  }

  .c-campaign__title-wrap {
    padding-inline: 1rem;
  }
}

/*************************************************************
*
* Campaign
*
*************************************************************/
.p-campaign {
  width: 100%;
  padding-top: 4.3125rem;
  padding-bottom: 4.4375rem;
  
}

.p-campaign__block {
    border-top: 1px solid var(--color-primary);
    padding-bottom: 2.4375rem;

    &:last-child {
        padding-bottom: 0;
    }
}

.p-campaign__block-inner {
    max-width: 56.25rem;
    margin-inline: auto;
}

.p-campaign__block-title {
    background-color: var(--color-primary);
    position: relative;
    transform: translateY(-50%);
}

.p-campaign__block-lead {
    font-size: 1.25rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.5;
    margin-top: 0.9375em;
}

.p-campaign__block-list {
    margin-top: 1.25rem;
    margin-bottom: 1.875rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.p-campaign__block-list-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    background-color: var(--color-white);
    padding: 1.375rem 1.25rem;
    border-radius: 0.625rem;
}

.p-campaign__block-list-item-num {
    width: 2.1875em;
}

.p-campaign__block-list-item-text {
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1.25;

    span {
        background: linear-gradient(transparent 60%, #FFF000 30%);
    }
}

.p-campaign__block-note-button {
    display: block;
    width: fit-content;
    color: var(--color-text-link);
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    margin-inline: auto;
    text-decoration: underline;
    cursor: pointer;
    transition: opacity 0.3s ease;
    position: relative;
    padding-left: 1.25rem;

    &:hover {
        opacity: 0.7;
    }

    &::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        width: 0.8125rem;
        height: 0.4375rem;
        background: url(/kojin/hiraku/cam/2026kodomokouza/assets/images/icon_campaign_button_arrow.svg) no-repeat center / contain;
        transform: translateY(-50%) rotate(0deg);
        transition: transform 0.3s ease;
    }
}

.p-campaign__block-note.is-open
.p-campaign__block-note-button::before {
    transform: translateY(-50%) rotate(180deg);
}

.p-campaign__block-note-list {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: height 0.3s ease;
    height: 0;
    &[hidden] {
        height: 0;
    }
    &:not([hidden]) {
        height: auto;
    }
}

.p-campaign__block-note-list-item {
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    padding-left: 1rem;
    line-height: var(--line-height);

    &::before {
        content: '※';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

.p-campaign__block-present-img {
    width: 45rem;
    margin-inline: auto;
    margin-top: 0.9375em;
    margin-bottom: 1.25rem;
}

.p-campaign__block-present-img img {
    width: 100%;
}

@media screen and (max-width: 834px) {
  .p-campaign {
    padding-top: 5.125rem;
    padding-bottom: 2.0625rem;
  }

  .p-campaign__block {
    padding-bottom: 3.8125rem;
  }

  .p-campaign__block-inner.__padding-inline-22 {
    padding-inline: 1.375rem;
  }

  .p-campaign__block-lead {
    font-size: 0.875rem;
    margin-top: 0.875rem;
  }

  .p-campaign__block-list {
    margin-top: 0.875rem;
    margin-bottom: 0.625rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
  }

  .p-campaign__block-list-item {
    padding: 0.8125rem 1.25rem;
    border-radius: 0.625rem;
  }

  .p-campaign__block-list-item-text {
    font-size: 1.0625rem;
    font-weight: bold;
    line-height: 1.5;
  }

  .p-campaign__block-note-button {
    font-size: 0.875rem;
    padding-left: 1rem;
  }

  .p-campaign__block-note-list {
    margin-top: 1rem;  
  }

  .p-campaign__block-note.__padding-inline-22 {
    padding-inline: 1.375rem;
  }

  .p-campaign__block-note-list-item {
    font-size: 0.875rem;
  }

  .p-campaign__block-present-img {
    margin-top: 0.5625rem;
    margin-bottom: 0.625rem;
    width: 100%;
    padding-inline: 1rem;
  }
}

/*************************************************************
*
* For you
*
*************************************************************/
.p-for-you {
    background-color: var(--color-bg);
}

.p-for-you__body-inner {
    text-align: center;
}

.p-for-you__img {
    max-width: 67.5rem;
    margin-inline: auto;
    img {
        object-fit: cover;
        width: 100%;
    }
}

.p-for-you__content {
    margin-top: 1.875rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
}

.p-for-you__block-text {
    font-size: 1.1875rem;
    font-weight: bold;
    line-height: 1.25;
}

.p-for-you__block-content {
    margin-top: 0.5rem;
}

.p-for-you__block-content-label {
    width: 16.75rem;

    &.__green {
        background-color: #0CA26C;
    }
    &.__pink {
        background-color: #F9608E;
    }
}

.p-for-you__block-content-text {
    font-size: 2.375rem;
    line-height: 1.25;
    font-weight: bold;
    margin-top: 0.3125rem;
    letter-spacing: -0.04em;
    &.__green {
        color: #0CA26C;
    }
    &.__pink {
        color: #F9608E;
    }
}

.p-for-you__content-text{
    width: 28rem;             
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #000;
    margin-inline: auto;
    max-width: 100%;
  }
  

  .p-for-you__content-text::before,
  .p-for-you__content-text::after{
    content: "";
    flex: 1 1 0;
    height: 4px;                 
    background-image: radial-gradient(#000 2px, transparent 2.5px);
    background-size: 6px 1px;   
    background-repeat: repeat-x;
    background-position: left center;
  }
  
  .p-for-you__content-text > span{
    position: relative;
    padding-inline: 1.5rem;
  }
  
  .p-for-you__content-text > span::before,
  .p-for-you__content-text > span::after{
    content:"";
    position:absolute;
    top:50%;
    width: 1.2rem;
    height: 2px;
    background:#000;
    transform: translateY(-50%);
  }
  
  .p-for-you__content-text > span::before{
    left: 0;
    transform: translateY(-50%) rotate(56deg);  
  }
  
  .p-for-you__content-text > span::after{
    right: 0;
    transform: translateY(-50%) rotate(-56deg);  
  }

  @media screen and (max-width: 834px) {
    
    .p-for-you__body-inner {
        padding-inline: 0.25rem;
        ;
      }
    
    .p-for-you__img-wrap {
        padding-inline: 1rem;
    }

    .p-for-you__img {
        max-width: 100%;
        width: 18.75rem;
    }

    .p-for-you__content-wrap {
        padding-inline: 1rem;
    }

    .p-for-you__content {
        margin-top: 1.625rem;
    }

    .p-for-you__block-text {
        font-size: 1rem;
    }

    .p-for-you__block-content {
        margin-top: 0.375rem;
        gap: 1rem;
    }

    .p-for-you__block-content-label.c-ribbon {
        padding: 0.5rem 0.625rem;
        font-size: 1.125rem;
    }

    .p-for-you__block-content-text {
        font-size: 1.4375rem;
        margin-top: 0.625rem;
    }

    .p-for-you__content-text {
        width: 16.875rem;
        font-size: 1rem;
        gap: 0.375rem;
    }

    .p-for-you__content-text > span{
        padding-inline: 0.75rem;
    }

    .p-for-you__content-text > span::before,
    .p-for-you__content-text > span::after{
        width: 0.75rem;
    }
    
    
    
    
}

/*************************************************************
*
* Resona
*
*************************************************************/

.p-resona {
    background-color: var(--color-bg-secondary);
}

.p-resona__lead {
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1.5;
    text-align: center;
}

.p-resona__img {
    margin: 0 calc(50% - 50vw);
	width: 100vw;
    margin-top: 1.875rem;
}

.p-resona__img img {
    object-fit: cover;
    width: 100%;
}

.p-resona__note {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    margin-top: 0.8125rem;
}

.p-resona__app {
    margin-top: 1.875rem;
    max-width: 52.6875rem;
    margin-inline: auto;
    text-align: center;
}

.p-resona__app-img {
    width: 18.625rem;
    max-width: 100%;
    margin-inline: auto;
}

.p-resona__app-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 1.25rem;
}

.p-resona__app-lead {
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.5;
    margin-top: 0.625rem;
}

.p-resona__app-list {
    margin-top: 1.625rem;
}

.p-resona__app-list.swiper {
    overflow: visible;
}

.p-resona__app-list-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.0625rem;
}

.p-resona__app-item {
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
    border-radius: 1.25rem;
    padding: 1.375rem 1.25rem 1.625rem;
    gap: 0.875rem;
}

.p-resona__app-item-title {
    font-size: 1.125rem;
    font-weight: bold;
    line-height: 1.25;
    color: #0CA26C;
    padding-bottom: 0.875rem;
    border-bottom: 2px solid #0CA26C;
    width: 11.3125rem;
    margin-inline: auto;
}

.p-resona__app-item-lead {
    font-size: 0.9375rem;
    font-weight: bold;
    line-height: 1.25;
    color: #0CA26C;
}

.p-resona__app-item-img {
    width: 10.75rem;
    margin-inline: auto;
}

.p-resona__app-item-text {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.25;
}

.p-resona__app-pagination {
    display: none;
}

.p-resona__app-prev {
    display: none;
}

.p-resona__app-next {
    display: none;
}

@media screen and (max-width: 834px) {
    .p-resona__lead {
        font-size: 1rem;
    }

    .p-resona__img {
        margin-top: 0;
    }

    .p-resona__note {
        margin-top: 0;
        padding-inline: 3.0625rem;
    }

    .p-resona__app {
        margin-top: 1.5625rem;
    }

    .p-resona__app-img {
        width: 18.625rem;
    }

    .p-resona__app-title {
        margin-top: 0.5rem;
        font-size: 1.375rem;
    }

    .p-resona__app-lead {
        font-size: 0.875rem;
        margin-top: 0.4375rem;
    }

    .p-resona__app-list {
        margin-top: 1.25rem;
        display: block;
        position: relative;
    }

    .p-resona__app-list-inner {
        display: flex;
        gap: 0 ;
        align-items: stretch;
    } 

    .p-resona__app-item-title {
        width: 11.3125rem;
    }

    .p-resona__app-pagination {
        display: flex;
        justify-content: center;
        position: static;
        margin-top: 1.25rem;
        text-align: center;
        gap: 0.5rem;
    }

    .p-resona__app-pagination .swiper-pagination-bullet {
        display: block;
        width: 0.5rem;
        height: 0.5rem;
        background: #ccc;
        opacity: 1;
    }
    
    .p-resona__app-pagination .swiper-pagination-bullet-active {
        background: #0CA26C;       
    }

    
    .p-resona__app-prev,
    .p-resona__app-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        display: block;
        width: 2.625rem;
        height: 2.625rem;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        z-index: 10;
        pointer-events: auto;    
    }


    .p-resona__app-prev {
        background-image: url(/kojin/hiraku/cam/2026kodomokouza/assets/images/icon_swiper_arrow_prev.svg);
    }


    .p-resona__app-next {
        background-image: url(/kojin/hiraku/cam/2026kodomokouza/assets/images/icon_swiper_arrow_next.svg);   
    }

    .p-resona__app-item.swiper-slide {
        height: auto;
        align-self: stretch;
    }


    /* swiperコンテナを画面幅いっぱいにする */
.p-resona__app-list {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }
  
  /* Swiperのデフォルト矢印は消す（あなたの設定そのままでOK） */
  .p-resona__app-list .swiper-button-prev,
  .p-resona__app-list .swiper-button-next {
    --swiper-navigation-size: 0px;
    color: transparent !important;
    font-size: 0 !important;
  }
  
  /* 矢印を画面左右にピタ付け */
  .p-resona__app-prev,
  .p-resona__app-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
  }
  
  .p-resona__app-list .p-resona__app-prev {
    left: 2.933333333333333vw !important;     
    right: auto !important;
  }
  
  .p-resona__app-list .p-resona__app-next {
    right: 2.933333333333333vw !important;   
    left: auto !important;
  }
  
  /* disabledは非表示（既存OK） */
  .p-resona__app-prev.swiper-button-disabled,
  .p-resona__app-next.swiper-button-disabled {
    display: none !important;
  }

    
        
}

/*************************************************************
*
* Step
*
*************************************************************/
.p-step {
    background-color: var(--color-bg);
}

.p-step__body {
    max-width: 51.75rem;
    margin-inline: auto;
}

.p-step__item {
    background-color: #ECF1BA;
    border-radius: 1.25rem;
}

.p-step__list {
    display: flex;
    flex-direction: column;
    gap: 3.125rem;

}

.p-step__item-body-num {
    width: 3.875rem;
    margin-inline: auto;
    transform: translateY(-50%);
}

.p-step__item-body-title {
    font-size: 1.625rem;
    font-weight: bold;
    line-height: 1.5;
    text-align: center;
    margin-top: -0.9375rem;
    margin-bottom: 1.25rem;

    &.__mt58 {
        margin-top: -0.25rem;
    }

    &.__mb0 {
        margin-bottom: 0;
    }
}


.p-step__item-lead {
    font-size: 1.375rem;
    font-weight: bold;
    line-height: 1.25;
    padding-block: 0.6875rem;
    background-color: #C2DC87;
    text-align: center;
}

.p-step__item-button {
    margin-inline: auto;
    display: block;
    margin-top: 1.375rem;
}

.p-step__item-button-text {
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.5;
    margin-top:  0.9375rem;
    padding-inline: 4.875rem;
}

.p-step__item-block-arrow {
    width: 100%;
    height: 3.375rem;
    margin-top: 1.8125rem;
    margin-bottom: 2.1875rem;

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

.p-step__item-block.__phone {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2.1875rem;
    padding-left: min(7.875rem, 9.84375vw);
    padding-right: 32px;
}

.p-step__item-block.__phone._mb56 {
    margin-bottom: 3.5rem;
}



.p-step__item-phone, .p-step__item-phone-icon {
    display: grid;
    grid-template-columns: 15rem 1fr;
    align-items: center;
    gap: 1.25rem;
}

.p-step__item-phone-img {
    width: 15rem;
    max-width: 100%;
}

.p-step__item-phone-text--bold {
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.5;
    max-width: 16rem;

    &.__step3 {
        max-width: 19.125rem;
        margin-bottom: 1.1875rem;
    }
}

.p-step__item-phone-text {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    max-width: 280px;
}

.p-step__item-phone-icon-img {
    width: 9.375rem;
    max-width: 100%;
    margin-left: 3.75rem;    
}
.p-step__item-text--bold {
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.5;
    text-align: center;
    margin-top: 1.875rem;
    padding-inline: 4.875rem;  
}

.p-step__item-block-grid-container {
    display: grid;
    grid-template-columns: 127px 1fr;
    align-items: center;
    gap: 1.25rem;
    margin-top: 1.25rem;
    padding-bottom: 2.4375rem;
    padding-inline: 6.8125rem 4.875rem;
}

.p-step__item-block-grid-container-img {
    width: 127px
}

.p-step__item-block-grid-container-text-wrap {
    background-color: var(--color-bg);
    padding: 1.375rem 1.6875rem 1.75rem;

}

.p-step__item-block-grid-container-text {
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.25;

    span {
        color: var(--color-primary);
    }
}

.p-step__item-block-grid-container-list {
    margin-top: 0.625rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.p-step__item-block-grid-container-item {
    font-size: 0.875rem;
    font-weight: bold;
    line-height: 1.25;
    background: url(/kojin/hiraku/cam/2026kodomokouza/assets/images/icon_list_check.svg) no-repeat left top;
    background-size: 1.125rem 1.125rem;
    padding-left: 1.6875rem;
}

.p-step__item-block-flex-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding-bottom: 2.625rem;
    padding-inline: 4.875rem;
}

.p-step__item-block-flex-box-item {
    flex: 1;
    max-width: 20.25rem;
}

.p-step__item-lead--2 {
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1.25;
}

.p-step__item-text {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.25;
    margin-top: 0.5625rem;
}

.p-step__item-block-flex-box-img {
    width: 7.5rem;
}

.p-step__item-cta-text {
    font-size: 0.875rem;
    text-align: center;
    line-height: 1.25;
    font-weight: bold;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
    position: relative;
    width: fit-content;
    margin-inline: auto;
}

.p-step__item-cta-text::before,
.p-step__item-cta-text::after {
    content: "";
    display: block;
    width: 0.875rem;
    height: 1px;
    background-color: #000;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.p-step__item-cta-text::before {
    left: 0;
    transform: translateX(-1.125rem) rotate(-120deg);
}

.p-step__item-cta-text::after {
    right: 0;
    transform: translateX(1.125rem) rotate(120deg);
}

.p-step__item-cta-button {
    margin-bottom: 2.375rem;
}

.p-step__present {
   background: url(/kojin/hiraku/cam/2026kodomokouza/assets/images/img_step_bg.png) no-repeat center center;
   border-radius: 1.25rem;
   margin-top: 5.0625rem;
   background-size: cover;
   position: relative;
   text-align: center;
   padding: 0 3.375rem 2.5rem;

    &::before {
        content: "";
        display: block;
        background-image: url(/kojin/hiraku/cam/2026kodomokouza/assets/images/icon_step_list_arrow.svg);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        width: 3.4375rem;
        height: 1.375rem;
        position: absolute;
        top: -3.8125rem;
        left: 50%;
        transform: translateX(-50%);
    }
}

.p-step__present-title {
    width: 22.25rem;
    text-align: center;
    margin-inline: auto;
    transform: translateY(-26%);
}

.p-step__present-title img {
    width: 100%;
}

.p-step__present-lead1-img {
    width: 34.8125rem;
    max-width: 100%;
    margin-inline: auto;
}

.p-step__present-text-img {
    width: 29.75rem;
    max-width: 100%;
    margin-top: 0.4375rem;
    margin-inline: auto;
}

.p-step__present-img1 {
    width: 25.125rem;
    max-width: 100%;
    margin-top: 0.625rem;
    margin-inline: auto;
}

.p-step__present-note {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.25;
    margin-top: 1rem;
    margin-inline: auto;
    color: var(--color-primary);
    text-align: left;
    padding-inline: 2.5rem;
}

.p-step__present-bag-size {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.25;
    margin-top: 0.5rem;
    margin-inline: auto;
}

.p-step__present-lead2-img {
    width: 38.75rem;
    max-width: 100%;
    margin-inline: auto;
    margin-top: 1.875rem;
}

.p-step__present-prize {
    margin-top: 0.75rem;
    font-size: 1.125rem;
    font-weight: bold;
    line-height: 1.25;
    color: var(--color-primary);
    width: 13.75rem;
    border: 1px solid var(--color-primary);
    border-radius: 0.9375rem;
    padding-block: 0.25rem;
    margin-inline: auto;
    position: relative;

    &::before, &::after {
        content: "";
        display: block;
        position: absolute;
    }

    &::before {
        background: url(/kojin/hiraku/cam/2026kodomokouza/assets/images/img-step-star1.png) no-repeat center center;
        background-size: cover;
        width: 1.1875rem;
        height: 1.1875rem;
        left: -2.0625rem;
        top: 60%;
        transform: translateY(-50%);
    }

    &::after {
        background: url(/kojin/hiraku/cam/2026kodomokouza/assets/images/img-step-star2.png) no-repeat center center;
        background-size: cover;
        width: 2rem;
        height: 2.625rem;
        right: -3rem;
        top: 50%;
        transform: translateY(-50%);
    }
}

.p-step__present-img2{
    width: 27.5rem;
    max-width: 100%;
    margin-inline: auto;
    margin-top: 1.25rem;
}

.p-step__present-prize-list {
    margin-top: 0.5rem;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: bold;
}

.p-step__present-prize-text {
    margin-top: 0.4375rem;
    font-size: 0.875rem;
    line-height: 1.25;
    font-weight: 500;
}

.p-step__present-more {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.25;
    gap: 1.625rem;
    max-width: 38.125rem;
    margin-top: 1.875rem;
    color: var(--color-primary);
    margin-inline: auto;

    p {
        flex: 0 0 auto;
        position: relative;

        &::before, &::after {
            content: "";
            display: block;
            width: 1.125rem;
            height: 1.25px;
            background-color: var(--color-primary);
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
        }

        &::before {
            left: 0;
            transform: translateX(-1.125rem) rotate(-116deg);
        }

        &::after {
            right: 0;
            transform: translateX(1.125rem) rotate(116deg);
        }
    }

    span {
        display: block;
        width: 100%;
        height: 1px;
        background-color: var(--color-primary);
    }
}

@media screen and (max-width: 834px) {
    .p-step__body {
        padding-inline: 1rem;
    }

    .p-step__item-body-title{
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }

    .p-step__item-lead {
        font-size: 1.125rem;
        padding-block: 0.25rem;
    }

    .p-step__item-button {
        margin-top: 1.25rem;
    }

    .p-step__item-button-text {
        margin-top: 0.875rem;
        padding-inline: 0.75rem;
    }

    .p-step__item-block-arrow {
        margin-top: 0.25rem;
        height: 3.375rem;
    }

    .p-step__item-block.__phone {
        gap: 0.625rem;
        margin-bottom: 0.625rem;
        padding-inline: 2rem;
    }

    .p-step__item-phone,
    .p-step__item-phone-icon {
        display: flex;
        flex-direction: column-reverse;
        gap: 0.625rem;
    }

    .p-step__item-phone-icon {
        margin-top: 0.875rem;
    }

    .p-step__item-phone-text--bold {
        max-width: none;
        text-align: center;

        &.__step3 {
            margin-bottom: 0.625rem;
            margin-inline: auto;
        }
    }

    .p-step__item-phone-icon-img {
        margin-left: 2.0625rem;
        width: 6.75rem;
    }

    .p-step__item-text--bold {
        margin-top: 0.9375rem;
        padding-inline: 0;
    }

    .p-step__item-block-grid-container {
        grid-template-columns: 1fr;
        padding-inline: 1.3125rem;
        margin-top: 1rem;
        gap: 1.5625rem;
        padding-bottom: 2.875rem;
    }

    .p-step__item-block-grid-container-img {
        margin-inline: auto;
    }

    .p-step__item-block-grid-container-text-wrap {
        padding: 1.125rem 1.25rem 1.5rem;
    }

    .p-step__item-block-grid-container-list {
        gap: 0.875rem;
    }

    .p-step__item-block-flex-box {
        flex-direction: column;
        gap: 1.375rem;
        padding-inline: 2rem;
    }

    .p-step__item-block-flex-box-item {
        max-width: none;
    }

    .p-step__item-lead--2 {
        text-align: center;
        font-size: 1rem;
    }

    .p-step__item-text {
        font-size: 0.875rem;
    }

    .p-step__item-cta-text {
        font-size: 0.875rem;
        margin-bottom: 0.5625rem;
    }

    .p-step__item-cta-button {
        margin-bottom: 1.25rem;
    }

    .p-step__item-phone-text {
        max-width: none;;
    }

    .p-step__item-block.__phone._mb56 {
        margin-bottom: 2.25rem;
    }

    .p-step__present {
        padding-inline: 0.25rem;
        margin-top: 5.375rem;
        background-image: url(/kojin/hiraku/cam/2026kodomokouza/assets/images/img_step_bg_sp.png);
        background-size: cover;
    }

    .p-step__present-inner {
        padding-inline: 2rem;
    }

    .p-step__present-title {
        width: 16.625rem;
        max-width: 100%;
        transform: translateY(-32%);
    }

    .p-step__present-lead1-img {
        width: 16rem;
    }

    .p-step__present-text-img {
        width: 12.125rem;
        margin-top: 1.375rem;
    }

    .p-step__present-img1 {
        margin-top: 0.75rem;
        width: 20.75rem;
    }

    .p-step__present-note {
        width: 100%;
        padding-inline: 0;
        margin-top: 0.75rem;
        font-size: 0.875rem;
    }

    .p-step__present-bag-size {
        font-size: 0.875rem;
        margin-top: 0;
        text-align: left;
    }

    .p-step__present-more {
        max-width: 100%;
        margin-top: 1.125rem;
        padding-inline: 0.25rem;
    }

    .p-step__present-lead2-img {
        margin-top: 1.125rem;
        width: 18.125rem;
    }

    .p-step__present-prize {
        font-size: min(4.8vw, 1.125rem);
        width: min(58.666666666666664vw, 13.75rem);
        padding-block: min(1.0666666666666667vw, 0.25rem); 

        &::before {
            width: 1rem;
            height: 1rem;
            top: 20%
        }

        &::after {
            top: 14%;
        }
    }

    .p-step__present-img2 {
        width: 19.625rem;
        margin-top: 1rem;
    }

    .p-step__present-prize-list {
        margin-top: 0.25rem;
        font-size: 0.875rem;
        line-height: 1.25;
    }

    .p-step__present-inner-bottom {
        padding-inline: 0.75rem;
    }

}

/*************************************************************
*
* Details
*
*************************************************************/

.p-details {
    
}
.p-details__body {
    max-width: 51.75rem;
    margin-inline: auto;
}
.p-details__list {
    border: 1px solid #D7D7D7;
}
.p-details__item {
    display: flex;
    border-bottom: 1px solid #D7D7D7;
    align-items: stretch;
}
.p-details__item-dt {
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.25;
    background-color: #E9EFB8;
    width: 168px;
    display: grid;
    place-content: center;
    text-align: center;
    flex-shrink: 0;
    border-right: 1px solid #D7D7D7;
}
.p-details__item-dd {
    font-size: 1.125rem;
    font-weight: bold;
    padding-block: 19px;
    padding-inline: 20px;
    width: 660px;
}

.p-details__item-dd-link {
    color: #0044FF;
    text-decoration: underline!important;

    &:visited {
        color: #0044FF;
        text-decoration: underline!important;
    }
}

.p-details__item-dd-num-list {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}
.p-details__item-dd-num-list-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.p-details__item-dd-num-list-item-num {
    width: 3.375rem;
    height: 3.375rem;
}

.p-details__item-dd-num-list-item-text {
    font-size: 1.25rem;
    font-weight: bold;
}

.p-details__item-dd-note {
    margin-top: 1.25rem;
}

.p-details__item-dd-note-title {
    font-size: 0.875rem;
    font-weight: bold;
}

.p-details__item-dd-note-list {
    display: flex;
    flex-direction: column;
    margin-top: 0.25rem;
}

.p-details__item-dd-note-list-item {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    position: relative;
    padding-left: 1rem;
    
    &::before {
        content: "※";
        position: absolute;
        left: 0;
        top: 0;
    }
}

.p-details__item-dd-conditional-body {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.p-details__item-dd-conditional-block-lead {
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.25;
    margin-bottom: 0.5rem;
    text-align: center;
}

.p-details__item-dd-conditional-block-text {
    font-size: 1.75rem;
    font-weight: bold;
    line-height: 1.25;
    margin-top: 0.625rem;
    text-align: center;

    &.__green {
        color: #0CA26C;
    }
    &.__pink {
        color: #F9608E;
    }
}

.p-details__item-dd-conditional-content-text{
    width: 100%;
    max-width: 28rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #000;
    margin-inline: auto;
  }
  

  .p-details__item-dd-conditional-content-text::before,
  .p-details__item-dd-conditional-content-text::after{
    content: "";
    flex: 1 1 0;
    height: 4px;                 
    background-image: radial-gradient(#000 2px, transparent 2.5px);
    background-size: 6px 1px;   
    background-repeat: repeat-x;
    background-position: left center;
  }
  
  .p-details__item-dd-conditional-content-text > span{
    position: relative;
    padding-inline: 1.5rem;
  }
  
  .p-details__item-dd-conditional-content-text > span::before,
  .p-details__item-dd-conditional-content-text > span::after{
    content:"";
    position:absolute;
    top:50%;
    width: 1.2rem;
    height: 2px;
    background:#000;
    transform: translateY(-50%);
  }
  
  .p-details__item-dd-conditional-content-text > span::before{
    left: 0;
    transform: translateY(-50%) rotate(56deg);  
  }
  
  .p-details__item-dd-conditional-content-text > span::after{
    right: 0;
    transform: translateY(-50%) rotate(-56deg);  
  }

  @media screen and (max-width: 834px) {
    .p-details__body {
        padding-inline: 1rem;
    }
    
    .p-details__item {
        flex-direction: column;
    }

    .p-details__item-dt {
        width: 100%;
        padding-block: 0.5rem;
    }

    .p-details__item-dd {
        width: 100%;
        padding-block: 1rem;
        text-align: center;
    }

    .p-details__item-dd.__padding-inline-12 {
        padding-inline: 1.25rem;
    }

    .p-details__item-dd-note {
        margin-top: 0.625rem;
    }

    .p-details__item-dd-note-list {
        text-align: left;
    }

    .p-details__item-dd-conditional-content-text {
        padding-inline: 2.25rem;
    }

    .p-details__item-dd-conditional-block-text {
        font-size: 1.4375rem;
    }
  }

/*************************************************************
*
* Notes
*
*************************************************************/
.p-notes {
   
}
.p-notes__body {
    max-width: 50.5rem;
    margin-inline: auto;
}

.p-notes__body-inner {
    display: flex;
    flex-direction: column;
    gap: 1.875rem;
}

.p-notes__block-title {
    font-size: 1.25rem;
    font-weight: bold;
    text-align: center;
}

.p-notes__block-list {
    margin-top: 0.625rem;
}
.p-notes__block-list-item {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    position: relative;
    padding-left: 1rem;

    &::before {
        content: "●";
        display: block;
        color: #44AF35;
        position: absolute;
        left: 0;
        top: 0;
    }

    &.__red {
        color: var(--color-primary);

        &::before {
            color: var(--color-primary);
        }
    }

    span {
        color: var(--color-primary);
    }
}

@media screen and (max-width: 834px) {

    .p-notes__body {
        padding-inline: 1rem;
    }

    .p-notes__body-inner {
        gap: 1.6875rem;
    }

    .p-notes__block-title {
        font-size: 1rem;
    }

    .p-notes__block-list {
        margin-top: 0.3125rem;
    }
}

/*************************************************************
*
* Modal
*
*************************************************************/

/* 開いてない時は表示しない（JSで .is-open を付与） */
.p-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
  }
  
  /* open */
  .p-modal.is-open {
    display: block;
  }
  
  /* 背景オーバーレイ（疑似要素で作る） */
  .p-modal::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
  }
  
  /* 画面の中央寄せ＆スクロール領域の器 */
  .p-modal__body {
    position: relative;
    width: 100%;
    height: 100%;                
    padding: 1rem;            
    display: grid;
    place-items: center;            
  }
  
  /* モーダル本体 */
  .p-modal__body-inner {
    width: min(62.5vw, 50rem);
    background: #fff;
    border-radius: 1.25rem;
    overflow: hidden;
    transform: translateY(0.75rem);
    opacity: 0;
    transition: transform .25s ease, opacity .25s ease;
  }
  
  /* open時のアニメーション */
  .p-modal.is-open .p-modal__body-inner {
    transform: translateY(0);
    opacity: 1;
  }
  
  .p-modal__body-content {
    padding: 3.125rem 5.9375rem 2.5rem;
  }
  
  /* タイトル */
  .p-modal__body-title {
    font-size: 1.25rem;
    font-weight: bold;
    text-align: center;
  }
  
  /* リスト */
  .p-modal__body-list {
    margin-top: 1.875rem;
  }
  
  .p-modal__body-list-item {
    position: relative;
    padding-left: 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #000;

    span {
        color: var(--color-primary);
    }

    &.__red {
        color: var(--color-primary);

        &::before {
            color: var(--color-primary);
        }
    }
  }
  
  .p-modal__body-list-item::before {
    content: "●";
    position: absolute;
    left: 0;
    top: 0;
  }
  
  /* CTAボタン（既存の l-hero__cta-button がある想定）
     ここで最低限のレイアウトだけ補強 */
  .p-modal .l-hero__cta-button {
    width: 100%;
    max-width: 31.25rem;
    margin-inline: auto;
    margin-top: 1.875rem;
    padding-block: 1.6875rem 1.8125rem;
    border-radius: 2.1875rem;
    line-height: 1;

    &:visited {
        color: #fff;
    }
  }
  
  /* 閉じるボタン */
  .p-modal__body-close {
    width: 100%;
    display: block;
    max-width: 8.75rem;
    margin-top: 1.875rem;
    padding: 0.875rem;
    border-radius: 0.625rem;
    border: 1px solid #C5C5C5;
    background: #fff;
    font-size: 0.875rem;
    font-weight: bold;
    cursor: pointer;
    margin-inline: auto;
    text-align: center;
    box-shadow: 0 0.1875rem 0 rgba(0, 0, 0, 0.25);
    transform: translateY(0);
    transition: var(--anime-duration) var(--anime-function);
    transition-property: box-shadow, transform;
    position: relative;

    &:hover {
        transform: translateY(0.1875rem);
        box-shadow: 0 0 0 rgba(0, 0, 0, 0.25);
    }

    &:active {
        transform: translateY(0.1875rem);
        box-shadow: none;
    }

    &::after {
        content: "";
        display: block;
        background: url(/kojin/hiraku/cam/2026kodomokouza/assets/images/icon_modal_cross.svg) no-repeat center center;
        background-size: cover;
        width: 0.625rem;
        height: 0.625rem;
        position: absolute;
        top: 50%;
        right: 0.875rem;
        transform: translateY(-50%);
    }

    &:visited {
        color: #000;
    }
  }
  
  
  /* SP調整 */
  @media screen and (max-width: 834px) {
    .p-modal__body {
      padding: 1rem;
    }

    .p-modal__body-inner{
        width: min(21.4375rem, 100%);
        max-width: 100%;
    }
  
    .p-modal__body-content {
      padding: 1.875rem 1rem;
    }
  
    .p-modal__body-title {
      font-size: 0.875rem;
    }
  
    .p-modal__body-list-item {
      font-size: 0.875rem;
    }

    .p-modal .l-hero__cta-button {
        width: 19.375rem;
        font-size: 1.125rem;
        max-width: 100%;
    }
  }
  
