@charset "utf-8";

/* 赤系スタイル */
.underline-red {
  text-decoration: underline wavy #e74c3c;
  text-underline-offset: 3px;
}

.bottom-border-red {
  border-bottom: 3px solid #e74c3c;
  display: inline;
  padding-bottom: 2px;
}

.shadow-box-red {
  background-color: #ffeaea;
  color: #c0392b;
  padding: 4px 8px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(255, 0, 0, 0.2);
  font-weight: bold;
}

.alert-icon {
  position: relative;
  padding-left: 1.5em;
  color: #d63031;
  font-weight: bold;
}
.alert-icon::before {
  content: "⚠️";
  position: absolute;
  left: 0;
}

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

.blink-red {
  color: #e74c3c;
  animation: blink 1s step-start infinite;
}
@keyframes blink {
  50% { opacity: 0.5; }
}

/* 青系スタイル */
.underline-blue {
  border-bottom: 2px dotted #2b72b8;
  display: inline;
  padding-bottom: 2px;
}

.box-blue {
  background: linear-gradient(to right, #e0f3ff, #d0e8f7);
  color: #2b72b8;
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 600;
  display: inline-block;
}

.left-border-blue {
  border-left: 5px solid #2b72b8;
  padding-left: 10px;
  margin: 6px 0;
  color: #2b72b8;
  font-weight: bold;
  background-color: #f0f8ff;
}

.label-blue {
  background-color: #2b72b8;
  color: white;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 0.9em;
  display: inline-block;
}

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


  .body-part {
    font-family: "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
  }
  .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
  }
  .banner {
    margin-left: 10%;
    margin-right: 10%;
  }
.banner-title {
    background: rgba(255, 255, 255, 0.8);
    font-size: 2.0em;
    font-weight: bold;
    text-align: center;
    border-radius: 5px;
    margin-bottom: 1%;
    margin-top: 3%;
  }
  .intro {
    text-align: left;
    font-size: 1.2em;
    margin: 20px 0;
    line-height: 180%;
  }
  .header-design {
    text-align: center;
    padding: 20px 0;
    margin-bottom: 30px;
  }
  .header-design h1 {
    font-size: 2.5em;
    color: #333;
    background: #fff3c4;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 5px;
  }

  .point-item {
    font-size: 1.0em !important;
  }

  .point-item h2 {
    color: #2b72b8;
    font-weight: bold;
    margin-top: 50px;
    padding-left: 3%;
  }

  .point-item p {
    padding-left: 10%;
  }

  .note {
    font-style: italic;
    background-color: #fffbea;
    padding: 15px;
    margin-top: 40px;
    color: #8a6d3b;
    font-size: 1.2em;
  }

  .section-title {
    font-size: 1.5em !important;
    color: #2b72b8;
    font-weight: bold;
    margin-top: 50px;
    padding-left: 10px;
    border-bottom: 1px solid #2b72b8;;
  }
  .sub-title {
    background-color: #2b72b8;
    color: white;
    padding: 15px;
    font-size: 1.5em !important;
    margin-top: 10%;
    font-weight: bold;
  }
  .sub-title-p {
    padding-top: 5%;
    margin-left: 5%;
    font-size: 1.2em;
  }
  .table {
  width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    border-collapse: collapse;
    margin-bottom: 20px;
  }
  .table th, .table td {
    border: 1px solid #ddd;
    padding: 10px;
    line-height: 200%;
  }
  .table th {
    background-color: #2b72b8;
    color: white;
  }

  .table td:first-child,
  .table th:first-child {
    width: 30%;
    white-space: nowrap;
  }

  .small-text {
      font-size: 1.0em;
      margin-top: 5px;
      text-align: right;
    margin-right: 5%;
    }
  .pc-only {
    display: block;
  }

  .sp-only {
    display: none;
  }

  /* スマートフォン用の改行制御 */
  .br-sp {
      display: none; /* PCでは改行しない */
  }



@media (max-width: 768px) {
  .section-title {
    font-size: 1.1em !important;
    padding-left: 0;
  }
  .table {
    width: 98%;
    margin-left: 1%;
    margin-right: 1%;
  }
  .banner-title {
    margin-top: 7.5%;       
    margin-bottom: 5%;
    font-size: 1.5em;
  }
  .banner {
    margin-left: 3%;
    margin-right: 3%;
  }
  .header-design h1 {
    font-size: 1.75em;
  }
  .sub-title {
    font-size: 1.3em;
    padding: 10px;
    margin-top:10%;
  }
  .sub-title-p {
    padding: 10px;
    font-size: 1.2em;
    margin-left: 0;
    margin-top: 5%;
  }
  .small-text {
    margin-right: 1%;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }

  .table th, .table td {
    font-size: 100%;
  }

  .point-item p {
    padding-left: 5%;
    font-size: medium;
  }
}


.contact-container {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 30px; /* Space between the two elements */
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Apply Button */
.apply-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e64a51; /* Red color from image */
    color: #fff;
    font-size: 1.5em; /* Larger text for emphasis */
    font-weight: bold;
    padding: 25px 35px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    min-width: 350px; /* Adjust based on image perception */
    box-sizing: border-box; /* Include padding in width */
}

.apply-button:hover {
    background-color: #cc3a40;
}

.apply-button .arrow-icon {
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #fff; /* White arrow */
    margin-left: 20px;
}

/* Phone Contact Section */
.phone-contact {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.phone-text {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 10px;
}

.phone-number-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.phone-icon-large {
    font-size: 2.5em; /* Large icon size */
    color: #2a64b5; /* Blue color for icon */
}


.phone-icon-large i {
    position: relative;
}

.phone-icon-large::before {
    content: '';
    position: absolute;
    top: -10px; /* Adjust position relative to icon */
    left: -10px;
    width: 40px; /* Size of the loop */
    height: 40px;
    border: 3px solid #2a64b5; /* Blue border for the loop */
    border-radius: 50%;
    border-left-color: transparent;
    border-bottom-color: transparent;
    transform: rotate(-45deg); /* Rotate to match the image's loop direction */
    box-sizing: border-box;
    z-index: -1; /* Place behind the phone icon */
}


.phone-number {
    font-size: 2em; /* Very large phone number */
    font-weight: bold;
    color: #2a64b5; /* Blue color for number */
    text-decoration: none;
    letter-spacing: -1px; /* Adjust for tight spacing */
    white-space: nowrap; /* Prevent line break */
}

.phone-hours {
    font-size: 1em;
    color: #777;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .container {
      padding: 0;
    }
    .contact-container {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .apply-button {
        min-width: unset;
        width: 100%; /* Take more width on smaller screens */
        font-size: 1.8em;
        padding: 20px 30px;
    }

    .phone-number {
        font-size: 2.5em;
    }

    .phone-icon-large {
        font-size: 2em;
    }
    .phone-icon-large::before {
        width: 30px;
        height: 30px;
        top: -5px;
        left: -5px;
    }

    .br-sp { /* スマートフォンで改行 */
        display: block;
    }

}

@media (max-width: 600px) {
    .contact-container {
        padding: 15px;
    }

    .apply-button {
        font-size: 1.5em;
        padding: 15px 20px;
        border-radius: 6px;
    }

    .apply-button .arrow-icon {
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-left: 10px solid #fff;
        margin-left: 15px;
    }

    .phone-text {
        font-size: 1em;
    }

    .phone-number {
        font-size: 2em;
    }

    .phone-icon-large {
        font-size: 1.8em;
    }
    .phone-icon-large::before {
        width: 25px;
        height: 25px;
        top: -3px;
        left: -3px;
    }

    .phone-hours {
        font-size: 0.9em;
    }
}