@charset "utf-8";

/* ----------------------------------------------------
  ぼかしから出現
---------------------------------------------------- */
.blur{
	animation-name:blurAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
}

@keyframes blurAnime{
  from {
	filter: blur(10px);
	transform: scale(1.02);
  }

  to {
	filter: blur(0);
	transform: scale(1);
  }
}

/* ----------------------------------------------------
  h1
---------------------------------------------------- */
/* 左寄せ　背景画像あり　文字アニメーション
---------------------------------------------------- */
.h1_img{background: url("../images/h1_img.jpg") no-repeat scroll 50% 50% / cover;}

.h1_midasi_01_bgimg {
  position: relative;
  z-index: 0;
  overflow: hidden;
}
.h1_midasi_01_bgimg::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 85, 165, 0.2); /* ここで暗さを調整 */
  z-index: -1; /* 背景の後ろに来ないように注意 */
}
.h1_midasi_01{
	text-align: center;
	color: #fff;
}

@media only screen and (max-width: 374px) {
.h1_midasi_01{
	padding:100px 0 30px 0;
  }
}

@media only screen and (min-width: 375px) and (max-width: 767px) {
.h1_midasi_01{
	padding:110px 0 30px 0;
  }
}

@media print, screen and (min-width: 768px) {.h1_midasi_01{padding:180px 0 60px 0;}}
@media print, screen and (min-width: 992px) {.h1_midasi_01{padding:180px 0 100px 80px; text-align: left;}}
@media print, screen and (min-width:1400px) {.h1_midasi_01{padding:180px 0 100px 80px;}}

.h1_midasi_01 h1{
	font-size: 27px;
	line-height:37px;
}
.h1_midasi_01 p{
	font-size: 18px;
	line-height:28px;
}

@media print, screen and (min-width: 768px) {
.h1_midasi_01 h1{
	font-size: 40px;
	line-height:55px;
	}
.h1_midasi_01 p{
	font-size: 20px;
	line-height:30px;
	}
}

@media print, screen and (min-width: 1200px) {
.h1_midasi_01 h1{
	font-size: 45px;
	line-height:60px;
	}
.h1_midasi_01 p{
	font-size: 25px;
	line-height:35px;
	}  
}

@media print, screen and (min-width: 1400px) {
.h1_midasi_01 h1{
	font-size: 50px;
	line-height:65px;
	}
.h1_midasi_01 p{
	font-size: 30px;
	line-height:40px;
	}  
}

/* ----------------------------------------------------
  帯からのテキスト出現
---------------------------------------------------- */
.animated__colorBox {
  font-size: 18px;  
  position: relative;
  white-space: nowrap;
  width: fit-content;
  clip-path: inset(0 100% 0 0);
  color: #fff;
  background-image: linear-gradient(90deg, #22d3ee, #8b5cf6);
  padding:10px 15px 12px 20px;
  border-radius: 20px 0 20px 0;
}
@media print, screen and (min-width: 768px) {
.animated__colorBox {
  font-size: 20px;
  }
}
@media print, screen and (min-width: 992px) {
.animated__colorBox {
  font-size: 22px;
  }
}

.animated__colorBox::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #223c7f;
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}
.animated__colorBox.js-show {
  animation: 0.8s forwards ease-in-out textView;
}
.animated__colorBox.js-show::after {
  animation: 0.8s forwards ease-in-out colorBox;
}

/* keyframes
--------------------------- */
@keyframes textView {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes colorBox {
  0%, 50% {
    transform-origin: 0 50%;
  }
  60%, 100% {
    transform-origin: 100% 50%;
  }
  60% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0);
  }
}

/* カテゴリボタン
---------------------------------------------------- */
.item > li {
  list-style: none;
}

ul.item_nav > li {
 list-style: none;
 background: #FFF;
 box-sizing: border-box;
 line-height: 1.3em;
 margin-bottom: 10px;
}
.item_nav a{
	position: relative;
	padding-left: 20px;
	height: 100%;
	display: flex;
	align-items: center;
	min-height: 40px;
	color: #172b6d;
 border: 1px solid #d6e0ea;
 background: #f7f8fc;
 border-radius: 3px;
}
@media print, screen and (min-width: 768px) { 
ul.item_nav {
 display: flex;
 flex-wrap: wrap;
 width: 100%;
 }
.item_nav a{
	min-height: 50px;
}
}
@media only screen and ( min-width : 768px ) and ( max-width : 1139px ) {
 ul.item_nav > li {
 width: calc(50% - 11.25px);
 margin-right: 15px;
 margin-bottom: 15px;
 }
 ul.item_nav > li:nth-child(2n) {
	margin-right: 0;
}
}
@media print, screen and (min-width: 1140px) { 
 ul.item_nav > li {
 width: calc(50% - 11.25px);
 margin-right: 15px;
 margin-bottom: 15px;
 }
 ul.item_nav > li:nth-child(2n) {
	margin-right: 0;
}

}

.item_nav a:hover{
	text-decoration: none;
	background: #233b89;
	color: #FFF;
 border: 1px solid #233b89;
}

.item_nav a:before{
  content:'\f105';
  font-family: "Font Awesome 5 Free";
  position: absolute;
  left: 5px;
  top: calc(50% - 11px);
  color: #233b89;
  font-weight: 900;
}
.item_nav a:hover:before{
  color: #FFF;
}


.item{
	border: 1px solid #ddd;
	padding: 15px;
	width: calc(33.33% - 10px);
	margin-right: 15px;
	margin-bottom: 15px;
	float: left;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 15px;
}
.item:nth-child(3n){
	margin-right: 0;
}

.item select {
    width: 90px;
}

.item .w130{
	width: calc(100% - 170px)
}
.item img{
	width: 80px;
	margin-right: 10px;
}
#personal{
	margin-top: 30px;
	background: #FFF8F8;
	border: 1px solid #ddd;
	padding: 15px;
}
#personal dt{
	text-align:center;
}

@media only screen and (max-width: 991px){
.road .right,.road .left{
	float: none;
}
.road img{
	display: block;
	margin: 15px auto 0
}
.item{
	width: calc(50% - 7.5px);
}
.item:nth-child(3n){
	margin-right: 15px;
}
.item:nth-child(2n){
	margin-right: 0;
}
}

@media only screen and (max-width: 767px){
.road {
    width: 100%;
    margin-right: 0px;
    float: none;
  }
.item{
	width: 100%;
	padding: 7.5px 15px
  }
input.size400{
	width: 100%;
  }
}

.road{
	border: 1px solid #ddd;
	padding: 15px;
	width: calc(50% - 7.5px);
	margin-right: 15px;
	margin-bottom: 15px;
	float: left;
}
.road:nth-child(even){
	margin-right: 0;
}
.road .left{
	float: left;
}
.road .right{
	float: right;
}

.road img{
	width:200px;
}