/* 共通パーツ */
.c-title {
  width: auto;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 32px 15px;
  background-color: #640a11;
  color: white;
  text-align: center;
}
.c-title--bg-blue {
  background-color: #102969;
}
.c-title__small {
  display: block;
  font-size: 16px;
  font-family: "Yu Mincho Light", "YuMincho", "Yu Mincho", "游明朝体", serif;
}
.c-title__heading {
  width: 100%;
  font-size: 28px;
  letter-spacing: 0.08em;
  margin-top: 4px;
  font-family: "Yu Mincho Light", "YuMincho", "Yu Mincho", "游明朝体", serif;
}
.c-heading__icon {
  width: 80px;
  margin-top: 20px;
  margin-inline: auto;
}
.c-heading__icon img {
  width: 100%;
}

.c-btn-wrapper {
  margin-top: 40px;
  text-align: center;
}
.c-btn {
  display: inline-block;
  position: relative;
  min-width: 315px;
  width: 407px;
  padding: 18px 40px;
  font-size: 20px;
  font-weight: bold;
  color: white;
  background-color: #640a11;
  text-align: center;
  border-radius: 35px;
  -webkit-transition: color 0.2s ease-in, background-color 0.2s ease-in;
  transition: color 0.2s ease-in, background-color 0.2s ease-in;
}
.c-btn::after {
  content: "";
  display: block;
  background-image: url(../img/btn-angle--white.svg);
  background-repeat: no-repeat;
  background-size: contain;
  width: max(8px, 0.6475rem);
  height: max(13.7px, 1.108125rem);
  position: absolute;
  top: 50%;
  right: 2.9875rem;
  -webkit-transform: translate(0, calc(-50% + 0.05em));
  transform: translate(0, calc(-50% + 0.05em));
}
.c-btn:hover {
  background-color: #ab1824;
}
.c-btn--blue {
  background-color: #102969;
}
.c-btn--blue:hover {
  background-color: #1010a8;
}

.c-btn--white {
  background-color: white;
  color: #102969;
  border: 2px solid #102969;
}
.c-btn--white::after {
  right: 22px;
  background-image: url(../img/btn-angle--blue.svg);
}
.c-btn--white:hover {
  background-color: #102969;
  color: white;
  border: 2px solid white;
}
.c-btn--white:hover::after {
  background-image: url(../img/btn-angle--white.svg);
}
.c-br-sp {
  display: none;
}

@media screen and (max-width: 1024px) {
  .c-btn {
    font-size: 16px;
  }
  .c-br-sp {
    display: block;
  }
}
@media screen and (max-width: 767px) {
  .c-title__heading {
    font-size: 22px;
  }
  .c-heading__icon {
    width: 50px;
  }
  .c-btn {
    width: fit-content;
    padding: 18px;
    font-size: 16px;
  }
  .c-btn::after {
    width: 10px;
    height: 10px;
  }
}

/* 既存クラスの修正 */
/* 共通見出し部分 */
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header__logo::before {
  display: inline-block;
  content: "";
  width: 46px;
  height: 46px;
  background-image: url(../img/logo.png);
  background-size: contain;
  background-repeat: no-repeat;
}
.top-heading-jp {
  margin-top: 30px;
}
.top-message {
  max-width: 1206px;
  margin-top: 80px;
}
.top-message__company-system-wrap {
  max-width: none;
  margin: 0 auto;
  padding: 0;
  border: none;
}
.top-message__system-flex {
  justify-content: center;
  margin-top: 0;
}

/* カンボジア不動産を投資対象としてオススメする3つの理由 */
.top-what {
  margin-top: 0;
}
.top-what-reason {
  margin: 0;
}

/* 初めての方でも安心のHello!CAMBODIAだからできるサポート体制 */
.top-support {
  margin-top: 0;
  padding-top: 40px;
  padding-bottom: 0;
}
.top-support .top-heading-jp {
  margin-top: 20px;
}
.top-support-media + .top-support-media {
  margin-top: 30px;
}
.top-support-media {
  justify-content: space-between;
  gap: 36px;
  box-shadow: 0 3px 6px rgb(0, 0, 0, 0.16);
}
.top-support-media__heading {
  color: #102969;
  font-weight: bold;
  font-family: "Noto Sans JP", serif;
}
.top-support-media__body {
  width: 54%;
  margin-left: 0;
}
.top-support-media__icon {
  width: 41%;
  height: auto;
  object-fit: cover;
}
.top-support-media__text {
  margin-top: 20px;
}
.top-message__system {
  margin-top: 80px;
}

.cta {
  background-image: url(../img/cta-bg02.jpg);
}
.koh-kong {
  background-image: none;
  background-color: #102969;
}
.koh-kong__inner {
  padding-bottom: 40px;
}
.koh-kong-link__head {
  padding: 24px 0;
  background-color: #102969;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  line-height: 1;
}
.koh-kong-link__head br {
  display: none;
}
.koh-kong-link__heading {
  font-family: "Noto Sans JP", serif;
}
.koh-kong-link__heading span {
  margin-left: 1em;
  font-family: "Noto Sans JP", serif;
}
.koh-kong-link {
  margin-top: 20px;
  box-shadow: 0 1px 8px rgb(0, 0, 0, 0.16);
}
.footer-catch-copy {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-catch-copy::before {
  display: inline-block;
  content: "";
  width: 50px;
  height: 50px;
  background-image: url(../img/logo.png);
  background-size: contain;
  background-repeat: no-repeat;
}

@media screen and (max-width: 1024px) {
  .top-support-media {
    flex-direction: column-reverse;
    padding-left: 54px;
    padding-right: 54px;
    gap: 18px;
  }
  .top-support-media__heading {
    margin-top: 10px;
  }
  .top-support-media__body {
    width: 100%;
  }
  .top-support-media__icon {
    width: 100%;
    aspect-ratio: 280/210;
  }
  .top-support-media__text {
    margin-top: 10px;
  }
  .koh-kong__inner {
    padding-bottom: 0;
  }
  .koh-kong-media__img {
    display: block;
  }
  .koh-kong-link {
    flex-direction: column;
    padding: 20px 10px;
    background-color: white;
  }
  .koh-kong-link__img {
    width: 100%;
  }
  .column-single-relation-item__img {
    max-width: none;
  }
}
@media screen and (max-width: 767px) {
  .header__logo::before {
    width: 32px;
    height: 32px;
  }

  .top-heading-jp {
    margin-top: 30px;
  }
  .top-support .top-heading {
    margin-top: 0;
  }
  .top-support-media {
    padding-left: 27px;
    padding-right: 27px;
  }
  .koh-kong-media {
    flex-direction: column-reverse;
  }
  .koh-kong-media__img {
    width: 100%;
    margin-top: 0;
    padding: 0 1em;
  }
  .koh-kong-media__body {
    margin-top: 30px;
  }
  .koh-kong-link__head {
    margin-top: 10px;
    padding-bottom: 0;
    font-size: 18px;
    line-height: 1.5;
  }
  .koh-kong-link__head br {
    display: block;
  }
  .top-properties {
    padding-top: 30px;
  }
  .top-column {
    margin-top: 30px;
  }
}
/* @media screen and (max-width: 375px) {
  .top-message {
    margin-top: 0;
  }
} */
/* =================================== */
/* カスタマイズ用追加クラス（接頭辞a-を使用） */
/* =================================== */

/* トップスライダー */
.a-top-slider {
  padding: 80px 0 120px;
}
.a-top-slider__wrapper {
  position: relative;
}
.a-top-slider__inner {
  max-width: 1166px;
  margin: 0 auto;
}
.a-top-slider__image {
  padding-left: 4px;
  padding-right: 4px;
  transition: 0.3s;
}
.a-top-slider__image:hover {
  opacity: 0.5;
}
.a-top-slider__image img {
  width: 100%;
  object-fit: cover;
}
.a-top-slider-arrow {
  top: 50%;
  transform: translateY(-50%);
  width: 3em;
  height: 6em;
  border-radius: 0;
  background-color: #666666;
}
.a-top-slider-arrow svg {
  fill: white;
}
.a-top-slider-prev {
  left: 3em;
}
.a-top-slider-next {
  right: 3em;
}
.a-top-slider-pagination {
  bottom: 4em;
}
.a-top-slider-page {
  width: 14px;
  height: 14px;
  margin: 0 10px;
  background-color: #b4b4b4;
  opacity: 1;
}
.a-top-slider-page.is-active {
  background: #640a11;
  transform: scale(1);
}

.splide:not(.is-overflow) .splide__pagination {
  display: block;
  text-align: center;
}

/* 見出しロゴ */
.a-top-heading {
  margin-top: 0;
}
.a-top-heading__logo {
  display: block;
  /* margin-bottom: 30px; */
  text-align: center;
}
.a-top-heading__logo-image {
  width: 76px;
  height: 76px;
}

/* なぜカンボジア投資なのか？ */
.a-intro {
  padding-top: 50px;
  background-color: #102969;
}
.a-intro__inner {
  width: 100%;
  padding: 80px 0;
  margin: 32px 0 0;
  background-image: url(../img/intro_bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}
.a-intro__title {
  padding: 0 15px;
  color: white;
  background-color: #102969;
  text-align: center;
  font-size: 28px;
  font-family: "Yu Mincho DemiBold", serif;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.a-intro__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1166px;
  margin-top: 20px;
  margin-inline: auto;
  padding: 0 15px;
}
.a-intro__card-num {
  position: absolute;
  top: 0;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  font-size: 26px;
  color: white;
  background-color: #102969;
  font-family: "Yu Mincho Light", "YuMincho", "Yu Mincho", "游明朝体", serif;
  white-space: nowrap;
  padding: 4px 26px;
  border: 3px solid white;
}
.a-intro__card {
  padding: 50px 15px 15px;
}
.a-intro__card-heading {
  font-size: 24px;
  font-family: "Noto Sans JP", serif;
  text-align: center;
  margin-top: 20px;
  color: #102969;
  line-height: 1.4;
}
.a-intro__card-link {
  position: relative;
  display: inline-block;
  margin-top: 10px;
  padding-right: 30px;
  border-bottom: 2px solid #640a11;
  color: #640a11;
  font-size: 16px;
  font-weight: bold;
}
.a-intro__card-link::after {
  position: absolute;
  content: "";
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #640a11;
}
.a-intro__card-link:hover {
  filter: brightness(1.5);
}
.a-intro__card-link::after:hover {
  filter: brightness(1.5);
}

.a-top-message__title {
  margin: 0;
  padding: 2em 1.5em;
}
.a-top-message__title h2 {
  font-size: 32px;
  letter-spacing: 1px;
}
.a-top-message__title span {
  font-size: 28px;
  font-weight: bold;
}

/* カンボジア不動産を投資対象としてオススメする3つの理由 */
.a-top-what-border {
  display: none;
}
.a-top-what-wrapper {
  margin-top: 80px;
  padding-bottom: 80px;
}
.a-top-what-btn-wrapper {
  margin-top: 40px;
}

/* 初めての方でも安心のHello!CAMBODIAだからできるサポート体制 */
.a-top-support-media {
  display: block;
  box-shadow: 0 3px 6px rgb(0, 0, 0, 0.16);
}
.a-top-support-media__flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
}
.a-top-support-media__btn-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 40px;
  padding-bottom: 14px;
  border-top: 2px solid #102969;
}
.a-top-support-media__btn-wrapper .c-btn {
  width: fit-content;
  font-size: 27px;
  border-radius: 45px;
}
.a-top-support-media__btn-wrapper .c-btn::after {
  content: none;
}
.a-top-support-media__btn-wrapper .consultant-seminar-text {
  margin-top: 0;
  color: #640a11;
  text-align: left;
}
.a-koh-kong-media__wide-image-wrapper {
  margin-top: 40px;
}
.a-koh-kong-media__wide-image {
  width: 100%;
  aspect-ratio: 1166/300;
  object-fit: cover;
}
.a-koh-kong {
  background: white;
}
.a-koh-kong__inner {
  max-width: 1206px;
  padding: 40px 20px 80px;
  margin: 0 auto;
  width: 100%;
}
.a-top-properties__btn-wrapper {
  margin-top: 40px;
}
.a-reason__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 80px;
}
.a-reason__card {
  position: relative;
}
.a-reason__card:nth-of-type(2)::before,
.a-reason__card:nth-of-type(2)::after {
  display: block;
  content: "";
  background: linear-gradient(
    to bottom,
    #000,
    #000 2px,
    transparent 4px,
    transparent 6px
  );
  background-size: 1px 6px;
  background-repeat: repeat-y;
  position: absolute;
  width: 1px;
  height: 97%;
  top: 50%;
  transform: translateY(-50%);
}
.a-reason__card:nth-of-type(2)::before {
  left: -20px;
}
.a-reason__card:nth-of-type(2)::after {
  right: -20px;
}
.a-reason__card-head {
  padding: 10px 0;
  background-color: #640a11;
  color: white;
  text-align: center;
  font-weight: bold;
}
.a-reason__card-title {
  font-size: 28px;
}
.a-reason__card-text {
  margin-top: 10px;
  font-size: 18px;
}
.a-reason__card-body {
  margin-top: 15px;
}
.a-reason__card-body img {
  width: 100%;
}

@media screen and (max-width: 1024px) {
  .a-top-slider {
    padding: 40px 0 60px;
  }
  .a-top-slider__image {
    padding-left: 20px;
    padding-right: 20px;
  }
  .a-top-slider-prev {
    left: 0;
  }
  .a-top-slider-next {
    right: 0;
  }
  .a-top-slider-page {
    bottom: -1em;
  }
  .a-top-what-border {
    display: block;
    height: 60px;
    margin-top: 50px;
    background-color: #102969;
  }
  .a-top-what-wrapper {
    margin-top: 60px;
    background-color: white;
  }
  .a-top-what-btn-wrapper {
    margin-top: 30px;
  }
  .a-top-support-media__flex {
    flex-direction: column-reverse;
  }
  .a-top-support-media__btn-wrapper {
    flex-direction: column;
  }
  .a-top-support-media__btn-wrapper .consultant-seminar-text {
    text-align: center;
  }
  .a-top-support-media__btn-wrapper .c-btn {
    margin-top: 30px;
    font-size: 18px;
  }
  .a-intro__cards {
    grid-template-columns: 1fr 1fr;
    gap: 60px 10px;
  }
  .a-intro__card--mt {
    margin-top: 0 !important;
  }
  .a-koh-kong {
    background-color: #102969;
  }
  .a-koh-kong__inner {
    max-width: none;
    padding-top: 0;
  }
}

@media screen and (max-width: 900px) {
  .a-reason__cards {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }
  .a-reason__card:nth-of-type(2):before,
  .a-reason__card:nth-of-type(2):after {
    background: linear-gradient(
      to right,
      #000,
      #000 2px,
      transparent 4px,
      transparent 6px
    );
    width: 100%;
    height: 1px;
    background-repeat: repeat-x;
    background-size: 6px 1px;
    transform: translateY(0);
  }

  .a-reason__card:nth-of-type(2):before {
    left: 0;
    top: -20px;
  }

  .a-reason__card:nth-of-type(2):after {
    right: 0;
    bottom: -20px;
    top: initial;
  }
}
@media screen and (max-width: 767px) {
  .a-top-heading__logo-image {
    width: 50px;
    height: 50px;
  }
  .a-top-slider-pagination {
    bottom: 2.5em;
  }
  .a-intro {
    margin-top: 20px;
    padding-top: 60px;
  }
  .a-intro__cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .a-intro__card-heading {
    font-size: 18px;
  }
  .a-intro__title {
    font-size: 22px;
  }
  .a-intro__title br {
    display: block;
  }
  .a-intro__card-heading br {
    display: none;
  }
  .a-intro__card--mt {
    margin-top: 40px !important;
  }
  .a-top-message__title h2 {
    font-size: 22px;
  }
  .a-top-message__title span {
    font-size: 22px;
  }

  .a-koh-kong-media__wide-image-wrapper {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
  .a-reason__card-title {
    font-size: 20px;
  }
}
@media screen and (max-width: 500px) {
  .a-top-slider-arrow {
    width: 1.5em;
  }
}
