@charset "UTF-8";

/*-----------------------------------
	base
-----------------------------------*/
html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size: 62.5%;
  /*10px*/
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  font-size: 1.4rem;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.05rem;
  color: #313131;
  background: #F6F1F1;
  width: 100%;
  padding: 0;
  margin: 0;
  overflow-x: hidden;
  box-sizing: border-box;
  position: relative;
  z-index: 999;
}

.contents_inner {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.en {
  font-family: "Outfit", sans-serif;
}

a,
a:link,
a:visited {
  display: block;
  text-decoration: none;
  color: #000000;
  transition: 0.3s;
}



a[href^='tel:'] {
  pointer-events: none;
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

.pp {
  font-family: "Poppins", sans-serif;
}

/* device */
.pc {
  display: block;
}

.sp {
  display: none;
}

.red {
  color: #D71318;
  font-weight: bold;
}

/* flexbox */
.row_box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

@media screen and (max-width: 640px) {
  body {
    font-size: 1.3rem;
  }

  a[href^='tel:'] {
    pointer-events: auto;
  }

  .pc {
    display: none;
  }

  .sp {
    display: block;
  }
}

/*----------------

    js-animate

----------------*/
.js-animate {
  opacity: 0;
  transition:
    opacity 1s ease,
    transform 1s ease;
}

.js-animate.fade-up {
  transform: translateY(30px);
}
.js-animate.delay {
  transition-delay: 0.3s; /* 0.3秒遅らせる */
}

.js-animate.is-active {
  opacity: 1;
  transform: translateY(0);
}

/*-----------------------------------

	btn_viewmore

-----------------------------------*/
.btn_viewmore {
  display: flex;
  margin-top: 40px;
  pointer-events: auto;
  width: 300px;
}

.btn_viewmore a {
display: flex;
    text-decoration: none;
    color: #313131;
    transition: 0.3s;
}



.btn_viewmore .txt {
  border: 1px solid #313131;
  padding: 20px 0px 20px 25px;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.1em;
  display: flex;
  width: 224px;
  align-items: center;
}

.btn_viewmore .arrow {
border: 1px solid #313131;
    border-left: none;
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    position: relative; /* 基準点 */
    overflow: hidden;    /* はみ出しを隠す */
    z-index: 1;

}

.btn_viewmore .arrow::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;           /* 最初は幅ゼロ */
    height: 100%;
    background-color: #D71318; /* 付けたい色（赤など） */
    transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: -1;        /* 矢印画像の下に配置 */
}
.btn_viewmore .txt, 
.btn_viewmore .arrow {

  transition: 0.3s; /* 文字色の変化を滑らかに */
}

.btn_viewmore a img {
  width: 14px;
  height: auto;
}

.btn_viewmore a:hover {
  opacity: 1;
}
/* ホバー時の挙動 */
.btn_viewmore a:hover .arrow::before {
    width: 100%; /* 矢印部分の背景だけ伸ばす */
}

.btn_viewmore a:hover .arrow {
    border-color: #D71318; /* 枠の色も変える（お好みで） */
}

/* 矢印画像を白く反転 */
.btn_viewmore a:hover .arrow img {
    filter: brightness(0) invert(1);
    transition: 0.3s;
}

/* テキスト部分（.txt）はホバーしても色が変わらないように維持 */
.btn_viewmore a:hover .txt {
    color: #313131; /* 文字色はそのまま */
}



@media screen and (max-width: 640px) {
  .btn_viewmore {
    display: flex;
    margin-top: 40px;
    pointer-events: auto;
  }

  .btn_viewmore a {
    display: flex;
    text-decoration: none;
    color: #313131;
    transition: 0.3s;
  }

  .btn_viewmore .txt {
    border: 1px solid #313131;
    padding: 20px 0 20px 28px;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
  }

  .btn_viewmore .arrow {
    border: 1px solid #313131;
    border-left: none;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
  }

  .btn_viewmore a img {
    width: 12px;
    height: auto;
  }

  .btn_viewmore a:hover {
    opacity: 0.5;
  }
}

@media screen and (max-width: 440px) {
  .tiny_none {
    display: none;
  }
}

/*-----------------------------------

	header

-----------------------------------*/
header {
  width: 100%;
  margin: auto;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  height: 100px;
  transition: 0.3s;
  background-color: #fff;
  border-bottom: 3px solid #D71318;
}

header .contents_inner {
  width: 100%;
  height: 100%;
  max-width: initial;
}

header .header_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0 0 0 35px;
}

header .header_container .logo_box{
  align-items: center;
}
header .header_container h1 {
  /* font-size: 26px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2; */
  width: 160px;
}
header .header_container h1 span {
  font-size: 12px;
  text-align: center;
  display: block;
  margin: 3px auto 0;
}
 header .header_container h1 img{
  width: 100%;
  height: 100%;
  object-fit: contain;
 }
header .header_container .logo_box .news_txt{
  margin-left: 20px;
  font-size: 11px;
  font-weight: 700;
}
header .header_container .logo_box .news_txt .date{
    font-size: 0.9em;
    border-bottom: 1px solid #D71318;
    display: block;
}
header .header_container .logo_box .news_txt .red_bg{
  background: #D71318;
  color: #fff;
  padding: 2px 5px;
  margin: 5px 0;
  display: inline-block;
}

header .main_menu,
header .main_menu ul {
  height: 100px;
  display: flex;
  align-items: center;

}
header .main_menu a:hover {
  color: #D71318;
  opacity: 1;
}

header .main_menu li.contact {
  height: 100%;
  background-color: #D71318; /* ベースの赤 */
  margin-left: 20px;
  display: flex;
  padding: 0;
  position: relative; /* 必須 */
  overflow: hidden;    /* 必須 */
}

header .main_menu li.contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  padding: 0 40px;
border-bottom: 3px solid #D71318;
  color: #fff; 
  gap: 10px;
  position: relative;
  z-index: 1;  
  transition: color 0.4s;
  transform: translateZ(0);
}


header .main_menu li.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;    
  height: 100%;
  background-color: #fff; 
  transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 0;
}


header .main_menu li.contact:hover::before {
  width: 100%; 
}

header .main_menu li.contact:hover a {
  color: #D71318;
  
}


header .main_menu li.contact:hover a img {
  filter: brightness(0) saturate(100%) invert(14%) sepia(85%) saturate(5418%) hue-rotate(352deg) brightness(91%) contrast(106%);
}
header .main_menu li.contact a img {
  width: 17px;
  position: relative;
  z-index: 2; 
  backface-visibility: hidden; 
  transform: translateZ(0);    
}

header .main_menu li {
  height: 100%;
}

header .main_menu a {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 20px;
  color: #313131;
  font-size: 16px;
  font-weight: 700;
}


#nav_sp .overlay {
  align-items: stretch;
  background: rgba(255, 255, 255, 0.9);
  width: calc(100% - 100px);
  height: 100vh;
  opacity: 0;
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 998;
  transition: opacity 0.3s, visibility 0.3s;
}

#nav_sp .overlay.open {
  opacity: 1;
  visibility: visible;
}

#nav_sp .overlay_container {
  height: 100%;
}

#nav_sp .overlay_container {
  justify-content: flex-start;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 60px 20px;
  text-align: center;
}

#nav_sp .logo {
  font-size: 26px;
  margin: 0 0 40px 0;
  line-height: 1.2;
}

#nav_sp .logo span {
  font-size: 14px;
}

#nav_sp .overlay_menu {
  text-align: center;
  width: 100%;
  padding: 0;
  border-top: none;
}

#nav_sp .overlay_menulist {
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* 子要素(li)を中央に */
  gap: 25px;
}


#nav_sp .overlay_menulist a {
  font-size: 15px;
  letter-spacing: 0.03em;
  color: #313131;
  font-weight: 700;
  width: max-content;
}


#nav_sp .overlay_menulist_sub {
  justify-content: center;
  align-items: flex-start;
  gap: 30px 60px;
}

#nav_sp .overlay_menulist_sub a {
  font-size: 12px;
  line-height: 1.42;
  letter-spacing: 0.03em;
  color: #3D3D3D;
}

#nav_sp .btn_container.active .btn span.tp {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

#nav_sp .btn_container.active .btn span.ct {
  opacity: 0;
  /* 真ん中の棒を消す */
}

#nav_sp .btn_container.active .btn span.bm {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}


@media screen and (max-width: 1240px) {
  #nav_pc {
    display: none;
  }

  #nav_sp .btn_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px 0;
    background: #D71318;
    width: 100px;
    height: 100px;
    position: fixed;
    top: 0;
    right: 0;
    transition: 0.3s;
    z-index: 1000;
    cursor: pointer;
  }
#nav_sp .overlay_menulist a:hover {
  color: #D71318;
  opacity: 1;
}
  #nav_sp .btn_container.active {
    background: #313131;

  }

  #nav_sp .btn_container::before {
    content: 'MENU';
    display: block;
    font-size: 15px;
    font-family: "Outfit";
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.05em;
    color: #fff;
    width: max-content;
    height: 21px;
    transition: 0.3s;
  }

  #nav_sp .btn_container.active::before {
    color: #fff;
  }

  #nav_sp .btn_container .btn {
    width: 40px;
    height: 25px;
    position: relative;
    margin-top: 5px;
  }

  #nav_sp .btn_container .btn span {
    display: block;
    background: #fff;
    width: 100%;
    height: 2px;
    margin: auto;
    position: absolute;
    left: 0;
    transition: 0.3s;
    cursor: pointer;
  }

  #nav_sp .btn_container.active .btn span {
    background: #fff;
  }

  #nav_sp .btn_container .btn span.tp {
    top: 0;
  }

  #nav_sp .btn_container .btn span.ct {
    top: 0;
    bottom: 0;
  }

  #nav_sp .btn_container .btn span.bm {
    bottom: 0;
  }
}

@media screen and (max-width: 840px) {

  #nav_sp .overlay_bg,
  #nav_sp .overlay_container {
    width: 100%;
  }


}

@media screen and (max-width: 640px) {
  header {
    height: 74px;
    /* ボタンの高さに合わせる */
  }

  header .header_container {
    padding: 0 0 0 15px;
    /* 上下のpaddingを0にして中央寄せを flex に任せる */
    height: 100%;
  }

  /* ロゴが重ならないようにサイズ調整 */
  header .header_container h1 {
    /* font-size: 20px; */
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 123px;
  }

  /* header .header_container h1 span {
    font-size: 12px;
  } */

  header .logo {
    max-width: 190px;
    height: auto;
  }

  header .header_container .logo_box .news_txt{
    margin-left: 15px;
    font-size: 8.5px;
  }

  header .header_container {
    display: flex;
    align-items: center;
    /* ★これで子要素を上下中央に */
    justify-content: flex-start;
    /* ロゴを左寄せ */
    height: 100%;
    padding: 0 0 0 10px;
    /* ★上下のpaddingを0にする */
    margin: 0;
    gap: 0;
    /* 余計な隙間をカット */
  }

  #nav_sp .btn_container {
    width: 74px;
    height: 74px;
  }

  #nav_sp .btn_container::before {
    font-size: 11px;
    height: 13px;
  }

  #nav_sp .btn_container .btn {
    width: 35px;
    height: 23px;
  }

  #nav_sp .overlay {
    width: 100%;
    height: calc(100vh - 68px);
    height: calc(100dvh - 68px);
  }

  #nav_sp .overlay_container {
    padding: 87.5px 20px 35px;
  }

  #nav_sp .logo {
    margin: 0 auto 16.5px;
  }

  #nav_sp .overlay_menu {
    padding: 24px 8px;
  }

  #nav_sp .overlay_menulist a {
    font-size: 13px;
  }

  #nav_sp .overlay_menulist_sub a {
    font-size: 11px;
  }

}




/*-----------------------------------

	footer

-----------------------------------*/
footer {
  background: #F8F8F8;
  position: relative;
  border-top: 10px solid #D71318;
}

footer .contents_inner {
  width: 90%;
  max-width: 1300px;
  height: 100%;
  margin: 0 auto;
}

footer .footer_container {
  padding: 95px 0;

}

footer .lt_box h1 {
  /* font-size: 29px; */
  width: 250px;
}

footer .lt_box p {
  margin-top: 30px;
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
}

footer .main_menulist ul {
  gap: 35px;
  justify-content: flex-start;
}

footer .main_menulist a:hover {
  color: #D71318;
  opacity: 1;
}

footer .main_menu ul li a {
  position: relative;
  padding-left: 20px;
  display: flex;
  font-size: 16px;
  font-weight: 700;
  align-items: left;
}

footer .main_menu ul li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 2px;
  background-color: #D71318;
}

footer .footer_logobox{
  margin: 60px auto 0;
  gap: 20px;
  justify-content: flex-start;
}
footer .company_link {
  width: 300px;
  height: 61px;
  padding: 10px 50px 10px 40px; 
  background-color: #fff;
  border: 1px solid #E3E3E3;
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  transition: all 0.2s ease;
  text-decoration: none;
  box-sizing: border-box;
}


footer .company_link:hover {
opacity: 1;
  border-color: #D71318;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

footer .company_link a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

footer .company_link img {
  width: 126px;
  height: 100%;
  object-fit: contain;
  transition: transform 0.2s  ease;
}


footer .company_link:hover img {
  transform: scale(1);
}


footer .company_link::after {
  position: absolute;
  content: "";
  background-image: url(../img/common/link_btn.svg);
  background-size: contain; 
  background-repeat: no-repeat;
  background-position: center;
  width:15px;
  height: 15px;
  right: 10px;
  bottom: 10px;
  transition: all  ease;
}


footer .company_link:hover::after {

  filter: brightness(0) saturate(100%) invert(14%) sepia(85%) saturate(5418%) hue-rotate(352deg);
}

footer .gray_line {
    border-top: 1px solid #E3E3E3 ;

}

footer .copy {
  font-size: 16px;
  font-weight: 500;
  color: #B7B7B7;
 padding: 30px 0;
}

footer .footer_bottom{
	align-items: center;
}
footer .footer_bottom .bottom_nav{
	margin-right: 30px;
	gap: 20px;
	align-items: center;
	justify-content: flex-end;
}
footer .footer_bottom .bottom_nav a{
	color: #B7B7B7;
	text-decoration: underline;
	transition: 0.3s;
}
footer .footer_bottom .bottom_nav a:hover{
	text-decoration: none;
}

@media screen and (max-width: 1500px) {
  footer  .lt_box {
    width: 45%;
  }
  footer .rt_box {
    width: 50%;
  }

  footer .company_link {
    width: calc((100% - 20px) /2);
  }

  footer .main_menulist ul li{
    width: 45%;
  }
  footer .main_menulist ul {
    gap: 20px;
  }
}

/* --- タブレットサイズ (840px以下) --- */
@media screen and (max-width: 840px) {
footer .footer_container {
  flex-direction: column;
  padding: 80px 0;
}
  footer  .lt_box {
    width: 100%;
  }
  footer .rt_box {
    margin-top: 50px;
    width: 100%;
  }

	footer .footer_bottom{
		flex-direction: column-reverse;
		gap: 15px;
		padding-top: 30px;
	}
	footer .footer_bottom .bottom_nav{
		justify-content: flex-start;
		margin-right: 0;
	}
	footer .copy{
		padding: 0 0 30px;
	}
}

@media screen and (max-width: 640px) {
  footer .footer_container {
    padding: 60px 0px 40px;
  }

  footer .lt_box h1 {
    /* font-size: 24px;  */
    width: 200px;
  }
  footer .lt_box h1 img{
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
footer .main_menulist ul li {
  width: 100%;
}
  footer .lt_box p {
    font-size: 14px;
    margin-top: 20px;
  }

  footer .main_menu ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  footer .main_menu ul li a {
    font-size: 14px;
    padding-left: 18px; 
  }
	
  footer .footer_logobox{
    margin: 40px auto 0;
  }
  footer .company_link {
    width: 300px;
    border: 1px solid #eee; 
    margin: auto;
  }

  footer .company_link img {
    width: 110px;
  }
	
	footer .footer_bottom{
		padding-top: 15px;
	}
	footer .footer_bottom .bottom_nav a{
		font-size: 12px;
	}
	
  footer .copy {
  font-size: 10px;
 padding: 0 0 15px;
}
}
/*-----------------------------------

	pagetop

-----------------------------------*/
#pagetop {
  width: 80px;
  height: 80px;
  position: fixed;
  right: 0px;
  bottom: 0px;
  cursor: pointer;
  z-index: 998;
  transition: 0.3s;
}

#pagetop:hover {
  opacity: 0.7;
}

@media screen and (max-width: 640px) {
  #pagetop {
    width: 50px;
    height: 50px;
    right: 0px;
    bottom: 0px;
  }
}