@charset 'UTF-8';

/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■

	共通css

■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */


/* ================================================================================

	サイトスタイル

================================================================================ */

html {
  overflow-x: hidden;
}

main {
  margin-top: -80px;
}

@font-face {
  font-family: 'LINE Seed JP';
  src: url(../fonts/LINESeedJP_OTF_Rg.woff2) format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'LINE Seed JP';
  src: url(../fonts/LINESeedJP_OTF_Bd.woff2) format('woff2');
  font-weight: 700;
  font-style: normal;
}

/* --- 全体構造 --- */
body {
  font-family: 'LINE Seed JP' , sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.8;
  font-size: 18px;
  max-width: 1920px;
  width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s;
}
a:hover {
  opacity: 0.7;
}

p:not(:first-child) {
	margin-top: 0.4em;
}

/* --- レイアウト --- */
.wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- 流れるテキスト --- */
.scroll-text {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
  position: absolute;
  top: -194px;
  z-index: -1;
  font-weight: 900;
}
.scroll-wrap {
  display: flex;
  animation: loop-text 20s linear infinite;
}
.double-content {
  display: inline-block;
  font-size: 152px;
  color: #F5F5F5;
  white-space: nowrap;
}

@keyframes loop-text {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* --- ヘッダー・フッター共通 --- */
.site-header, .site-footer {
  width: 100%;
}

/*
.scroll-text {
  width: 100vw;
  left: 0;
}
*/


/* PC設定
----------------------------------------------- */
@media (max-width: 1140px) {
  
  body {
    font-size: 16px;
  }
  
}

/* SP設定
----------------------------------------------- */
@media (max-width: 960px) {
  
  main {
    margin-top: -60px;
  }
  
}

@media (max-width: 767px) {
  
  main {
    margin-top: -50px;
  }
  
}


/* ================================================================================

	レイアウト

================================================================================ */

.section-wide {
  position: relative;
  background-color: #F5F5F5;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px;
/*  width: 100%;*/
}

h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  position: relative;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  padding: 16px 0;
  margin-bottom: 40px;
  line-height: 1.4;
}
h2 span {
  display: block;
  font-size: 18px;
  color: #888;
  margin-top: 6px;
  padding-bottom: 4px;
}
h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}

.section-inner img {
  border-radius: 4px;
  object-fit: cover;
  width: 100%;
}

/* PC設定
----------------------------------------------- */
@media (max-width: 1140px) {
  
  h2 {
    font-size: 28px;
  }
  h2 span {
    font-size: 16px;
  }
  h3 {
    font-size: 20px;
  }
  
}



/* SP設定
----------------------------------------------- */
@media (max-width: 450px) {
  
  .section-inner {
    margin: 0 auto;
    padding: 60px 20px;
  }
  
  h2 {
    font-size: 22px;
    padding: 10px 0;
    margin-bottom: 30px;
  }
  h2 span {
    display: block;
    font-size: 16px;
    color: #888;
    margin-top: 3px;
    padding-bottom: 0;
  }
  h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
}


/* ================================================================================

	display:none

================================================================================ */

/* PC設定
----------------------------------------------- */
@media (min-width: 768px) {

	/* SP改行消し */
	.br-pc {
		display: none;
	}
	/* SPコンテンツ消し */
	.pc_none {
		display: none;
	}

}


/* SP設定
----------------------------------------------- */
@media (max-width: 767px) {

	/* PC改行消し */
	.br-sp {
		display: none;
	}
	/* PCコンテンツ消し */
	.sp_none {
		display: none;
	}

}


/* ================================================================================

	共通ボタン

================================================================================ */

.btn {
  display: flex;
  background: #333;
  color: #fff;
  padding: 10px 0;
  border-radius: 30px;
  font-size: 20px;
  font-weight: 300;
  transition: 0.3s;
  gap: 16px;
  max-width: 240px;
  justify-content: center;
  width: 100%;
  margin-top: 24px;
}
.btn:hover {
  opacity: 0.8;
}
.btn img {
  border-radius: 0 !important;
  width: auto !important;
  object-fit: contain !important;
}

/* PC設定
----------------------------------------------- */
@media (max-width: 1140px) {
  
  .btn {
    font-size: 18px;
    max-width: 220px;
  }
  
}

/* SP設定
----------------------------------------------- */
@media (max-width: 767px) {
  
  .btn {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  
}


/* ================================================================================

	ヘッダー

================================================================================ */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.site-header .header-inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 7px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-header .logo {
  font-size: 32px;
  font-weight: 700;
  min-width: 288px;
}
.site-header nav ul {
  display: flex;
  gap: 40px;
}
.site-header nav a {
  font-size: 20px;
  position: relative;
}
.site-header nav a:hover {
  opacity: 1;
}
.site-header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #000;
  transition: width 0.3s;
}
.site-header nav a:hover::after {
  width: 100%;
}

.site-header .contact-btn {
  min-width: 240px;
}
.site-header .contact-btn a {
  display: flex;
  gap: 16px;
  justify-content: center;
  width: 240px;
  background-color: #333;
  color: #fff;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  padding: 10px 0;
  border-radius: 40px;
}

.sp-contact {
  display: none;
}

/* スクロール時縮小 */
.site-header.shrink .header-inner {
  padding: 7px 40px;
  transition: padding 0.3s;
}

/* ヘッダー下にスペース確保（固定対策） */
body {
  padding-top: 80px; /* ヘッダー高さ分 */
}

.hamburger {
  display: none;
}


/* PC設定
------------------------------------------- */
@media (max-width: 1140px) {

  .site-header .logo {
    font-size: 28px;
    min-width: 252px;
  }
  .site-header nav ul {
    gap: 32px;
  }
  .site-header nav a {
    font-size: 18px;
  }

  .site-header .contact-btn {
    min-width: 220px;
  }
  .site-header .contact-btn a {
    width: 220px;
    font-size: 18px;
  }
  
  /* スクロール時縮小 */
  .site-header.shrink .header-inner {
    padding: 7px 20px;
  }
  
  /* ヘッダー下にスペース確保（固定対策） */
  body {
    padding-top: 66px; /* ヘッダー高さ分 */
  }
  
}



/* TB設定
------------------------------------------- */
@media (max-width: 960px) {
  
  .site-header .hamburger {
    display: block;
    position: relative;
    width: 40px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 200;
  }

  /* 線3本を絶対配置で固定 */
  .site-header .hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #333;
    transition: 0.3s ease;
    transform-origin: center;
  }

  /* 各線の位置 */
  .site-header .hamburger span:nth-child(1) {
    top: 0;
  }
  .site-header .hamburger span:nth-child(2) {
    top: 11px; /* 真ん中 */
  }
  .site-header .hamburger span:nth-child(3) {
    bottom: 0;
  }

  /* アクティブ時（×マーク） */
  .site-header .hamburger.active span:nth-child(1) {
    top: 11px;
    transform: rotate(45deg);
  }
  .site-header .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .site-header .hamburger.active span:nth-child(3) {
    bottom: 11px;
    transform: rotate(-45deg);
  }

  /* SP用ナビ */
  .site-header nav {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .site-header nav.open {
    transform: translateY(0);
    opacity: 1;
  }

  .site-header nav ul {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 30px 0;
  }

  .site-header nav a {
    font-size: 18px;
  }
  
  .site-header nav a::after {
    display: none;
  }
  .site-header nav a:hover::after {
    display: none;
  }

  /* SP用Contactボタン */
  .sp-contact {
    display: block;
  }

  .pc-only {
    display: none;
  }

  /* レイアウト調整 */
  .site-header .header-inner {
    padding: 7px 20px;
  }

  .site-header .logo {
    font-size: 26px;
    min-width: auto;
    z-index: 100;
  }

  .site-header nav ul {
    gap: 24px;
  }
  
  /* ヘッダー下にスペース確保（固定対策） */
  body {
    padding-top: 60px; /* ヘッダー高さ分 */
  }
  
}


/* SP設定
------------------------------------------- */
@media (max-width: 768px) {

  .site-header .logo {
    font-size: 20px;
  }
  

  /* SP用ナビ */
  .site-header nav {
    top: 50px;
  }
  
  /* ヘッダー下にスペース確保（固定対策） */
  body {
    padding-top: 50px; /* ヘッダー高さ分 */
  }
  
}


/* ================================================================================

	フッター

================================================================================ */

.footer-bg {
  position: relative;
  background: url(../img/bg_footer.webp) center bottom/ cover no-repeat;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-bg p {
  color: #fff;
  font-weight: 700;
  font-size: 56px;
  text-align: center;
}

.site-footer {
  background: #333;
  color: #fff;
}

.footer-inner {
  max-width: 1100px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  padding: 34px 20px 48px;
  flex-wrap: wrap;
  margin: 0 auto;
}

.footer-left {
  flex: 1;
  min-width: 300px;
  font-size: 16px;
}

.footer-logo {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-contact span {
  pointer-events: none;
}

.footer-right {
  display: flex;
  flex: 1;
  justify-content: flex-end;
  min-width: 300px;
  font-size: 18px;
  padding-top: 6px;
}

.footer-nav {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 600px;
  gap: 40px;
}
.footer-nav > div > li > ul > li {
  position: relative;
  font-size: 14px;
  padding-left: 10px;
}
.footer-nav > div > li > ul > li:before {
  content: '-';
  position: absolute;
  font-size: 14px;
  top: 0;
  left: 0;
}

.footer-nav-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-bottom {
  background: #fff;
  color: #333;
  text-align: center;
  padding: 9px 0;
  font-size: 12px;
}

.sp_nav {
  display: none;
}


/* PC設定
------------------------------------------- */
@media (max-width: 1140px) {

  .footer-logo {
    font-size: 28px;
  }
  
}


/* SP設定
------------------------------------------- */
@media (max-width: 860px) {
  
  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .footer-left {
    text-align: center;
  }
  
  .footer-bg {
    height: 80vw;
  }
  .footer-bg p {
    font-size: 6vw;
  }
  
  .footer-logo {
    font-size: 24px;
  }
  .footer-left {
    font-size: 14px;
  }
  .footer-right {
    font-size: 16px;
  }
  
  .footer-nav-column {
    gap: 4px;
  }
  .footer-nav {
    flex-direction: column;
    width: 100%;
    gap: 4px;
  }
  .footer-nav-column > li > a {
    position: relative;
    background-color: #fff;
    color: #333;
    display: block;
    padding: 4px 10px;
  }

  .footer-nav-column > li > a.has-sub::after {
    content: "＋";
    position: absolute;
    right: 10px;
    top: 4px;
    font-weight: bold;
    transition: transform 0.3s;
  }

  .footer-nav-column > li > a.has-sub.open::after {
    content: "−";
  }

  .footer-nav-column > li > ul {
    display: none;
    padding-left: 10px;
    margin-top: 5px;
  }
  
  .sp_nav {
    display: block;
  }

}

