@charset "utf-8";



/* link1 */
.link1 {
	display: inline-block;
	text-decoration: none;
	padding: 0.1em 0.3em;
	transition: all .3s;
}
.link1:hover {
	color: #fff;
	background-color: #00BCD4;
}

/* link2 */
.link2,.link2 span {
	display: inline-block;
	text-decoration: none;
	color: #ff4500;
}
.link2 span {
	transition: .5s;
}
.link2:hover span {
	transform: rotateX(360deg);
}


/* link3 */
.link3 {
	display: inline-block;
	text-decoration: none;
	background-color: #00bfff;
	color: #fff;
	padding: 0.1em 0.3em;
	transition: all .3s;
}
.link3:hover {
	color: #fff;
	background-color: #ff8c00;
}


/* link4 */
.link4 {
	position: relative;
	padding: 0.1em 0.3em;
	text-decoration: none;
	color: #c71585;
}
.link4::after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	content: '';
	transition: all 0.3s ease;
	opacity: 0.8;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #c71585;
}
.link4:hover::after {
	opacity: 1;
	border-bottom-width: 2px;
	border-bottom-style: dashed;
}


/* link5 */
.link5 {
	margin: 5em auto;
	text-align: center;
}
.link5 {
	position: relative;
	padding: 0.1em 0.3em;
	transition: all 0.3s ease;
	text-decoration: none;
	color: #EC407A;
}
.link5::before {
	position: absolute;
	content: '';
	left: 0;
	bottom:0;
	width: 100%;
	height: 1%;
	transition: all 0.3s ease;
	opacity: 0;
	background-color: #EC407A;
	border-radius: 50px;
}
.link5::after {
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 100%;
	height: 2px;
	content: '';
	transition: all 0.3s ease;
	border-bottom: 2px solid #EC407A;
	opacity: 1;
}
.link5:hover::before {
	height: 100%;
	opacity: 0.4;
}
.link5:hover::after {
	left: 50%;
	right: 50%;
	width: 0%;
	opacity: 0;
}

/* link6 */
.link6 {
	padding: 0.1em 0.3em;
	background-image: linear-gradient(to right, rgba(0,0,0,0) 50%, rgba(178,34,34,1) 50%);
	background-position: 0 0;
	background-size: 200% auto;
	transition: .3s;
	color: #b22222;
}
.link6:hover {
	background-position: -100% 0;
	color: #fff;
}





/* ベース */
body {
	margin: 0;
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
	color:#252525;
	font-size:16px;
	background-color: #fff;
}

.container {
	margin: 0 auto;
	max-width: 1000px;
}

header {
	padding: 10px 10px 5px 10px;
	background: #ffe4e1;
	margin-bottom: 80px;
}

header h1{
	font-size: 24px;
	color: #e9546b;
}

.kakomi1{
	background-color: crimson;
	color: white;
	padding: 0 10px;
}

.kakomi2{
	background-color:#3366cc;
	color: white;
	padding: 0 10px;
}


hr {
	margin-top: 20px;
	margin-bottom: 20px;
}

h3 {
  position: relative;
  padding: 0.6em;
  background: #afeeee;
margin-bottom: 30px;
}

h3:after {
  position: absolute;
  content: '';
  top: 100%;
  left: 30px;
  border: 15px solid transparent;
  border-top: 15px solid #afeeee;
  width: 0;
  height: 0;
}

.blue1 {
	color:#20b2aa;
}
/* フレックスボックスで横ならび2 */

.narabi {
	display:flex;
	justify-content:space-between;
    flex-wrap: wrap;
	margin-bottom: 30px;
    margin-top: 15px;
	padding: 10px 5px 15px;
}

.half-box {
	width:45%;
	background-color: #f0f8ff;
	padding: 15px;
}

.half-box2 {
	width:44%;
	background-color: #ffe4e1;
	padding: 15px;
}

@media screen and (max-width: 767px) {
  .narabi {
    flex-direction: column;
  }
  .narabi .half-box{
    width: 100%;
  }
  .narabi .half-box2{
    width: 100%;
  }
}