/* =============
リセット
============================ */

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video,
button {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  font-weight: normal;
  vertical-align: baseline;
  background: transparent;
  box-sizing: border-box;
}

body {
  line-height: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  color: inherit;
  text-decoration: none;
  box-sizing: border-box;
}

ins {
  color: #000;
  text-decoration: none;
}

mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

del {
  text-decoration: line-through;
}

abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

input,
select {
  vertical-align: middle;
}

textarea {
  font-size: 100%;
  box-sizing: border-box;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0 none;
}

.sectionBox a {
  color: #ff587e;
  text-decoration: underline;
}
body {
  margin: 0;
  padding: 0;
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", Montserrat, sans-serif;
  color: #333;
  font-weight: normal;
  background: #fff;
  line-height: 1.8;
}

header {
  position: relative;
  background: radial-gradient(
      circle at 25% 50%,
      rgba(255, 255, 255, 0.4) 0%,
      rgba(255, 255, 255, 0) 70%
    ),
    url("../img/headerbg.png") center / cover no-repeat;
}

/* スマホ時（幅 768px 以下）は中央に光を移動 */
@media (max-width: 768px) {
  header {
    background: radial-gradient(
        circle at 50% 10%,
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0) 70%
      ),
      url("../img/headerbg.png") center / cover no-repeat;
  }
}

header > .inner,
header > nav {
  position: relative;
  z-index: 1;
}

header .inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 15px 0 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "text image"
    "btn  image";
  gap: 0;
  align-items: center;
}

header .inner .btn {
  display: inline-block;
  background: #fff; /* 白背景 */
  color: #000;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15); /* ← 影 */
  transition: transform 0.2s, box-shadow 0.2s;
  justify-self: start;
  width: auto;
}

/* hoverで押し感 */
header .inner .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
header .inner .btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.hero-text {
  grid-area: text;
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: bold;
  color: #111;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.75),
    1px 1px 3px rgba(0, 0, 0, 0.25);
}

.hero-image {
  grid-area: image;
  text-align: right;
}
.btn {
  grid-area: btn;
  align-self: start;
}

h1 {
  font-size: 4.5rem;
  padding-top: 45px;
}
.subtext {
  font-size: 2rem;
  padding-left: 8px;
  display: block;
  margin-top: -30px;
}
.name {
  font-size: 2rem;
  padding-left: 8px;
  display: block;
  margin-top: -15px;
}

.hero-image img {
  max-width: 100%;
  height: auto;
}

nav {
  background: #333;
  text-align: center;
}
nav a {
  color: #fff;
}
nav ul {
  padding: 20px 0;
}
nav ul li {
  display: inline-block;
  margin: 0 40px;
}

@media (max-width: 768px) {
  nav {
    display: none;
  }
}

p {
  font-weight: normal;
}

section ul {
  list-style-type: disc;
  margin-left: 20px;
}

.attgray {
  font-size: 14px;
  color: #999;
}

.marker {
  background: linear-gradient(transparent 60%, #ffeb80 60%);
  display: inline;
}

/* ==== 改行 ==== */
br.sp-only {
  display: none;
}
@media (max-width: 767px) {
  br.sp-only {
    display: inline;
  }
}

br.pc-only {
  display: inline;
}
@media (max-width: 767px) {
  br.pc-only {
    display: none;
  }
}

.cta-button {
  display: inline-block;
  background: #ffbd15;
  color: #000;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15); /* ← 影 */
  transition: transform 0.2s, box-shadow 0.2s;
}

/* hoverで押し感 */
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
.cta-button:active {
  transform: translateY(0);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}
.sample-button {
  display: inline-block;
  background-color: #ff587e;
  color: #fff;
  padding: 0.8rem 1.5rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 4px;
}

section {
  margin: 40px 0;
}

section .inner {
  padding: 1rem 0;
  max-width: 1000px;
  margin: 0 auto;
}

.first h2 {
  text-align: center;
}
.first p {
  text-align: center;
}
section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  padding-left: 0.5rem;
  margin-bottom: 25px;
}

h3 {
  font-weight: bold;
  font-size: 1.2rem;
}

h4 {
  font-weight: bold;
  font-size: 1.2rem;
}
.ttl {
  text-align: center;
}
.secondBG {
  background: #fcf3d6;
  padding: 10px 0 20px;
}

.secondBG .box {
  flex: 1 1 calc(33.333% - 1rem);
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-sizing: border-box;
  min-width: 230px;
}
.small {
  text-align: center;
  font-size: 14px;
}

.contact,
.sample {
  text-align: center;
  margin: 0 auto;
}

.sample {
  text-align: center;
  padding: 20px;
}
.flex-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.6rem;
}

.ex-grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 1.6rem;
}

.pict {
  width: 200px;
  height: 100px;
  background: #c0c0c0;
}
.box {
  flex: 1 1 calc(33.333% - 1rem);
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-sizing: border-box;
  min-width: 280px;
}

.box h3 {
  font-weight: bold;
  font-size: 1.2rem;
  border-bottom: none;
  color: #ff587e;
}

.box2 {
  flex: 1 1 calc(33.333% - 1rem);
  padding: 1rem;
  border-radius: 8px;
  box-sizing: border-box;
  margin-bottom: 20px;
}
.box2 h3 {
  margin-bottom: 7px;
  color: #ff587e;
}

.step li {
  display: inline-block;
  width: 200px;
  background: #f9f9f9;
  height: 150px;
  padding: 10px;
}
.step li.pink {
  background: #fde3d9;
}

dl {
  margin: 0;
}

dt {
  font-weight: bold;
  margin-top: 1rem;
}
dt::before {
  content: "Q";
  font-size: 22px;
  width: 30px;
  height: 30px;
  line-height: 1.3;
  text-align: center;
  position: absolute;
  font-family: "Arial", sans-serif;
  background-color: #e50000;
  color: #fff;
  border-radius: 50%;
}

.faq p {
  padding-left: 36px;
}
dd {
  margin-bottom: 2rem;
  padding-top: 10px;
  padding-bottom: 20px;
  border-bottom: 2px dotted #c0c0c0;
}
dd::before {
  content: "A";
  font-size: 22px;
  width: 30px;
  height: 30px;
  line-height: 1.3;
  text-align: center;
  position: absolute;
  font-family: "Arial", sans-serif;
  background-color: #023276;
  color: #fff;
  border-radius: 50%;
}
dd:last-child {
  border-bottom: none;
}

footer {
  background-color: #fff8dc;
  text-align: center;
  padding: 2rem 1rem;
}
footer div {
  margin: 10px 0;
}

.step {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 40px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.step li {
  list-style: none;
}

.step li {
  flex: 1 1 0;
  background: #fff;
  min-height: 150px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06) inset;
  padding: 20px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  font-size: 14px;
}

.step li::after {
  content: "";
  position: absolute;
  right: -28px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 28px solid #d8d8d8;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
}

.step li:last-child::after {
  display: none;
}

@media (max-width: 767px) {
  h1 {
    font-size: 3.5rem;
    padding-top: 0;
  }
  .subtext {
    font-size: 1.5rem;
    padding-left: 0;
    display: block;
    margin-top: -20px;
  }
  .name {
    font-size: 1.8rem;
    padding-left: 0;
    display: block;
    margin-top: -10px;
  }

  header .inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "image"
      "btn";
    text-align: center;
  }
  .hero-image {
    text-align: center;
  }
  .hero-image img {
    max-width: 80%;
    margin: 10px 0;
  }
  header .inner .btn {
    justify-self: center;
    margin-top: 10px;
    margin-bottom: 20px;
  }

  section {
    margin: 10px auto;
  }
  .ex-grid {
    display: block;
  }
  .ex-grid .box {
    margin-bottom: 10px;
    text-align: center;
  }

  .pict {
    margin: 0 auto;
  }
  .small{
    font-size: 16px;
  }
  .secondBG .box {
    padding: 10px 5px;
  }
  .step {
    flex-direction: column;
    gap: 32px; /* BOX間の縦スペース（矢印分も確保） */
    padding: 0 16px;
  }
  .step li {
    min-height: auto;
    padding: 16px 16px 28px;
    width: 100%;
    font-size: 1rem;
  }
  .step li::after {
    /* PCの右矢印スタイルをリセットして、下向きに変更 */
    right: auto;
    left: 50%;
    top: auto;
    bottom: -22px; /* BOX下に矢印を出す */
    transform: translateX(-50%);
    border: none; /* いったん全部クリア */
    border-top: 22px solid #d8d8d8; /* ▼ の色・サイズ */
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
  }
  .step li:last-child::after {
    display: none;
  }

  .first h2 {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.3;
  }
  .first p {
    text-align: left;
    font-size: 1rem;
  }
  .inner {
    width: 98%;
  }
  .contact {
    margin: 0 auto 30px;
  }
}

/* ==========================
動き
============================= */

.view {
  opacity: 0;
  margin: 20px auto;
  transform: translateY(50px);
}

.view.show {
  transition: all 0.8s;
  opacity: 1;
  transform: translateY(0);
}

.timing02 {
  transition-delay: 0.2s;
}

.timing03 {
  transition-delay: 0.6s;
}
