/* M PLUS 1フォント読み込み */
@font-face {
  font-family: 'M PLUS 1';
  src: url('../fonts/MPLUS1-Regular.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'M PLUS 1';
  src: url('../fonts/MPLUS1-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'M PLUS 1';
  src: url('../fonts/MPLUS1-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'M PLUS 1';
  src: url('../fonts/MPLUS1-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* カスタムフォント読み込み */
@font-face {
  font-family: 'Jeko';
  src: url('../fonts/Jeko-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jeko';
  src: url('../fonts/Jeko-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jeko';
  src: url('../fonts/Jeko-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jeko';
  src: url('../fonts/Jeko-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}


:root {
  --yellow: #FFCA28;
  --yellow-light: #FFEB33;
  --orange: #FFA920;
  --white: #FFFFFF;
  --black: #222324;
  --gray: #C7D3D6;
  --gray-light: #EFF1F2;
  --gray-dark: #4A515F;

  --main-font: 'M PLUS 1', sans-serif;
  /* --english-font: 'Jeko ExtraBold', sans-serif; */
}

body {
  font-family: var(--main-font);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

p, h1, h2, h3, h4, h5, h6, ul, ol, li, table th, table td, a {
  margin: 0;
  padding: 0;
  color: var(--black);
  font-weight: normal;
}

a {
  text-decoration: none;
  border: none;
}

/* テーブルリセット */
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

th, td {
  padding: 0;
  text-align: left;
  vertical-align: middle;
  border: none;
  font-size: inherit;
  font-weight: inherit;
}

th {
  font-weight: bold;
}

caption {
  text-align: left;
}

/* .english-font {
  font-family: var(--english-font);
} */

@media screen and (max-width: 767px) {
  .only-pc {
    display: none;
  }
}

@media screen and (min-width: 768px) {
  .only-sp {
    display: none;
  }
}

.text-bold {
  font-weight: bold;
}

.text-color-yellow {
  color: var(--yellow);
}

.text-color-gray {
  color: var(--gray);
}

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

.center-x {
  display: flex;
  justify-content: center;
}

.mt-10 {
  margin-top: 10px !important;
}

.mt-20 {
  margin-top: 20px !important;
}

.mt-30 {
  margin-top: 30px !important;
}

.mb-10 {
  margin-bottom: 10px !important;
}

.mb-20 {
  margin-bottom: 20px !important;
}

.mb-30 {
  margin-bottom: 30px !important;
}

a.basic_link.header__button {
  width: 150px;
  font-size: 14px;
  font-weight: bold;
  background-color: #f6be00;
  border: none;
}

@media screen and (max-width: 767px) {
  a.basic_link.header__button {
    padding: 8px 10px !important;
    width: 98px;
  }
}

a.basic_link.header__button .icon-arrow {
  right: 10% !important; 
}


@media screen and (max-width: 767px) {
  a.basic_link.header__button .icon-arrow {
    right: 4% !important; 
  }
}

a.basic_link.header__button:hover {
  background-color: #c29500;
}

.elementor-location-footer, .elementor-heading-title  {
  font-family: 'Jeko', 'M PLUS 1', sans-serif !important;
}

/* 新しいタブで開くアイコン */
.external-link a, .menu-item-21010 a, .hamburgerMenu__subMenu__link {
  position: relative;
  padding-right: 1.5em;
  opacity: 1;
}

.external-link a::after, .menu-item-21010 a::after, .hamburgerMenu__subMenu__link::after {
  content: '';
  background-image: url("data:image/svg+xml,%3Csvg version='1.1' id='_x32_' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 512 512' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M96,0v416h416V0H96z M472,376H136V112h336V376z' fill='%234B4B4B'%3E%3C/path%3E%3Cpolygon points='40,472 40,296 40,136 40,96 0,96 0,512 416,512 416,472 376,472' fill='%234B4B4B'%3E%3C/polygon%3E%3C/g%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  width: 0.9em;
  height: 0.9em;
  margin-left: 0.3em;
  right: 0;
  opacity: 1 !important;
  background-color: transparent !important;
}

/* 色のバリエーション */        
.external-link.white a::after {
  background-image: url("data:image/svg+xml,%3Csvg version='1.1' id='_x32_' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 512 512' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M96,0v416h416V0H96z M472,376H136V112h336V376z' fill='%23ffffff'%3E%3C/path%3E%3Cpolygon points='40,472 40,296 40,136 40,96 0,96 0,512 416,512 416,472 376,472' fill='%23ffffff'%3E%3C/polygon%3E%3C/g%3E%3C/svg%3E");
}

.external-link:hover a::after {
  background-image: url("data:image/svg+xml,%3Csvg version='1.1' id='_x32_' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 512 512' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M96,0v416h416V0H96z M472,376H136V112h336V376z' fill='%23ecd855'%3E%3C/path%3E%3Cpolygon points='40,472 40,296 40,136 40,96 0,96 0,512 416,512 416,472 376,472' fill='%23ecd855'%3E%3C/polygon%3E%3C/g%3E%3C/svg%3E");
}

.menu-item-21010:hover a::after {
  background-image: url("data:image/svg+xml,%3Csvg version='1.1' id='_x32_' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 512 512' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M96,0v416h416V0H96z M472,376H136V112h336V376z' fill='%23F6BE00'%3E%3C/path%3E%3Cpolygon points='40,472 40,296 40,136 40,96 0,96 0,512 416,512 416,472 376,472' fill='%23F6BE00'%3E%3C/polygon%3E%3C/g%3E%3C/svg%3E");
}

/* ハンバーガーメニューの中身 */
.hamburgerMenu__subMenu {
  margin: 30px 0 0 0; 
  padding: 0;
}

.hamburgerMenu__subMenu__item {
  position: relative;
  display: flex;
  align-self: center;
  list-style: none;
}

.hamburgerMenu__subMenu__link {
  padding: 6px 18px;
  font-size: 16px;
  font-family: "M PLUS 1", Sans-serif;
  color: #333333;
}

.hamburgerMenu__subMenu__link::after {
  top: 50%;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg version='1.1' id='_x32_' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 512 512' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M96,0v416h416V0H96z M472,376H136V112h336V376z' fill='%23333333'%3E%3C/path%3E%3Cpolygon points='40,472 40,296 40,136 40,96 0,96 0,512 416,512 416,472 376,472' fill='%23333333'%3E%3C/polygon%3E%3C/g%3E%3C/svg%3E");
}

/* ハンバーガーメニュー内でスクロールできない不具合を修正 */
.dialog-message.dialog-lightbox-message {
  overflow-y: scroll !important;
  height: 100dvh !important;
}

/* フッターの特定箇所のフォントを指定 */
.elementor-element-b4de295 {
  font-family: var(--main-font) !important;
}

/* パンくずリスト */
.common-breadcrumb {
  display: flex;
  align-items: center;
  max-width: 910px;
  margin: 15px auto;
  padding: 10px 0;
  font-size: 12px;
  font-weight: 600;
  color: #999;
}

.common-breadcrumb span + span::before {
  content: "";
  height: 1px;
  width: 1.5rem;
  display: inline-block;
  background-color: #ddd;
  margin-right: 10px;
  margin-left: 10px;
  vertical-align: middle;
}

.common-breadcrumb a {
  color: #999;
  text-decoration: none;
  transition: color 0.3s;
}

.common-breadcrumb a:hover {
  color: var(--black);
}

.common-breadcrumb .breadcrumb_last {
  color: var(--black);
}

/* パンくずリスト（タブレット） */
@media screen and (max-width: 1024px) {
  .common-breadcrumb {
    padding: 16px 16px 0;
  }
}

/* パンくずリスト（スマホ） */
@media screen and (max-width: 767px) {
  .common-breadcrumb {
    font-size: 8px;
    padding: 12px 12px 0;
  }

  .common-breadcrumb a {
    white-space: nowrap;
  }

  .common-breadcrumb span + span::before {
    width: 1rem;
    margin-right: 4px;
    margin-left: 4px;
  }
}

.common-container {
  padding: 10px 0 60px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

@media screen and (max-width: 900px) {
  .common-container {
    padding: 10px 10px 60px;
  }
}

@media screen and (max-width: 767px) {
  .common-container {
    padding: 50px 20px;
  }
}

.common-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--black);
  text-align: center;
  line-height: 1.5;
  margin: 0 0 20px 0;
}

/* タイトル（タブレット） */
@media screen and (max-width: 1024px) {
  .common-title {
    font-size: 28px;
  }
}

/* タイトル（スマホ） */
@media screen and (max-width: 767px) {
  .common-title {
    font-size: 24px;
  }
}


/* 基本ボタン */
.common-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 300px;
  padding: 16px 40px 16px 32px;
  background-color: var(--white);
  border: 1px solid var(--black);
  border-radius: 10px;
  color: var(--black);
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

@media screen and (max-width: 430px) {
  .common-btn {
    max-width: 100%;
  }
}

/* 汎用ボタン */
.common-btn:hover {
  background-color: #f6be00;
  color: var(--black);
}

.common-btn__icon {
  position: absolute;
  top: 50%;
  right: 6%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}

.common-btn-wrap {
  margin: 40px auto 0;
  display: flex;
  gap: 20px 40px;
}

@media screen and (max-width: 767px) {
  .common-btn-wrap {
    flex-direction: column;
  }
}

/* シミュレーター共通css */
.p-simulator__title {
  font-size: 40px;
  font-family: "Jeko", Sans-serif;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .p-simulator__title {
    margin: 0 20px;
    font-size: 30px;
  }
}

.p-simulator__subTitle {
  margin: 24px 0 0;
  font-size: 18px;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .p-simulator__subTitle {
    margin: 24px 20px 0;
    font-size: 16px;
  }
}

.p-simulator__mainVisual {
  margin: 50px 0 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 550px;
  overflow: hidden;
}

.p-simulator__mainVisual__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: -1;
}

@media (max-width: 768px) {
  .p-simulator__mainVisual {
    min-height: 400px;
  }
}

@media (max-width: 480px) {
  .p-simulator__mainVisual {
    min-height: 300px;
  }
}

.p-simulator__lead {
  margin: 50px 0 0;
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .p-simulator__lead {
    font-size: 14px;
  }
}

.p-simulator__notes {
  margin: 50px auto 0;
  padding: 40px;
  border: 1px solid #d1d5db;
  border-radius: 40px;
  width: 100%;
  max-width: 990px;
  background-color: #f0f0f0;
}

@media screen and (max-width: 990px) {
  .p-simulator__notes {
    margin: 40px 16px 0;
    width: auto;
    max-width: none;
  }
}

@media screen and (max-width: 768px) {
  .p-simulator__notes {
    padding: 32px 16px;
  }
}

.p-simulator__notes__title {
  font-size: 14px;
  font-weight: bold;
  font-family: "Jeko", Sans-serif;
  letter-spacing: .2em;
  color: #737373;
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.p-simulator__notes__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-simulator__notes__item {
  background-color: var(--white);
  padding: 18px;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
  display: flex;
  gap: 10px;
  margin: 0;
}

.p-simulator__notes__num {
  font-weight: bold;
  color: #262626;
  flex-shrink: 0;
  font-size: 13px;
}

.p-simulator__notes__text {
  font-size: 12px;
  color: #525252;
  margin: 0;
}

.p-simulator__notes__disclaimer {
  font-size: 12px;
  color: #4b5563;
  line-height: 1.85;
  font-weight: 700;
  margin: 28px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid #e5e7eb;
}

.p-simulator__cta {
  margin: 80px auto 0;
  padding: 60px 40px;
  width: 100%;
  max-width: 990px;
  background: var(--white);
  border-top: 8px solid var(--yellow);
  border-radius: 40px;
  text-align: center;
  box-shadow: 0 25px 50px rgba(0, 0, 0, .07);
}

@media screen and (max-width: 990px) {
  .p-simulator__cta {
    margin: 50px 16px 0;
    width: auto;
    max-width: none;
  }
}

@media screen and (max-width: 767px) {
  .p-simulator__cta {
    margin: 50px 16px 0;
    padding: 40px 24px;
  }
}

.p-simulator__cta__title {
  font-size: 20px;
  font-weight: bold;
  color: var(--black);
  letter-spacing: -.03em;
}

.p-simulator__cta__sub {
  margin: 0;
  font-size: 14px;
  font-family: "Jeko", Sans-serif;
  color: var(--yellow);
  letter-spacing: .1em;
}

.p-simulator__cta__btn {
  margin: 24px 0 0;
  display: inline-block;
  background: #404040;
  color: var(--yellow);
  padding: 24px 40px;
  border-radius: 100px;
  font-weight: bold;
  font-size: 16px;
  letter-spacing: .15em;
  transition: transform .3s;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
}

@media screen and (max-width: 767px) {
  .p-simulator__cta__btn {
    padding: 16px 32px;
    font-size: 14px;
  }
}

.p-simulator__cta__btn:hover, .p-simulator__cta__btn:focus, .p-simulator__cta__btn:active {
  transform: scale(1.05);
  color: var(--yellow);
}


/* KG追記 */
/* PC&Tabletメニュー */
.external-link-wrap li a {
  padding: 16px 10px;
}
.external-link-wrap li a::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #F6BE00;
  bottom: 0px;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform 0.3s; 
}
.external-link-wrap li a:hover::after {
  transform: scale(1, 1);
}
/* スマホメニュー */
@media screen and (max-width: 1024px) {
  .menu-item a img {
    width: 20px;
    margin-right: 0.5em;
  }
}
