.insurance__root {
  padding: 120px 36px 120px;
  background: #fff;
  color: #000;
  font-family: 'Yu Gothic Medium','Yu Gothic','YuGothic','游ゴシック体','Noto Sans JP',sans-serif;
}

.insurance__inner {
  max-width: 1160px;
  margin: 0 auto;
}

.insurance__intro,
.insurance__optional-box,
.insurance__shopping {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s cubic-bezier(.22,1,.36,1),transform 1s cubic-bezier(.22,1,.36,1);
}

.insurance__eyebrow {
  font-family: 'Roboto',sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .24em;
  color: #9c8567;
}

.insurance__title {
  margin: 32px 0 0;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.67;
  letter-spacing: .1em;
}

.insurance__title-highlight {
  color: #9c8567;
}

.insurance__description {
  max-width: 780px;
  margin: 24px 0 0;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: .08em;
  color: #555;
}

.insurance__optional-box,
.insurance__shopping-box {
  border: 2px solid #9c8567;
  border-radius: 20px;
}

.insurance__optional-box {
  margin-top: 40px;
  padding: 32px 38px 24px;
}

.insurance__optional {
  text-align: center;
}

.insurance__optional-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .06em;
}

.insurance__selector {
  margin-top: 8px;
}

.insurance__preset-caption {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .06em;
  color: #555;
}

.insurance__presets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.insurance__preset {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  min-height: 70px;
  padding: 12px 20px;
  border: 1px solid #dedede;
  border-radius: 9px;
  background: #fff;
  color: #555;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.insurance__preset[aria-pressed="true"] {
  border-color: #9c8567;
  box-shadow: inset 0 0 0 1px #9c8567;
}

.insurance__preset-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .06em;
}

.insurance__preset-english {
  font-family: 'Roboto',sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .2em;
  color: #9c8567;
}

.insurance__plans {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.insurance__plan {
  grid-column: span 2;
  position: relative;
  display: flex;
  align-items: flex-end;
  min-width: 0;
  min-height: 134px;
  aspect-ratio: 1.625;
  overflow: hidden;
  padding: 24px;
  border: 0;
  border-radius: 9px;
  background: #000;
  color: #fff;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  opacity: .6;
  transition: opacity .3s ease;
}

.insurance__plan:nth-child(5) {
  grid-column: 2 / span 2;
}

.insurance__plan[aria-pressed="true"] {
  opacity: 1;
}

.insurance__plan-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.insurance__plan-check {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid #c8b394;
  border-radius: 50%;
}

.insurance__plan-check img {
  display: none;
}

.insurance__plan[aria-pressed="true"] .insurance__plan-check {
  border-color: #9c8567;
  background: #9c8567;
}

.insurance__plan[aria-pressed="true"] .insurance__plan-check img {
  display: block;
}

.insurance__plan-content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.insurance__plan-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
}

.insurance__plan-description {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .04em;
}

.insurance__preset:focus-visible,
.insurance__plan:focus-visible,
.insurance__details-button:focus-visible {
  outline: 2px solid #9c8567;
  outline-offset: 3px;
}

.insurance__footer {
  margin-top: 24px;
}

.insurance__details-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 312px;
  max-width: 100%;
  min-height: 48px;
  margin: 0 auto;
  padding: 12px 20px;
  border-radius: 28px;
  background: #9c8567;
  box-shadow: 0 4px 10px rgba(0,0,0,.12);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: .08em;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease;
}

@media (any-hover: hover) {
  .insurance__details-button:hover {
    background-color: #877155;
  }
}

.insurance__footer-note {
  max-width: 830px;
  margin: 24px auto 0;
  padding-left: 14px;
  text-indent: -14px;
  color: #555;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: .04em;
}

.insurance__footer-note + .insurance__footer-note {
  margin-top: 4px;
}

.insurance__defaults {
  text-align: center;
}

.insurance__defaults-title {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .08em;
}

.insurance__defaults-description {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: .06em;
}

.insurance__defaults-plans {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr);
  align-items: center;
  column-gap: 32px;
  row-gap: 8px;
  margin-top: 28px;
}

.insurance__default-plan--travel {
  grid-column: 1;
  grid-row: 1;
}

.insurance__travel-note {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  padding-left: 1.4em;
  color: #555;
  font-size: 11px;
  line-height: 1.7;
  text-align: left;
  text-indent: -1.4em;
}

.insurance__defaults-plus {
  grid-column: 2;
  grid-row: 1;
}

.insurance__default-plan--phone {
  grid-column: 3;
  grid-row: 1;
}

.insurance__default-plan {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  aspect-ratio: 490 / 215;
  overflow: hidden;
  border-radius: 9px;
  background-position: center;
  background-size: cover;
  color: #fff;
}

.insurance__default-plan--travel {
  background-image: url('../../images/insurance-default-1.webp');
}

.insurance__default-plan--phone {
  background-image: url('../../images/insurance-default-2.webp');
}

.insurance__default-label {
  position: absolute;
  top: 24px;
  left: 32px;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .06em;
}

.insurance__default-content {
  position: relative;
  width: 100%;
  padding: 48px 24px 16px;
  font-weight: 700;
  letter-spacing: .06em;
  text-align: center;
}

.insurance__default-content p {
  margin: 0;
}

.insurance__default-amount {
  font-size: 22px;
  line-height: 1;
}

.insurance__default-amount-number {
  margin: 0 4px;
  font-family: 'Roboto',sans-serif;
  font-size: 52px;
}

.insurance__default-content .insurance__default-description {
  max-width: 420px;
  margin: 16px auto 0;
  font-size: 12px;
  line-height: 1.55;
}

.insurance__default-phone-amount {
  font-size: 16px;
  line-height: 1.2;
}

.insurance__default-phone-number {
  margin: 0 4px;
  font-family: 'Roboto',sans-serif;
  font-size: 40px;
}

.insurance__default-content .insurance__default-phone-amount--replacement {
  margin-top: 12px;
}

.insurance__default-phone-label {
  display: inline-block;
  text-align: left;
}

.insurance__default-note {
  font-size: 11px;
  line-height: 1.5;
}

.insurance__defaults-plus {
  position: relative;
  width: 36px;
  height: 36px;
}

.insurance__defaults-plus::before,
.insurance__defaults-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #000;
  transform: translate(-50%,-50%);
}

.insurance__defaults-plus::before {
  width: 34px;
  height: 2px;
}

.insurance__defaults-plus::after {
  width: 2px;
  height: 34px;
}

.insurance__defaults-change {
  margin: 20px 0 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .06em;
}

.insurance__defaults-chevron {
  display: block;
  width: 260px;
  max-width: 100%;
  height: auto;
  margin: 2px auto 24px;
  color: #d9c79e;
}

.insurance__shopping-plus {
  position: relative;
  display: block;
  width: 40px;
  height: 40px;
  margin: 16px auto;
  color: #9c8567;
}

.insurance__shopping-plus::before,
.insurance__shopping-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transform: translate(-50%,-50%);
}

.insurance__shopping-plus::before {
  width: 40px;
  height: 2px;
}

.insurance__shopping-plus::after {
  width: 2px;
  height: 40px;
}

.insurance__shopping-box {
  padding: 32px 24px 24px;
  text-align: center;
}

.insurance__shopping-link {
  margin-top: 24px;
}

.insurance__shopping-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .06em;
}

.insurance__shopping-amount {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
}

.insurance__shopping-label {
  padding: 4px 12px;
  border: 1px solid #9c8567;
  color: #9c8567;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .08em;
  white-space: nowrap;
}

.insurance__shopping-value {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .04em;
  white-space: nowrap;
}

.insurance__shopping-number {
  font-family: 'Roboto',sans-serif;
}

.insurance__shopping-description {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .06em;
}

.insurance__shopping-note {
  margin: 4px 0 0;
  color: #777;
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: .04em;
}

.insurance__optional-sp-break,
.insurance__default-sp-break,
.insurance__shopping-sp-break {
  display: none;
}

@media (max-width: 767px) {
  .insurance__root {
    padding: 120px 20px 110px;
  }

  .insurance__title {
    font-size: 28px;
    line-height: 1.6;
    letter-spacing: .08em;
  }

  .insurance__pc-break {
    display: none;
  }

  .insurance__optional-box {
    margin-top: 20px;
    padding: 20px 18px 24px;
  }

  .insurance__optional-title {
    font-size: 20px;
  }

  .insurance__selector {
    margin-top: 20px;
  }

  .insurance__presets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
  }

  .insurance__preset {
    min-height: 60px;
    padding: 12px 10px;
  }

  .insurance__preset-title {
    font-size: 11px;
  }

  .insurance__preset-english {
    font-size: 9px;
    letter-spacing: .18em;
  }

  .insurance__plans {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
  }

  .insurance__plan {
    width: 100%;
    min-height: 124px;
    aspect-ratio: 1.37;
    padding: 32px 10px 10px;
  }

  .insurance__plan:nth-child(5) {
    grid-column: span 2;
  }

  .insurance__plan:last-child {
    grid-column: 2 / span 2;
  }

  .insurance__plan-title {
    font-size: 13px;
    line-height: 1.4;
  }

  .insurance__plan-description {
    font-size: 10px;
    line-height: 1.6;
  }

  .insurance__plan-content {
    gap: 4px;
  }

  .insurance__details-button {
    min-height: 56px;
    padding: 16px 20px;
  }

  .insurance__defaults-title {
    font-size: 24px;
  }

  .insurance__defaults-description {
    text-align: left;
  }

  .insurance__defaults-plans {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 16px;
    margin-top: 24px;
  }

  .insurance__default-plan--travel,
  .insurance__default-plan--phone,
  .insurance__travel-note,
  .insurance__defaults-plus {
    grid-column: 1;
    grid-row: auto;
  }

  .insurance__travel-note {
    width: 100%;
  }

  .insurance__default-plan {
    width: 100%;
    aspect-ratio: auto;
  }

  .insurance__default-plan--travel {
    background-image: url('../../images/insurance-default-1-sp.webp');
  }

  .insurance__default-plan--phone {
    background-image: url('../../images/insurance-default-2-sp.webp');
  }

  .insurance__default-label {
    top: 16px;
    left: 24px;
  }

  .insurance__default-amount-number {
    font-size: 48px;
  }

  .insurance__default-content {
    padding: 44px 20px 12px;
  }

  .insurance__default-content .insurance__default-description {
    margin-top: 8px;
    font-size: 10px;
    text-align: left;
  }

  .insurance__default-phone-amount {
    font-size: 12px;
  }

  .insurance__default-phone-number {
    font-size: 36px;
  }

  .insurance__default-content .insurance__default-phone-amount--replacement {
    margin-top: 4px;
  }

  .insurance__default-note {
    font-size: 10px;
  }

  .insurance__defaults-change {
    margin-top: 24px;
  }

  .insurance__defaults-chevron {
    width: 208px;
    margin-top: 8px;
    margin-bottom: 28px;
  }

  .insurance__shopping-box {
    padding: 20px 18px 24px;
  }

  .insurance__shopping-title {
    font-size: 20px;
  }

  .insurance__shopping-value {
    font-size: clamp(20px, 6.2vw, 24px);
  }

  .insurance__shopping-description {
    margin-top: 20px;
    font-size: 14px;
    text-align: left;
  }

  .insurance__shopping-note {
    margin-top: 8px;
    padding-left: 14px;
    text-align: left;
    text-indent: -14px;
  }

  .insurance__optional-sp-break,
  .insurance__default-sp-break,
  .insurance__shopping-sp-break {
    display: inline;
  }

  .insurance__optional-box,
  .insurance__shopping-box {
    border-radius: 16px;
  }
}
