/** 汎用スタイル **/
/*ボックス全体*/





.fixed_btn3
{
 position: fixed;
  top: 0;
  left: 0;
width: 70px;

z-index: 1000;
}

.fixed_btn4
{
  position: fixed;
  bottom: 670px; 
  right: -424px;
  padding: 0px 0px;
 border: 0;
z-index: 1000;
}


.fixed_btn5
{
  position: fixed;
  bottom: 590px; 
  right: -424px;
  padding: 0px 0px;
 border: 0;
z-index: 1000;
}


.switchbox {
    margin: 10px 0;
    padding: 0;

}
/*ラベル*/
.switchbox label {
    display: block;
    font-weight: bold;
    cursor :pointer;
}
/*チェックボックスを非表示にする*/
.switchbox input {
    display: none; 
}
/*中身を非表示にしておく*/
.switchbox div {
    height: 0;
    overflow-y: hidden;
    transition: 0.8s;/*ゆっくり表示させる*/
    opacity: 0;
}
/*クリックで中身を表示*/
.switchbox input:checked + label + div {
    height: auto;
    opacity: 1;
}
/*アイコン*/
.switchbox label::before {
    
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    padding-right: 8px;
}
/*クリックでアイコン入れ替え*/
.switchbox input:checked + label::before {
   
}


.sample-box {
    position: relative;
}

.youtube {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    
    position: absolute;
    top: 3%;
    left: 85%;
}


.me {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    
    position: absolute;
    top: 0%;
    left: 87%;
}

 
.btn-circle-border-double {
  display: inline-block;
  text-decoration: none;
  color: #668ad8;
  width: 120px;
  height: 120px;
  line-height: 120px;
  border-radius: 50%;
  border: double 4px #668ad8;
  text-align: center;
  overflow: hidden;
  transition: .6s;
}

.btn-circle-border-double:hover {
  -webkit-transform: rotateY(360deg);
  transform: rotateY(360deg);
}






.sample7 {
  width: 100%;
  max-width: 300px; /* 最大幅を指定しておくとデザインが保たれる */
  margin: 10px;
  overflow: hidden;
  position: relative;
}

.sample7 img {
  width: 100% !important;  /* ← 強制上書き */
  height: auto;
  display: block;
}



.sample7 .caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 0.95rem;
  text-align: left;
  padding: 20px;
  line-height: 1.7;
  border-radius: 5px;
  width: 90%;
  max-width: 700px;
}

.sample7 .mask {
	width:			100%;
	height:			100%;
	position:		absolute;
	top:			0;
	left:			0;
	opacity:		0;	/* 表示させない */
	background-color:	rgba(0,0,0,0.5);
	-webkit-transform:	rotateX(-180deg);
	transform:		rotateX(-180deg);
	-webkit-transition:	all 0.6s ease;
	transition:		all 0.6s ease;
}
.sample7:hover .mask {
	-webkit-transform:	rotateX(0deg);
	transform:		rotateX(0deg);
	opacity:		1;	/* ホバーで表示する */
}



.parent {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px 0;
}


.child {
  width: 300px; /* ← カードの最大幅 */
  background: #f8f8f8; /* ← 柔らかいグレー背景に変更 */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.child:hover {
  transform: translateY(-5px);
}


      @media screen and (max-width: 750px) {
        .parent {
          flex-wrap: wrap;
        }
      }

      @media screen and (max-width: 300px) {
        .parent {
          display: block;
        }
      }









h1 {
  color: #000;/*文字色*/

  padding: 0.5em;/*文字周りの余白*/
  
}

.tes{
  padding: 4px 20px;
  color: #ffffff;
  width:100%;
  margin: 0 auto;
  -webkit-transform: skew(-20deg);
  transform: skew(-20deg);
  background-image: -webkit-linear-gradient(linear, left top, right top, from(#b22323), to(#c91c42));
  background-image: -webkit-linear-gradient(left, #b22323 0%, #c91c42 100%);
  background-image: linear-gradient(to right, #b22323 0%, #c91c42 100%);
}



.test {
    position: relative;
    overflow: hidden;
    padding: 20px 20px 20px 150px;
    border: 3px solid #545454;
    font-size: 25px;
}

.test:before {
    position: absolute;
    top: -107%;
    left: -24px;
    content: '';
    width: 150px;
    height: 230%;
    -webkit-transform: rotate(35deg);
    transform: rotate(35deg);
    background: #545454;
}
.test span {
    font-size: 50px;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 18px;
    color: #fff;
}






.bn632-hover {
  width: 160px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  margin: 15px;

  height: 55px;
  text-align:center;
  border: none;
  background-size: 300% 100%;
  border-radius: 50px;
  moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
}

.bn632-hover:hover {
  background-position: 100% 0;
  moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
}

.bn632-hover:focus {
  outline: none;
}

.bn632-hover.bn27 {
  background-image: linear-gradient(
    to right,
    #c91c42,
    #ec8c69,
    #f7186a,
    #fbb03b
  );

}




/* BOXデザイン011 */
.div_design011 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
 -webkit-justify-content: center;
    justify-content: center;

}

.div_design011 .div_design011_contents {
  background: #fff;
  width: 300px;
  height: 220px;
  -webkit-box-shadow: 1px 1px 6px 1px rgba(0, 0, 0, 0.3);
          box-shadow: 1px 1px 6px 1px rgba(0, 0, 0, 0.3);
  margin: 7px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.div_design011 .div_design011_contents img {
  width: 100%;
  height: auto;
}

.div_design011 .div_design011_contents p {
  font-size: 1rem;
  width: auto;
  margin: 0;
  padding: 0rem;
  display: block;
  text-align: center;
}
.box11{
    padding: 0.5em 1em;
    margin: 2em 0;
    color: #5d627b;
    background: white;
    border-top: solid 5px #5d627b;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}
.box11 p {
    margin: 0; 
    padding: 0;
}

.div_design011 img :hover {
    background: #efefef;
}










table{
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

table tr{
  border-bottom: solid 1px #eee;
  cursor: pointer;

}
table th{
  background-color: #fff;

}


table th,table td{
  text-align: left;
  width: 25%;
  padding: 15px 0;
}



table1{
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;

    justify-content: center;
}









/*全体*/
.hidden_box {
    margin: 1em 0;/*前後の余白*/
    padding: 0;
}

/*ボタン装飾*/
.hidden_box label {
    padding: 10px;
    font-weight: lighter;
    font-size: 15px;
    border-bottom-style: solid; 1px
    cursor :pointer;
}

/*ボタンホバー時*/
.hidden_box label:hover {
    background: #efefef;
}

/*チェックは見えなくする*/
.hidden_box input {
    display: none;
}

/*中身を非表示にしておく*/
.hidden_box .hidden_show {
    height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.8s;
}

/*クリックで中身表示*/
.hidden_box input:checked ~ .hidden_show {
    padding: 10px 0;
    height: auto;
    opacity: 1;
}


/* アニメーションの開始を遅らせるCSS*/

.delay-time05{
animation-delay: 0.5s;
}

.delay-time1{
animation-delay: 1s;
}

.delay-time15{
animation-delay: 1.5s;
}

.delay-time2{
animation-delay: 2s;
}

.delay-time25{
  animation-delay: 2.5s;
}




table {
  border-collapse: collapse;
  
}

















.bn1 {
  display: inline-block;
  padding: 0.6em 1.7em;
  border: 0.1em solid #000;
  margin: 0 0.3em 0.3em 0;
  border-radius: 0.12em;
  box-sizing: border-box;
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  color: #000;
  text-align: center;
  transition: all 0.2s;
}

.bn1:hover {
  color: #fff;
  background-color: #52BCDE;
}


.news-list{
  list-style: none outside;
  margin: 0;
  padding: 0;
  
}
.news-list .item a{
  display: flex;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #CCC;
  padding: 20px 20px;
}
.news-list .item:first-child a{
  border-top: 1px solid #CCC;
}
.news-list .item .date{
  margin: 0;
  min-width: 140px;
  font-size: 16px;
  color: #999;
  padding: 0 20px 0 0;
}
.news-list .item .category{
  margin: 0;
  min-width: 140px;
  padding: 0 20px 0 0;
}
.news-list .item .category span{
  background: #b22323;
  color: #FFF;
  text-align: center;
  display: inline-block;
  padding: 5px 20px;
  font-size: 12px;
  line-height: 1;
}
.news-list .item .title{
  margin: 0;
  width: 100%;
}
.news-list .item a:hover .title{
  color: #00F;
}

@media screen and (max-width: 767px){
.news-list .item a{
  flex-wrap: wrap;
}
.news-list .item .date{
  min-width: 100px;
}
.news-list .item .title{
  margin-top: 10px;
}
}

/* 装飾 */
 
*{
  box-sizing: border-box;
}
a{
  text-decoration: none;
}
body{
  margin: 0px;
}

















.heading05 {
	position: relative;
	padding-bottom: 50px;
	font-size: 26px;
	text-align: center;
}

.heading05::before {
	content: attr(data-en);
	display: block;
	color: #000;
	font-size: 20px;
	font-style: italic;
	text-transform: uppercase;
}


}



.gray-back {
	background-image: url("../img/back.png");
      
}

.red-back {
	background-color: #52BCDE;
      
}



.black-back {
	background-image: -webkit-linear-gradient(linear, left top, right top, from(#f5f5f5), to(#f5f5f5));
  background-image: -webkit-linear-gradient(left,#f5f5f5 0%,#f5f5f5 100%);
  background-image: linear-gradient(to right, #f5f5f5 0%, #f5f5f5 100%);
      
}

.kin-back {
	background-color: #fff;
      
}

.re-back {
	background-color:#f5f5f5;
      
}



.fixed_btn
{
  position: fixed;
  bottom: 510px; 
  right: -428px;
  padding: 0px 0px;
 border: 0;
z-index:1000;
}


.fixed_btn2
{
  position: fixed;
  bottom: 5px; 
  right: -435px;
  padding: 0px 0px;
 border: 0;
}


.sample {
        margin-top: 10px;
	font-size:1.6em;
	text-align:center;
	line-height:0.95em;
	font-weight:bold;
	color: transparent;
	background: linear-gradient( 90deg, #bf0b11 0% 30%, #c96366 40% 60%, #edc0c1 70% 100% );
	-webkit-background-clip: text;
}







.sample-box {
  position: relative;
  height: 700px;
  overflow: hidden;
}

.slide img {
  width: 100%;
  height: 700px;
  object-fit: cover;
  animation: slideshow 24s linear infinite;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.slide img:nth-child(1) { animation-delay: 0s; }
.slide img:nth-child(2) { animation-delay: 8s; }
.slide img:nth-child(3) { animation-delay: 16s; }

@keyframes slideshow {
  0% { opacity: 0; }
  10% { opacity: 1; }
  28% { opacity: 1; }
  38% { opacity: 0; }
  100% { opacity: 0; }
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  color: white;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
  padding: 0 20px;
}

.logo-img {
  height: 60px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: bold;
  white-space: nowrap; /* ← 改行させない */
}

.hero-subtitle {
  font-size: 1rem;
}

.hero-middle {
  font-size: 1.4rem;
}

.hero-footer {
  font-size: 0.9rem;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .sample-box {
    height: 500px;
  }

  .slide img {
    height: 500px;
  }

  .logo-img {
    height: 45px;
  }

  .hero-title {
    font-size: 1.8rem;
  white-space: nowrap; /* ← 改行させない */
  }

  .hero-middle {
    font-size: 1.1rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-footer {
    font-size: 0.8rem;
  }
}







.fixed-logo-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: block;
}

.fixed-logo-button img {
  width: 60px; /* 必要に応じてサイズ調整 */
  height: auto;
  transition: transform 0.3s;
}

.fixed-logo-button img:hover {
  transform: scale(1.1);
}



    


/** 見出し円 **/
.circle {
  width: 215px;
  height: 215px;
  text-align:center;
  border-radius: 50%;
  border: solid 3px #6c757d;
  padding: 3rem;
  margin: 0 auto;
}

/** 既存スタイルの疑似上書き **/
/** olカウンターを丸囲いに **/

ol.num-list {
  counter-reset: my-counter;
  list-style: none;
  padding: 0;
} 
.num-list li {
  margin-bottom: 10px;
  position: relative;
  font-weight: bold;
  font-size: 1.2rem;  
}
.num-list li:before {
content: counter(my-counter);
counter-increment: my-counter;
border: 2px solid #666;
color: #666;
float: left;
text-align: center;
height: 30px;
width: 30px;
border-radius: 50%;
margin-right: 5px;
margin-top: -2px;
font-family: 'Big Shoulders Display', cursive;  
}














/** パンくずリストのセパレータ変更 **/
li.breadcrumb-item.wf-breadcrumb-separator::before {
  margin-left: 6px;
  font-family: 'Font Awesome 5 Free';
  content: '\f105';
  font-weight: bold;
}

/** customized css **/
/** size-{単位}: 正方サイズ指定 **/
.wf-square-xs {
  width: 20px;
  height: 20px;
}
.wf-square-lg {
  width: 260px;
  height: 260px;
}

/** 傾けられた文字 **/
.wf-slope-text {
  transform: rotate(-4deg) translateY(-20px);
}

/** 正円＋テキスト **/
.wf-circle {
  transform: translateY(-50%);
}
.wf-circle > span {
  position: absolute;
  display: inline-block;
  font-size: 1.3rem;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 180px;
  text-align: center;
}

/** 下側のみが突き出した五角形 **/
.wf-penta {
  clip-path: polygon(0% 0%, 100% 0%, 100% 70%, 50% 100%, 0% 70%);
}

/** 声のテキスト **/
.comment-box {
  position: relative;
  display: inline-block;
  padding: 2rem;
  font-size: 16px;
  background: #f8f9fa;
}

/** 下側のみが突き出した吹き出し **/

.down-balloon:after {
  content: "";
  position: absolute;
  bottom: -50%;
  left: 20%;
  margin-left: -2.5rem;
  border: 5rem solid transparent;
  border-top: 3rem solid #f8f9fa;
  z-index: 999;
}

.down-balloon p {
  margin: 0;
  padding: 0;
}

/** 上側のみが突き出した吹き出し **/

.up-balloon:before {
  content: "";
  position: absolute;
  top: -130px;
  left: 20%;
  margin-left: -2.5rem;
  border: 5rem solid transparent;
  border-bottom: 3rem solid #f8f9fa;
  z-index: 999;
}

.up-balloon p {
  margin: 0;
  padding: 0;
}

/** 吹き出し **/
.wf-balloon {
  position: relative;
  padding: 20px;
  border: 2px solid rgba(75, 75, 75, 0.85);
  border-radius: 12px;
}

.wf-balloon-left::before,
.wf-balloon-left::after,
.wf-balloon-right::before,
.wf-balloon-right::after {
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  top: 50px;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
}

.wf-balloon-left::before {
  left: -15px;
  border-right: 15px solid rgba(75, 75, 75, 0.85);
}
.wf-balloon-left::after {
  left: -12px;
  border-right: 15px solid white;
}

.wf-balloon-right::before {
  right: -15px;
  border-left: 15px solid rgba(75, 75, 75, 0.85);
}
.wf-balloon-right::after {
  right: -12px;
  border-left: 15px solid white;
}

/** トップへ戻るボタン **/
.wf-gotta-top {
  width: 100px;
  height: 74px;
  right: 0;
  bottom: 0;
  background: #4f4f4f;
  opacity: 0.6;
}

/** ステップフロー **/

.step-bar {
  display: flex;
  position: relative;
  margin: 20px auto;
  text-align: center;
  padding: 0;
}
.step-bar li {
  font-size: 12px;
  list-style: none;
  position: relative;
  width: 33.333%;
}
.step-bar li:after {
  background: #D0E1F9;
  content: "";
  width: calc(100% - 50px);
  height: 5px;
  position: absolute;
  left: calc(-50% + 32px);
  top: 50px;
}
.step-bar li:first-child:after {
  display: none;
}
.step-bar li span {
  background: #D0E1F9;
  color: #ffffff;
  display: inline-block;
  margin-bottom: 5px;
  padding: 20px;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  z-index: 999;
}
.step-bar .visited:after {
  background: #4D648D;
}
.step-bar .visited span {
  background: #4D648D;
}


/* よくある質問セクション：背景白にする */
#faq .card,
#faq .card-header,
#faq .card-body {
  background-color: #ffffff !important;
  color: #333333;
  border: none;
}

/* ボタンのリンク色調整 */
#faq .btn-link {
  font-weight: bold;
  font-size: 1.1rem;
  text-decoration: none;
}


/* お客様の声カラー背景 */
.voice-yellow {
  background-color: #fff9db;
}
.voice-blue {
  background-color: #e6f2ff;
}
.voice-green {
  background-color: #e7fbe7;
}

/* その他スタイル */
#voice .card {
  border: none;
  transition: transform 0.3s ease;
}
#voice .card:hover {
  transform: scale(1.03);
}
#voice .card-body {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}







/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }

/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 750px) {
    .pc { display: none !important; }
    .sp { display: block !important; }
}
}