body,html,section,p {
margin:0;
padding:0;
}
@media only screen and (max-width: 767px) {
body {min-width: 0;}}

img {
max-width: 100%;
height: auto;vertical-align:top;
}

.third {
position: relative;
padding: 40px 20px 90px 20px;
background: #d2efff;
}

.box-wrap-third {
max-width: 1240px;
margin: 20px auto;
}
.box-wrap-third H1{
font-size: 2.2em;
line-height: 2em;
margin-bottom: 40px;
padding: 1rem 2rem;
text-align: center;
}
.box-wrap-third H2{
font-size: 2.2em;
line-height: 2em;
margin: 100px auto 50px;
text-align: center;
background-color: #FFFFFF;
}
article{
box-sizing: border-box;
width: 100%;
margin: 0 auto;
}
article > section {
overflow: hidden;
}
article > section > section {
display: inline-block;
box-sizing: border-box;
text-align: center;
}
.third article > section > section {
width: calc(400px + 0em);
margin: 0 0px 20px 0px;
float: left;
text-align: left;
background-image: url("img/third_bg2.png?2024");
background-repeat: no-repeat;
background-position: center center;
}
.third article > section > section:last-child  {
background-image:none;
}
.third section:last-child {
width: calc(400px);
float: left;
text-align: left;
margin: 0 0px 20px 0px;
}

@media only screen and (max-width: 1024px) {
.box-wrap-third H1{font-size: 3rem;}
.third article > section > section {
width: calc(400px + 0em);
background-image:none
}
.third section:last-child {
width: calc(400px);
}
}

@media only screen and (max-width: 820px) {
.third {padding: 10px 20px 20px 20px;margin: 0;}

.box-wrap-third H1{
font-size: 1.4rem;
line-height: 1em;
margin-bottom:0px;
}
.box-wrap-third H2{
font-size: 1.1rem;
line-height: 2em;
margin: 20px auto 0;
}
article{
box-sizing: border-box;
width: 100%;
margin: 0 auto;
}
article > section > section:last-of-type {
margin-bottom: 0;
}
.third article > section > section{
width: 50%;
margin: 0 0 10px;
padding: 0.5em;
}
.third section:last-child {
width: 55%;
}
}
@media only screen and (max-width: 320px) {
.box-wrap-third H2{
font-size: 0.9rem;
}
}
/* ---------- 以下がエフェクトに関するcssです。 ---------- */

.fadein {
opacity: 0.1;
transform: translate(0px, 100px);
transition: all 500ms;
}
.fadein.scrollin {
opacity: 1;
transform: translate(0px, 0px);
}

#effect1 .fadein:nth-of-type(2) {
-moz-transition-delay:200ms;
-webkit-transition-delay:200ms;
-o-transition-delay:200ms;
-ms-transition-delay:200ms;
}
#effect1 .fadein:nth-of-type(3) {
-moz-transition-delay:400ms;
-webkit-transition-delay:400ms;
-o-transition-delay:400ms;
-ms-transition-delay:400ms;
}
#effect1 .fadein:nth-of-type(4) {
-moz-transition-delay:600ms;
-webkit-transition-delay:600ms;
-o-transition-delay:600ms;
-ms-transition-delay:600ms;
}

#effect2 .fadein:nth-of-type(2) {
-moz-transition-delay:100ms;
-webkit-transition-delay:100ms;
-o-transition-delay:100ms;
-ms-transition-delay:100ms;
}

#effect2 .fadein:nth-of-type(3) {
-moz-transition-delay:200ms;
-webkit-transition-delay:200ms;
-o-transition-delay:200ms;
-ms-transition-delay:200ms;
}
#effect2 .fadein:nth-of-type(4) {
-moz-transition-delay:300ms;
-webkit-transition-delay:300ms;
-o-transition-delay:300ms;
-ms-transition-delay:300ms;
}
#effect2 .fadein:nth-of-type(5) {
-moz-transition-delay:400ms;
-webkit-transition-delay:400ms;
-o-transition-delay:400ms;
-ms-transition-delay:400ms;
}
@media only screen and (max-width: 767px) {
.fadein {
transform: translate(0px, 20px);
transition: all 100ms;
}
}
.inner_02 {
max-width: 360px;
width: 100%;
margin: 0 auto 50px;
background-color: #FFF;
/*float: left;*/
border-radius: 20px;
text-align: center;
}
.inner_02 p{
font-size: 1rem;
}
.inner_main_01,.inner_main_02  {
width: 70%;
margin: 0 auto;
padding: 30px;
}
.inner_main_02 img  {
margin-bottom: 10px;}
.inner_main_01 a:hover,.inner_main_02 a:hover{
opacity: .65;
}
/* 狭いブラウザとタブレット向け */
@media screen and (max-width:1024px){
.inner_main_01,.inner_main_02 {
width: 95%;
padding: 10px 0px;}
}
@media screen and (max-width:599px){
.inner_main_01 {text-align: center;}
.inner_main_01 img {
width: 80%;text-align: center;}
.inner_02 {
margin: 0 auto 10px;
border-radius: 10px;
}
.inner_02 p{
font-size: 0.7rem;
}
}
h3.light {
    text-align: center;
    padding: 0 0 1rem 0;
    margin: 0 0 0rem 0;
}

h3.light p {
    display: inline-block;
    vertical-align: top;
    font-size: 2.5vw;
    position: relative;
				line-height: 1.5em;
}
h3.light p::before, h3.light p::after {
    content: '';
    display: block;
    width: 3rem;
    height: 3.5rem;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 100% auto;
    position: absolute;
    bottom: 0;
    margin: auto;
}
h3.light p::before {
    background-image: url(img/icon_light_L.png);
    left: -3rem;
}
h3.light p::after {
    background-image: url("img/icon_light_R.png");
    right: -3.5rem;
}

@media only screen and (max-width: 1024px) {
h3.light p {font-size: 4vw;}
}

@media only screen and (max-width: 599px) {
h3.light{	padding:0 0 0.5em 0;margin: 0;}
h3.light.line{
		border-bottom: 2px solid #0755a9;
	}
h3.light p{
		display: inline-block;
		vertical-align: top;
		font-size: 1.25rem;
		position: relative;
		max-width: 78vw;
		line-height: 1.5;
	}
h3.light p::before,
h3.light p::after{
		content: '';
		display: block;
		width: 1.43rem;
		height: 1.87rem;
		background-repeat: no-repeat;
		background-position: 0 0;
		background-size: 100% auto;
		position: absolute;
		bottom: 0;
		margin: auto;
	}
h3.light p::before{
		background-image: url(img/icon_light_L.png);
		left: -2rem;
	}
h3.light p::after{
		background-image: url("img/icon_light_R.png");
		right: -2rem;
	}

h3.light p span{
		font-size: 1rem;
	}

	}