/* リセットCSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a {
  text-decoration: none;
}
p {
  font-feature-settings: "palt";
}
body {
  font-family: "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  background-color: #fff;
  color: #444;
  line-height: 1.6;
}

html {
  font-size: 10px;
 }
 

#header {
  max-width: 100%;
  box-shadow: 0px 0 10px 0px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
  background-color: #fff;
}

#header #logo {
  max-width: 1050px;
  width: 100%;
  margin: 0 auto;
  padding: 10px;
}

.mv__container {
  width: 100%;
  /* max-width: 1920px; */
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background-color: #e5f3ee;
  text-align: center;
  /* min-height: 600px; */
  padding: 40px 20px;
}
.mv__container-inner {
  max-width: 1300px;
  position: relative;
  margin: auto;
}
@media only screen and (max-width: 767px) {
  .mv__container {
    display: flex;
    flex-direction: column;
  }
}
.bg-image {
  /* width: 100%; */
  max-width: 1920px;
  height: auto;
  display: block;
  object-fit: cover;
}

/* PC用画像（デフォルトで非表示） */
.pc-image {
  display: none;
}

/* スマホ用画像（デフォルトで表示） */
.sp-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 60px auto 40px;
  object-fit: contain;
  overflow: hidden;
  box-sizing: border-box;
  padding: 0 20px;
}

.sp_mv_container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background-color: #e5f3ee;
  text-align: center;
  padding: 0;
}

.banner {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  background-color: #1a9d70;
  border-radius: 0 0 25px 25px;
  padding: 20px;
  text-align: center;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 75% 85%, 50% 100%, 25% 85%, 0 70%);
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-text p {
  color: white;
  font-size: 20px;
  font-weight: bold;
  margin: 16px 0 32px;
  line-height: 1.2;
  letter-spacing: 0.12em;
  /* text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); */
}

.banner-text .highlight-partnership {
  color: #f25653;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: -1px -1px 1px #fff, 1px 1px 1px #fff, 1px 2px 1px #fff, 1px -2px 1px #fff, -1px -1px 1px #fff, 1px 1px 1px #fff, 1px 2px 1px #fff, 1px -2px 1px #fff, -1px -1px 1px #fff, 1px 1px 1px #fff, 1px 2px 1px #fff, 1px -2px 1px #fff, -1px -1px 1px #fff, 1px 1px 1px #fff, 1px 2px 1px #fff,
    1px -2px 1px #fff;
  letter-spacing: 0.15em;
}

.service-text {
  text-align: center;
  background-color: #fff;
  padding: 16px;
  border-radius: 8px;
  line-height: 32px;
}

.service-info {
  font-size: 16px;
  line-height: 2;
  margin: 32px 0 60px;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  background-color: #fff;
  color: white;
}

.section {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  background-color: #e5f3ee;
  padding: 40px 16px 48px;
}

.section_even {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  background-color: #fff;
  padding: 40px 16px 48px;
}

.section1-content {
  max-width: 1200px;
  margin: 0 auto;
}

.section-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section-content-inner {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: flex-start;
  margin-left: auto;
  margin-right: auto;
}

.fee-info,
.discount-info {
  flex: 1 1 0;
  max-width: 48%;
  min-width: 320px;
  box-sizing: border-box;
}

.foreign-info {
  flex: 1 1 0;
  max-width: 48%;
  min-width: 320px;
  box-sizing: border-box;
}
.foreign-info p {
  font-size: 16px;
  text-align: left;
}

.foreign-info2 p {
  font-size: 16px;
  text-align: left;
}

.foreign-info__map p {
  font-size: 16px;
  text-align: left;
}

/* スマホでは縦並び維持 */
@media only screen and (max-width: 767px) {
  .section-content {
    display: block;
  }
  .section-content-inner {
    display: block;
  }
  .fee-info,
  .discount-info {
    max-width: 100%;
    min-width: 0;
  }

  .foreign-info {
    max-width: 100%;
    min-width: 0;
  }

  .pc-block {
    display: none;
  }
}
.point-heading {
  text-align: center;
  margin-bottom: 30px;
}

.point-number {
  display: block;
  color: #3d8dcc;
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 0;
  font-family: "Angkor", cursive;
  font-weight: 500;
}

.point-title {
  color: #444;
  font-size: 36px;
  font-weight: bold;
/*  margin-top: 6rem;*/
  line-height: 1.25;
}

.fee-info {
  margin-top: 30px;
  background-color: #fff;
  border-radius: 16px;
  padding: 8px;
  /* width: 330px; */
  margin-left: auto;
  margin-right: auto;
}

.foreign-info {
  margin-top: 30px;
  background-color: #fff;
  border-radius: 16px;
  padding: 8px;
}

.foreign-info2 {
  margin-top: 30px;
  background-color: #fff;
  border-radius: 16px;
  padding: 8px;
}

.foreign-info__map {
  margin-top: 30px;
  background-color: #fff;
  border-radius: 16px;
  padding: 8px;
}

.fee-image {
  width: 100％;
  /* height: 100px; */
  display: block;
  margin: 32px auto;
}

.int-image {
  width: 100%;
  /* height: 100px; */
  display: block;
  margin: 32px auto;
}

.fee-text {
  margin-top: 32px;
  margin-left: 8px;
  margin-right: 8px;
  margin-bottom: 32px;
  font-size: 16px;
  max-width: 440px;
}

.fee-text p {
  color: #444;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  text-align: left;
}
.highlight-yellow {
  font-weight: bold;
  background: linear-gradient(transparent 70%, #ffd024 0%);
}
.highlight-blue {
  color: #3d8dcc;
  font-weight: bold;
}

.fee-notes {
  margin-top: 15px;
  /* margin-left: 8px;
  margin-right: 8px; */
}

.fee-notes p {
  color: #444;
  font-size: 13px;
  line-height: 1.4;
  margin: 5px 0;
  text-align: left;
}

.discount-info {
  margin-top: 20px;
  /* margin-bottom: 60px; */
  background-color: #fff;
  border-radius: 16px;
  padding: 8px;
  position: relative;
  /* width: 330px; */
  margin-left: auto;
  margin-right: auto;
}

.discount-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 32px auto;
}

.discount-text {
  margin-left: 8px;
  margin-right: 8px;
  max-width: 440px;
}

.discount-text p {
  color: #444;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  text-align: left;
}

.footnote {
  color: #444;
  font-size: 12px;
}

.discount-notes {
  margin-top: 15px;
  margin-left: 8px;
  margin-right: 8px;
}

.discount-notes p {
  color: #444;
  font-size: 10px;
  line-height: 1.4;
  margin: 5px 0;
  text-align: left;
}

.service-banner {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto 40px;
  padding-bottom: 60px; /* 下余白をpaddingで */
  background-color: #30b184;
  /* border-radius: 16px; */
  padding: 20px;
  text-align: center;
}

.service-content {
  width: 100%;
  max-width: 1080px;
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin: 48px auto;
}

.service-text p {
  color: #444;
  font-size: 16px;
  /* font-weight: bold; */
  margin: 0;
  line-height: 32px;
}

.button__desc p {
  color: #3d8dcc;
  font-size: 18px;
  /* font-weight: bold; */
  margin: 0;
  line-height: 1.4;
  text-align: left;
}

.contact-button {
  width: 100%;
  background-color: #fff100;
  border: none;
  border-radius: 25px;
  padding: 15px 20px;
  margin-top: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 16px;
  font-weight: extra-bold;
  color: #333;
}

.contact-button a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.contact-button:hover {
  background-color: #fff100;
}

.contact-button span {
  flex: 1;
  text-align: center;
}

.arrow {
  width: 0;
  height: 0;
  border-left: 24px solid #333;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
}

.network-info {
  margin-top: 0px;
  background-color: #fff;
  border-radius: 16px;
  padding: 8px;
  /* text-align: center; */
}

.network-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.strength-text p {
  font-size: 16px;
  width: 310px;
  margin: 0 auto;
}

/* PC用スタイル（768px以上） */
@media only screen and (min-width: 768px) {
  .sp-block {
    display: none;
  }

  .pc-block {
    display: block;
    margin: 0;
  }

  .mv__title h1 {
    display: flex;
    flex-direction: column;
  }

  .banner {
    border-radius: 0;
    padding: 40px;
    clip-path: none;
    position: relative;
    background-color: #1a9d70;
    height: 98px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .banner::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #1a9d70;
    z-index: 1;
  }

  .banner-text {
    position: relative;
    z-index: 2;
  }

  .banner-text br {
    display: none;
  }

  .banner-text p {
    font-size: 24px;
    color: #fff;
    font-weight: bold;
    margin: 24px 0;
    letter-spacing: 0.12em;
  }

  .banner-text .highlight-partnership {
    color: #f25653;
    font-size: 24px;
    font-weight: bold;
    text-shadow: -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 2px 2px 0 #fff;
    letter-spacing: 0.15em;
  }

  .service-info {
    font-size: 18px;
    padding: 40px;
    background-color: #fff;
    margin-top: 40px;
    color: white;
  }

  .section {
    padding: 0 40px 80px;
  }

  .section_even {
    padding: 0 40px 0;
  }

  .service-banner {
    padding-bottom: 60px;
    margin-bottom: 40px;
    height: auto; /* 可変の内容に追従 */
    display: block; /* 高さ制限と中央寄せを解除 */
  }

  .service-content {
    height: auto; /* 可変の内容に追従 */
    display: block;
  }

  .point-number {
    font-size: 60px;
  }

  .point-title {
    font-size: 48px;
  }

  .fee-text p {
    font-size: 16px;
  }

  .service-text p {
    font-size: 16px;
    color: #444;
    font-weight: normal;
    text-align: center;
  }

  .contact-button {
    font-size: 40px;
    padding: 20px 30px;
    width: 660px;
    border-radius: 50px;
    margin-left: auto;
    margin-right: auto;
  }
  .fee-image.pc-block {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 32px;
    margin-bottom: 48px;
    width: 400px;
    height: auto;
  }
  .service-text {
    margin-left: auto;
    margin-right: auto;
  }
  .foreign-content-inner {
    display: flex;
    gap: 32px;
    justify-content: space-between;
    align-items: flex-start;
    width: 1080px;
    margin-left: auto;
    margin-right: auto;
  }

  .foreign-info {
    flex: 0 0 340px;
    box-sizing: border-box;
    height: 350px;
    width: 340px;
    padding: 0;
    margin: 0;
  }

  .foreign-info2 {
    flex: 0 0 340px;
    box-sizing: border-box;
    height: 350px;
    width: 340px;
    background-color: #fff;
    border-radius: 16px;
    padding: 8px;
    margin: 0;
  }

  .foreign-info__map {
    width: 100%;
    max-width: 1080px;
    border-radius: 16px;
    margin-left: auto;
    margin-right: auto;
    background-color: #fff;
    padding-top: 32px;
  }
  .foreign-info__image {
    /* width: 720px; */
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .fee-info {
    width: 537px;
    height: 380px;
    padding: 0;
    margin: 0;
  }
  .section-content-inner {
    display: flex;
    gap: 32px;
    justify-content: center;
    align-items: flex-start;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    width: 1080px;
  }
  .discount-info {
    margin-bottom: 40px;
    height: 380px;
    padding: 0;
    margin-top: 0;
    width: 537px;
  }
  .contact-button span {
    font-weight: bold;
  }

  .footnote {
    font-size: 10px;
  }
  .fee-text {
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }
  .discount-text {
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }
  .discount-notes {
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  .button__desc {
    margin-bottom: 32px;
  }

  .foreign-image {
    height: 150px;
    width: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 36px;
    margin-bottom: 32px;
  }
  .foreign-text {
    width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  .foreign-info2 {
    flex: 1 1 0;
    max-width: 30%;
    min-width: 280px;
    box-sizing: border-box;
    height: 350px;
    width: 340px;
    background-color: #fff;
    border-radius: 16px;
    padding: 8px;
  }
  .foreign-info__map-text {
    width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 16px;
    margin-bottom: 60px;
  }
  .foreign-info__map-text p {
    font-size: 16px;
  }
}

.discount-image.pc-block {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 32px;
  width: 400px;
  height: auto;
}

.network-image.pc-block {
  display: block;
  width: 910px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

/* 大画面用スタイル（1200px以上） */
@media only screen and (min-width: 1200px) {
  .mv__container {
    /* max-width: 1920px; */
    margin: 0 auto;
  }

  .bg-image pc-block {
    max-width: 1920px;
    /* display: block; */
    object-fit: cover;
    margin: 0 auto;
  }

  .banner {
    max-width: none;
  }

  .service-info {
    max-width: none;
  }

  .section {
    max-width: none;
  }

  .section_even {
    max-width: none;
  }

  .service-banner {
    max-width: none;
  }

  .banner-text p {
    font-size: 30px;
    letter-spacing: 0.12em;
  }

  .banner-text .highlight-partnership {
    color: #f25653;
    font-size: 32px;
    font-weight: bold;
    text-shadow: -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 2px 2px 0 #fff;
    letter-spacing: 0.15em;
  }

  .service-info {
    font-size: 16px;
    padding: 0 60px;
    margin-top: 60px;
  }

  .section {
    padding: 80px 60px 60px;
  }

  .section_even {
    padding: 80px 60px 100px;
  }

  .point-title {
    font-size: 48px;
	color: #1a9d70;
  }

  .fee-text p {
    font-size: 16px;
  }

  .strength-text p {
    font-size: 16px;
    width: 800px;
    margin: 0 auto;
  }

  .service-text p {
    font-size: 16px;
  }
}

/* footer */
/* #footer {
  clear: both;
  position: static;
  background-color: #fff;
}
#footer #greenbelt {
  background: url(../images/bg_greenbelt.png) 0 0 repeat;
}
#footer #greenbelt .inner {
  margin: 0 auto;
  max-width: 1100px;
  background: #009261;
  color: #fff;
  overflow: hidden;
}
#footer #greenbelt .inner .ftbox {
  float: left;
  max-width: 800px;
}
#footer #greenbelt .inner p.link {
  padding: 18px 0 0 24px;
  font-size: 1.2rem;
  line-height: 1;
}
#footer #greenbelt .inner p.link span {
  margin: 0 0 0 10px;
  padding: 0 0 0 10px;
  background: url(gather_images/line_dot_separate.png) 0 0 no-repeat;
}
#footer #greenbelt .inner p.copy {
  padding: 18px 0 0 24px;
  font-size: 1.2rem;
  line-height: 1;
}
#footer #greenbelt .inner a {
  color: #fff;
}
#footer #greenbelt .inner p.bn {
  float: right;
  background: url(../images/bg_ftbn.jpg) 0 0 no-repeat;
  width: 264px;
  height: 54px;
  margin: 9px 17px 14px 0;
}
#footer #greenbelt .inner p.bn a {
  color: #666;
  text-decoration: none;
}
#footer #greenbelt .inner p.bn a span {
  display: block;
  width: 120px;
  padding: 16px 0 0 7px;
  font-size: 1rem;
  line-height: 1.4;
}
#footer #whitebelt {
  clear: both;
  margin: 0 auto;
  max-width: 1100px;
  background: #fff;
  text-align: right;
}
#footer #whitebelt p {
  padding: 12px 0 13px;
  line-height: 0;
} */
/* ブラウザサイズ767px以下の場合 */
/* @media only screen and (max-width: 767px) {
  * {
    box-sizing: border-box;
  }
  img {
    width: 100%;
  }
  #header #logo img {
    width: inherit;
  }
  /* pagetop */
/* .pagetop {
    padding: 20px 15px 0;
  }
  #footer #greenbelt .inner {
    margin: 0 0 0;
    width: 100%;
  }
  #footer #greenbelt .inner .ftbox {
    float: none;
    width: 100%;
  }
  #footer #greenbelt .inner p.link {
    display: block;
    padding: 18px 15px 0;
    font-size: 1.2rem;
    line-height: 1.4;
    text-align: center;
  }
  #footer #greenbelt .inner p.link span {
    display: block;
    margin: 0 0 0 0;
    padding: 15px 0 0 0;
    background: none;
    text-align: left;
  }
  #footer #greenbelt .inner p.copy {
    padding: 15px 0 0 0;
    text-align: center;
  }
  #footer #greenbelt .inner p.bn {
    float: none;
    margin: 9px auto 14px;
    width: 264px;
    height: 54px;
  }
  #footer #whitebelt {
    text-align: center;
    width: 100%;
  }
  #footer #whitebelt img {
    width: inherit;
  }

  .pc-block {
    display: none;
  }

.foreign-info__map {
  margin-top: 30px;
  background-color: #fff;
  border-radius: 16px;
  padding: 8px;
  position: relative;
}
*/

@media only screen and (max-width: 767px) {
  .pc-block {
    display: none !important;
  }
}

.bg-image.pc-block {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media only screen and (min-width: 768px) {
  .sp-block {
    display: none;
  }

  .pc-block {
    display: block;
    margin: 0;
  }

  .bg-image.sp-block {
    display: none;
  }

  .bg-image.pc-block {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    overflow: hidden;
    box-sizing: border-box;
  }
}
/* 新しいMVコンテナのスタイル */
.decorative-dots {
  position: absolute;
  width: 195px;
  height: 318px;
  background-image: url(../img/bg01.png);
  background-size: 195px 318px;
  background-repeat: repeat;
  z-index: 1;
}
.decorative-dots_02 {
  position: absolute;
  width: 195px;
  height: 318px;
  background-image: url(../img/bg02.png);
  background-size: 195px 318px;
  background-repeat: repeat;
  z-index: 1;
}

.decorative-dots--top-left {
  bottom: -40px;
  left: -20px;
}

.decorative-dots_02--bottom-right {
  top: -40px;
  right: 0px;
}
.mv__illustration {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.mv__illustration-img {
  width: 400px;
  height: auto;
  display: block;
}

.mv__content {
  position: relative;
  z-index: 3;
  /* max-width: 800px; */
  margin: 0 auto;
  text-align: left;
  padding-left: 40px;
  margin-right: auto;
  margin-left: 0;
}

.mv__top-message {
  border-radius: 50px;
  padding: 7px 24px;
  /* margin-bottom: 8px; */
  display: flex;
  align-items: center;
  width: auto;
  text-align: center;
  position: relative;
  padding-left: 0;
}

.mv__top-message::before,
.mv__top-message::after {
  content: "";
  width: 16%;
  height: 2px;
  background-color: #30b184;
}

.mv__top-message::before {
  left: -80px;
}

.mv__top-message::after {
  right: -80px;
}

.mv__top-message p {
  color: #30b184;
  font-size: 16px;
  font-weight: bold;
  margin: 0;
  line-height: 1.2;
  padding: 0 1em;
}

.mv__title {
  margin-bottom: 32px;
  position: relative;
}

.mv__title h1 {
  font-size: 54px;
  font-weight: bold;
  color: #333333;
  margin: 0 0 20px 0;
  line-height: 1.3;
  position: relative;
}

.mv__title-highlight {
  position: absolute;
  bottom: 8px;
  right: 0;
  width: 200px;
  height: 15px;
  background-color: #ffd024;
  z-index: -1;
}

.mv__subtitle {
  font-size: 28px;
  font-weight: 500;
  color: #333333;
  margin: 0;
  line-height: 1.5;
}

.mv__description p {
  color: #3d8dcc;
  font-size: 18px;
  line-height: 1.6;
  /* margin: 0 0 8px 0; */
}

.mv__cta {
  margin-top: 16px;
}

.mv__cta-button {
  background-color: #fff100;
  border: none;
  border-radius: 80px;
  /* padding: 25px 50px; */
  font-size: 40px;
  font-weight: 900;
  color: #444444;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: transform 0.2s ease;
  line-height: 1.2;
  width: auto;
  min-width: 737px;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25));
}
.mv__portal-button {
  background-color: #ffffff;
  border: none;
  border-radius: 80px;
  font-size: 20px;
  font-weight: 900;
  color: #009260;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: transform 0.2s ease;
  line-height: 1.2;
  width: auto;
  min-width: 737px;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25));
  margin-top: 16px;
}

.mv__cta-button a {
  display: inline-block;
  padding: 25px 50px;
  width: 100%;
  text-align: center;
}
.mv__portal-button a {
  color: #009260;
  display: inline-block;
  padding: 20px 50px;
  width: 100%;
  text-align: center;
}

.portal__button {
  background-color: #009260;
  border: none;
  border-radius: 80px;
  /* padding: 25px 50px; */
  font-size: 40px;
  font-weight: 900;
  color: #ffffff;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: transform 0.2s ease;
  line-height: 1.2;
  width: auto;
  min-width: 737px;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25));
}

.portal__button a {
  display: inline-block;
  padding: 25px 50px;
  color: #ffffff;
  width: 100%;
  text-align: center;
}

/* 矢印アイコン */
.arrow-icon {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 18px solid currentColor;   /* 1.5倍 */
  border-top: 12px solid transparent;    /* 1.5倍 */
  border-bottom: 12px solid transparent; /* 1.5倍 */
  margin-left: 8px;
  flex-shrink: 0;
  vertical-align: middle;                 /* 上下中央寄せ */
}
.arrow-icon-portal {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 12px solid currentColor;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 8px;
  flex-shrink: 0;
}

.mv__cta-button:hover {
  transform: translateY(-2px);
}

.portal__button:hover {
  transform: translateY(-2px);
}

/* スマホ対応 */

@media only screen and (max-width: 767px) {
  .mv__container {
    min-height: auto;
    padding: 20px 16px;
  }

  /* .decorative-dots {
    width: 60px;
    height: 60px;
    background-size: 12px 12px;
  }
  
  .decorative-dots--top-left {
    top: 10px;
    left: 10px;
  }
  
  .decorative-dots--bottom-right {
    bottom: 10px;
    right: 10px;
  } */
  .decorative-dots,
  .decorative-dots_02 {
    width: 52px;
    height: 75px;
    background-size: 52px 75px;
  }

  .decorative-dots--top-left {
    bottom: -10px;
    left: -10px;
  }
  .decorative-dots_02--bottom-right {
    top: -10px;
    right: -10px;
  }
  .mv__illustration {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    text-align: center;
    margin: 20px 0;
    order: 3;
  }

  .mv__illustration-img {
    width: 250px;
    display: inline-block;
  }

  .mv__content {
    max-width: 100%;
    padding-left: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    margin: 40px auto 0;
  }

  .mv__top-message {
    order: 1;
    margin-bottom: 8px;
    padding: 0;
    justify-content: center;
  }

  .mv__top-message p {
    font-size: 12px;
  }

  .mv__top-message::before,
  .mv__top-message::after {
    width: 30px;
  }

  .mv__top-message::before {
    left: -40px;
  }

  .mv__top-message::after {
    right: -40px;
  }

  .mv__title {
    order: 2;
    margin-bottom: 0px;
    text-align: center;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
  }

  .mv__title h1 {
    font-size: 2.6rem;
    text-align: center;
    margin-bottom: 0px;
  }

/* 見出しを常に中央寄せ（PC/SP共通） */
.mv__title .mv_h1 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

  .mv__title .mv_h1 {
    text-align: center !important;
  }

  .mv__title-highlight {
    width: 120px;
    height: 10px;
    bottom: 5px;
  }

  .mv__subtitle {
    font-size: 20px;
    display: inline-block;
    text-align: left;
  }

  .mv__description {
    order: 4;
    margin-bottom: 20px;
  }

  .mv__description p {
    font-size: 16px;
  }

  .mv__cta {
    order: 5;
    margin-top: 0;
    /* margin-bottom: 40px; */
  }

  .mv__portal {
    order: 5;
    /* margin-top: 16px; */
    margin-bottom: 40px;
  }

  .mv__cta-button {
    font-size: 18px;
    /* padding: 15px 25px; */
    min-width: auto;
    width: 100%;
  }
  .mv__portal-button {
    font-size: 16px;
    min-width: auto;
    width: 100%;
  }

  .mv__cta-button a {
    display: inline-block;
    padding: 15px 25px;
    width: 100%;
  }
  .mv__portal-button a {
    display: inline-block;
    padding: 13px 25px;
    width: 100%;
  }

  .portal__button {
    font-size: 18px;
    /* padding: 15px 25px; */
    min-width: auto;
    width: 100%;
    display: block;
  }

  .portal__button a {
    display: block;
    padding: 15px 25px;
    width: 100%;
  }

  .arrow-icon {
    border-left: 12px solid currentColor;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    margin-left: 6px;
  }

  .service-banner {
    padding: 20px 10px 60px;
    margin-bottom: 14px;
  }

  .portal-banner {
    margin-top: 16px;
  }

.footer_section1 {
  max-width: 1100px;
  margin: 0 auto;
  text-align: right;
}
.footer_section1 .pagetop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 40px 0;
}
.footer_section1 .pagetop img {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
}
.footer_section1 .pagetop a {
  color: #333;
  text-decoration: underline;
  font-size: 1.2rem;
}
  .service-content {
    padding: 20px 10px;
    margin: 32px auto;
  }

  .button__desc p {
    font-size: 14px;
    margin-bottom: 16px;
    text-align: center;
  }

  .foreign-info,
  .foreign-info2,
  .foreign-info__map {
    padding: 32px 10px;
    text-align: center;
  }

  .foreign-image {
    max-width: 190px;
  }
  .foreign-info2 .foreign-image {
    max-width: 140px;
  }

  .foreign-text,
  .foreign-info__map-text {
    margin-top: 32px;
  }
}

/* タブレット対応 */
@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .mv__container {
    padding: 30px;
  }

  .mv__illustration-img {
    width: 300px;
  }

  .mv__content {
    /* max-width: 600px; */
    padding-left: 20px;
  }

  .mv__title h1 {
    font-size: 42px;
  }

  .mv__subtitle {
    font-size: 24px;
  }

  .mv__cta-button {
    font-size: 28px;
    /* padding: 20px 40px; */
    min-width: 500px;
  }

  .portal__button {
    font-size: 28px;
    /* padding: 20px 40px; */
    min-width: 500px;
    display: block;
  }

  .portal__button a {
    display: block;
    padding: 20px 40px;
    width: 100%;
  }

  .arrow-icon {
    border-left: 7px solid currentColor;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    margin-left: 7px;
  }
}

/* 学割キャンペーンリンクの下線表示（該当箇所のみ） */
.discount-text a[href="https://www.able.co.jp/campaign/gakuwari/"] {
  text-decoration: underline;
}
.discount-text a[href="https://www.able.co.jp/campaign/gakuwari/"]:hover,
.discount-text a[href="https://www.able.co.jp/campaign/gakuwari/"]:focus {
  text-decoration: underline;
}

/* 連絡カード（ご相談・お問い合わせ） */
.contact-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 32px; /* 上の「仲介手数料」と同じ間隔 */
  justify-content: flex-start; /* 3つ目が左に寄るように */
  align-items: stretch;
  margin-top: 16px;
}

.contact-card {
  position: relative;
  background-color: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e8eb;
  overflow: hidden;
}
/* ヘッダーバー（Figma準拠の上部色帯） */
.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: #e5f3ee;
}
/* 見出し下の細線 */
.contact-card::after {
  content: "";
  position: absolute;
  left: 1px;
  right: 1px;
  top: 60px;
  height: 2px;
  background-color: #30B184;
}

.contact-card__title {
  position: absolute;
  top: 30px; /* ヘッダーバー(60px)の中央に配置 */
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 48px);
  text-align: center;
  font-size: 2.2rem; /* 指定: 2.2rem */
  font-weight: 500;  /* medium */
  color: #333;
  margin: 0;
  padding: 5px 0; /* 上下に5pxの余白 */
}

/* SPのみ：見出しの上下に余白を確保（バーを少し高く） */
@media only screen and (max-width: 767px) {
  .contact-card__title {
    padding: 5px 0;
    top: 35px; /* 背景帯70pxの中央(=35px)に配置して上下中央に */
    line-height: 1.4; /* 行間 */
    font-size: 1.8rem; /* フォントサイズ */
  }
  .contact-card::before {
    height: 70px; /* 背景帯の高さ */
  }
  .contact-card::after {
    top: 70px; /* 背景帯の直下に合わせる */
  }
  /* タイトル帯の高さ拡張分、本文ブロックの開始位置も下げる */
  .contact-card__inner {
    margin-top: 110px;
  }
  /* 店舗名の上に余白（10px=1.0rem） */
  .contact-card__shop {
    margin-top: 0;
    padding-top: 1.2rem; /* 12px */
  }
}

.contact-card__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 60px; /* ヘッダーバー高さに合わせて詰める */
}

.contact-card__info p {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #444;
  margin: 0 0 4px;
}

.contact-card__info p.contact-card__shop > a {
  color: #30B184;
  font-size: 2rem; /* 指定: 2rem */
  font-weight: bold;
  text-align: left;
  text-decoration: underline;
}

.contact-card__shop {
  font-weight: bold;
  color: #30B184;
  margin-bottom: 8px;
  font-size: 2rem; /* 指定: 2rem */
  text-align: left;
}
@media only screen and (min-width: 768px) {
  .contact-card__title { font-size: 2.2rem; font-weight: 500; }
  .contact-card__info p { font-size: 1.8rem; }
}

.contact-card__areas span {
  display: inline-block;
  margin-right: 10px;
}

.contact-card__qr img {
  width: 100px;
  height: auto;
  display: block;
  margin-left: auto;
}
/* QRを表より前面に表示 */
.contact-card__qr {
  position: relative;
  z-index: 2;
}
/* スマホではQRを非表示 */
@media only screen and (max-width: 767px) {
  .contact-card__qr { display: none; }
}

/* TEL行のアクセント（Figmaのオレンジに寄せる） */
.contact-card__tel .label,
.contact-card__tel .value {
  color: #ffad00;
  font-weight: bold;
  font-size: 2rem;
}
@media only screen and (min-width: 768px) {
  .contact-card__tel .label,
  .contact-card__tel .value { font-size: 2.6rem; }
}
.contact-card__tel .label { margin-right: 10px; }

.contact-card__actions {
  margin: 25px auto 0; /* 上25px 下0・中央寄せ */
  text-align: center;
}

.contact-card__button {
  display: flex;                 /* テキストと三角を横並び中央寄せ */
  justify-content: center;
  align-items: center;
  background-color: #fff100;
  color: #333;
  font-weight: bold;
  font-size: 1.8rem !important;  /* 指定: 1.8rem */
  text-decoration: none;
  width: 360px;                  /* 指定幅 */
  height: 50px;                  /* 指定高さ */
  line-height: 1;                /* フレックスで中央寄せするため通常行高 */
  border-radius: 42px;
  margin: 0 auto;                /* 水平中央 */
  padding: 0;                    /* 行間をline-heightに委ねる */
  position: relative;            /* 疑似要素配置用 */
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.15); /* 影（CTAと同等） */
  transition: transform 0.2s ease;
}
/* 右向き三角（矢印） */
.contact-card__button::after {
  content: "";
  display: inline-block;         /* テキスト直後に配置 */
  margin-left: 8px;
  width: 0;
  height: 0;
  border-left: 12px solid currentColor;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}
/* ホバーで上にずらす（CTAと同じ） */
.contact-card__button:hover {
  transform: translateY(-2px);
}

@media only screen and (min-width: 768px) {
  .contact-cards {
    max-width: 1106px !important; /* 537px*2 + 32px の合計幅 */
    width: 1106px !important;
    margin-left: auto;
    margin-right: auto;
    gap: 32px; /* 仲介手数料と同じ間隔 */
    justify-content: flex-start; /* 2段目(3枚目)を左寄せに */
  }
  .contact-card {
    width: 537px !important; /* 仲介手数料のカード幅に合わせる */
    box-sizing: border-box;
  }
  /* 横幅合わせのため、サービスコンテンツの左右パディングをPCでは外す */
  .service-content {
    padding-left: 0;
    padding-right: 0;
  }
  .contact-card__inner {
    grid-template-columns: 1fr 120px; /* 左：情報、右：QR（QRは100px＋余白） */
    gap: 16px;
  }
  /* 折返し時の縦間隔は gap で担保（個別余白は不要） */

  /* 表をQR列の下まで拡張（左カラム100% + 右カラム120px + ギャップ16px） */
  .contact-card__info .table {
    width: calc(100% + 136px);
  }
}

/* 表組み（沿線/駅 以降） */
.table {
  display: table;
  border-collapse: collapse;
  width: 100%; /* カラム内でいっぱいに広げる */
  background-color: transparent;
  border-radius: 0;
  padding: 0;
  border-spacing: 0; /* 余白を無くして100%に見せる */
  table-layout: fixed; /* セルの合計が必ず100%以内に収まる */
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}
.row {
  display: table-row;
  padding-left: 10px;
}
.cell {
  display: table-cell;
  padding: 0px 10px 5px 10px;
  vertical-align: top;
  text-align: left;
  font-size: 1.4rem; /* 指定: 1.4rem */
  font-weight: 500;  /* medium */
}
/* 列幅（1:20%, 2:80%） */
.cell-1 { width: 20%; }
.cell-2 { width: 80%; }
/* SPのみ: 1列目の右余白を2倍(20px)に */
@media only screen and (max-width: 767px) {
  .cell-1 { padding-right: 20px; width: 25%; }
}
/* エリアのタグ間余白（右10px） */
.table .cell-2 span {
  display: inline-block;
  margin-right: 10px;
}
/* 「主な得意エリア」行の背景色 */
.row-area .cell {
  background-color: #E5F3EE;
}
/* 「主な得意エリア」行の上下パディングを8pxに */
.row-area .cell {
  padding-top: 8px;
  padding-bottom: 8px;
}
/* より強い指定で .contact-card__info 内のセルに適用（他の p 指定を上書き） */
.contact-card__info .cell {
  font-size: 1.4rem;
  font-weight: 500;
}
/* TEL強調（表組み版）- 優先度を上げて確実に適用 */
.contact-card__info .cell--tel {
  color: #e75c00;
  font-weight: bold;
  font-size: 1.8rem; /* 指定: 1.8rem */
}
/* ラベル列は改行しない */
.table .row .cell:first-child {
  white-space: nowrap;
}
/* サービスバナー見出しの色指定（白） */
.service-banner .point-title {
  color: #ffffff;
}

/* SPのみ：サービスバナー見出しの上下余白を30pxに */
@media only screen and (max-width: 767px) {
  .service-banner .point-title {
    margin: 20px 0 !important; /* 上下20pxを強制適用 */
    font-size: 2.8rem;         /* SP時のみ小さく */
  }
}

/* SP最優先：ボタン幅を95%に上書き */
@media only screen and (max-width: 767px) {
  .contact-card__button { width: 95% !important; }
}

/* SPのみ：カード左右の余白を0.78remに */
@media only screen and (max-width: 767px) {
  .contact-card {
    margin-left: 0.78rem;
    margin-right: 0.78rem;
  }
}
/* サービスバナー見出しの上下余白（上40px・下30px） */
.service-banner .point-title {
  margin-top: 60px;
  margin-bottom: 75px;
}

/* SP専用（～767px）：MVタイトル幅を画面幅の75%に（375px基準） */
@media only screen and (max-width: 767px) {
  .mv__title .mv_h1 {
    width: 86vw;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
}

/* 区切り線の色と太さを強制（上書き用） */
.contact-card::after {
  background-color: #30B184 !important;
  height: 2px !important;
}

/* SP：ページトップ行のレイアウト微調整 */
@media only screen and (max-width: 767px) {
  .footer_section1 .pagetop {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 20px 0 10px 0;
  }
}