@charset "utf-8";

/* ----------↓ DIV ↓---------- */
.caption{
  padding: 0 35px;
}

/* ----------↓ #OVERVIEW ↓---------- */

#overview .lead{
  color: #425695;
   font-size: 130%;
   font-weight: bold;
}

/* ----------↓ TABLE ↓---------- */

#overview table {
  margin-bottom: 3em;
  width: 100%;
}

#overview tr:first-child {
  border-top: 1px solid #CCCCCC;
}

#overview tr {
  border-bottom: 1px solid #CCCCCC;
}


#overview th, #overview td {
  line-height: 1.3em;
  vertical-align: middle;
}


#overview th {
  padding: 13px 20px;
  white-space: nowrap;
  text-align: left;
  background-color: #F6F6F6;
  vertical-align: middle;
  punctuation-trim: adjacent;
  width: 31%;
}

#overview td:last-child {
  width: 50%;
}

#overview td {
  padding: 13px 15px;
}

#overview td.div {
  border-left: 1px solid #CCCCCC;
  border-right: 1px solid #CCCCCC;
}

#overview ol li {
  margin-bottom: 15px;
}



/* ----------↓ #COST  ↓---------- */
/* ----------↓ TABLE ↓---------- */
#cost table th {
  width: 50%;
}

/* ----------↓ #FAQ ↓---------- */
#faq dl {
  margin-bottom: 2em;
}

#faq dl.last {
  margin-bottom: 3em;
}

#faq dl:after {
  content: "";
  clear: both;
  display: block;
}

#faq dt {
  float: left;
  clear: left;
  width: 35px;
  font-size: 130%;
  font-weight: bold;
  padding: 5px 0 4px 8px;
}

#faq dd {
  float: left;
  width: 80%;
  padding: 10px 5px 4px 5px;
  line-height: 1.3em;
  border-top: 0px;
}

#faq dt.q {
  color: #425695;
}

#faq dt.a {
  color: #425695;
  font-size: 120%;
  font-weight: bold;
}


/* ----------↓ #STEP  ↓---------- */

#step {
  max-width: 700px;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}

#step .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

#step .card{
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  background: #f9f9f9;
}

#step .card img {
  width: 100%;
  height: auto;
  display: block;
}

#step .card p {
  padding: 10px;
  margin-bottom: 0 !important;
}

@media (max-width: 699px) {
#step .grid {
    grid-template-columns: repeat(2, 1fr);/* モバイルでは２列表示*/
  }
}


/* ----------↓ #STEP  ↓---------- */

.steps-wrapper {
  max-width: 700px;
  width: 100%;
  background-color: #a1afdd; /* 背景 */
  padding: 20px;
  box-sizing: border-box;
  border-radius: 4px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.step-box {
  background: white;
  padding: 20px 10px;
  text-align: center;
  border-radius: 4px;
}

.step-box .step-title {
  color: #425695;
  font-weight: bold;
  font-size: 150%;
}

.step-box .step-desc {
  margin-top: 5px;
  font-size: 120%;
}

@media (max-width: 699px) {
  .steps-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}



/* ----------↓ #FLOW  ↓---------- */

.flow-container {
  text-align: center;
  margin-bottom: 4em;
}

.flowtitle {
  margin: 0 auto 20px auto;
  background-color: #a1afdd; /* 背景 */
  color: #FFF;
  font-size: 18px;
  padding: 10px;
  border-radius: 6px;
  width: 67%;
}

.flow-step {
  border: 3px solid #a1afdd;
  padding: 8px 10px;
  border-radius: 6px;
  margin: 0 auto;
  width: 70%;
  box-sizing: border-box;
  font-size: 16px;
  color: #333;
  background-color: white;
}

.arrow {
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 15px solid #aaa; /* グレーの下向き三角 */
  margin: 5px auto;
}

@media (max-width: 699px) {

  .flowtitle {
    width: 95%;
  }

  .flow-step {
    width: 100%;
  }
}

/* ----------↓ カードコンテナ01 ↓---------- */

.card-container {
  max-width: 700px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  border-radius: 6px;
}

.card {
  background-color: #fbf2d3;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.card-title {
  background-color: #d889bc;
  color: white;
  font-size: 18px;
  text-align: center;
  padding: 5px;
  border-radius: 6px;
  width: 85%;
  margin: 10px auto;
}

.card-content {
  padding: 10px;
  text-align: center;
}

.card-image {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.card-caption {
  font-size: 14px;
  color: #333;
  line-height: 1.4;
  text-align: left;
  margin-top: 20px;
}

@media (max-width: 700px) {
  .card-container {
    grid-template-columns: 1fr;
  }
}

/* ----------↓ カードコンテナ02 ↓---------- */

.card-container02 {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  border-radius: 6px;
}

.card02 {
  border: 1px solid #ccc;
  border-radius: 6px;
}

.card-image02 {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}