/* サイト共通サイドメニュー */
.submenu .global-nav-mobile-item .global-nav-mobile-group {
display: unset;
}
.global-nav-mobile-item .global-nav-mobile-group {
display: unset;
}

/* マージン左5px */
.mgn5 {
  margin-left: 10px;
}


/* SP用コンテンツ調整 */
@media (max-width: 480px) {
  .sp_content {
    margin: 0 5px 0 5px;
  }
}

/* ピックアップの下線を無くす */
a.headline-pickup-link:hover, a.headline-pickup-link:visited, q.headline-pickup-link:active, q.headline-pickup-link:focus {
    text-decoration:none;
}

@media screen and (min-width: 1024px){
.section-horizontal-footer {
margin-top: 30px!important;
}
}

@media screen and (max-width: 1320px){
.global-nav-item {
font-size: 80%!important;
}
.global-nav-link {
padding: 5px!important;
}
}

/* ロゴの調整 */
.header-logo {
  margin-top: 16px;
}

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

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

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


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

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

/* サイト共通の見出しのフォント設定 */
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;
}

/*ナビゲーション、サブメニュー ul（表示領域）の調整 */
ul.global-nav-list ul {
  float: left;
  padding: 0px 0;
  position: absolute;
  left: 0;
  top: 60px;
  display: none;
  background: linear-gradient(#b4cda5, #c6deb7);
  color: #000;
  margin: auto calc(100% - 100vw);
  width: 100vw;
  text-align: center;
  animation-name: fadeInAnime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
  padding: 40px 0 40px 0;
}

@keyframes fadeInAnime {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

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

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

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

/*ナビゲーション、サブメニュー ul（hover時にはじめて表示） */
ul.global-nav-list li:hover ul {
  display: block;
}

/*ナビゲーション、サブメニュー li（メニュー実態）の調整 */
ul.global-nav-list ul li {
  display: inline-block;
  padding: 5px 0 5px 0;
  width: 16%;
  border: 0px solid #000000;
  background: #ffffff;
  margin-bottom: 5px;
}

/* ナビゲーション、サブメニュー文字色 */
li.global-nav-item ul li a.global-nav-link {
  color: #393939;
}

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

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

/* ？？？？ */
.entry-header-visual-box {
  background: rgb(7 60 120 / 70%);
}

/* メイン画像、メインテキストの装飾・アニメーション */
h1.main-visual-catch {
  /*　font-family: 'Zilla Slab Highlight', cursive; */
  transform: translateY(-50%);
  overflow: hidden;
  white-space: nowrap;
  font-size: 46px;
  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;
}

/* メイン画像、メインテキストの装飾_shadowファイル名の場合 */
.mv_shadow h1.main-visual-catch {
  color: #ffffff;
  text-shadow: 1px 1px 2px rgb(0, 0, 0), 0 0 0.6em rgb(60, 60, 60);
}

/* メイン画像、サブテキストの装飾 */
.main-visual-catch-sub {
  font-size: 20px;
  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;
}

/* メイン画像、メインテキストの装飾_shadowファイル名の場合 */
.mv_shadow p.main-visual-catch-sub {
  color: #000000;
  text-shadow: 0px 0px 4px rgb(255, 255, 255);
}

/* メイン画像、透過色をなくして画像をピュアに表示 */
.main-visual-box::before {
  background: linear-gradient(150deg, rgba(253, 253, 253, 0.25), 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;
  }
}


/* メイン画像、高さを変更 */
@media screen and (max-width: 1024px) {
.header-item-nav {
font-size: 14px;
}
}


/* カテゴリメニューをセンターに。 */
.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 {
    margin-top: 18px;
    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: 4px 10px;
  }

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

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


/* 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%);
}

@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%;
}

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

@media screen and (min-width: 768px){
  .card.is-lg .card-title {
    font-size: 18px;
  }
}
