@charset "UTF-8";

:root {
  /* Primary Theme */
--blue: #0080cb;          
--green: #5bb43b;  
--navy:#002E5D;/*rgba(0, 46, 93, 1)*/


  /* Secondary Theme */
--paleblue: #CCECFE; /*rgba(204, 236, 254, 1)*/
--palegreen: #E5F1CF;

 /* Accent Colors */
--orange: #FF6100; /*rgba(255, 97, 0, 1)*/
--palegray:#F4F4F4;

/* Text */
  --text-color: #333333; 
  /* 欧文 */
  --obun: "Rubik", sans-serif;

}
/*================================================
 *  CSSリセット
 ================================================*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
    box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

img{
	width: 100%;
	vertical-align:bottom; /* img要素にここを指定 */
}

a:link {
	text-decoration: none;	
}

a:hover img {
    opacity: 0.7;
  filter: alpha(opacity=70);
  -ms-filter: "alpha(opacity=70)";
}




/*================================================
 *  一般・共通設定
 ================================================*/

body{
  font-family: 'M PLUS 1p', sans-serif;
    -webkit-text-size-adjust: 100%;
    line-height: 1.6;
    font-size: 100%;
    color: #595757;
    background-color: #ffffff;}

/* 小さい画面用の設定-------------- */
@media (max-width:767px){
body {font-size: 88%;}
	}
/* -------------end------------- */



/*================================================
 *  リンクスタイル
 ================================================*/
a:hover {
	opacity: 0.7;
  filter: alpha(opacity=70);
  -ms-filter: "alpha(opacity=70)";
}

/*================================================
 *  メイン
 ================================================*/
  .slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }
  .slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
  }


#slide1 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../img/index_img/slide03.png');
    z-index: 1;
  }
  #slide2 {
   background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../img/index_img/slide02.webp');
    z-index: 2;
    clip-path: circle(0% at 100% 100%); 
    -webkit-clip-path: circle(0% at 100% 100%);
  }
  #slide3 {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../img/index_img/slide01.webp');
    background-size: cover;
    background-position: center;
    clip-path: circle(0% at 0% 0%); 
    -webkit-clip-path: circle(0% at 0% 0%);
    z-index: 3;
    pointer-events: none;
  }
  
  
/* 小さい画面用の設定-------------- */
@media (max-width:767px){
.slider {
height: 70vh;
}
}
/* -------------end------------- */
  

  /* スクロールダウン矢印 */
  /* スクロールボタン */
.scroll-down {
  position: absolute;
  bottom: 20px;
  right: 20px;
  color: #ffffff;
  z-index: 100;
  text-decoration: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: bounce 2s infinite;
}

/* テキスト */
.scroll_txt {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 1.0em;
  line-height: 1.2;
  margin-bottom: 10px;
}

/* 矢印の縦線部分 */
.arrow-line {
  width: 2px;
  height: 100px;
  background-color: #fff;
  position: relative;
}

/* 矢印の先端部分 */
.arrow-head {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 16px;
  height: 16px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

/* アニメーション */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.scroll-down {
  animation: bounce 2s infinite;
}

.main_copy {
width: 60%;
position: absolute;
top: 50%;
left: 50%;
transform: translateY(-50%) translateX(-50%);
-webkit-transform: translateY(-50%) translateX(-50%);
z-index: 100;
opacity: 0;
transform: translateX(-600px) translateY(-50%); /* もっと左からスタート */
 animation: slideIn 1.5s ease-out forwards; /* 動きをゆっくり・大きく */
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(-600px) translateY(-50%); /* 開始位置 */
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(-50%); /* 最終位置 */
  }
}

/* 中画面用の設定-------------- */
@media (max-width:1200px){

.main_copy {
width: 70%;

}
}
/* -------------end------------- */



  
.main_copy_logo{margin-bottom: 20px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(7px 7px 7px rgba(0,0,0,0.8));}
  
.main_copy_txt{margin-bottom: 30px;
  color: #ffffff;
  font-size: 150%;
  font-weight: 500;
  text-align: center;
  filter: drop-shadow(7px 7px 7px rgba(0,0,0,0.8));}
  
/* 小さい画面用の設定-------------- */
@media (max-width:767px){
.main_copy {
width: 80%;}

.main_copy_logo{width: 90%;}

.main_copy_txt{font-size: 113%;}


}
/* -------------end------------- */

.main_truck{position: absolute;
right: 50px;
bottom: -20px;
width: 25%;
z-index: 101;}

/* 小さい画面用の設定-------------- */
@media (max-width:767px){
.main_truck{
right: 30px;
bottom: -10px;
width: 40%;
}


}
/* -------------end------------- */


/*================================================
 * メイン内ボタン
 ================================================*/ 
.main_contact_flex {
  display: flex;
  justify-content: space-between;
}

.main_contact_flex li {
  width: 32.5%;
  background-color: var(--navy);
  border-radius: 3px;
  position: relative;
  
display: flex;
align-items: center;
}

.main_contact_flex li:last-child {
  background-color: var(--orange);
}


.main_contact_flex li a {
  color: #ffffff;
  padding: 10px 20px 10px 60px; /* 左側にアイコンのスペース確保 */
  display: block;
}

/* 共通のアイコンスタイル */
.main_contact_flex li::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900; /* solid アイコンを表示するため */
  font-size: 188%;
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  color: #fff;
}

/* 最初のliに電話アイコン */
.main_contact_flex li:first-child::before {
  content: "\f095"; 
}

/* 中のliにメールアイコン */
.main_contact_flex li:nth-child(2)::before {
  content: "\f0e0"; }

/* 最後のliにカレンダーアイコン */
.main_contact_flex li:last-child::before {
  content: "\f073"; 
}

.main_contact_txt{font-size: 125%;
font-weight: 700;
line-height: 1.2;}

.main_contact_txt_tel{font-size: 150%;
font-family: var(--obun);}

/* 小さい画面用の設定-------------- */
@media (max-width:767px){
.main_contact_flex {
display: none;
}
  
/*.main_contact_flex {
flex-wrap: wrap;
}

.main_contact_flex li {
  width: 100%;
}

.main_contact_flex li:nth-child(-n+2) {
margin-bottom: 10px;
}*/
}
/* -------------end------------- */

/*================================================
 * グロナビ固定
 ================================================*/
.nav_fixed {
position:fixed;
top:0;
left:0;
z-index: 1000;
width: 100%;
}

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

    ■ Header■ Keyv

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



.header_flex{display: flex;
align-items: center;

width: 100%;
max-width: 1000px;
margin-left: auto;
margin-right: auto;
text-align: center;

}

.header_flex li:first-child{width: 32%;
padding-top: 20px;
padding-bottom: 20px;
}

.header_flex li:nth-child(2)
{width: fit-content; /* コンテンツの幅に合わせる */
margin-left: auto; /* これが右寄せのカギ */
padding-top: 10px;
padding-bottom: 10px;
padding-right: 20px;
text-align: left;
}

.header_flex li:nth-child(3),
.header_flex li:last-child
{
width: fit-content; /* コンテンツの幅に合わせる */
  align-self: stretch; /* ← これが高さを引き伸ばすカギ！ */
}

.header_flex li:nth-child(3) p,
.header_flex li:last-child p
{font-size: 125%;
font-weight: 700;}

.header_flex li:nth-child(3) a,
.header_flex li:last-child a{
 background-color: var(--blue);
color: #ffffff;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
width: 100%;
height: 100%;
box-sizing: border-box;
padding-right: 20px;
padding-left: 20px;
}


.header_flex li:last-child a{
background-color: var(--orange);
}

.header_flex li:nth-child(3) i,
.header_flex li:last-child i {
  font-size: 180%;
  margin-bottom: 5px;
}

.header_tel{
font-size: 175%;
font-weight: 700;
line-height: 1.2;
color: var(--orange);
font-family: var(--obun);
}


.header_tel:before {
font-family: "Font Awesome 6 Free";
font-weight: 900;
content: "\f095";
font-size: 80%;

}


/* 小さい画面用の設定-------------- */
@media (max-width:767px){
.header_flex li:first-child{width: 55%;
padding-left: 10px;
}

.header_flex li:nth-child(2)
{display: none;
}

.header_flex li:nth-child(3)
{ display: none;
}

.header_flex li:last-child {
  display: none;
}
}
/* -------------end------------- */

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

    ■ Header■ Keyv

======================================== */
.slider_wrap{position: relative;}




/* スクロールボタン */
.scroll-down {
  position: absolute;
  bottom: 20px;
  right: 20px;
  color: #ffffff;
  z-index: 100;
  text-decoration: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: bounce 2s infinite;
}




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

    ■ common_item

======================================== */
.contents{width: 98%;
max-width: 1000px;
margin-left: auto;
margin-right: auto;
word-wrap: break-word;
overflow-wrap: break-word;
}

/* 小さい画面用の設定-------------- */
@media (max-width:767px){
.contents{width: 90%;}
}
/* -------------end------------- */

/*================================================
 * 共通見出し
================================================*/
.common_title_wrap{
  text-align: center;
margin-bottom: 30px;
}

.common_title{
  font-size: 175%;
  font-weight: 500;
  color: var(--navy);
}

.common_title_w{
  color: #ffffff;
}


.common_title_sub{
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 10px;
font-size: 88%;
line-height: 1.0;
font-family: var(--obun);
color: #cccccc;

}
.common_title_sub::before,
.common_title_sub::after{
  content: "";
  display: inline-block;
  background-color: #cccccc;
  width: 50px;
  height: 1px;
}


.con_lead{margin-bottom: 20px;
font-size: 113%;
font-weight: 500;
text-align: center;
}

.con_lead_w{color: #ffffff;
}


/* 小さい画面用の設定-------------- */
@media (max-width:767px){
.con_title {
font-size: 163%;
}
    
.con_title::after {
margin-bottom: 10px;
}
    
.con_lead{margin-bottom: 10px;
}

.con_lead_inside{text-align: left;
}
}
/* -------------end------------- */

/* -------bt_more------- */
.bt_more {
	width: fit-content;
	margin-left: auto;
	margin-right: 0;
	padding-top: 10px;
	padding-right: 20px;
	padding-left: 20px;
	padding-bottom: 10px;
	border: 1px solid var(--navy);
	text-align: center;
	background-color: var(--navy);
	transition: background-color 0.3s ease, transform 0.3s ease;
    border-radius: 3px;
}


.bt_more_center {
  margin: 0 auto;}

.bt_more a {
  display: block;
  color: #fff;
  position: relative;
  padding-right: 1.5em;
  transition: color 0.3s ease;
}

/* 矢印アイコン */
.bt_more a::after {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

/* ホバーアニメーション */
.bt_more:hover {
transform: translateY(-2px); /* 少し浮く感じ */
}
.bt_more a:hover::after {
  transform: translate(4px, -50%); /* 矢印が右にスライド */
}


/* -------txt_more------- */
.txt_more{text-align: right;
}

.txt_more a {
  display: block;
  position: relative;
  padding-right: 1.0em;
}


/* 矢印アイコン */
.txt_more a::after {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

/* -------bt_back------- */
.bt_back {
	width: fit-content;
	margin-left:0 ;
	margin-right: auto;
	padding-top: 10px;
	padding-right: 20px;
	padding-left: 20px;
	padding-bottom: 10px;
	border: 1px solid var(--navy);
	text-align: center;
	background-color: var(--navy);
	transition: background-color 0.3s ease, transform 0.3s ease;
    border-radius: 3px;
}

.bt_back a {
  display: block;
  color: #fff;
  position: relative;
  padding-right: 1.5em;
  transition: color 0.3s ease;
	padding-left: 20px;
}

/* 矢印アイコン */
.bt_back a::after {
  content: "\f104";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

/* ホバーアニメーション */
.bt_back:hover {
transform: translateY(-2px); /* 少し浮く感じ */
}
.bt_back a:hover::after {
  transform: translate(4px, -50%); /* 矢印が右にスライド */
}

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

    ■ con1

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

.con1_outside{
padding-top: 60px;
padding-bottom: 60px;
background-color: var(--palegray);
    }

.con1_title{text-align: center;
color: var(--navy);
font-size: 175%;
font-weight: 800;
margin-bottom: 10px;
}

.con1_sub_title {
display: flex;
align-items: center;
margin-bottom: 40px;
color: var(--navy);
font-size: 150%;
font-weight: 700;
}

.con1_sub_title > span {
color: var(--navy);
padding-left: 1rem;
padding-right: 1rem;
}

.con1_sub_title:before,
.con1_sub_title:after {
    content: "";
    height: 1px;
    flex-grow: 1;
    background-color: var(--navy);
}


.con1_list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.con1_list li {
  position: relative; /* 疑似要素の基準にする */
  width: 24%;
  font-size: 113%;
  font-weight: 500;
  text-align: center;
  opacity: 0;
  transform: translateY(30px) scale(0.8);
  transition: all 0.6s ease-out;
}

.con1_list li.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.con1_list li:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.con1_list li img {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
}

.con1_list li:nth-child(-n+4) {
  margin-bottom: 30px;
}

/* 吹き出し共通 */
.con1_list li::after {
  content: '';
  position: absolute;
  top: -20px; /* お好みで調整 */
  left: 95%;
  transform: translateX(-50%);
  width: 140px; /* 吹き出し画像のサイズ */
  height: 104px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none; /* hover判定に影響しないように */
}

/* ホバー時に表示 */
.con1_list li:hover::after {
  opacity: 1;
}

/* 吹き出し画像パターン */
.con1_list li:nth-child(1)::after {
  background-image: url('../img/index_img/fukidashi01.png');
}
.con1_list li:nth-child(2)::after {
  background-image: url('../img/index_img/fukidashi02.png');
}
.con1_list li:nth-child(3)::after {
  background-image: url('../img/index_img/fukidashi03.png');
}
.con1_list li:nth-child(4)::after {
  background-image: url('../img/index_img/fukidashi04.png');
}
.con1_list li:nth-child(5)::after {
  background-image: url('../img/index_img/fukidashi05.png');
}
.con1_list li:nth-child(6)::after {
  background-image: url('../img/index_img/fukidashi06.png');
}
.con1_list li:nth-child(7)::after {
  background-image: url('../img/index_img/fukidashi07.png');
}
.con1_list li:nth-child(8)::after {
  background-image: url('../img/index_img/fukidashi08.png');
}


.con1_txt{
font-weight: 500;
text-align: center;
font-size: 118%;
color: var(--orange);}



/* 小さい画面用の設定-------------- */
@media (max-width:767px){

.con1_outside{
padding-top: 40px;
padding-bottom: 40px;}
    

.con1_title{font-size: 150%;
line-height: 1.4;
}

.con1_sub_title {
font-size: 119%;
}

.con1_sub_title > span {
border-radius: 3px;
}

.con1_list::after{
  content:"";
  display: block;
  width:33%;
}

.con1_list li {
width: 33%;}

.con1_list li img {
  width: 70%;
}




/* 吹き出し共通 */
.con1_list li::after {
  content: '';
  position: absolute;
  top: -20px; /* お好みで調整 */
  left: 70%;
  transform: translateX(-50%);
  width: 100px; /* 吹き出し画像のサイズ */
  height: 75px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none; /* hover判定に影響しないように */
}

/* 吹き出し画像パターン */
.con1_list li:nth-child(1)::after {
  background-image: url('../img/index_img/fukidashi01_sp.png');
}
.con1_list li:nth-child(2)::after {
  background-image: url('../img/index_img/fukidashi02_sp.png');
}
.con1_list li:nth-child(3)::after {
  background-image: url('../img/index_img/fukidashi03_sp.png');
}
.con1_list li:nth-child(4)::after {
  background-image: url('../img/index_img/fukidashi04_sp.png');
}
.con1_list li:nth-child(5)::after {
  background-image: url('../img/index_img/fukidashi05_sp.png');
}
.con1_list li:nth-child(6)::after {
  background-image: url('../img/index_img/fukidashi06_sp.png');
}
.con1_list li:nth-child(7)::after {
  background-image: url('../img/index_img/fukidashi07_sp.png');
}
.con1_list li:nth-child(8)::after {
  background-image: url('../img/index_img/fukidashi08_sp.png');
}


.con1_txt{text-align: left;
margin-bottom: 10px;}


}
/* -------------end------------- */

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

    ■ con2

======================================== */
.con2_outside{
padding-top: 60px;
padding-bottom: 60px;
background-color: var(--navy);
}
    

.con2_flex_box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.con2_flex_box::before {
    content: "";
    display: block;
    width: 25%;
    order: 1;
}

.con2_flex_box::after {
    content: "";
    display: block;
    width: 25%;
}

.con2_flex_box li {
    width: 25%;
    position: relative;
    overflow: hidden; /* ここを追加 */}



.con2_flex_box li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 46, 93, 0.7);
    transition: opacity 0.3s ease;
}

.con2_flex_box li:hover::before {
    opacity: 0;
}

.con2_flex_box li p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit-transform: translateY(-50%) translateX(-50%);
    text-align: center;
    font-size: 125%;
    font-weight: 700;
    color: #ffffff;
}
/* ズームのためのtransition */
.con2_flex_box li img {
    transition: transform 0.4s ease;
    display: block;
    width: 100%;
    height: auto;
}

/* hover時に画像をズーム */
.con2_flex_box li:hover img {
    transform: scale(1.05);
}



    




/* 小さい画面用の設定-------------- */
@media (max-width:767px){
.con2_outside{
padding-top: 40px;
padding-bottom: 40px;}



.con2_flex_box li{width: 48%;}


.con2_flex_box li:nth-child(-n+6){margin-bottom: 20px;}

.con2_flex_box li p {
font-size: 113%;
width: 80%;
}

}
/* -------------end------------- */
    

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

    ■ con3

======================================== */
    
.con3_outside {
padding-top: 60px;
padding-bottom: 60px;
background-color: var(--palegray);}



.con3_flex_box{display: flex;
justify-content: space-between;
margin-bottom: 20px;
}

.con3_flex_box li{width: 18%;
text-align: center;
color: var(--navy);
}


.con3_flex_box i {
padding-top: 20px;
padding-bottom: 20px;
font-size: 480%;

}


/* 小さい画面用の設定-------------- */
@media (max-width:767px){

.con3_outside{
padding-top: 40px;
padding-bottom: 40px;}
    

.con3_flex_box{flex-wrap: wrap;
justify-content: center;
}

.con3_flex_box li{width: 31%;
text-align: center;
margin-left: 1%;
margin-right: 1%;
}

.con3_flex_box li:nth-child(-n+3){margin-bottom: 10px;
}

.con3_flex_box li p{line-height: 1.4;
}

.con3_flex_box i {
font-size: 300%; /* アイコンサイズ（調整可） */}

}
/* -------------end------------- */

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

    ■ con4 お知らせ

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

.con4_outside
{
padding-top: 60px;
padding-bottom: 60px;
    }

.con4_flex_box{display: flex;
justify-content: space-between;
}

.con4_flex_box > li:first-child{width: 20%;
display: flex;
justify-content: center;}

.con4_flex_box li:last-child{width: 78%;}

.news_dl {
margin-bottom: 20px;
}


.news_dl dt {
	clear: left;
	float: left;
	width: 10em;
    padding-left: 1em;
}

.news_dl dd {
  position: relative; /* 矢印を絶対配置するために必要 */
  padding-left: 10em;
  padding-right: 1.5em; /* 矢印分のスペース */
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #CCC;
  padding-right: 1em;
}

.news_dl dd::after {
  content: "\f105"; /* Font Awesomeの右矢印（fa-angle-right） */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 1em; /* 右端に配置 */
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  transition: color 0.3s ease;
}

.news_dl dd a {
  color: var(--text-color);
}

.news-new {
    display: inline-block;
    background-color: var(--orange); 
    color: #fff;               /* 文字色は白 */
    font-size: 0.8em;          /* 少し小さめ */
    font-weight: bold;
    padding: 2px 6px;          /* 上下2px、左右6px */
    border-radius: 3px;       /* 角丸 */
    margin-right: 5px;         /* タイトルとの間隔 */
    vertical-align: middle;    /* テキストと揃える */
}

/* 小さい画面用の設定-------------- */
@media (max-width:767px){
.con4_outside{
padding-top: 40px;
padding-bottom: 40px;}
    


.con4_flex_box{flex-wrap: wrap;}

.con4_flex_box > li:first-child{width: 100%;
text-align: center;}

.con4_flex_box > li:last-child{width: 100%;}

.news_dl dt {
	clear: none;
	float: none;
	width: 100%;
    padding-left: .5em;
}

.news_dl dd {
padding-left: .5em;
padding-right: 2em;
}

}
/* -------------end------------- */
    

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

    ■ con5　RECRUIT

======================================== */
.con5 {
    display: grid;
    /* 左から「中央まで」「最大500px」「余白」の3列にする */
    grid-template-columns: 50% minmax(0, 500px) 1fr;
    width: 100%;
    
}

.con5 > div {
padding-top: 60px;
padding-bottom: 60px;
}

.con5 > div:first-child {
background: linear-gradient(
    rgba(0, 46, 93, 0.4), 
    rgba(0, 46, 93, 0.4)
  ), 
  url("../img/index_img/con5_bg.png");
  background-size: cover;
  background-position: center;
}

.con5 > div:nth-child(2)
{
background-color: var(--navy);
color: #ffffff;
padding-left: 50px;}



.con5 > div:last-child
{
background-color: var(--navy);
color: #ffffff;
}


.con5_txt {
margin-bottom: 20px;
}



.con5_flex_box li {
  width: 100%;
  height: 70px; /* ← テキストの中央揃えに使う高さだけ確保 */
  background-color: var(--blue);
  position: relative; /* ← これが重要 */
  overflow: visible;  /* アイコンのはみ出しを許可 */
  margin-bottom: 20px;
}

.con5_flex_box li:last-child {
  margin-bottom: 0px;
}


.con5_flex_box li a {
  display: flex;
  align-items: center;
  padding: 10px 10px 10px 80px; /* ← アイコンに合わせて調整 */
  color: #ffffff;
  font-weight: 500;
  font-size: 113%;
  position: relative;
  height: 100%; /* ← li の高さに依存する */
}


/* 共通のアイコンスタイル */
.con5_flex_box li::before {
content: "";
  position: absolute;
  bottom: 0;
  left: 10px;
  width: 50px;
  height: 68px;
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100% auto; /* 横100%、縦は自動調整 */
  z-index: 1;
}

/* 各liごとの背景画像 */
.con5_flex_box li.driver::before {
  background-image: url("../img/index_img/icon_driver.png");
}

.con5_flex_box li.worker::before {
  background-image: url("../img/index_img/icon_worker.png");
}

.con5_flex_box li.jimu::before {
  background-image: url("../img/index_img/icon_jimu.png");
}

/* 各liごとのFont Awesome の右矢印 */
.con5_flex_box li::after {
  content: "\f105"; /*  */
  font-family: "Font Awesome 6 Free"; 
  font-weight: 900; 
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff; /* 矢印の色。必要に応じて変更可 */
  font-size: 1.2em; /* サイズ調整 */
  pointer-events: none; /* hover を邪魔しないように */
}

/* 小さい画面用の設定-------------- */
@media (max-width:767px){
.con5 {
    display: block; /* グリッド解除して縦並び */
  }

.con5 > div:first-child {
height: 300px;
width: 100%; /* 横幅100%に */}

.con5 > div:nth-child(2){
width: 100%; /* 横幅100%に */
padding-left: 30px;
padding-right: 30px;
padding-top: 40px;
padding-bottom: 40px;
  }
  

.con5 > div:last-child {
    display: none; /* 非表示 */
  }

.con5_txt {
margin-bottom: 20px;
}

.con5_flex_box {
flex-wrap: wrap;
gap: 1.5%;
}



}
/* -------------end------------- */


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

    ■ con6

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

.con6_outside
{
padding-top: 60px;
padding-bottom: 60px;

}
    
.con6_flex_box{display: flex;
justify-content: space-between;}

.con6_flex_box li{width: 32%;
text-align: center;}

.con6_flex_box li img{margin-bottom: 10px;}

.con6_flex_box li a{color: var(--navy);}
    

/* 小さい画面用の設定-------------- */
@media (max-width:767px){
.con6_outside{
padding-top: 40px;
padding-bottom: 40px;
}

.con6_flex_box{
flex-wrap: wrap;}

.con6_flex_box li{width: 48%;
margin-bottom: 20px;
font-size: 75%;}

.con6_flex_box li:last-child{margin-bottom: 0px;}
}

/* -------------end------------- */


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

    ■ con7

======================================== */
.con7_outside {
    width: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url(../img/index_img/con7_bg.png);
    background-attachment: fixed; /* パララックス効果 */
    background-size: cover;
    -webkit-background-size: cover;
    text-align: center;
    padding-top: 150px;
    padding-bottom: 150px;
}



/* 小さい画面用の設定-------------- */
@media (max-width: 767px) {
    .con7_outside {
        background-image: url("../img/index_img/con7_bg.png");
        padding-top: 100px;
        padding-bottom: 100px;
        background-attachment: scroll; /* スクロールに設定 */
    }
}

/* iPhone専用の設定 */
@media only screen and (max-width: 768px) and (-webkit-min-device-pixel-ratio: 2) {
    .con7_outside {
        background-image: url(../img/index_img/con7_bg.png); /* 静止画のURLに変更 */
    }
}

/* -------------end------------- */


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

    ■ footer

======================================== */
.footer_outside {
  padding-top: 50px;
  padding-bottom: 100px;
  background-color: var(--palegray);
  border-top: 1px solid var(--navy);

}

.footer_logo{width: 40%;
margin-bottom: 50px;
margin-left: auto;
margin-right: auto;}

.footer_flex_box{display: flex;
justify-content: space-between;}

.footer_flex_box > li:first-child{width: 38%;}

.footer_flex_box > li:last-child{width: 58%;}



.footer_dl{font-size: 88%;}

.footer_dl dt {
	clear: left;
	float: left;
	width: 7em;
}

.footer_dl dd {
	padding-left: 7em;
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom-width: 1px;
	border-bottom-style: dashed;
	border-bottom-color: #CCC;
}

/* 小さい画面用の設定-------------- */
@media (max-width:767px){
.footer_outside {
padding-top: 40px;
padding-bottom: 40px;
}

.footer_logo{width: 70%;
margin-bottom: 20px;}

.footer_flex_box{flex-wrap: wrap;}

.footer_flex_box > li:first-child{width: 100%;}

.footer_flex_box > li:last-child{width: 100%;}

}
/* -------------end------------- */


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

    ■ sitemap

======================================== */
   
.sitemap_flex{font-size: 82%;
display: flex;
justify-content: space-between;}

.sitemap_flex > li{width: 30%;}

.sitemap_flex > li:nth-child(2){width: 40%;}


.sitemap_inner > li a,
.sitemap_inner_second > li a
{font-weight: 300;
color: var(--text-color);
}


.sitemap_inner_second > li{
padding-left: 1em;
}


.sitemap_inner > li:before,
.sitemap_inner_second > li:before
{
  content: "\f105"; 
  font-family: "Font Awesome 6 Free";
  font-weight: 900;

  color: #999;
  padding-right: .5em;
}

address{padding-top: 10px;
padding-bottom: 10px;
background-color: var(--navy);
font-size: 80%;
color: #ffffff;
text-align: center;}



/* 小さい画面用の設定-------------- */
@media (max-width:767px){
.sitemap_flex{flex-wrap: wrap;}

.sitemap_flex > li{width: 100%;
}

.sitemap_flex > li:nth-child(2){width: 100%;}

address{padding-bottom: 60px;}

}
/* -------------end------------- */
   



/* ====================================================
　pagetop
==================================================== */

.pagetop {
  display: none;
  position: fixed;
  bottom: 40px;
  right: 10px;
  z-index: 1000;
  line-height: 1.0;
}

.pagetop img {
  animation: jump 1.5s ease-in-out infinite;
  display: inline-block;
  transform-origin: bottom center; /* 下から動くように調整 */
  width:60px;
}

/* ジャンプのアニメーション */
@keyframes jump {
  0%, 100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-20px);
  }
  50% {
    transform: translateY(-10px);
  }
  70% {
    transform: translateY(-15px);
  }
}

/* 小さい画面用の設定-------------- */
@media (max-width:767px){
.pagetop img {

width: 80%;}

}
/* -------------end------------- */


/* Bnr
-----------------------------------------*/

.Bnr{
  position: relative;
  margin: 0 auto;
  width: 600px;
  display: none;
  
}
.Bnr_flex_box{
position: fixed;
top:100px;
right: 0;
z-index: 88;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
box-sizing: border-box;
flex-direction: column; /* ← 縦ならびはこれを追加！ */
font-family: 'Noto Sans JP', sans-serif;
font-size: 113%;
font-weight: 500;
}

.Bnr_flex_box li{
    display: block;
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    padding: 10px;
    background-color: var(--blue);
}
.Bnr_flex_box li:last-child{
 background-color: var(--orange);
}

.Bnr_flex_box li i{
margin-bottom: 0.3em;
font-size: 125%;
}

.Bnr_flex_box li a {
  color: #ffffff;
  writing-mode: vertical-rl; /* ← 縦書きにする */
  text-orientation: upright; /* ← アルファベットを回転させない */
  text-align: center;
}

.Bnr_flex_box li:first-child{
    margin-bottom: 10px;
}



/* 小さい画面用の設定-------------- */
/* スマホ用に横書きに変更 */
@media (max-width: 767px) {
  .Bnr_flex_box {
    bottom: 0;
    top: auto;
    right: 0;
    left: 0;
    flex-direction: row;
    width: 96%;
    margin-left: auto;
    margin-right: auto;
    
  justify-content: space-between;}

  .Bnr_flex_box li {
    width: 49%; /* 横に2つ並ぶように調整（必要なら変更） */
    border-radius: 5px 5px 0 0; /* 丸みリセット */
/*    padding: 0px;
    padding-top: 10px;
    padding-bottom: 10px;*/
  }
  
.Bnr_flex_box li i{
  margin-right: 0.3em;
margin-bottom: 0em;
}

  .Bnr_flex_box li a {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
  }
  .Bnr_flex_box li:first-child{
    margin-bottom: 0px;
}
}



/* 大きい画面用の設定-------------- */
@media (min-width:768px){
#recruit_link,
#content,
#guide_access_link,
#link_policy,
#link_sdgs,
#link_service01,
#link_service02,
#link_service03,
#link_service04,
#link_service05,
#link_service06,
#link_service07{padding-top: 50px;
margin-top:-50px;}

	}
/* -------------end------------- */



/*================================================
 *  ローダー
 ================================================*/
 /* ローダー全体 */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
  padding: 20px; /* 画面端で詰まらないように余白追加 */
  background-color: var(--navy);
}

/* ローディング内容 */
.loader-content {
  width: 100%;       /* 画面幅100%をしっかり確保 */
  max-width: 1000px;  /* 大きすぎない上限（お好みで） */
  text-align: center; /* テキスト中央寄せ */
}

/* プログレスバー外枠 */
.progress-bar {
  width: 70%;              /* 親の90%（画面の約90%になる） */
  max-width: 1000px;        /* 最大幅も指定すると綺麗 */
  height: 3px;
  background: #ddd;
  overflow: hidden;
  margin: 0 auto 15px;     /* 中央寄せ */
}

/* プログレスバー本体 */
.progress {
  width: 0%;
  height: 100%;
  background: var(--orange);
  transition: width 0.1s;
}

/* パーセンテージテキスト */
.percentage {
  font-weight: 700;
  color: var(--palegray);
}

/* Loadingテキスト */
.loading-text {
  font-size: 88%;
  color: var(--palegray);
  margin-bottom: 20px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.loading-text {
  animation: blink 1s infinite;
}


 /*================================================
 *  jqueryフェードイン
 ================================================*/
    /*----- フェードイン -----*/
    .inviewfadeIn {
        opacity: 0;
        transition: .8s;
    }
    
    .fadeIn {
        opacity: 1.0;
    }

    /*----- 上へスライド -----*/
    .inviewUp {
        transform: translate(0, 40px);
        -webkit-transform: translate(0, 40px);
        transition: .8s;
    }
    
    .Up {
        transform: translate(0, 0);
        -webkit-transform: translate(0, 0);
    }

    /*----- ズームイン -----*/
    .inviewzoomIn {
        transform: scale(0, 0);
        -webkit-transform: scale(0, 0);
        transition: .8s;
    }
    
    .zoomIn {
        transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
    } 
    
    /*----- フェードインしながら上へスライド -----*/
    .inviewfadeInUp {
        opacity: 0;
        transform: translate(0, 60px);
        -webkit-transform: translate(0, 60px);
        transition: .8s;
    }
    
    .fadeInUp {
        opacity: 1.0;
        transform: translate(0, 0);
        -webkit-transform: translate(0, 0);
    }
    
    

