/*
 * KCMS 共通CSS
 * .kcms_common を付けたページで利用する共通レイアウト・パーツです。
 * 色は各ページで設定する --eme などの変数を参照します。
 */

.kcms_common img {
  max-width: 100%;
  height: auto;
  display: block;
}

.kcms_common a:focus-visible,
.kcms_common summary:focus-visible {
  outline: 2px solid var(--eme);
  outline-offset: 3px;
}

.kcms_common p {
  margin: 0 0 1em;
}

.kcms_common ul,
.kcms_common ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.kcms_common .kcms_sec {
  padding: 64px 0;
}

.kcms_common .kcms_sec.kcms_alt {
  background: var(--pale);
}

.kcms_common /* 横幅は全パーツ共通（本文幅1000px） */
.kcms_eye .kcms_in {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.kcms_common .kcms_main-img {
  max-width: none;
}

.kcms_common .kcms_narrow {
  max-width: none;
}

.kcms_common .kcms_ph {
  position: relative;
  overflow: hidden;
  background: var(--mint);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  aspect-ratio: 16/9;
  border: 1px dashed var(--line);
  padding: 12px;
}

.kcms_common .kcms_ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kcms_common .kcms_ic {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.kcms_common /* 見出し（英字は1つだけ。背景の薄い英字はCSSで表示） */
.kcms_eye .kcms_head {
  text-align: center;
  margin-bottom: 32px;
}

.kcms_common .kcms_genre {
  display: inline-block;
  font-size: 12px;
  color: var(--eme);
  border: 1px solid var(--eme);
  border-radius: 20px;
  padding: 0 14px;
  margin-bottom: 22px;
  background: #fff;
}

.kcms_common .kcms_en {
  display: block;
  position: relative;
  isolation: isolate;
  margin: 0 0 6px;
  font-family: 'Raleway',sans-serif;
  font-weight: 200;
  font-size: 30px;
  letter-spacing: .14em;
  line-height: 1.4;
  color: #222;
  text-align: center;
}

.kcms_common .kcms_en::before {
  content: attr(data-en);
  position: absolute;
  left: 0;
  right: 0;
  top: -.55em;
  z-index: -1;
  font-size: 150%;
  color: #d9efed;
  white-space: nowrap;
  text-align: center;
}

.kcms_common .kcms_head h2 {
  font-size: 20px;
  font-weight: normal;
  margin: 0;
  letter-spacing: .12em;
  text-align: center;
}

.kcms_common .kcms_catch {
  font-size: 19px;
  line-height: 1.8;
  text-align: center;
  color: #222;
  margin: 0 0 28px;
}

.kcms_common .kcms_catch em {
  font-style: normal;
  color: var(--eme);
}

.kcms_common /* 導入 */
.kcms_intro .kcms_ph {
  aspect-ratio: 21/9;
  margin-bottom: 32px;
}

.kcms_common .kcms_intro .kcms_catch {
  font-size: 22px;
}

.kcms_common .kcms_intro p {
  text-align: center;
}

.kcms_common .kcms_note {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.kcms_common .kcms_cards .kcms_ph {
  aspect-ratio: 16/9;
  border: none;
}

.kcms_common /* メニュー詳細 */
.kcms_main-img {
  margin-bottom: 32px;
}

.kcms_common .kcms_main-img>img {
  width: 100%;
}

.kcms_common .kcms_ba .kcms_ph {
  aspect-ratio: 4/3;
}

.kcms_common .kcms_reserve .kcms_en {
  color: #fff;
}

.kcms_common .kcms_reserve .kcms_en::before {
  color: #2fb2ab;
}

.kcms_common .kcms_reserve .kcms_head h2 {
  color: #fff;
}

.kcms_common .kcms_btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.kcms_common .kcms_btn {
  display: inline-block;
  min-width: 200px;
  padding: 12px 24px;
  border: 1px solid #fff;
  border-radius: 30px;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 14px;
}

.kcms_common .kcms_btn.kcms_line {
  background: #06C755;
  border-color: #06C755;
}

.kcms_common .kcms_btn.kcms_web {
  background: #fff;
  color: var(--eme) !important;
}

.kcms_common .kcms_btn:hover {
  opacity: .8;
}

@media screen and (max-width:767px) {
  .kcms_common .kcms_sec {
    padding: 48px 0;
  }

  .kcms_common .kcms_en {
    font-size: 24px;
  }

  .kcms_common .kcms_catch {
    font-size: 17px;
  }

  .kcms_common .kcms_intro .kcms_ph {
    aspect-ratio: 4/3;
  }
}

.kcms_common .kcms_plan .kcms_ph {
  aspect-ratio: auto;
  height: 100%;
  min-height: 180px;
  border: none;
}

@media screen and (max-width:767px) {
  .kcms_common .kcms_plan .kcms_ph {
    min-height: 0;
    aspect-ratio: 16/9;
  }
}
