/* ===============================
   1. BASE
================================= */
html, body {
  margin: 0;
  padding: 0;
  padding-top: 2rem;
  width: 100%;
  height: 100%;
  font-family: 'M PLUS 1p', sans-serif;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

p {
  text-align: left;
  margin: 0.4rem 0;
}

/* ===============================
   2. LAYOUT
================================= */
.container {
  font-size: 1.2rem;
  max-width: 70%;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 0.5rem;
  position: relative;
  text-align: center;
  padding-bottom: 3.5rem;
}

.body-copy {
  margin-bottom: 3rem;
}

.heading-wrapper {
  text-align: left;
}

.anchor-offset {
  position: relative;
  top: -3rem;
  height: 0;
}

.section-box {
  background-color: #f5f5f5;
  border: 0.3rem solid #ccc;
  padding: 1rem;
  margin-top: 1.5rem;
  border-radius: 1rem;
}

.section-box-cta {
  background-color: #fff5f5;
  border-color: #ff6b6b;
}

.section-box-cta .heading-wrapper > p,
.cta-description {
  line-height: 1.7;
}

/* ===============================
   3. TYPOGRAPHY
================================= */
.h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  text-align: center;
}

.tight-p {
  margin: 0.3em 0;
  line-height: 1.3;
  font-size: 1rem;
}

.subtitle {
  font-size: 1.5rem;
  color: #666;
  margin-top: -2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 300;
}

.wrap-url {
  word-break: break-all;
}

.highlight-marker {
  display: inline;
  font-size: 1.2rem;
  color: #0175d8;
  background: linear-gradient(to bottom, transparent 65%, yellow 50%);
  line-height: 1.6;
  font-weight: 700;
  padding: 0 .15em;

  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.highlight-block {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.highlight-block + p {
  margin-top: 0.3em;
}

.highlight-block + .tight-p {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.legend-red {
  display: inline-block;
  color: #d62828;
  background: linear-gradient(to bottom, transparent 50%, #ffd6d6 50%);
  font-weight: 700;
  line-height: 1.5;
}

.section-label-center {
  text-align: center;
}

/* ===============================
   4. TABLE
================================= */
table {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th, td {
  border: 0.0625rem solid #000;
  padding: 0.5rem;
  font-size: 0.95rem;
}

th {
  background-color: #f2f2f2;
}

.plan-table {
  width: 100%;
  table-layout: fixed;
  word-wrap: break-word;
  font-size: 0.9rem;
}

.plan-table td:nth-child(2),
.plan-table th:nth-child(2) {
  background-color: #e6ffe6;
}

.plan-table td:nth-child(3),
.plan-table th:nth-child(3) {
  background-color: #e6f7ff;
}

.plan-table td:nth-child(4),
.plan-table th:nth-child(4) {
  background-color: #fffbe6;
}

.plan-table td:nth-child(5),
.plan-table th:nth-child(5) {
  background-color: #fce4ec;
}

/* ===============================
   5. CARD
================================= */
.schedule-card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.2em;
}

/* 修正 */
.schedule-card {
  background-color: #f9f9ff;
  border: 0.1rem solid #ddd;
  border-radius: 0.375rem;
  padding: 1rem;
  margin: 0;
  box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.05);
  text-align: left;
  flex: 1 1 100%;
  min-width: 0;
  overflow: hidden;
}

.schedule-card h3 {
  margin: 0 0 0.5rem 0;
  color: #0052be;
  font-size: 1.2rem;
}

.schedule-card p {
  margin: 0.2rem 0;
  font-size: 1rem;
}

.schedule-card .arrow {
  font-size: 1.5rem;
  margin: -0.3rem 0;
  color: #888;
}

.schedule-card .result {
  font-weight: 700;
  color: #0175d8;
  font-size: 1.2rem;
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
  margin-top: 1rem;
}

.card-grid .schedule-card {
  flex: 1 1 calc(25% - 1rem);
  min-width: 0;
}

.card-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0.5rem;
}

.schedule-intro {
  text-align: left;
  margin-bottom: 1rem;
}

.schedule-content-two-column {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.schedule-result-text {
  flex: 1;
}

.schedule-image img {
  max-width: 8rem;
}

/* ===============================
   6. CTA
================================= */
.cta-button,
.privacy-button {
  display: inline-block;
  color: #fff;
  font-size: 1.2rem;
  padding: 0.8rem 2rem;
  border-radius: 1.5rem;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease;
}

.cta-button {
  background-color: #ff6b6b;
}

.cta-button:hover {
  background-color: #ff4d4f;
}

.privacy-button {
  background-color: #a2a2a2;
}

.trial-form {
  margin-top: 0.8rem;
  text-align: center;
}

.trial-email {
  width: min(420px, 95%);
  padding: 0.7rem;
  border-radius: 0.7rem;
  border: 1px solid #bbb;
  font-size: 1rem;
  background-color: #fff;
}

.trial-form-button-wrap {
  margin-top: 0.8rem;
}

.trial-submit-button {
  border: 0;
  cursor: pointer;
}

.trial-msg {
  margin-top: 0.8rem;
  text-align: center;
}

.trial-notes {
  margin-top: 0.8rem;
  text-align: left;
}

.security-alert-box {
  margin-top: 1rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid #ffb3b3;
  border-radius: 0.7rem;
  text-align: left;
}

.security-alert-title {
  margin: 0;
  font-weight: 700;
  color: #d94841;
}

.security-alert-text {
  margin-top: 0.5rem;
}

/* ===============================
   7. RECAPTCHA
================================= */
.recaptcha-wrap {
  display: flex;
  justify-content: center;
  margin-top: 0.8rem;
}

.recaptcha-wrap .g-recaptcha {
  transform-origin: center top;
}

/* ===============================
   8. SCROLL / SLIDER
================================= */
.scroll-row {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  height: 3rem;
  background-color: #fff;
  position: relative;
  padding: 0;
  margin: 0;
  line-height: 0;
}

.scroll-track {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-sync 15s linear infinite;
}

.scroll-track.reverse {
  animation-name: scroll-sync-reverse;
}

.phone-icon {
  display: inline-block;
  width: 2rem;
  height: 3rem;
  margin: 0 0.5rem;
}

/* =========================
   password reissue
========================= */

.reissue-page {
  padding-top: 0;
}

.reissue-container {
  max-width: 760px;
}

.reissue-section {
  margin-top: 1.5rem;
}

.reissue-lead {
  text-align: left;
  line-height: 1.8;
  margin: 0 0 0.8rem;
}

.reissue-form {
  margin-top: 1rem;
  text-align: left;
}

.reissue-label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: left;
}

.reissue-input {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #bbb;
  border-radius: 0.7rem;
  font-size: 1rem;
  background: #fff;
  box-sizing: border-box;
}

.reissue-input:focus {
  outline: none;
  border-color: #666;
}

.reissue-button-wrap {
  margin-top: 1rem;
  text-align: center;
}

.reissue-submit {
  border: 0;
  cursor: pointer;
}

.reissue-message {
  margin-top: 1rem;
  line-height: 1.8;
  text-align: left;
}

.reissue-message.success {
  color: #0a7a28;
  font-weight: 700;
}

.reissue-message.error {
  color: #c62828;
  font-weight: 700;
}

.reissue-notes {
  margin-top: 1rem;
  text-align: left;
}

.reissue-notes p {
  margin: 0.35rem 0;
  line-height: 1.7;
}

.reissue-top-space {
  margin-top: 2rem;
}

/* ===============================
   unsubscribe
================================ */

.unsubscribe-page{
  padding-top:0;
}

.unsubscribe-container{
  max-width:760px;
}

.unsubscribe-box{
  margin-top:1.5rem;
}

.unsubscribe-text{
  text-align:left;
  line-height:1.8;
  margin-bottom:1rem;
}

.unsubscribe-error{
  color:#c62828;
  font-weight:700;
  margin-bottom:1rem;
}

.unsubscribe-form{
  margin-top:1.5rem;
}

.unsubscribe-buttons{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
}

.unsubscribe-yes{
  background:#c62828;
}

.unsubscribe-no{
  background:#666;
}

@media (max-width:768px){

  .unsubscribe-container{
    max-width:94%;
  }

}

@media (max-width: 768px) {
  .reissue-container {
    max-width: 94%;
  }

  .reissue-input {
    font-size: 16px;
  }
}

@keyframes scroll-sync {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes scroll-sync-reverse {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding-bottom: 0.5rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 0.5rem;
  padding: 1rem;
}

.slide img {
  width: 100%;
  border-radius: 0.5rem;
}

.slide p {
  color: blue;
  text-align: center;
}

.yaji-text {
  color: #898989;
  text-align: center;
  margin-bottom: 0.1rem;
  font-weight: 700;
}

.info-list {
  text-align: left;
}

.info-list p {
  margin: 0.3rem 0;
}

h1.service-title svg .service-title-text {
  font-size: 2.5rem;
}

/* ===============================
   9. RESPONSIVE
================================= */
@media (max-width: 768px) {
  .container {
    max-width: 90%;
  }

  .section-box {
    padding: 0.7rem;
    overflow-x: hidden;
  }

  .schedule-card {
    flex: 1 1 100%;
    padding: 0.7rem;
  }

  .schedule-content-two-column {
    flex-direction: column;
    align-items: flex-start;
  }

  .schedule-image img {
    max-width: 6rem;
  }

  .card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .card-grid .schedule-card {
    width: 100%;
  }

  .plan-table th,
  .plan-table td {
    font-size: 0.9rem;
    word-break: break-word;
  }

  h1.service-title svg .service-title-text {
    font-size: 3.5rem;
  }
}

.update-accordion {
  display: none;
}

.accordion-title {
  cursor: pointer;
}
@media (max-width: 480px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .trial-email {
    width: 100%;
  }

  .cta-button,
  .privacy-button {
    width: 100%;
    max-width: 100%;
    font-size: 1rem;
    padding: 0.85rem 1rem;
  }

  .recaptcha-wrap .g-recaptcha {
    transform: scale(0.9);
  }

  h1.service-title svg .service-title-text {
    font-size: 3.8rem;
  }
}

