@charset 'utf-8';
/*
Theme Name: 大島インシュレーション
*/

@import url(css/aboutus.css);
@import url(css/service.css);
@import url(css/blog.css);
@import url(css/contact.css);
@import url(css/recruit.css);
@import url(css/gallery.css);
@import url(css/concept.css);


/* ========== Base Reset ========== */
* {
  margin: 0;
  padding: 0;
  font-size: 100%;
  box-sizing: border-box;
}
html { scroll-behavior: smooth; }
body {
  color: #000;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 1.125rem;
  letter-spacing: 0.05em;
  line-height: 1;
}
table { border-collapse: collapse; }
td, th { text-align: left; vertical-align: top; }
li { list-style: none; }
img {
  display: block;
  border: 0;
  max-width: 100%;
  height: auto;
}
/* utility */
.clearfix { zoom: 1; }
.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}
.img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  font-family: 'object-fit: cover; object-position: center center;';
}

/* ========== Links ========== */
a:link { color: #5b657e; text-decoration: underline; }
a:visited { color: #5b657e; text-decoration: none; }
a:hover { color: #5b657e; text-decoration: none; }
a:active { color: #2177be; text-decoration: none; }

/* tel link (tap enable only under 960) */
a[href^="tel:"] {
  cursor: default;
  pointer-events: none;
  color: #fff;
  text-decoration: none;
}
@media (max-width: 959px) {
  a[href^="tel:"] {
    cursor: pointer;
    pointer-events: auto;
  }
}

/* ========== Header / Logo / YouTube ========== */
header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20001;
}

/* site title h1 */
h1 {
  position: fixed;
  left: 65px;
  top: 65px;
  z-index: 10;
  transition: opacity .3s ease, transform .3s ease, visibility 0s linear 0s;
}
h1.is-animation {
  opacity: 0;
  transform: translateY(-25px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
}
@media (max-width: 768px) { h1 { width: 150px; } }
@media (max-width: 500px) {
  h1 { left: 25px; top: 125px; width: 130px; }
}
@media (max-width: 400px) { h1 { top: 145px; } }

/* header YouTube button */
header #head-youtube {
  position: fixed;
  top: 65px;
  right: 200px;
}
header.is-animation #head-youtube {
  opacity: 0;
  transform: translateY(-25px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
}
header #head-youtube a {
  display: block;
  width: 260px;
  height: 40px;
  background-color: #fff;
  padding-top: 12px;
}
header #head-youtube a img { width: 90%; margin: 0 auto; }
header #head-youtube a img.pc { display: block; }
header #head-youtube a img.sp { display: none; }
@media (max-width: 800px) {
  header #head-youtube a { width: 80px; height: 40px; padding-top: 10px; }
  header #head-youtube a img.pc { display: none; }
  header #head-youtube a img.sp { display: block; width: 76%; }
}
@media (max-width: 599px) {
  header #head-youtube { top: 25px; right: 140px; }
}

/* ========== Menu Trigger (Hamburger) ========== */
.menu-trigger_container {
  position: fixed;
  top: 65px;
  right: 70px;
  z-index: 20001;
  color: #fff;
  font-family: "TikTok Sans", sans-serif;
}
.menu-trigger_container .menu-txt {
  display: block;
  text-align: right;
  font-size: 80%;
  padding-top: 15px;
}
.menu-trigger {
  width: 90px;
  height: 60px;
  cursor: pointer;
  transition: all .2s;
  position: relative;
}
header.is-animation .menu-trigger_container {
  background-color: #000;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  padding: 20px 15px 0;
  transition: all .3s ease;
}
.menu-trigger span {
  display: inline-block;
  box-sizing: border-box;
  position: absolute;
  right: 0;
  height: 2px;
  background-color: #fff;
  transition: width .4s, transform .4s, background-color .2s;
}
.menu-trigger span:nth-of-type(1) { top: 0;   width: 100%; }
.menu-trigger span:nth-of-type(2) { top: 31px; width: 80%; }
.menu-trigger span:nth-of-type(3) { top: 58px; width: 100%; }
.menu-trigger:hover span:nth-of-type(2) { width: 100%; }
.menu-trigger.active span { background-color: #FF1E00; }
.menu-trigger.active span:nth-of-type(1) {
  width: 40%;
  transform: translate(-36px, 12px) rotate(45deg);
}
.menu-trigger.active span:nth-of-type(2) {
  width: 100%;
  transform: translate(13px, 0) rotate(-45deg);
}
.menu-trigger.active span:nth-of-type(3) {
  width: 40%;
  transform: translate(5px, -8px) rotate(45deg);
}
@media (max-width: 599px) {
  .menu-trigger_container { top: 25px; right: 25px; }
}

/* ========== Blog Comment (hide) ========== */
.comment-num,
#comment-area { display: none; }

/* ========== Main Visual ========== */

#main{
  position: relative;
  width: 100%;
  height: 100svh;
  color: #fff;
  overflow: hidden;
  background-color: #000;
}

/* 背景レイヤー共通 */
#main::before,
#main::after{
  content:"";
  position:absolute;
  inset:0;
  background:center / cover no-repeat;
  opacity:0;
  transform:scale(1);
  animation: kv-zoomfade 12s linear infinite;
  animation-fill-mode: both; /* これで切替の一瞬を安定させる */
  will-change: opacity, transform;
  z-index:0;
}

/* 1枚目 */
#main::before{
  background-image:url(img/main.jpg);
  animation-delay:0s;
}

/* 2枚目（半周期ずらす） */
#main::after{
  background-image:url(img/main2.jpg);
  animation-delay:6s;
}

/* テキスト前面 */
#catch, #scroll{
  position:relative;
  z-index:1;
}

/* 安定ループ用キーフレーム */
@keyframes kv-zoomfade{
  /* フェードイン短め */
  0%   { opacity:0; transform:scale(1); }
  10%  { opacity:1; transform:scale(1.03); }

  /* 見せ場（拡大しながらキープ） */
  45%  { opacity:1; transform:scale(1.10); }

  /* 拡大したままフェードアウト */
  55%  { opacity:0; transform:scale(1.12); }

  /* 待機ゾーン（完全に消えたまま次ループまで待つ） */
  100% { opacity:0; transform:scale(1.12); }
}




#main #catch {
  position: absolute;
  right: 20%;
  top: 260px;
  bottom: 10vh;
  display: flex;
  gap: 2.8vw;
  align-items: flex-start;
  justify-content: flex-start;
}
#main #catch h2 {
  margin: 0;
  writing-mode: vertical-rl;
  font-weight: 800;
  font-size: 230%;
  line-height: 1.6;
  letter-spacing: .14em;
  white-space: nowrap;
  order: 2;
}
#main #catch h3 {
  margin-top: 35px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  order: 1;
}
#main #catch h3 span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-weight: 700;
  font-size: 150%;
  line-height: 1.2;
  letter-spacing: .14em;
  white-space: nowrap;
  background: rgba(0,0,0,.65);
  position: relative;
  padding: 18px 10px;
}
@media (max-width: 768px) {
  #main #catch h2 { font-size: 170%; }
  #main #catch h3 { margin-top: 35px; gap: 18px; align-items: flex-start; order: 1; }
  #main #catch h3 span { font-size: 110%; }
}
@media (max-width: 479px) {
  #main #catch { right: 28%; }
  #main #catch h2 { font-size: 150%; line-height: 1.4; }
  #main #catch h3 { margin-top: 25px; gap: 10px; }
  #main #catch h3 span { font-size: 110%; line-height: .6; padding: 10px 8px; }
}
@media (max-width: 430px) { #main #catch { right: 24%; } }
@media (max-width: 380px) { #main #catch { right: 20%; } }

/* scroll badge */
#main #scroll {
  width: 124px;
  height: 140px;
  position: absolute;
  right: 60px;
  bottom: 60px;
}
#main #scroll::before {
  content: " ";
  display: block;
  bottom: 0;
  left: 0;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  position: absolute;
  z-index: 1;
  background-color: rgba(230,0,18,.73);
}
#main #scroll span {
  position: relative;
  z-index: 10;
  color: #fff;
  font-family: "TikTok Sans", sans-serif;
  font-size: 80%;
  text-align: center;
  width: 100%;
  display: block;
  padding-top: 85px;
}
#main #scroll::after {
  content: " ";
  display: block;
  top: 0;
  left: 50%;
  width: 1px;
  height: 70px;
  position: absolute;
  z-index: 10;
  background-color: #fff;
  animation: mainmove 1.2s ease-out infinite;
}


#main #sinsyaoku-bn{
  position: absolute;
  z-index: 100;
  left: 60px;
  bottom: 60px;
  width: 360px;
}

#main #sinsyaoku-bn a:hover img{
  box-shadow: 0 0 15px 0 rgba(0,0,0,0.5);
  transition: all 0.3s ease;
}

@media (max-width: 1280px) {
#main #sinsyaoku-bn{
  left: 30px;
  bottom: 30px;
}
}

@media (max-width: 768px) {
#main #sinsyaoku-bn{
  width: 300px;
}
}

@media (max-width: 479px) {
#main #sinsyaoku-bn{
  left: 0;
  bottom: 0;
  width: 260px;
}
}
@media (max-width: 379px) {
#main #sinsyaoku-bn{
  left: 0;
  bottom: 0;
  width: 220px;
}
}

@keyframes mainmove {
  0% { height: 0; }
  100% { height: 70px; }
}
@media (max-width: 1280px) {
  #main #scroll { width: 80px; height: 120px; right: 30px; bottom: 30px; }
  #main #scroll::before { width: 80px; height: 80px; }
}
@media (max-width: 479px) {
  #main #scroll { height: 100px; right: 10px; bottom: 10px; }
  #main #scroll span { padding-top: 65px; }
  #main #scroll::after { height: 50px; }
  @keyframes mainmove {
    0% { height: 0; }
    100% { height: 50px; }
  }
}

/* ========== Top Block 1 ========== */
#top #block1 {
  position: relative;
  background: url(img/bg1.jpg) no-repeat center center / cover;
  color: #fff;
}
#top #block1::before {
  content: " ";
  display: block;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  position: absolute;
  z-index: 1;
  background: linear-gradient(to top, rgba(38,38,38,1) 0%, rgba(38,38,38,0) 100%);
}
#top #block1 #block1-in {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 240px 0;
}
@media (max-width: 768px) {
  #top #block1 #block1-in { padding: 160px 0; }
}


#top #block1 #block1-in h2 { width: 100%; position: relative; }
#top #block1 #block1-in h2 strong {
  font-size: 200%;
  font-weight: 800;
}
#top #block1 #block1-in h2 span {
  font-size: 110%;
  font-weight: 400;
  display: inline-block;
  font-family: "TikTok Sans", sans-serif;
  padding-left: 15px;
}
#top #block1 #block1-in h3 {
  font-size: 140%;
  line-height: 1.4;
  padding: 30px 0 50px;
}
#top #block1 #block1-in p {
  line-height: 1.8;
  padding-bottom: 25px;
}
@media (max-width: 959px) {
  #top #block1 #block1-in h2 span {
    font-size: 100%;
    padding-top: 15px;
    padding-left: 0;
    display: block;
  }
}
@media (max-width: 680px) {
  #top #block1 #block1-in h2 strong { font-size: 160%; }
  #top #block1 #block1-in h3 { font-size: 120%; padding: 30px 0; }
}
@media (max-width: 599px) {
  #top #block1 #block1-in h2 { line-height: 1.4; }
}

/* ========== Top Block 2 ========== */
#top #block2 { position: relative; background-color: #262626; }
#top #block2 h2 {
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 10;
}
#top #block2 h2 span {
  font-family: "TikTok Sans", sans-serif;
  font-size: 350%;
  font-weight: 400;
  line-height: 1;
  display: block;
  letter-spacing: .05em;
}
#top #block2 h2 strong {
  display: block;
  font-weight: 500;
  padding-top: 15px;
  font-size: 140%;
  line-height: 1;
  letter-spacing: .05em;
}
@media (max-width: 959px) { #top #block2 h2 span { font-size: 300%; } }
@media (max-width: 599px) {
  #top #block2 h2 span { font-size: 200%; }
  #top #block2 h2 strong { font-size: 120%; }
}
#block2-bg { background-color: #262626; padding: 60px 0 240px; }
#block2-container {
  width: 90%;
  max-width: 1700px;
  margin: 0 auto;
  display: grid;
  gap: 5px;
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 1400px) {
  #block2-container { gap: 25px; grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 1200px) { #block2-container { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px)  { #block2-container { grid-template-columns: 1fr; } }

#top #block2 .block2-content {
  position: relative;
  display: block;
  padding-bottom: 105px;
  color: #fff;
}
#top #block2 .block2-content figure a { display: block; position: relative; }
#top #block2 .block2-content h3 {
  display: block;
  font-size: 130%;
  font-weight: 800;
  text-align: center;
  padding: 40px 0 13px;
}
#top #block2 .block2-content h4 {
  display: block;
  font-size: 100%;
  font-weight: 600;
  text-align: center;
  padding-bottom: 20px;
}
#top #block2 .block2-content p {
  font-size: 90%;
  line-height: 1.6;
  width: 86%;
  margin: 0 auto;
}
#top #block2 .block2-content ul {
  position: absolute;
  bottom: 0;
  width: 70%;
  left: 15%;
}
#top #block2 .block2-content ul li a {
  display: block;
  width: 100%;
  border: 1px solid #fff;
  font-family: "TikTok Sans", sans-serif;
  text-align: center;
  padding: 15px 0;
  color: #fff;
  text-decoration: none;
  position: relative;
}
#top #block2 .block2-content ul li a:hover { border-color: #FF1E00; }
#top #block2 .block2-content ul li a span {
  position: relative;
  display: block;
  z-index: 10;
}
#top #block2 .block2-content ul li a span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  width: 13px;
  height: 13px;
  background: url(img/arrow.png) no-repeat center / contain;
  opacity: 0;
  transition: opacity .3s ease;
}
#top #block2 .block2-content ul li a:hover span::after { opacity: 1; }
#top #block2 .block2-content ul li a::before {
  content: " ";
  display: block;
  position: absolute;
  z-index: 1;
  inset: 0 100% 0 0; /* width:0 shorthand */
  background-color: #000;
  transition: width .3s ease;
}
#top #block2 .block2-content ul li a:hover::before { width: 100%; }
@media (max-width: 1400px) {
  #top #block2 .block2-content { margin-bottom: 50px; }
}

/* ========== Top Block 3 (slider) ========== */
#top #block3 { background-color: #262626; color: #fff; }
#top #block3 #block3-head {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto 80px;
  position: relative;
}
#top #block3 #block3-head h2 strong {
  display: inline-block;
  font-size: 140%;
  font-weight: 800;
  letter-spacing: .1em;
}
#top #block3 #block3-head h2 span {
  display: inline-block;
  font-size: 100%;
  letter-spacing: .05em;
  font-family: "TikTok Sans", sans-serif;
  padding-left: 15px;
  font-weight: 400;
}
#top #block3 #block3-head ul {
  position: absolute;
  right: 0;
  top: -10px;
  font-family: "TikTok Sans", sans-serif;
}
#top #block3 #block3-head ul a {
  color: #fff;
  text-decoration: none;
  display: inline-block;
  padding: 10px 0 10px 20px;
  position: relative;
}
#top #block3 #block3-head ul a::before,
#top #block3 #block3-head ul a::after {
  content: "";
  display: block;
  position: absolute;
  z-index: 10;
  background-color: #fff;
  transition: transform .3s ease;
}
#top #block3 #block3-head ul a::before { width: 9px; height: 1px; top: 19px; left: 0; }
#top #block3 #block3-head ul a::after  { width: 1px; height: 9px; top: 15px; left: 4px; }
#top #block3 #block3-head ul a:hover::before { transform: rotate(45deg); top: 16px; }
#top #block3 #block3-head ul a:hover::after  { transform: rotate(-135deg); top: 18px; }

#top #block3 #block3-container .block3-content { padding: 0 30px; }
#top #block3 #block3-container a { color: #fff; text-decoration: none; }
#top #block3 #block3-container a h3 {
  font-size: 100%;
  line-height: 1.4;
  padding: 30px 0 20px;
  font-weight: 500;
}
#top #block3 #block3-container a figure { height: 350px; overflow: hidden; background-color: #000; }
@media (max-width: 800px) {
  #top #block3 #block3-container .block3-content { padding: 0 10px; }
  #top #block3 #block3-container a figure { height: 250px; }
}
@media (max-width: 768px) {
  #top #block3 #block3-container a h3 { font-size: 95%; }
}
#top #block3 #block3-container a figure img { opacity: .6; transition: transform .3s, opacity .3s; }
#top #block3 #block3-container a:hover figure img { transform: scale(1.1); opacity: 1; }
#top #block3 #block3-container a li {
  display: inline-block;
  background-color: #474747;
  padding: 10px 20px;
  font-size: 90%;
}

/* slick dots */
.sekou-slider { position: relative; padding-bottom: 240px; }
.sekou-slider .slick-dots {
  position: absolute;
  top: -114px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sekou-slider .slick-dots li button {
  width: 25px;
  height: 1px;
  border: none;
  background-color: #757575;
  font-size: 0;
  cursor: pointer;
}
.sekou-slider .slick-dots li.slick-active button { background-color: #fff; }
@media (max-width: 959px) {
  .sekou-slider .slick-dots { top: -60px; }
}
@media (max-width: 599px) {
  .sekou-slider .slick-dots li button { width: 15px; }
}

/* ========== Top Block 4 ========== */
#top #block4 {
  background: url(img/map.png) no-repeat right 40% bottom #262626;
  min-height: 804px;
}
@media (max-width: 1080px) {
  #top #block4 { background: url(img/map.png) no-repeat right 0 bottom #262626; }
}
@media (max-width: 860px) {
  #top #block4 { background: url(img/map.png) no-repeat right 0 bottom / 500px auto #262626; min-height: auto; }
}
@media (max-width: 768px) {
  #top #block4 { background: url(img/map.png) no-repeat right 0 bottom / 400px auto #262626; min-height: auto; }
}
@media (max-width: 599px) {
  #top #block4 { background: url(img/map.png) no-repeat center bottom 25px / 270px auto #262626; min-height: auto; }
}
#top #block4-in {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
  color: #fff;
}
#top #block4-in h2 strong {
  display: inline-block;
  font-size: 160%;
  font-weight: 600;
  line-height: 1;
  padding-right: 25px;
}
#top #block4-in h2 span { font-family: "TikTok Sans", sans-serif; font-weight: 400; }
#top #block4-in h3 { font-size: 130%; line-height: 1.6; padding: 90px 0 35px; }
#top #block4-in p { font-size: 110%; line-height: 1.8; width: 60%; }
#top #block4-in ul li a {
  display: block;
  border: 1px solid #fff;
  padding: 20px 0;
  text-align: center;
  width: 300px;
  margin-top: 50px;
  color: #fff;
  text-decoration: none;
  position: relative;
}
#top #block4-in ul li a:hover { border-color: #FF1E00; }
#top #block4-in ul li a::before {
  content: " ";
  display: block;
  position: absolute;
  z-index: 1;
  inset: 0 100% 0 0;
  background-color: #000;
  transition: width .3s ease;
}
#top #block4-in ul li a:hover::before { width: 100%; }
#top #block4-in ul li a span {
  display: inline-block;
  padding-left: 30px;
  padding-top: 3px;
  min-height: 25px;
  background: url(img/ico-dentaku.png) no-repeat 0 0 / auto 25px;
  position: relative;
  z-index: 10;
}
@media (max-width: 860px) {
  #top #block4-in p { width: 80%; }
  #top #block4-in ul { padding-bottom: 120px; }
}
@media (max-width: 768px) {
  #top #block4-in p { width: 100%; }
}
@media (max-width: 599px) {
  #top #block4-in h3 { font-size: 120%; line-height: 1.6; padding: 50px 0 25px; }
  #top #block4-in p { font-size: 100%; }
  #top #block4-in ul { padding-bottom: 300px; }
  #top #block4-in ul li a { width: 90%; margin: 40px auto 0; }
}

/* ========== Top Block 5 ========== */
#top #block5 { padding-top: 240px; }
#top #block5 h2 { text-align: center; font-weight: 200; }
#top #block5 h2 span {
  display: block;
  font-size: 500%;
  line-height: 1;
  font-family: "TikTok Sans", sans-serif;
}
#top #block5 h2 strong {
  display: block;
  font-size: 120%;
  line-height: 1;
  letter-spacing: .05em;
  padding-top: 20px;
}
@media (max-width: 768px) {
  #top #block5 h2 span { font-size: 400%; line-height: 1; }
}
@media (max-width: 479px) {
  #top #block5 { padding-top: 160px; }
  #top #block5 h2 span { font-size: 300%; }
  #top #block5 h2 strong { font-size: 110%; }
}

#top #block5 #block5-main {
  margin: 75px auto 0;
  width: 90%;
  max-width: 1420px;
  height: 629px;
  background: url(img/photo2.jpg) no-repeat top center;
  position: relative;
}
#top #block5 #block5-main h3 {
  writing-mode: vertical-rl;
  text-orientation: upright;
  position: absolute;
  top: 100px;
  right: 145px;
  font-size: 1.5rem;
  line-height: 2;
  letter-spacing: .1em;
  padding: 10px;
  border-radius: 8px;
  color: #000;
}
#top #block5 #block5-main ul { position: absolute; left: 165px; bottom: 90px; }

#top #block5 #block5-main ul .pc{
  display: block;
}
#top #block5 #block5-main ul .sp{
  display: none;
}


@media (max-width: 1480px) {
  #top #block5 #block5-main h3 { top: 100px; right: auto; left: 15%; }
  #top #block5 #block5-main ul { left: 10%; bottom: 90px; }
}

@media (max-width: 1280px) {
  #top #block5 #block5-main h3 { top: 70px; right: auto; left: 12%; }
  #top #block5 #block5-main ul { left: 10%; bottom: 90px; }
  #top #block5 #block5-main {
  height: 580px;
  }
#top #block5 #block5-main ul .pc{
  display: none;
}
#top #block5 #block5-main ul .sp{
  display: block;
  width: 250px;
}
}

@media (max-width: 768px) {
  #top #block5 #block5-main {
    margin: 45px auto 0;
    background: url(img/photo2-sp.jpg) no-repeat top center / cover;
  }
}

@media (max-width: 599px) {
  #top #block5 #block5-main h3 { top: 70px; left: 10%; font-size: 1.3rem; line-height: 1.8;}
  #top #block5 #block5-main ul { left: 10%; bottom: 50px; }
  #top #block5 #block5-main ul .sp{  width: 200px;}
}

@media (max-width: 400px) {
  #top #block5 #block5-main h3 { top: 70px; left: 8%; font-size: 1rem; line-height: 1.8;}
  #top #block5 #block5-main { height: 480px; }
  #top #block5 #block5-main ul { left: 10%; bottom: 45px; }
  #top #block5 #block5-main ul .sp{  width: 160px;}
}

#top #block5 #block5-contents {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto 150px;
}
#top #block5 #block5-contents h3,
#top #block6 h2,
#top #block7 h2 {
  font-size: 140%;
  line-height: 1.4;
  letter-spacing: .05em;
  padding: 80px 0 40px;
}
#top #block5 #block5-contents p,
#top #block6 p,
#top #block7 p {
  font-size: 110%;
  line-height: 1.8;
}
@media (max-width: 768px) {
  #top #block5 #block5-contents h3,
  #top #block6 h2,
  #top #block7 h2 { font-size: 120%; line-height: 1.8; }
  #top #block5 #block5-contents p,
  #top #block6 p,
  #top #block7 p { font-size: 100%; }
}

/* ========== Top Block 6 (YouTube area) ========== */
#top #block6 {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
  padding-right: 25%;
}
#top #block6 ul li { padding-top: 40px; }
#top #block6 ul li a {
  display: block;
  border: 2px solid #000;
  width: 345px;
  color: #000;
  text-decoration: none;
  padding: 15px 0;
}
#top #block6 ul li a:hover { border-color: #FF1E00; }
#top #block6 ul li a span {
  display: block;
  padding-left: 90px;
  padding-top: 5px;
  min-height: 28px;
  background:
    url(img/logo-youtube-bn.png) no-repeat left 25px center / 53px auto,
    url(img/ico-window.png) no-repeat right 25px center / 17px auto;
}
#top #block6-youtube {
  display: block;
  width: 50%;
  position: absolute;
  right: -140px;
  top: 0;
  background: url(img/bg-youtube.png) no-repeat top right / 95% auto;
  padding-top: 160px;
}
#top #block6-youtube iframe {
  display: block;
  width: 100%;
  border-radius: 10px;
}
/* responsive widths for block6 */
@media (max-width: 1820px) {
  #top #block6 { padding-right: 500px; }
}
@media (max-width: 1580px) {
  #top #block6-youtube { width: 500px; right: 0; background: url(img/bg-youtube.png) no-repeat top right / 95% auto; padding-top: 160px; }
  #top #block6 { padding-right: 550px; }
}
@media (max-width: 1280px) {
  #top #block6-youtube { width: 400px; right: 0; background: url(img/bg-youtube.png) no-repeat top right / 95% auto; padding-top: 120px; }
  #top #block6 { padding-right: 450px; }
}
@media (max-width: 959px) {
  #top #block6-youtube {
    width: 100%;
    max-width: 550px;
    position: relative;
    right: auto;
    top: auto;
    background: none;
    padding-top: 70px;
    margin: 0 auto;
  }
  #top #block6 { padding-right: 0; }
}
@media (max-width: 479px) {
  #top #block6 ul li a { width: 100%; margin: 0 auto; }
  #top #block6 ul li a span {
    padding-left: 65px;
    background: url(img/logo-youtube-bn.png) no-repeat left 22px center / 36px auto;
  }
}

/* ========== Top Block 7 ========== */
#top #block7 {
  width: 90%;
  max-width: 1140px;
  margin: 140px auto 0;
  padding-top: 20px;
  position: relative;
  background: url(img/img-ehon1.png) no-repeat right 50px top / 251px auto;
}
@media (max-width: 1100px) {
  #top #block7 {
    padding-top: 180px;
    background: url(img/img-ehon1.png) no-repeat center top / 251px auto;
  }
}
#top #block7 figure {
  width: 90%;
  max-width: 760px;
  margin: 70px auto -60px;
  position: relative;
  z-index: 10;
}
#top #block7-slider { background-color: #262626; }
.block7-slider figure { height: 320px; }
#top #block7-slider img { opacity: .3; }

/* ========== Top Block 8 (Recruit) ========== */
#top #block8 {
  width: 100%;
  background: url(img/bg-recruit.jpg) no-repeat right top / 100% auto #171717;
  color: #fff;
  padding-bottom: 240px;
}
@media (max-width: 1280px) { #top #block8 { padding-bottom: 200px; } }
@media (max-width: 959px)  { #top #block8 { padding-bottom: 180px; } }
@media (max-width: 768px)  {
  #top #block8 {
    background: url(img/bg-recruit.jpg) no-repeat right top / 140% auto #171717;
    padding-bottom: 120px;
  }
}
@media (max-width: 479px)  {
  #top #block8 {
    background: url(img/bg-recruit.jpg) no-repeat right top / 160% auto #171717;
    padding-bottom: 100px;
  }
}

#top #block8 #block8-in {
  width: 90%;
  max-width: 1030px;
  margin: 0 auto;
  padding-top: 182px;
}
#top #block8 #block8-in h2 > span {
  background: url(img/img-running.png) no-repeat right top / auto 88px;
  padding-right: 128px;
  min-height: 88px;
  color: #ff1e00;
  display: inline-block;
}
#top #block8 #block8-in h2 span span {
  display: inline-block;
  border-bottom: 1px solid #ff1e00;
  padding: 50px 0 8px;
  font-size: 140%;
  letter-spacing: .05em;
  line-height: 1;
}
@media (max-width: 650px) {
  #top #block8 #block8-in { padding-top: 250px; }
  #top #block8 #block8-in h2 > span { background-size: auto 50px; padding-right: 70px; min-height: 40px; }
  #top #block8 #block8-in h2 span span { padding-top: 20px; font-size: 120%; }
}
@media (max-width: 479px) {
  #top #block8 #block8-in h2 > span { background-size: auto 30px; padding-right: 50px; min-height: 30px; }
  #top #block8 #block8-in h2 span span { padding-top: 10px; font-size: 110%; }
}
@media (max-width: 379px) {
  #top #block8 #block8-in { padding-top: 170px; }
  #top #block8 #block8-in h2 > span { padding-right: 40px; }
  #top #block8 #block8-in h2 span span { font-size: 100%; }
}
#top #block8 #block8-in h3 {
  font-size: 150%;
  letter-spacing: .05em;
  line-height: 1.4;
  padding-top: 65px;
}
@media (max-width: 959px) { #top #block8 #block8-in h3 { padding-top: 45px; } }
@media (max-width: 768px) { #top #block8 #block8-in h3 { font-size: 130%; } }
@media (max-width: 479px) { #top #block8 #block8-in h3 { font-size: 120%; } }
#top #block8 #block8-in p {
  line-height: 1.6;
  font-size: 110%;
  font-weight: 300;
  padding-top: 25px;
}
@media (max-width: 479px) {
  #top #block8 #block8-in p { font-size: 100%; }
}
#top #block8 #block8-in ul { padding-top: 35px; }
#top #block8 #block8-in ul li a span {
  display: inline-block;
  padding-left: 45px;
  background: url(img/img-running.png) no-repeat 0 0 / 35px auto;
  padding-top: 5px;
  min-height: 30px;
}
#top #block8 #block8-in ul li a {
  display: block;
  background-color: #fff;
  border: 2px solid #ff1e00;
  padding: 15px;
  text-align: center;
  color: #000;
  text-decoration: none;
  width: 320px;
}
#top #block8 #block8-in ul li a:hover { border-color: #fff; }
@media (max-width: 479px) {
  #top #block8 #block8-in ul li a { width: 100%; }
}

/* block8-in2 */
#top #block8 #block8-in2 {
  background-color: #fff;
  width: 90%;
  max-width: 1030px;
  min-height: 392px;
  margin: 80px auto 0;
  color: #000;
  position: relative;
  padding-left: 304px;
}
#top #block8 #block8-in2::before {
  content: "Wanted!";
  display: block;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: 1;
  color: #f5f5f5;
  font-size: 650%;
  line-height: 1;
  font-family: "TikTok Sans", sans-serif;
}
#top #block8 #block8-in2 figure {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 280px;
}
#top #block8 #block8-in2 h2 {
  text-align: center;
  font-size: 140%;
  line-height: 1;
  letter-spacing: .05em;
  padding: 110px 0 40px;
}
#top #block8 #block8-in2 h2 br { display: none; }
#top #block8 #block8-in2 p {
  width: 84%;
  margin: 0 auto;
  line-height: 1.6;
}
#top #block8 #block8-in2 ul {
  font-size: 0;
  text-align: center;
  padding-top: 35px;
  position: relative;
  z-index: 10;
}
#top #block8 #block8-in2 li {
  display: inline-block;
  margin-right: 40px;
}
#top #block8 #block8-in2 li a {
  display: inline-block;
  padding: 10px 40px 10px 10px;
  background: url(img/arrow.png) no-repeat right 10px center / 13px auto;
  line-height: 1;
  font-size: 18px;
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid #000;
}
#top #block8 #block8-in2 li a:hover {
  background-position: right 5px center;
  transition: all .3s ease;
  border-bottom-color: #FF1E00;
}
@media (max-width: 1100px) {
  #top #block8 #block8-in2 h2 { padding: 70px 0 30px; }
  #top #block8 #block8-in2 li { margin-right: 20px; }
}
@media (max-width: 959px) {
  #top #block8 #block8-in2 {
    min-height: auto;
    padding-left: 0;
    padding-bottom: 25px;
  }
  #top #block8 #block8-in2::before { font-size: 650%; }
  #top #block8 #block8-in2 p { width: 100%; text-align: center; }
  #top #block8 #block8-in2 figure {
    position: relative;
    top: auto;
    left: auto;
    width: 280px;
    margin: 45px auto 0;
  }
}
@media (max-width: 768px) {
  #top #block8 #block8-in2 p { width: 80%; text-align: left; }
}
@media (max-width: 599px) {
  #top #block8 #block8-in2::before { font-size: 350%; }
  #top #block8 #block8-in2 li {
    display: block;
    width: 80%;
    margin: 0 auto;
  }
  #top #block8 #block8-in2 li a {
    display: block;
    text-align: left;
    padding: 15px 40px 15px 10px;
  }
}
@media (max-width: 479px) {
  #top #block8 #block8-in2 h2 { line-height: 1.4; }
  #top #block8 #block8-in2 h2 br { display: inline; }
  #top #block8 #block8-in2 figure { width: 90%; margin: 45px auto 0; }
}

/* ========== Footer ========== */
footer {
  background-color: #262626;
  color: #fff;
  padding: 115px 0;
}
footer a { color: #fff !important; text-decoration: none !important; }
footer a:hover { color: #FF1E00 !important; }

footer #foot-contaicer {
  width: 90%;
  max-width: 1150px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: row-reverse;
}
footer #foot-in { flex: 1 1 auto; min-width: 0; }
footer #foot-contaicer #foot-in-conteiner {
  display: flex;
  width: 85%;
  padding-top: 35px;
}
footer #foot-contaicer #foot-in #foot-in1 { width: 18%; }
footer #foot-contaicer #foot-in #foot-in2 { width: 50%; }
footer #foot-contaicer #foot-in #foot-in3 { width: 32%; }
@media (max-width: 1280px) {
  footer #foot-contaicer #foot-in-conteiner { flex-wrap: wrap; }
  footer #foot-contaicer #foot-in #foot-in1 { width: 100%; }
  footer #foot-contaicer #foot-in #foot-in2 { width: 60%; }
  footer #foot-contaicer #foot-in #foot-in3 { width: 40%; }
}
@media (max-width: 1180px) {
  footer #foot-contaicer #foot-in-conteiner { font-size: 90%; }
}
@media (max-width: 1080px) {
  footer #foot-contaicer #foot-in-conteiner { width: 90%; }
}
@media (max-width: 959px) {
  footer #foot-contaicer { display: block; }
  footer #foot-contaicer #foot-in-conteiner { display: none; }
}
footer #foot-contaicer #foot-in #foot-in1 ul,
footer #foot-contaicer #foot-in #foot-in2 ul,
footer #foot-contaicer #foot-in #foot-in3 ul { padding-bottom: 35px; }
footer #foot-contaicer #foot-in #foot-in1 ul li,
footer #foot-contaicer #foot-in #foot-in2 ul li,
footer #foot-contaicer #foot-in #foot-in3 ul li {
  padding-left: 15px;
  padding-bottom: 15px;
  font-weight: 300;
}
footer #foot-contaicer #foot-in #foot-in1 ul li:first-child,
footer #foot-contaicer #foot-in #foot-in2 ul li:first-child,
footer #foot-contaicer #foot-in #foot-in3 ul li:first-child {
  padding-left: 0;
  font-weight: 500;
  padding-bottom: 20px;
}

/* footer contact panel */
footer #foot-contaicer #foot-contact {
  width: 452px;
  background-color: #131211;
  text-align: center;
  padding: 75px 0;
}
@media (max-width: 1080px) { footer #foot-contaicer #foot-contact { width: 350px; } }
@media (max-width: 959px) {
  footer #foot-contaicer #foot-contact {
    width: 100%;
    background-color: #262626;
    padding: 0;
    margin-bottom: 75px;
  }
}
footer #foot-contaicer #foot-contact h2 {
  font-size: 120%;
  letter-spacing: .05em;
}
footer #foot-contaicer #foot-contact p { padding: 40px 0 35px; }
footer #foot-contaicer #foot-contact p span {
  display: inline-block;
  padding-bottom: 10px;
  background: url(img/line.png) repeat-x bottom / 8px auto;
}
footer #foot-contaicer #foot-contact #foot-contact-tel li a {
  display: inline-block;
  padding-left: 40px;
  min-height: 40px;
  font-family: "TikTok Sans", sans-serif;
  font-size: 170%;
  letter-spacing: .1em;
  font-weight: 300;
  line-height: 1;
  background: url(img/ico-phone.png) no-repeat 0 0 / 20px auto;
}
footer #foot-contaicer #foot-contact #foot-contact-tel li:last-child {
  text-align: center;
  font-family: "TikTok Sans","Zen Kaku Gothic New",sans-serif;
  padding: 15px 0 25px;
}
@media (max-width: 400px) {
  footer #foot-contaicer #foot-contact p { font-size: 90%; }
  footer #foot-contaicer #foot-contact #foot-contact-tel li:last-child { font-size: 90%; }
}
footer #foot-contaicer #foot-contact #foot-contact-tel li:last-child span:first-child {
  margin-right: 10px;
  display: inline-block;
}

/* footer contact buttons */
footer #foot-contaicer #foot-contact-bt {
  width: 90%;
  max-width: 290px;
  margin: 25px auto 0;
}
footer #foot-contaicer #foot-contact-bt li:nth-of-type(1) { margin-bottom: 15px; }
footer #foot-contaicer #foot-contact-bt li a {
  display: block;
  color: #fff;
  text-decoration: none;
  background-color: #262626;
  padding: 20px 0;
  text-align: center;
  position: relative;
}
@media (max-width: 959px) {
  footer #foot-contaicer #foot-contact-bt li a { background-color: #000; }
}
footer #foot-contaicer #foot-contact-bt li a:hover { color: #fff !important; }
footer #foot-contaicer #foot-contact-bt li a::before {
  content: " ";
  display: block;
  position: absolute;
  z-index: 1;
  inset: 0 100% 0 0;
  background-color: #FF1E00;
  transition: width .3s ease;
}
footer #foot-contaicer #foot-contact-bt li a:hover::before { width: 100%; }
footer #foot-contaicer #foot-contact-bt li a span {
  display: inline-block;
  padding-left: 30px;
  min-height: 20px;
  position: relative;
  z-index: 10;
}
footer #foot-contaicer #foot-contact-bt li:nth-of-type(1) a span {
  background: url(img/ico-mail2.png) no-repeat left center / 17px auto;
}
footer #foot-contaicer #foot-contact-bt li:nth-of-type(2) a span {
  background: url(img/ico-calc.png) no-repeat 0 0 / 16px auto;
}

/* misc footer icons */
footer #foot-contaicer #foot-in #foot-in3 #foot-txt-contact a {
  display: inline-block;
  padding-left: 30px;
  background: url(img/ico-mail.png) no-repeat 0 5px / 17px auto;
}
footer #foot-contaicer #foot-in #foot-in4 li:nth-of-type(1) a {
  display: inline-block;
  padding-left: 110px;
  background: url(img/ico-youtube.png) no-repeat 0 0 / 95px auto;
  min-height: 22px;
  padding-top: 4px;
  font-size: 80%;
}
footer #foot-contaicer #foot-in #foot-in4 li:nth-of-type(2) { font-size: 80%; padding-top: 25px; }
@media (max-width: 599px) {
  footer #foot-contaicer #foot-in #foot-in4 { text-align: center; }
}
@media (max-width: 479px) {
  footer #foot-contaicer #foot-in #foot-in4 li:nth-of-type(1) a {
    display: block;
    padding-left: 0;
    background: url(img/ico-youtube.png) no-repeat top center / 95px auto;
    padding-top: 35px;
    font-size: 80%;
  }
  footer #foot-contaicer #foot-in #foot-in4 li:nth-of-type(2) { font-size: 70%; }
}

/* ========== SP Menu Drawer ========== */
#smp-menu {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  height: 100svh;
  max-width: 1100px;
  width: 80%;
  background-color: rgba(0,0,0,.95);
  color: #fff;
  display: none;           /* will be toggled by JS */
  flex-direction: column;
  z-index: 10000;
  overflow: auto;
}
#smp-menu a { color: #fff; text-decoration: none; }
#smp-menu a:hover { color: #FF1E00; }

#smp-menu-container {
  width: 80%;
  max-width: 700px;
  margin: 165px auto 0;
}
#smp-menu.is-animation #smp-menu-container {
  margin: 100px auto 0;
  transition: all .3s ease;
}
#smp-menu-container-in { display: flex; }
#smp-menu-container ul { padding-bottom: 40px; }
#smp-menu-in1 { width: 20%; }
#smp-menu-in2 { width: 40%; }
#smp-menu-in3 { width: 40%; }

#smp-menu-in2 ul:nth-of-type(2) li:not(:first-child) a,
#smp-menu-in3 ul:nth-of-type(2) li:not(:first-child) a {
  padding-left: 15px;
  padding-top: 20px;
  font-size: 95%;
  display: block;
}

#smp-menu-contact {
  width: 100%;
  margin: 40px auto 0;
}
#smp-menu-contact a {
  display: block;
  border: 1px solid #fff;
  padding: 25px 0;
  text-align: center;
}
#smp-menu-contact a:hover { color: #fff; border-color: #FF1E00; }
#smp-menu-contact a span {
  display: inline-block;
  padding-left: 28px;
  background: url(img/ico-mail.png) no-repeat left top 6px / 17px auto;
}
#smp-menu-contact a:hover span {
  background-position: left 6px top 6px;
  transition: all .3s ease;
}

/* SP menu responsive */
@media (max-width: 1080px) {
  #smp-menu-container-in { flex-wrap: wrap; }
  #smp-menu-in1 { width: 100%; }
  #smp-menu-in2, #smp-menu-in3 { width: 50%; }
}
@media (max-width: 768px) {
  #smp-menu-container-in { display: block; }
  #smp-menu a { display: block; }
  #smp-menu-in2, #smp-menu-in3 { width: 100%; }
  #smp-menu-container ul { border-bottom: 1px solid #666; padding-bottom: 0; }
  #smp-menu-in1 ul:nth-of-type(1) li a,
  #smp-menu-in2 ul:nth-of-type(1) li a,
  #smp-menu-in3 ul:nth-of-type(1) li a,
  #smp-menu-in3 ul:nth-of-type(3) li:first-child a,
  #smp-menu-in3 ul:nth-of-type(4) li:first-child a {
    padding: 30px 0;
    display: block;
  }
  #smp-menu-contact { border-bottom: 0 !important; padding-bottom: 55px !important; }
  #smp-menu-in2 ul:nth-of-type(2) li:not(:first-child) a,
  #smp-menu-in3 ul:nth-of-type(2) li:not(:first-child) a {
    padding: 15px 0 15px 15px;
    font-size: 95%;
  }
  #smp-menu-in2 ul:nth-of-type(2) li:first-child a,
  #smp-menu-in3 ul:nth-of-type(2) li:first-child a { padding: 30px 0 15px; }
  #smp-menu-in2 ul:nth-of-type(2) li:last-child a,
  #smp-menu-in3 ul:nth-of-type(2) li:last-child a { padding-bottom: 30px; }
}
@media (max-width: 400px) { #smp-menu { width: 90%; } }
@media (max-width: 340px) { #smp-menu { width: 95%; } }


/*

contents

*/

#contents{
  background-color: #262626;
  color: #fff;
  padding-top: 270px;
}

.page-title{
  text-align: center;
}

.page-title span{
  display: block;
  font-size: 500%;
  font-weight: 300;
  letter-spacing: .05em;
  line-height: 1;
  font-family: "TikTok Sans", sans-serif;
}

.page-title strong{
  display: block;
  font-size: 130%;
  font-weight: 500;
  line-height: 1;
  padding-top: 10px;
}


@media (max-width: 1080px) {
.page-title span{
  font-size: 400%;
}
}

@media (max-width: 599px) {
.page-title span{
  font-size: 300%;
}
}

@media (max-width: 479px) {
.page-title span{
  font-size: 250%;
}
.page-title strong{
  font-size: 100%;
}
}

#bg{
  background-color: #262626;
  color: #fff;
  padding-top: 270px;
}