/* ページタイトル背景 */
.page-title-inner {
  background: var(--color-primary-light);
}

/* htmxボタンの高さ設定 */
  .line-160{
    line-height: 140%;
  }

/* テキストカードの背景を白に */
.card-bordered-text-inline {
  background-color: white;
}

/* 背景色をつける場合のclass（ブログなど） */
.is-primary-bg {
  background: var(--color-primary-bg);
}

/* トップなどpartモジュールのh2の装飾 */
h2.section-vertical-heading,
h2.section-horizontal-heading {
  font-family: 'Oswald', sans-serif;
}

/* サイト共通の見出しのフォント設定 */
h2 {
  font-family: 'Fredoka', sans-serif;
}

/* ナビゲーション、サブメニューの効果を消すための処理 */
li.global-nav-item ul li a.global-nav-link.global-nav-link::after {
  height: 0px;
}

/* ナビゲーション、サブメニューのhoer */
li.global-nav-item ul li a.global-nav-link:hover {
  color: var(--color-primary-hover);
  transition: 0.3s;
}

/* ナビゲーション、第一階層メニューの幅調整 */
li.global-nav-item {
  margin: 0 0px;
  padding: 0 5px;
}

/* エントリー詳細画面、日付、カテゴリ情報などを右寄せに */
.entry-header-info {
  text-align: right;
}

/* お問い合わせの背景を白く */
.cta-round {
  background: #FFFFFF;
}

/* 動的フォームのチェックボックス・ラジオをボタンを一行に */
.acms-form-checkbox,
.acms-admin-form-checkbox,
.acms-admin-form-radio {
  display: block !important;
  line-height: 2.4;
}



@keyframes fadeInAnime {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ナビゲーション、メニュー見出しの調整 */
ul.global-nav-list ul #content_menu {
  display: block;
}

ul.global-nav-list #content_menu {
  display: none;
}

/* ナビゲーション、メニューを隠す */
.header.hide {
  transform: translateY(-100%);
}

.acms-admin-icon-gift:before {
  content: "\e98b";
}

/* CTAの透過度を調整 */
.cta-visual:before {
  background: rgba(64, 88, 113, 0.25);
}

/* CTAの文字サイズを調整を調整 */
h2.cta-visual-title {
  font-size: 28px;
}


/* メイン画像、メインテキストの装飾・アニメーション */
h1.main-visual-catch {
  /*　font-family: 'Zilla Slab Highlight', cursive; */
  transform: translateY(-50%);
  overflow: hidden;
  white-space: nowrap;
  font-size: 68px;
  text-align: left;
  font-feature-settings: "palt";
  color: #000000;
  -webkit-animation: fade-in 0.2s 0.3s 1 both;
  animation: fade-in 0.2s 0.3s 1 both;

}

/* メイン画像、メインテキストの装飾_blockファイル名の場合 */
.mv_block h1.main-visual-catch {
  background-color: #000000;
  color: #ffffff;
  width: max-content;
  display: inline-block;
  padding: 10px;
}

/* メイン画像、サブテキストの装飾 */
.main-visual-catch-sub {
  font-size: 24px;
  font-weight: bold;
  text-align: left;
  color: #000000;
  -webkit-animation: fade-in 0.2s 0.1s 1 both;
  animation: fade-in 0.2s 0.1s 1 both;
}

/* メイン画像、見出しテキストの装飾_sp_whiteファイル、_pc_whiteファイル名の場合 */
@media (max-width: 480px) {
  .sp_white_sub p.main-visual-catch-sub {
    color: #ffffff;
  }

  .sp_white_main h1.main-visual-catch {
    color: #ffffff;
  }

  .sp_white h1.main-visual-catch,
  .sp_white p.main-visual-catch-sub {
    color: #ffffff;
  }

  .pc_white_sub p.main-visual-catch-sub {
    color: #000000;
  }

  .pc_white_main h1.main-visual-catch {
    color: #000000;
  }

  .pc_white h1.main-visual-catch,
  .pc_white p.main-visual-catch-sub {
    color: #000000;
  }
}

/* メイン画像、見出しテキストの装飾_pc_whiteファイル名の場合 */
@media screen and (min-width: 768px) {
  .pc_white_sub p.main-visual-catch-sub {
    color: #ffffff;
  }

  .pc_white_main h1.main-visual-catch {
    color: #ffffff;
  }

  .pc_white p.main-visual-catch,
  .pc_white h1.main-visual-catch-sub {
    color: #ffffff;
  }
  .font_bigger p{
    font-size: larger;
  }
}

/* メイン画像、見出しテキストの装飾_both_whiteファイル名の場合 */
.both_white_sub p.main-visual-catch-sub {
  color: #ffffff;
}

.both_white_main h1.main-visual-catch {
  color: #ffffff;
}

.both_white h1.main-visual-catch,
.both_white p.main-visual-catch-sub {
  color: #ffffff;
}

/* メイン画像、透過色をなくして画像をピュアに表示 */
.main-visual-box::before {
  background: linear-gradient(150deg, rgba(253, 253, 253, 0.5), rgba(251, 251, 251, 0));
  /* background: none; */
}

/* メイン画像、ボタン部分の出現処理 */
.main-visual-catch-sub_button {
  text-align: left;
  line-height: 1.7;
  -webkit-animation: fade-in 0.3s 0s 1 both;
  animation: fade-in 0.3s 0s 1 both;
  will-change: transform, opacity;
}

/* メイン画像、中央揃えを解除 */
.main-visual-box {
  align-items: unset;
}

/* メイン画像、高さを変更 */
@media screen and (min-width: 768px) {
  .main-visual-bg {
    height: 70vh;
  }

}

/* MP4動画をレスポンシブに */

.acms-admin-img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
}


/* スマートフォンでは、カテゴリメニューをスクロールさせる */
@media (max-width: 480px) {
  .tag-wrapper.cate {
    overflow-x: auto;
  }

  .tag-list.caegory_list {
    width: max-content;
  }
}

/* カテゴリメニューをセンターに。 */
.tag-list.caegory_list {
  justify-content: center;
}

/* 該当カテゴリになったら、カテゴリの背景を灰色に。 */
.tag-link.selected {
  background-color: var(--color-gray30);
}

/* スマートフォンでの調整 */
@media (max-width: 480px) {

  .main-visual-bg {
    height: 55vh;
  }

  /* サイズを縮小 */
  h2.section-vertical-heading,
  h2.section-horizontal-heading {
    font-size: 28px;
  }

  /* テキストカードの調整 */
  .card-bordered-item {
    width: 100%;
  }

  .mv_shadow h1.main-visual-catch {
    padding: 4px;
  }

  /* ロゴの調整 */
  .header-logo {
    /* width: 130px; */
  }

  /* メイン画像、メインテキストのサイズ変更 */
  h1.main-visual-catch {
    font-size: 26px;
  }

  /* メイン画像、サブテキストのサイズ・太さ変更 */
  .main-visual-catch-sub {
    font-size: 20px;
    font-weight: bold;
  }

  /* メイン画像、サブテキストの装飾 */
  .main-visual-catch-sub {
    font-size: 16px;
    width: 60%;
    line-height: 1.4;
    text-align: left;
    color: #565656;
  }

  /* ボタンのサイズ変更 */
  .button.is-lg {
    padding: 20px 10px;
  }

  .button.is-width-lg {
    width: 220px;
    max-width: 100%;
    font-size: 16px;
  }
}

/* ヘッダー固定用 */
.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}


/* topスライド、ビデオの場合に必要なCSS　ここから */
.kv {
  height: 97vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.kv .main-copy {
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  letter-spacing: .2em;
}

.kv .sub-copy {
  color: #fff;
  font-size: 20px;
  text-align: center;
}

/* video */
.video {
  width: 100%;
  height: 97vh;
  background: url('') no-repeat center/cover;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: -1;
}

.video::after {
  content: '';
  width: 100%;
  height: 100%;
  background-color: #10394b;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  opacity: .3;
}

.video video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.title_image_base img{
  width: 100%;
  height: auto;
}

@media screen and (min-width: 768px) {

  /* kv */
  .kv {
    min-width: 960px;
  }

  /* video */
  .video {
    min-width: 960px;
  }
}

/* topスライド、ビデオの場合に必要なCSS　ここまで */


/* iframeの埋め込み設定（youtube、googlemap。ユニットで使用） */
.youtubeiframe,
.googlemapiframe {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.youtubeiframe iframe,
.googlemapiframe iframe {
  width: 100%;
  height: 100%;
}

/* iframeの埋め込み設定（リッチエディター） */
.youtube-frame {
  position: relative;
  width: 100%;
  height: 100%;
  padding-top: 30px;
  padding-bottom: 56.25%;
  overflow: hidden;
}

.youtube-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* 問い合わせ送信ボタンのマージン */

#btnConfirm {
  margin-bottom: 40px;
}


/* フッターの背景色を変更 */
footer {
  background-color: white;
}

/* ブログカテゴリの枠色関連 */
/* メイン画像、高さを変更 */
@media screen and (min-width: 768px) {

  h2.card-title {
    color: #3e3e3e;
    font-weight: 550;
  }

  .card {
    padding: 20px;
    border-radius: 10px;
  }

  .card:hover {
    opacity: 0.33;
    transition: 0.5s;
  }

  .cate_10 {
    border: 4px solid #6db16b;
    ;
  }

  .cate_11 {
    border: 4px solid #679ed8;
  }

  .cate_12 {
    border: 4px solid rgb(252, 210, 135);
  }

  .cate_17 {
    border: 4px solid rgb(194, 93, 79);
  }

  .cate_18 {
    border: 4px solid rgb(125, 125, 125);
  }

  .cate_19 {
    border: 4px solid rgb(136, 219, 213);
  }

  .cate_20 {
    border: 4px solid rgb(201, 201, 201);
  }

  .cate_28 {
    border: 4px solid rgb(166, 90, 202);
  }
}

  /* Mermaidで生成されたSVGを中央揃えにする */
  .mermaid svg {
    display: block;
    margin: 0 auto;
  }

  /* Pの下を1行開ける */
@media screen and (min-width: 48rem) {
      .ug-center p {
          margin-bottom: 1em;
          line-height: 1.9;
      }

      .entry-header-title {
        margin: 0 0 1.5rem;
        padding: 0 0 1.5rem;
        font-size: 1.8rem;
      }

      .ug-center h2 {
          margin-top: 100px;
          font-size: 1.75em;
      }
      .ug-center h3 {
          margin-top: 46px;
          font-size: 1.4em;
      }
      .title_image_base{
        text-align: center;
      }
      .title_image_base img{
        width: 80%;
        height: auto;
      }
  }
