@charset "utf-8";

/*
  Parts
 */

.layout_main {
  font-size: 14px;
}

.layout_main p {
  margin-bottom: 13px;
  line-height: 1.7;
}

.layout_main p:last-child {
  margin-bottom: 0;
}

.layout_main .in_area {
  width: 800px;
}

.section {
  padding: 48px 0;
}

@media screen and (max-width: 960px) {
  .layout_main,
  .layout_main .in_area {
    width: auto;
    overflow: hidden;
  }

  .cb {
    width: auto;
  }
}

@media screen and (max-width: 767px) {
  .layout_main {
    font-size: 16px;
    overflow: hidden;
  }

  .layout_main p {
    font-size: 16px;
  }
}

/* HEADLINE */

.headline {
  background: none;
  color: #000;
  font-size: 20px;
  margin-bottom: 35px;
  text-align: center;
}

.headline .sub {
  display: block;
  font-size: 17px;
  margin-bottom: 10px;
}

.headline + .lead {
  text-align: center;
}

@media screen and (max-width: 767px) {
  .headline {
    padding: 0 16px;
  }

  .headline + .lead {
    padding: 0 16px;
  }
}

/* LINK */

.link[target="_blank"]::after {
  content: "\f08e";
  font-family: FontAwesome;
  margin: 0 6px;
}

.link[target="_blank"].no-icon::after {
  display: none;
}

.link, .link:link, .link:visited, .link:active {
  color: #002bab;
  outline: none;
}

/* Note List */

.notes-list {
  color: #5c5c5c;
  font-size: 13px;
}

.notes-list .list-item {
  line-height: 1.7;
  margin-left: 1.3rem;
  text-indent: -1.3em;
}

.notes-list .list-item::before {
  content: "※ ";
}

/* Table */

.table {
  width: 100%;
}

.thead {
  background-color: #f5f5f5;
  padding: 18px;
  box-sizing: border-box;
  font-size: 13px;
  line-height: 1.7;
}

.table .thead.generation {
  background-color: #999;
  width: 100%;
  padding: 0.5rem 0;
}

.table .thead.generation .text {
  color: #fff;
  font-size: 1rem;
}

.border-thead {
  border: 1px solid #bbb;
}

.border-note-thead {
  background-color: #fafbfc;
  border: none;
}

.table-head,
.table-description {
  box-sizing: border-box;
  font-size: 13px;
  line-height: 1.7;
}

.table-head {
  font-weight: normal;
  background-color: #fafbfc;
  padding: 18px;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
  width: 177px;
}

.table-head,
.small-head {
  width: 120px;
  vertical-align: middle;
}

.table-description {
  background-color: #fff;
  padding: 16px 10px;
}

.table-description .strong{
  color: #e01515;
  font-size: 12px;
  font-weight: normal;
}

/* --------------------
Form_button
-------------------- */
.form-button {
  display: block;
  width: 280px;
  margin: 40px auto;
  padding: 8px 20px;
  border: 1px solid #f3742d;
  border-radius: 4px;
  background-color: #f3742d;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

/* Strong */

.em {
  font-style: normal;
  font-weight: bold;
}

/*
  Message
 */

.message-block {
  align-items: center;
  background-color: #fff;
  display: flex;
  height: 60px;
  justify-content: center;
}

.message-block .message {
  color: #232323;
  font-size: 20px;
  font-weight: normal;
}

@media screen and (max-width: 960px) {
  .message-block .message {
    margin: 0;
  }
}

@media screen and (max-width: 767px) {
  .message-block .message {
    margin: 0;
    padding: 16px 8px;
  }
}

/*
  メインビジュアル
 */

.main-img-block {
  background: url(../images/hero.png) no-repeat top center / cover;
  box-sizing: border-box;
  height: 250px;
  text-align: center;
  padding: 48px 0;
  align-content: center;
}

.main-img-message {
  color: #fff;
  font-size: 28px;
  line-height: 1.7em;
}

.main-img-link {
  background: url(https://server.sakura.ad.jp/migration-campaign/images/icon_arrow-right.svg) no-repeat right 7% center;
  border: 1px solid #fff;
  display: inline-block;
  font-size: 16px;
  margin-top: 20px;
  padding: 5px 55px;
}

.main-img-link:link,
.main-img-link:active,
.main-img-link:visited {
  background-color: rgba(0, 0, 0, 0.15);
  color: #fff;
  text-decoration: none;
}

.main-img-link:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 767px) {
  .main-img-block {
    height: auto;
  }

  .main-img-link {
    margin: 0 16px;
  }
}

/* lead */
.main-img-block + .lead {
  margin: 40px auto;
}

@media screen and (max-width: 960px) {
  .main-img-block + .lead {
    display: block;
    padding: 0 16px;
    width: auto;
  }
}

/* summary */

.summary {
  margin-bottom: 48px;
}

.summary-head {
  border-left: 10px solid #002bab;
  font-size: 14px;
  margin-bottom: 10px;
  padding-left: 10px;
}

.summary-body {
  line-height: 1.7;
  margin-bottom: 32px;
}

.summary-body.option {
  border: 1px solid #bbb;
  padding: 16px 20px;
}

.end-plan-head,
.end-plan-description {
  border: 1px solid #bbb;
}

.end-plan-head {
  background-color: #f2f2f2;
}

.end-plan-description-head {
  margin-bottom: 4px;
}

.end-plan-description-head:nth-of-type(n+2) {
  margin-top: 13px;
}

@media screen and (max-width: 960px) {
  .summary-body.end-plan {
    overflow-x: auto;
  }

  .summary-body .table {
    width: 120%;
  }

  .summary {
    width: auto;
    padding: 0 16px;
  }
}

/*
注意事項
 */

.caution-area {
  background-color: #f2f2f2;
  padding-top: 28px;
  position: relative;
}

.caution-area .headline {
  color: #e01515;
}

.caution-area .strong {
  color: #e01515;
  font-weight: normal;
}

.caution-area .notes {
  font-size: 12px;
  margin-top: 0;
}

.caution-mark {
  position: absolute;
  left: 0;
  right: 0;
  top: -15px;
  text-align: center;
}

@media screen and (max-width: 960px) {
  .caution-area {
    width: auto;
  }

  .caution-area .headline {
    font-size: 24px;
  }

  .caution-area p {
    padding: 0 16px;
  }
}

/*
乗り換えキャンペーン
 */

.transfer-campain-area .headline {
  font-size: 23px;
}

.transfer-campain-period {
  background-color: #ffd800;
  display: inline-block;
  font-weight: 600;
  margin-top: 16px;
  padding: 6px 12px;
}

.transfer-campain-period .sp {
  display: none;
}

@media screen and (max-width: 767px) {
  .transfer-campain-area {
    padding: 32px 16px;
  }

  .transfer-campain-period .sp {
    display: block;
  }
}

/*
乗り換え
*/

.transfer-tablist {
  display: flex;
  justify-content: space-between;
}

.transfer-tab {
  flex-basis: 395px;
}

.transfer-tab .tab-button {
  background-color: #b5b5b5;
  border: none;
  color: #fff;
  font-size: 17px;
  outline: none;
  padding: 10px;
  position: relative;
  width: 100%;
}

.transfer-tab .tab-button .service {
  display: inline-block;
  font-size: 18px;
  margin-right: 0.3em;
}

.transfer-tab .tab-button[aria-selected="true"]::after {
  border-top: 15px solid;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  bottom: -15px;
  content: "";
  left: 50%;
  margin-left: -8px;
  position: absolute;
}

.transfer-tab.ds .tab-button:hover,
.transfer-tab.ds .tab-button[aria-selected="true"] {
  background-color: #002bab;
}

.transfer-tab.ds .tab-button[aria-selected="true"]::after {
  border-top-color: #002bab;
}

.transfer-tab.cloud .tab-button:hover,
.transfer-tab.cloud .tab-button[aria-selected="true"] {
  background-color: #063;
}

.transfer-tab.cloud .tab-button[aria-selected="true"]::after {
  border-top-color: #063;
}

.transfer-block {
  padding: 70px 0 40px;
}

.list-area {
  width: 800px;
  margin: 0 auto;
}

@media screen and (max-width: 767px) {
  .transfer-block {
    width: auto;
  }

  .transfer-block .in_area {
    overflow-x: scroll;
    width: auto;
  }

  .transfer-block .in_area .table {
    width: 200%;
  }

  .transfer-block .list-area,
  .list-area {
    width: auto;
    padding: 0 16px;
  }
}

.transfer-block[aria-expanded="false"] {
  display: none;
}

.transfer-spec {
  display: flex;
  justify-content: space-between;
}

.transfer-spec-box {
  display: flex;
  flex-direction: column;
  flex-basis: 32%;
  text-align: center;
}

.transfer-spec-headline {
  font-size: 18px;
  margin-bottom: 10px;
}

.transfer-spec-icon {
  margin-bottom: 20px;
  order: -1;
  text-align: center;
}

.transfer-details-link {
  font-size: 14px;
  font-weight: 500;
  margin: 30px 0 35px;
  text-align: center;
}

/* アコーディオンメニュのtable  */
.model-coupon {
  margin-bottom: 0;
}

.lead.center.model-coupon-text {
  margin-bottom: 16px;
  display: block;
}

.transfer-table {
  border-collapse: separate;
  border-spacing: 1px;
  margin-bottom: 24px;
}

.transfer-table tr {
  width: 100%;
}

.transfer-table .js-menu__item__link {
  cursor: pointer;
  margin-bottom: 12px;
  position: relative;
  width: auto;
  margin: 0 auto;
  display: block;
  transition: all 0.2s;
  background-color: #999;
  color: #fff;
  border-radius: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.bnt-area-tr {
  width: 100%;
  display: inline-table;
}

.transfer-table .js-menu__item__link .btn {
  width: 100%;
  text-align: center;
  vertical-align: middle;
}

.transfer-table .js-menu__item__link .text {
  font-size: 16px;
  position: relative;
}

.transfer-table .js-menu__item__link .text::after {
  content: "▼";
  margin-left: 8px;
  font-size: 8px;
  position: relative;
  bottom: 3px;
}

.transfer-table .js-menu__item__link.on .text::after {
  content: "▲";
  margin-left: 8px;
  font-size: 8px;
  position: relative;
  bottom: 3px;
}

.transfer-table .js-menu__item__link:hover {
  background-color: #333;
  color: #fff;
}

/* フェードインアニメーション */
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


.transfer-table .summary-table {
  display: none;
  opacity: 0;
  animation: fade-in 0.5s ease-in-out;
}

.transfer-table .summary-table::before {
  content: "";
  display: block;
  min-height: 24px;
  background-color: transparent;
}

.transfer-table .summary-table .thead {
  width: 25%;
}

.transfer-table .js-menu__item__link.on.active + .summary-table {
  display: block;
  opacity: 1;
}


.transfer-area .notes-list {
  margin-top: 28px;
}

.transfer-ds {
  background-color: #eef0f6;
}

.transfer-ds .in_area .ul-list li {
  position: relative;
  margin-bottom: 1em;
}

.transfer-ds .in_area .ul-list li::before {
  content: "・";
  position: absolute;
  left: -1em;
}

.transfer-cloud {
  background-color: #ecf3f0;
}

.transfer-cloud .transfer-details-link .link,
.transfer-cloud .transfer-details-link .link:link,
.transfer-cloud .transfer-details-link .link:visited,
.transfer-cloud .transfer-details-link .link:active {
  color: #063;
}

@media screen and (max-width: 960px) {
  .transfer-area .in_area,
  .transfer-area .list-area {
    padding: 0 16px;
  }
}

@media screen and (max-width: 769px) {
  .transfer-table .js-menu__item__link .thead {
    text-align: left;
    border-radius: 0;
  }

  .transfer-table .summary {
    margin: 0;
    padding: 0;
  }
}

/*
  Schedule
 */

.schedule-img {
  text-align: center;
}

.schedule-img img {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 960px) {
  .schedule-img {
    padding: 0 16px;
  }
}

/*
パートナー
 */

.partner-area {
  background-color: #f2f2f2;
}

.partner-logos {
  display: flex;
  justify-content: space-between;
  margin: 48px 0 22px;
  flex-wrap: wrap;
  gap: 32px 16px;
}

.partner-logo {
  color: #002bab;
  font-size: 16px;
  font-weight: bold;
  width: calc(50% - 16px);
}

.partner-logo .partner-name {
  color: #000;
  display: block;
  font-size: 18px;
  font-weight: normal;
  margin-bottom: 7px;
  text-align: center;
}

.partner-link .partner-logo-img {
  border-bottom: 1px solid #002bab;
  margin-bottom: 7px;
  width: 100%;
  transition: all 0.4s;
}

.partner-link:hover .partner-logo-img {
  opacity: 0.7;
}

@media screen and (max-width: 960px) {
  .partner-area {
    padding: 40px 16px;
  }
}

@media screen and (max-width: 767px) {
  .partner-logos {
    flex-direction: column;
    padding: 0 16px;
  }

  .partner-logo {
    width: auto;
  }
}

/*
よくある質問・お問い合わせ
 */

.contact-area {
  background-color: #002bab;
  color: #fff;
  display: flex;
  justify-content: center;
  padding: 45px 0;
  text-align: center;
  flex-direction: column;
}

.contact-area .faq {
  margin-right: 40px;
}

.contact-area .headline {
  margin-bottom: 16px;
}

.contact-area .headline .sub {
  color: #fff;
  margin-bottom: 0;
}

.contact-area .lead {
  margin-bottom: 16px;
}

.contact-area .contact {
  width: 25%;
  margin: 0 auto;
}

.contact-area .button,
.contact-area .button:link,
.contact-area .button:visited,
.contact-area .button:active {
  align-items: center;
  border: 1px solid #fff;
  border-radius: 2px;
  box-sizing: border-box;
  display: flex;
  font-size: 15px;
  height: 48px;
  justify-content: center;
  margin-bottom: 13px;
  width: 100%;
  transition: all 0.2s;
}

.contact-area .button:hover {
  text-decoration: none;
  opacity: 0.8;
}

.contact-area .faq .button {
  color: #fff;
}

.contact-area .contact .button {
  background-color: #fff;
  color: #002bab;
}

@media screen and (max-width: 767px) {
  .contact-area .contact {
    width: auto;
    margin: 0 16px;
  }
}

/* --------------------
IE11 hack
-------------------- */
@media all and (-ms-high-contrast: none) {
  .message-block {
    padding-top: 8px;
  }

  .main-img-link {
    padding-top: 6px;
    padding-bottom: 0;
  }

  .summary-head {
    padding-top: 4px;
  }

  .summary-body.option {
    padding-bottom: 12px;
  }

  .transfer-campain-period {
    padding-top: 9px;
  }

  .transfer-tab .tab-button {
    padding-bottom: 4px;
  }

  .transfer-tab .tab-button {
    overflow: visible;
  }

  .contact-area .button,
  .contact-area .button:link,
  .contact-area .button:visited,
  .contact-area .button:active {
    padding-top: 5px;
  }
}