@charset "utf-8";

/* Base Styles */
body {
  font-family: 'Noto Sans JP', sans-serif;
  margin: 0;
  padding: 0;
}

/* Wrapper */
#wrapper {
  width: 100%;
  margin: 0 auto;
  background-color: #efefef;
}

/* Header */
#header {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 10px;
  box-sizing: border-box;
  background-color: #fff;
}

#header-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

/* PC用（デフォルト） */
#head-logo {
  text-align: right;
}

#head-logo img {
  max-width: 200px;
  height: auto;
  display: inline-block;
  margin-right: 50px; /* ← 右端から50px左に寄せる */
}

/* モバイル用（768px以下） */
@media screen and (max-width: 768px) {
  #head-logo {
    text-align: right !important;  /* ← 中央寄せを強制的に打ち消す */
    margin: 0 !important;           /* ← autoの影響を無効化 */
  }

  #head-logo img {
    max-width: 120px;
    height: auto;
    display: inline-block;
    margin-right: 10px;
  }
}


/* Contents */
#contents {
  position: relative;       /* ← 追加！ */
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 10px 150px;
  box-sizing: border-box;
  background-color: #fff;
}

.column-inner {
  width: 100%;
  text-align: center;
}



/* フローティングバナー */

.floating-banner {
  display: none;
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
}

.floating-left {
  left: calc(50% - 640px); /* 1280pxの内側に合わせる */
}

.floating-right {
  right: calc(50% - 640px);
}

@media screen and (max-width: 1280px) {
  .floating-banner {
    display: none;
  }
}

/* バナー画像に色付きフィルターをかける*/

.floating-banner img {
  transition: filter 0.3s ease;
}

.floating-banner:hover img {
  filter: sepia(1) hue-rotate(-30deg) saturate(6) brightness(1.1);
}


.ftb img {
  transition: filter 0.3s ease;
}

.ftb:hover img {
  filter: sepia(1) hue-rotate(-30deg) saturate(6) brightness(1.1);
}



/* CSSアニメーション */

.fade-container {
  position: relative;
  width: 100%;
  max-width: 1085px;
  aspect-ratio: 1085 / 794;  /* 実際の画像サイズの比率 */
  margin: 0 auto;
  overflow: hidden;
}

.fade-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.fade-img.show {
  opacity: 1;
}




/* Images */
.liq {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.liq2 {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
.liq2 {
  max-width: 50%;
  height: auto;
  display: block;
  margin: 0 auto;
}
}

/* Footer */
#footer {
  margin-top: 0;
}

#copyright {
    padding: 16px 0 18px;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
    background-color: #7881A4;
    color: #FFFFFF;
}

/* Utility Classes */
.mt-20,
.mt20 {
  margin-top: 20px !important;
}
.mt-50,
.mt50 {
  margin-top: 50px !important;
}
.mt-70,
.mt70 {
  margin-top: 70px !important;
}

.mt-100,
.mt100 {
  margin-top: 100px !important;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  #header {
    padding: 10px;
    height: auto;
    overflow: visible;
  }

  #head-logo {
    text-align: center;
    margin: 0 auto;
  }

  #head-logo img {
    max-width: 120px; /* ← ロゴの縮小サイズ（調整可） */
    height: auto;
  }

  #contents {
    margin: 0 10px;
  }

  #copyright {
    font-size: 12px;
    padding: 12px 0;
  }
}



/* ローディング */
.logo_fadein{
	background: #FFF;
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 999;
}
.logo_fadein p {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: none;
	z-index: 9999;
	width: 280px;
}


/* フェードイン前の初期状態 */
.fadein {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* フェードイン後の状態 */
.fadein.show {
    opacity: 1;
    transform: translateY(0);
}


/* デフォルト（PC表示）は非表示 */
.bottom-nav {
  display: none;
}

@media screen and (max-width: 768px) {
  body {
    padding-bottom: 100px; /* ナビ固定で隠れないように余白 */
  }

  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw; /* ← 画面幅に確実にフィットさせる */
    height: auto;
    background-color: #fff;
    z-index: 9999;
    border-top: 1px solid #ccc;
  }

  .bottom-nav .nav-item {
    flex: 1 1 50%;
    max-width: 50%;
  }

  .bottom-nav .nav-item img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* ▼ メニュー中間線部分 ▼ */
  .bottom-nav .nav-item + .nav-item {
    border-left: 1px solid #fff;
  }
}