@charset "utf-8";
/* CSS Document */
/*---------------------------------------
#toagent
---------------------------------------*/
/* toagent
---------------------------------------*/
.toagent_main {
 display: flex;
 flex-direction: row-reverse;
 position: relative;
}
.toagent_main::before {
 content: "";
 width: 100vw;
 height: 100%;
 background: url("../img/toagent_img22.jpg") no-repeat center bottom / cover;
 position: absolute;
 top: 0;
 left: 50%;
 margin-left: -50vw;
 z-index: -1;
}
.toagent_main .pic { width: 650px; }
.toagent_main .text {
 width: 310px;
 background: rgba(255, 255, 255, 0.8);
 padding: 10px;
 margin: 20px 0;
 color: #000;
}
.toagent_main .text .catch {
 color: #fa4f08;
 line-height: 1.4;
 font-size: 1.4em;
}
.toagent_contact {
 position: relative;
 padding: 10px 0; 
}
.toagent_contact::before {
 content: "";
 width: 100vw;
 height: 100%;
 background: url("../img/toagent_bg01.png") repeat center bottom;
 position: absolute;
 top: 0;
 left: 50%;
 margin-left: -50vw;
 z-index: -1;
}
.toagent_contact .catch {
 color: #fff;
 line-height: 1;
 font-size: 1.3em;
 font-weight: bold;
 text-align: center;
}
.toagent_contact .catch span {
 display: inline-block;
 font-size: 0.9em;
 background-color: #ffffff;
 color: #0F3F9F;
 padding: 4px 16px;
 margin-right: 6px;
 border-radius: 30px;
}
.toagent_contact ul {
 display: flex;
 justify-content: space-between;
 margin: 10px 0 0;
}
.toagent_contact ul li {
 width: 48%;
 background:#fff url("../img/toagent_ico01.png") no-repeat left 20px top 50%;
 padding: 16px 10px;
 padding-left: 150px;
 border-radius: 4px;
 font-size: 1.6em;
}
.toagent_contact ul li:last-child { background-image: url("../img/toagent_ico02.png"); }
.toagent_contact ul li a {
 display: inline-block;
 text-decoration: none;
 color: #333; 
}
.toagent_sec01 {
 position: relative;
 padding: 2px 0 40px;
}
.toagent_sec01::before {
 content: "";
 width: 100vw;
 height: 100%;
 background-color: #E3F9FF;
 position: absolute;
 top: 0;
 left: 50%;
 margin-left: -50vw;
 z-index: -1;
}
.toagent_sec01 .problem {
 background:#fff url("../img/toagent_img01.png") no-repeat right 20px top 50% / auto 80%;
 padding:20px 300px 20px 20px;
}
.toagent_sec01 .problem li {
 background: url("../img/toagent_ico03.png") no-repeat left 50%;
 padding-left: 60px;
 line-height: 1.4;
 font-size: 1.2em;
 font-weight: bold;
 min-height: 52px;
 margin-top: 10px;
 display: flex;
 align-items: center;
}
.toagent_sec01 .merit { 
 border: 4px solid #FFEA52;
 background-color: #fff;
 font-size: 22px;
 padding: 0 20px 15px 20px;
 margin-top: 110px;
 position: relative;
}
.toagent_sec01 .merit::before {
 content: "";
 display: block;
 width: 110px;
 height: 40px;
 background:linear-gradient(to bottom, #fff 20%, #feee97 100%);
 position: absolute;
 left: 50%;
 transform: translateX(-50%);
 top: -120px;
}
.toagent_sec01 .merit::after {
 content: "";
 display: block;
 width: 200px;
 height: 50px;
 clip-path: polygon(0 0, 100% 0%, 50% 100%);
 background:linear-gradient(to bottom, #feee97 0%, #f8cb1e 100%);
 position: absolute;
 left: 50%;
 transform: translateX(-50%);
 top: -80px; 
}
.toagent_sec01 .merit .catch {
 text-align: center;
 margin: -18px 0 0;
}
.toagent_sec01 .merit .catch span {
 display: inline-block;
 color: #0F3F9F;
 font-weight: bold;
 background-color: #FFEA52;
 border-radius: 1000px;
 padding: 0 20px;
 line-height: 37px;
}
.toagent_sec01 .merit ul li {
 background: URL("../img/toagent_ico04.png") no-repeat left 50%;
 padding: 14px 0 14px 50px;
 color: #111111;
 line-height: 1.3;
}
.toagent_sec01 .merit ul li span {
 color: #F11F2C;
 font-weight: bold;
 background: linear-gradient(transparent 60%, #FFF1AB 60%);
}
.toagent_sec02 .catch { text-align: center; }
.toagent_sec02 .pic {
 display: flex;
 justify-content: center;
}
.toagent_sec02 .pic div { margin: 0 10px; }
.toagent_sec02 .about .photo_text .photo > div:first-child {
 position: relative;
 margin-bottom: -40px;
 z-index: 1;
}
.toagent_sec03 {
 position: relative;
 padding: 2px 0 40px;
}
.toagent_sec03::before {
 content: "";
 width: 100vw;
 height: 100%;
 background-color: #E3F9FF;
 position: absolute;
 top: 0;
 left: 50%;
 margin-left: -50vw;
 z-index: -1;
}
.toagent_sec03 .clm {
 text-align: left;
 background-color: #fff;
 padding: 10px;
}
.toagent_sec03 .clm .pic {
 text-align: center;
 padding: 10px;
 background-color: #fff;
 min-height: 270px;
 display: flex;
 align-items: center;
 justify-content: center;
}
.toagent_sec03 .toagent_sec03_title {
 margin: 0;
 text-align: center;
 color: #0D3F9F;
 line-height: 1.4;
 font-size: 28px;
}
.toagent_sec03 .toagent_sec03_title span {
 display: inline-block;
 background-color: #0D3F9F;
 color: #fff;
 padding: 6px 20px;
 font-size: 14px;
 border-radius: 1000px;
 margin: 0 0 10px;
}
.toagent_sec03 .frame {
 border: 6px double #A0B0C9;
 padding: 20px;
 background: #fff;
 overflow: hidden;
}
.toagent_sec03 .frame .pic {
 width: 283px;
 float: right;
}
.toagent_sec03 .frame .catch {
 font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
 color: #333333;
 font-size: 24px;
 font-weight: bold;
 margin: 0 0 10px 0;
 line-height: 1.5;
}
.toagent_sec03 .frame .catch span {
 color: #0D3F9F;
 font-size: 1.6em;
}
.toagent_sec05 .catch {
	background: URL(/img/toagent_img10.png) no-repeat left center ;
	background-color:#0083D4;
	padding:1px 5px 0 5px;
	min-height:82px;
	line-height:1.2;
 text-align: center;
}
.toagent_sec05 .catch .t1 {
	color:#ffffff;
	margin:-0.4em 0 0 0;
	font-size:26px;
	font-weight:bold;
	text-shadow:
	 1px 1px 1px #0083D4,
	-1px 1px 1px #0083D4,
	1px -1px 1px #0083D4,
	-1px -1px 1px #0083D4,
	 2px 1px 1px #0083D4,
	-2px 1px 1px #0083D4,
	2px -1px 1px #0083D4,
	-2px -1px 1px #0083D4,
	 1px 2px 1px #0083D4,
	-1px 2px 1px #0083D4,
	1px -2px 1px #0083D4,
	-1px -2px 1px #0083D4,
	1px 1px 2px #000;
}
.toagent_sec05 .catch .t2 {
	color:#ffffff;
	font-size:29px;
	font-weight:bold;
	padding:7px 0 0 0;
}
.toagent_sec05 .catch .t2 span{
	color:#FFEA52;
	font-size:40px;
}
.toagent_sec05 .voice {
	background-color:#E3F8FF;
	padding:3px 13px 28px 13px;
}
.toagent_sec05 .voice ul li {
	font-size:23px;
	padding:20px;
	margin:25px 0 0 0;
	background-color:#ffffff;
	border:1px solid #888888;
	border-radius:8px;
	position:relative;
}
.toagent_sec05 .voice ul li span {
	font-size:31px;
	font-weight:bold;
}
.toagent_sec05 .voice ul li:nth-child(odd):before {
	content: url(/img/toagent_img11.png);
	position: absolute;
	right: -27px;
	top: 50%;
	margin-top:-14px;
}
.toagent_sec05 .voice ul li:nth-child(even):before {
	content: url(/img/toagent_img12.png);
	position: absolute;
	left: -27px;
	top: 50%;
	margin-top:-14px;
}
.toagent_sec05 .voice ul li:nth-of-type(1){
	margin-right:143px;
}
.toagent_sec05 .voice ul li:nth-of-type(1) span{
	color:#E0007F;
}
.toagent_sec05 .voice ul li:nth-of-type(1):after {
	content: url(/img/toagent_img13.png);
	position: absolute;
	right: -143px;
	top: 50%;
	margin-top:-64px;
}
.toagent_sec05 .voice ul li:nth-of-type(2){
	margin-left:115px;
}
.toagent_sec05 .voice ul li:nth-of-type(2) span{
	color:#25A75D;
}
.toagent_sec05 .voice ul li:nth-of-type(2):after {
	content: url(/img/toagent_img14.png);
	position: absolute;
	left: -115px;
	top: 50%;
	margin-top:-62px;
}
.toagent_sec05 .voice ul li:nth-of-type(3){
	margin-right:143px;
}
.toagent_sec05 .voice ul li:nth-of-type(3) span{
	color:#F6BF3F;
}
.toagent_sec05 .voice ul li:nth-of-type(3):after {
	content: url(/img/toagent_img15.png);
	position: absolute;
	right: -143px;
	top: 50%;
	margin-top:-62px;
}
.toagent_sec05 .voice ul li:nth-of-type(4){
	margin-left:130px;
}
.toagent_sec05 .voice ul li:nth-of-type(4) span{
	color:#B76700;
}
.toagent_sec05 .voice ul li:nth-of-type(4):after {
	content: url(/img/toagent_img16.png);
	position: absolute;
	left: -130px;
	top: 50%;
	margin-top:-61px;
}
.toagent_sec05 .voice ul li:nth-of-type(5){
	margin-right:120px;
}
.toagent_sec05 .voice ul li:nth-of-type(5) span{
	color:#009999;
}
.toagent_sec05 .voice ul li:nth-of-type(5):after {
	content: url(/img/toagent_img17.png);
	position: absolute;
	right: -120px;
	top: 50%;
	margin-top:-72px;
}
.toagent_sec05 .voice .banner {
 margin: 50px auto 0;
 text-align: center;
}
.toagent_desk {
	margin:30px auto;
	position:relative;
	width:727px;
	height:276px;
	background:url(/img/toagent_bg02.png) left top;
	background-repeat:no-repeat;
	clear:both;
}
.toagent_desk > div:first-child {
	position:absolute;
	left:306px;
	top:0px;
}
.toagent_desk .desc {
	position:absolute;
	left:315px;
	top:146px;
}
.toagent_desk .book {
	position:absolute;
	left:-15px;
	top:35px;
}
.toagent_desk .book img{
	width:328px;
	height:auto;
}
.toagent_desk .con{
	position:absolute;
	left:315px;
	top:222px;
}
.toagent_desk .phone{
	position:absolute;
	left:442px;
	top:209px;
}
.toagent_desk .mail{
	position:absolute;
	left:442px;
	top:242px;
}

@media screen and (max-width: 960px) {
  /* toagent
 ---------------------------------------*/
 .toagent_main { display: block; }
 .toagent_main::before { content: none; }
 .toagent_main .pic {
  width: auto;
  margin: 0 -16px;
  background: url("../img/toagent_img22.jpg") no-repeat center bottom / cover;
 }
 .toagent_contact .catch span {
  display: block;
  margin-bottom: 10px;
 }
 .toagent_contact ul { display: block; }
 .toagent_contact ul li {
  width: 100%;
  margin-top: 10px;
  padding: 10px 20px;
  padding-left: 80px;
  background-size: 50px auto;
 }
 .toagent_main .text {
  width: 100%;
  padding: 0;
  background: none;
 } 
 .toagent_sec01 .problem {
  background: #fff;
  padding: 10px;
 }
 .toagent_sec01 .merit .catch span { font-size: 3.7vw; }
 .toagent_sec03 .clm .pic { min-height: auto; }
 .toagent_sec03 .toagent_sec03_title { font-size: 22px; }
 .toagent_sec03 .frame .pic {
  width: 150px;
  margin: 0 0 10px 15px;
 }
 .toagent_sec03 .frame .catch { font-size: 24px; }
 .toagent_sec03 .frame .catch span { font-size: 30px; }
 .toagent_sec05 .catch .t1 { font-size: 16px; }
 .toagent_sec05 .catch .t2 { font-size: 22px; }
 .toagent_sec05 .catch .t2 span { font-size: 26px; }
 .toagent_sec05 .voice ul li { font-size: 18px; }
 .toagent_sec05 .voice ul li span { font-size: 18px; }
 .toagent_desk {
  width: 100%;
  height: auto;
  background: none;
 }
 .toagent_desk > div:first-child {
  position: static;
  margin: 0 0 10px 0;
 }
 .toagent_desk .desc {
  position: static;
 }
 .toagent_desk .book {
  position: static;
  text-align: center;
  margin: 15px 15px 0 15px;
 }
 .toagent_desk .book img {
  width: auto;
  max-width: 100%;
 }
 .toagent_desk .con {
  display: none;
 }
 .toagent_desk .phone {
  position: static;
  text-align: center;
  margin: 15px 0 0 0;
 }
 .toagent_desk .phone img {
  width: auto;
  max-width: 100%;
 }
 .toagent_desk .mail {
  position: static;
  text-align: center;
  margin: 10px 0 0 0;
 }
 .toagent_desk .mail img {
  width: auto;
  max-width: 100%;
 }
}


