@charset "UTF-8";

body {
  display: flex;
  flex-direction: column;
}

main {
  background: var(--background-blue);
  padding: 80px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex: 1;
  justify-content: flex-start;
}

main a {
  color: var(--primary);
  font-weight: bold;
}

h1 {
  font-size: 28px;
  word-break: keep-all;
}

h2 {
  font-size: 20px;
  margin-bottom: 24px;
  text-align: center;
  line-height: 1.3;
}

@media (max-width: 767px) {
  main {
    padding: 48px 24px;
    gap: 24px;
  }

  h1 {
    font-size: 24px;
    text-align: center;
    line-height: 1.3;
  }

  .white-cnt h2 {
    text-align: left;
    line-height: 150%;
    margin-bottom: 0;
  }
}

/* 各プラン
-------------------------------------*/
.plans {
  width: 100%;
  max-width: 1024px;
  display: flex;
  gap: 32px;
  justify-content: space-around;
  position: relative;
}

.plans .white-cnt {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  box-shadow: 0px 0px 32px 0px rgba(0, 148, 255, 0.08);
  border: var(--white) 3px solid;
  color: var(--black);
  transition: 0.3s;
  height: 100%;
}

.plans .white-cnt img {
  margin-bottom: 32px;
  width: 90%;
  max-width: 200px;
  transition: 0.3s;
}

.plans .white-cnt .button {
  width: 100%;
  padding: 12px 40px;
  max-width: 200px;
  min-width: auto;
  position: relative;
  border-radius: 200px;
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  color: var(--white);
  background: var(--primary);
  border: 2px solid var(--primary);
  line-height: 1;
  transition: 0.3s;
}

.plans .white-cnt .button::after {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 16px;
  margin: auto;
  font-size: 1.6em;
  font-weight: normal;
  height: -moz-fit-content;
  height: fit-content;
  transition: 0.3s;
  color: var(--white);
  content: "\f105";
  font-family: "FontAwesome";
}

@media (hover: hover) {
  section .white-cnt:hover, section .white-cnt:focus {
    background: #F8FCFF;
    border: var(--primary) 3px solid;
    border-radius: 16px;
  }

  section .white-cnt:hover .button, section .white-cnt:hover .tertiary-button, section .white-cnt:focus .button, section .white-cnt:focus .tertiary-button {
    opacity: 0.5;
  }
}

.plans .new, .plans .add, .plans .change {
  flex: 1;
}

.plans .new .white-cnt img {
  width: 170px;
}

.plans .change>.white-cnt h2 {
  margin-bottom: 16px;
}

.plans .change>.white-cnt img {
  margin-bottom: 24px;
}

.plans .change>.white-cnt .text {
  font-size: 12px;
  text-align: center;
  margin-top: 16px;
}

.plans .change>.white-cnt .text br {
  display: none;
}

.plans .change .white-cnt .tertiary-button {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transition: 0.3s;
}

.plans .change .white-cnt .tertiary-button::after {
  font-family: "FontAwesome";
  content: "\f105";
  font-size: 1.7em;
  transform: rotate(90deg);
  display: block;
  transition: 0.3s;
}

.plans .change .white-cnt .tertiary-button.open::after {
  transform: rotate(-90deg);
}

.plans .change>button {
  width: 100%;
}

@media (max-width: 820px) {
  .plans .change>.white-cnt .text br {
    display: block;
  }
}

@media (max-width: 820px) {
  .plans {
    gap: 24px;
  }

  .plans .white-cnt {
    padding: 32px 16px 24px 16px;
  }
}

@media (max-width: 767px) {
  .plans {
    flex-direction: column;
    max-width: 480px;
  }

  .plans .white-cnt {
    padding: 24px;
    flex-direction: row;
    justify-content: space-between;
    height: auto;
    border-radius: 8px;
    position: relative;
    border: none;
  }

  .plans .white-cnt .button {
    display: none;
  }

  .plans .white-cnt h2 {
    color: var(--primary);
  }

  section .white-cnt:hover, section .white-cnt:focus {
    background: var(--white);
    border: none;
    border-radius: 8px;
  }

  section .white-cnt img {
    display: none;
  }

  .plans .white-cnt::after {
    content: "\f105";
    font-family: "FontAwesome";
    position: absolute;
    right: 24px;
    bottom: 0;
    top: 0;
    margin: auto;
    height: 46px;
    font-size: 28px;
    color: var(--primary);
    font-weight: bold;
  }

  .plans .add .white-cnt {
    padding: 38px 24px;
  }

  .plans .change {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0px 0px 32px 0px rgba(0, 148, 255, 0.08);
  }

  .plans .change>.white-cnt {
    position: relative;
    z-index: 1;
    box-shadow: none;
    flex-direction: column;
    align-items: start;
    padding-right: 56px;
  }

  .plans .change>.white-cnt h2 {
    margin-bottom: 0;
  }

  .plans .change>.white-cnt .text {
    text-align: left;
    line-height: 1.2;
    margin-top: 8px;
    font-weight: normal;
  }

  .plans .change .white-cnt .tertiary-button {
    padding: 0 4px;
  }
}

/* アコーディオン
-------------------------------------*/
.change #accordion-cnt-change {
  display: none;
  width: 100%;
  max-width: 1024px;
  position: absolute;
  top: calc(100% + 32px);
  left: 0;
}

.change #accordion-cnt-change .white-cnt {
  height: auto;
  width: 100%;
  padding: 40px 64px;
  gap: 40px;
}

.change #accordion-cnt-change h3 {
  font-size: 24px;
}

.change #accordion-cnt-change .statuses {
  width: 100%;
  display: flex;
  justify-content: space-around;
  gap: 32px;
  flex-wrap: wrap;
  row-gap: 8px;
}

.change #accordion-cnt-change .status {
  flex: 1;
  display: flex;
  padding: 24px 32px;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  align-self: stretch;
  border-radius: 8px;
  background: #EBFACC;
  text-align: center;
  line-height: 2;
  color: #3E8C00;
  position: relative;
}

.change #accordion-cnt-change .possible ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.change #accordion-cnt-change .preparation {
  background: var(--background-gray);
  color: #666;
}

.change #accordion-cnt-change h4 {
  font-size: 18px;
}

.change #accordion-cnt-change img {
  position: absolute;
  top: 10px;
  right: 15px;
  width: 50px;
  height: auto;
}

.change #accordion-cnt-change .annotation {
  font-size: 10px;
  width: 100%;
}

@media (max-width: 767px) {
  .change #accordion-cnt-change {
    position: relative;
    top: 0;
    left: 0;
  }

  .change #accordion-cnt-change .white-cnt {
    padding: 0 24px 24px;
    box-shadow: none;
    flex-direction: column;
    gap: 24px;
    border-radius: 0;
    background: none;
  }

  .change #accordion-cnt-change h3 {
    display: none;
  }

  .change #accordion-cnt-change .statuses {
    flex-direction: column;
    gap: 0;
    font-size: 14px;
  }

  .change #accordion-cnt-change .status {
    border-radius: 0;
    align-items: start;
    text-align: left;
    padding: 18px 16px 12px;
    gap: 10px;
  }

  .change #accordion-cnt-change .possible {
    border-top: 1px solid var(--Success-Success_600, #7CD700);
    border-bottom: 1px solid var(--Success-Success_600, #7CD700);
    background: var(--Success-Success_100, #EBFACC);
  }

  .change #accordion-cnt-change h4 {
    font-size: 16px;
  }

  .change #accordion-cnt-change img {
    display: none;
  }

  .change #accordion-cnt-change ul {
    list-style: disc;
    padding-left: 20px;
  }

  .change #accordion-cnt-change .annotation {
    margin-top: 8px;
  }

  .change #accordion-cnt-change .cvButton a {
    max-width: 200px;
  }
}

/* メンテナンス表示
-------------------------------------*/
.maintenance.campaign {
  background: #00A6E5;
  border: none;
  padding: 0;
}

.maintenance.campaign a {
  padding: 12px;
  color: var(--white);
  width: 100%;
  display: block;
}

@media (hover: hover) {
  .maintenance.campaign a:hover {
    opacity: 0.5;
  }
}

.maintenance.campaign b br {
  display: none;
}

.maintenance.campaign b span {
  color: #FFF166;
}

.maintenance.campaign .button {
  width: 160px;
  display: block;
  font-weight: bold;
  background: var(--white);
  color: #00A6E5;
  border-radius: 50px;
  display: flex;
  padding: 6px 24px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  line-height: 1;
}

.maintenance.campaign .button::after {
  font-size: 1.6em;
  transition: 0.3s;
  content: "\f105";
  font-family: "FontAwesome";
}

@media (max-width: 767px) {
  .maintenance.campaign div {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .maintenance.campaign div b br {
    display: block;
  }

  .maintenance.campaign .button {
    width: auto;
  }
}

@media (max-width: 767px) and (max-width: 480px) {
  .maintenance {
    padding: 16px 24px;
    border-top: 2px solid #FF6043;
    border-bottom: 2px solid #FF6043;
  }

  .maintenance div {
    flex-direction: column;
    gap: 12px;
    font-size: 16px;
    line-height: 1.5;
  }

  .maintenance h2 {
    font-size: 16px;
  }

  .maintenance.campaign {
    gap: 8px;
  }

  .maintenance.campaign .button {
    font-size: 14px;
  }
}

/* 注意書き
-------------------------------------*/
.accordion_container>div ul {
  padding: 24px 0 24px 16px;
  list-style: disc;
  text-align: justify;
}

.accordion_container>div ul b {
  color: var(--secondary);
}

@container (max-width: 500px) {
  .accordion_container>div ul {
    font-size: 14px;
    padding: 20px 4px 20px 16px;
  }
}

/* header, footer 一部非表示
-------------------------------------*/
#footer-navs, footer .border, .skip-link, #footer-navs-sp {
  display: none !important;
}

#footer {
  padding-bottom: 0 !important;
  background: var(--background-blue) !important;
}
