@charset "utf-8";
/* topのみ */
.header-scroll {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 10px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transform: translateY(-100px); /* 初期状態では非表示にする */
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0; /* 初期状態では非表示にする */
}
/* .white クラスが付与されたときのスタイル */
.header-scroll.white {
  transform: translateY(0);
  opacity: 1;
}

/*  
  .header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    padding: 16px 0px;
    position: sticky;
    top: 20px;
    width: 100%;
	z-index: 999;
  }
*/
.main_container_wrap{
padding-top: 4vh;
}
.top_mv_wrap {
	position: absolute;
    width: 100%;
    top: 0;
}
.top_h1{
	width: 100%;
    padding:28px 0 0 3%;
    font-size: 3vw;
}

@media screen and (max-width:768px){
	.main_container_wrap{
padding-top: 0vh;
}
.top_h1{
	width: 100%;
    padding: 28px 0 0 8%;
    font-size: 4vw;
}
}

.top_gnavi_container{
  padding-top: 28px;
}
.top_gnavi_main{
  height: 120px;
}

.top_gnavi_wrap{
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}
.top_gnavi_logo{
  width: 50%;
  text-align: left;
  margin: 0 30px;
}
.top_gnavi_logo img{
  width: 240px;
}
.top_gnavi_contact_wrap{
  width: 50%;
  text-align: right;
  font-weight: bold;
  margin-left: 16%;
}
.top_gnavi_contact_wrap p{
  text-align: left;
  font-size: 1vw;
  width: 86%;
}
.top_gnavi_contactItem_wrap{
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  margin-top: 4px;
}
.top_gnavi_tel{
  width: 36%;
  text-align: left;
}
.top_gnavi_tel a{
  font-size: 2vw;
}
.top_gnavi_contact{
  width: 50%;
  font-size: 1.5vw;
  text-align: left;
  font-weight: bold;
  padding-left: 26px;
}
.top_gnavi_contact a{
  border: 3px solid;
  padding: 0.4em;
  border-radius: 200px;
  color: #ed1c23;
}
.top_gnavi_mv{
  display: flex;
  justify-content: center;
  height: 420px;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.top_gnavi_mv img{
  height: 420px;
  width: auto;
  display: block;
  max-width: none;
}
@media screen and (max-width:768px){
.top_gnavi_container{
  padding-top: 0px;
}
.top_gnavi_mv{
  overflow: hidden;
  position: relative;
  height: 360px;
  width: auto;
  text-align: center;
  margin: auto;
}
.top_gnavi_mv img{
  height: 460px;
  text-align: center;
  margin: auto;
}
#top_sp_mv_logo{
  position: absolute;
  top: -20px;
}

#top_sp_mv_logo {
  opacity: 1;
  z-index: 1;
  animation-name: fadeOutEffect;      /* 下で定義する@keyframesの名前 */
  animation-duration: 2s;           /* アニメーションの時間 */
  animation-timing-function: ease;    /* 速度変化（ease, linearなど） */
  animation-delay: 0s;                /* 遅延時間（今回はなし） */
  animation-iteration-count: 1;       /* 繰り返し回数（1回） */
  animation-fill-mode: forwards;      /* ★重要：アニメーション終了後の状態を維持 */
}

@keyframes fadeOutEffect {
  /* アニメーション開始時 (0%) */
  from {
    opacity: 0; /* 透明度0% */
  }
  /* アニメーション終了時 (100%) */
  to {
    opacity: 1; /* 透明度100% */
  }
}
}

.top_gnavi_sub{
  margin: 1em 0;
  font-size: 20px;
  width: 100%;
}
.top_gnavi_menu_wrap{
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  text-align: center;
  font-weight: bold;
}
.top_gnavi_menuItem{
  width: 18%;
  border-right: 2px solid;
}
.top_gnavi_menuItem_fast{
  border-left: 2px solid;
}

.top_gnavi_contact a {
  background: #fff;
  color: #ed1c23;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.top_gnavi_contact a::after {
  background: #ed1c23;
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  width: 100%;
  height: 100%;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
  z-index: -1;
}
.top_gnavi_contact a:hover {
  color: #fff;
}
.top_gnavi_contact a:hover::after {
  transform: scale(1, 1);
}
.top_gnavi_contact a{
  background-color: #fff;
  display: block;
  width: 80%;
  text-align: center;
}

.top_gnavi_menuItem a {
  padding-bottom: 5px;
  position: relative;
}
.top_gnavi_menuItem a::before {
  background: #ed1c23;
  content: '';
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: 0;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform .3s;
}
.top_gnavi_menuItem a:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}

.top_gnavi_spMemu_section p{
  text-align: center;
  font-size: 16px;
  padding: 0.5em 0 0;
  font-weight: bold;
  background-color: #fff;
  color: #000;
  text-decoration: underline black;
}
.top_gnavi_spMemu_wrap{
  display: flex;
  align-items: center;
  font-weight: bold;
}
.top_gnavi_spMemu_r{
  width: 50%;
  padding: 4%;
  background-color: #ed1c23;
  color: #FFF;
  height: 130px;
  text-align: center;
}
.top_gnavi_spMemu_r img{
  width: 20%;
  border-radius: 30px;
}
.top_gnavi_spMemu_r a{
  color: #FFF;
  font-size: 20px;
}
.top_gnavi_spMemu_l{
  width: 50%;
  padding: 4%;
  background-color: #0266b3;
  height: 130px;
  text-align: center;
}
.top_gnavi_spMemu_l img{
  width: 20%;
  border-radius: 30px;
}
.top_gnavi_spMemu_l a{
  color: #FFF;
  display: block;
}

.top_sp_menu_section{
  margin: 0.5em 0;
  position: relative;
  overflow: hidden;
}
.top_sp_menu_container {
  display: flex; /* 横並びにする */
  overflow-x: auto; /* 横スクロールを許可 */
  -webkit-overflow-scrolling: touch; /* スムーズなスクロール */
  padding: 10px; /* 上下の余白 */
  /* スクロールバー非表示 */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE, Edge */
}
.top_sp_menu_container::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.top_sp_menu {
  flex: 0 0 auto; /* ボタンの幅を内容に合わせて自動調整 */
  margin-right: 10px; /* ボタン間の余白 */
  padding: 10px;
  border: 1.5px solid #000;
  background-color: #fff;
  font-size: 14px;
  white-space: nowrap; /* ボタン内のテキストが折り返されないようにする */
  font-weight: bold;
}
.top_sp_menu:last-child {
  margin-right: 0; /* 最後のボタンの右側の余白を削除 */
}
/* コンテナのpaddingと矢印のスペースを考慮 */
.top_sp_menu_container {
  /* 矢印が表示されるスペースを確保 */
  padding-right: 40px; /* 右矢印の幅＋α */
  padding-left: 10px;  /* 左矢印の幅＋α */
  /* スクロール開始/終了位置をpadding内に合わせる */
  scroll-padding-right: 40px;
  scroll-padding-left: 10px;
}

/* スクロール矢印 */
.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;  /* 矢印の幅 */
    height: 30px; /* 矢印の高さ */
    background-color: rgba(128, 128, 128, 0.7); /* 半透明のグレー */
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer; /* クリック可能に見せる */
    z-index: 10;
    opacity: 0; /* 初期状態は透明 */
    pointer-events: none; /* 初期状態はクリック不可 */
    transition: opacity 0.3s ease; /* フェードイン/アウト */
    user-select: none; /* テキスト選択不可 */
}

/* 矢印が表示状態のときのスタイル */
.scroll-arrow.visible {
    opacity: 1;
    pointer-events: auto; /* クリック可能にする（今回はクリック処理は実装しないが念のため）*/
}

/* 左矢印の位置 */
.arrow-left {
    left: 5px; /* 左端からの距離 */
}

/* 右矢印の位置 */
.arrow-right {
    right: 5px; /* 右端からの距離 */
}

/* JavaScriptで付与するクラス（スクロール不要な場合） */
.no-scroll .scroll-arrow {
    display: none !important;
}
.top_Swipe_icon{
  text-align: right;
}
.top_Swipe_icon img{
  width: 15%;
  margin-right: 10px;
}

.business_wrap{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.business_item{
  width: 30%;
  margin: 0 1.5%;
}
@media screen and (max-width:768px){
  .business_item{
  width: 100%;
  }
}

.top_2column_parts {
  display: inline-block;
  overflow: hidden;
}
.top_2column_parts a img {
  display: block;
  transition-duration: .5s;
}
.top_2column_parts a img:hover {
  transform: scale(1.2);
}

.pr_section_wrap{
  display: flex;
  position: relative;
  height: 460px;
}
.pr_section_r{
  width: 50%;
  padding-left: 134px;
  z-index: 50;
}
.pr_section_r h2{
  font-size: 50px;
  text-align: left;
}
.pr_section_r p{
  font-size: 20px;
  white-space: nowrap;
  font-weight: bold;
  text-shadow: #FFF 1px 0 10px;
}
.pr_section_r img{
  width: 90%;
  margin: 16px 0;
}
.pr_section_l{
  width: 50%;
  position: absolute;
  right: 0px;
  z-index: 10;
}
.pr_section_l img{
  width: 554px;
  height: auto;
  border-radius: 30px;
}
.top_text_mark{
  position: relative;
  padding: 0 1em 0 0;
  border-bottom: 6px solid #ed1c23;
}
.top_text_mark:before {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 20%;
  height: 6px;
  content: '';
  background: #0065b3;
}
@media screen and (max-width:768px){
  .pr_section_wrap{
  height: 640px;
}
.pr_section_r h2{
  font-size: 42px;
}
.pr_section_r{
  width: 100%;
  padding-left: 0px;
}
.pr_section_r p{
  white-space: normal;
  width: 80%;
  padding-left: 0.5em;
}
.pr_section_r img{
  width: 100%;
  margin: 19vh 0;
}
.pr_section_l{
  width: 80%;
  top: 213px;
}
.pr_section_l img{
  width: 100%;
  border-radius: 30px;
}
}

.cta_contact_section{
  background-color: #e8f5ff;
  margin: auto !important;
}
.cta_contact_section p{
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 2em;
}
.cta_contact_wrap{
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta_contact_r{
  width: 560px;
  font-weight: bold;
  font-size: 20px;
  padding: 0 2em 0 3em;
}
.cta_contact_l{
  width: 560px;
  font-weight: bold;
  font-size: 20px;
  padding:0 3em 0 2em;
}
.cta_contact_r_item{
  background-color: #ed1c23;
  color: #FFF;
  font-weight: bold;
  border-radius: 16px;
  height: 7em;
  padding: 1em 2em;
  text-align: center;
}
.cta_contact_r_item a{
  font-size: 28px;
  color: #fff;
}
.cta_contact_l_item{
  background-color: #0266b3;
  color: #FFF;
  font-weight: bold;
  border-radius: 16px;
  height: 7em;
  padding: 1em 2em;
  position: relative;
}
.cta_contact_l_item a{
  font-size: 28px;
  color: #fff;
  position: absolute;
  top: 48px;
  right: 90px;
}
.cta_contact_r_time{
  font-size: 14px;
  margin-bottom: 6px;
}
@media screen and (max-width:768px){
  .cta_contact_section p{
  font-size: 16px;
  margin: 0 0.5em 1em;
}
.cta_contact_wrap{
  flex-wrap: wrap;
}
.cta_contact_r{
  width: 100%;
  padding: 1em;
}
.cta_contact_l{
  width: 100%;
  padding: 0 1em;
}
.cta_contact_r_item{
  width: 320px;
  margin: auto;
}
.cta_contact_r_time{
  margin-bottom: 0px;
}
.cta_contact_l_item{
  width: 320px;
  margin: auto;
}
.cta_contact_l_item a{
  font-size: 26px;
  top: 49px;
  right: 30px;
}
}

.top_External_link_wrap{
  display: flex;
  justify-content: center;
  align-items: center;
}
.top_External_link{
  width: 16%;
  margin: 0 40px;
}
@media screen and (max-width:768px){
.top_External_link_section{
  padding: 40px 0 0;
  margin: auto !important;
}
.top_External_link{
  width: 26%;
  margin: 0 10px;
}
}