@charset "utf-8";
@import url("global.css");

/*---------------------------------------------------------------------------------------
	Overall settings
----------------------------------------------------------------------------------------*/
body{
	color: var(--base);
	font-size: 1.6rem;
	font-family: var(--gothic);
	font-feature-settings: 'palt' on;
	-webkit-font-smoothing: antialias;
	letter-spacing: 0.05em;
	background: var(--back1);
}
body.noscroll{ andoverflow: hidden;}

a{ color: var(--base); text-decoration: underline; -webkit-transition: all .2s; transition: all .2s;}
a:hover{ text-decoration:none; color: var(--key) }
a.no-deco {text-decoration: none;}

::selection {background-color: var(--white)!important;}
/*------------------------------ responsive ------------------------------*/
@media screen and (max-width: 959px) {
	html{ font-size: 60%;}
	body{
	 line-height: 1.8;
	}
}
@media screen and (max-width: 768px) {
	body{
		font-size: 1.4rem;
	}
}
/*---------------------------------------------------------------------------------------
	contents
----------------------------------------------------------------------------------------*/

/* font*/
.caution{ color: var(--caution)!important;}
.marker{
	background: linear-gradient(transparent 60%, var(--marker) 60%);
}
.underline{ text-decoration: underline;}

/* bg color */
.bg-key{ background: var(--key)!important; color: var(--white);}

/* block */
.section {
    position: relative;
    width: 94%;
    max-width: 1200px;
	margin: 0 auto 5em;
}

.txtarea{
	margin-bottom: 5em;
}
.txtarea.bdr{
	padding: 1em;
	border: 1px solid var(--line2);
}
.txtarea.box {
	padding: 1em;
	background: var(--back2);
}
.txtarea.box2 {
	border-top: 1px solid var(--line1);
	padding-top: 2em;
}
.column-2 {
	display: flex;
	justify-content: space-between;
}

/*------------------------------ responsive ------------------------------*/
@media screen and (max-width: 768px) {
	.txtarea{
		margin-bottom: 3em;
	}
	.column-2 {
		display: block;
	}
}
/* link */
a img {
	transition: 0.5s ease-in;
}

a:hover img {
	opacity:  0.6;
}

a[target="_blank"]:after {
	display: inline-block;
	content: "";
    background: url(../images/icn-url.svg) center / 10px no-repeat;
	background-size: contain;
    height: 10px;
    width: 10px;
	margin-left: .5em;
	margin-right: .5em;
	vertical-align: middle;
}
a.no-icn[target="_blank"]:after,
a.map[target="_blank"]:after,
a[href$=".jpg"][target="_blank"]:after,
a[href$=".png"][target="_blank"]:after {
	display: none;
}

a.map[target="_blank"]:before {
	display: inline-block;
	content: "";
	background: url(../images/icn-map.svg) no-repeat;
	background-size: contain;
	width: 15px;
	height: 15px;
}
a[href$=".pdf"][target="_blank"]:after {
	display: inline-block;
	content: "";
	background: url(../images/icn-pdf.svg) no-repeat;
	background-size: contain;
	width: 20px;
	height: 20px;
}
a[href$=".xlsx"][target="_blank"]:after {
	display: inline-block;
	content:"";
	background: url(../images/icn-excel.png) no-repeat;
	background-size: contain;
	width: 20px;
	height: 20px;
}
a[href*="tel:"] {
	text-decoration: none;
}

@media (min-width: 751px) {
	a[href*="tel:"] {
		pointer-events: none;
		cursor: default;
		text-decoration: none;
	}
	a[href*="tel:"]:hover {
		color: var(--base);
	}
}
/*------------------------------ responsive ------------------------------*/
@media screen and (max-width: 768px) {
	a[target="_blank"]:after {
	    height: 12px;
	    width: 12px;
		margin-left: .5em;
	    background: url(../images/icn-url.svg) center / 12px no-repeat;
	}
}
/* btn */
.btn1 {
	display: inline-block;
	width: auto;
	margin: 0 auto;
}
.btn1 a{
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
	line-height: 1.3;
	padding: .5em 1em;
	border: 1px solid var(--back2);
	background: var(--white);
	text-decoration: none!important;
	}

	.btn1 a:hover{
		background: var(--back2);
		border: 1px solid var(--back2);
		color: var(--white);
		opacity: 1;
	}

.btn1 a[target="_blank"]:after {
	border: none;
	transform: none;
	margin-left: 10px;
	background: url(../images/icn-url.svg) no-repeat;
	background-size: contain;
    height: 10px;
    width: 10px;
	z-index: 3;
}
.btn1 a[target="_blank"]:hover::after{
	left: 0px;
	animation: none;
	background: url(../images/icn-url-w.svg) no-repeat;
	background-size: contain;
}

.btn1 a[href$=".pdf"][target="_blank"]:after {
	background: url(../images/icn-pdf.svg) no-repeat;
	background-size: contain;
	width: 15px;
	height: 20px;
}
.btn1 a[href$=".pdf"][target="_blank"]:hover:after {
	background: url(../images/icn-pdf.svg) no-repeat;
	background-size: contain;
}
.btn1 a[href$=".xlsx"][target="_blank"]:after {
	background: url(../images/icn-excel.png) no-repeat;
	background-size: contain;
	width: 20px;
	height: 20px;
}
/*------------------------------ responsive ------------------------------*/
@media screen and (max-width: 768px) {
	.btn1 a{
		height: 45px;
	}
}
/* table */
table.table1{
	width: 100%;
	text-align: left;
	border-top: 1px solid var(--white);
	border-left: 1px solid var(--white);
}
table.table1.t-center{
	text-align: center;
}
table.table1 th,
table.table1 td{
	padding: .5em 1em;
	border-bottom: 1px solid var(--white);
	border-right: 1px solid var(--white);
}
table.table1 th{
	background: var(--back2);
	vertical-align: top;
	white-space: nowrap;
}
table.table1.th-center th,
table.table1.td-center td{
	text-align: center;
	vertical-align: middle;
}
/*------------------------------ responsive ------------------------------*/
@media screen and (max-width: 768px) {
	table.table1{
	}
	table.table1 th,
	table.table1 td{
		display: block;
	}
	table.table1 th{
	}
	table.table1.th-center th,
	table.table1.td-center td{
	}
}
/* list */
.list1 li{
	list-style-type: disc;
	margin-left: 1.5em;
	line-height: 1.5;
	margin-top: .5em;
}
.list2 li,
ol li{
	list-style-type: decimal;
	margin-left: 1.5em;
	line-height: 1.5;
	margin-top: .5em;
}
.list-number {
   counter-reset: count 0;
}
.list-number li {
	position: relative;
	font-size: var(--large);
	padding-left: 2em;
	margin-bottom: 1em;
}
.list-number li:before {
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
    counter-increment: count 1;
    content: counter(count);
    background: var(--key);
    color: var(--white);
    width: 1.5em;
    height: 1.5em;
    line-height: 1.5;
    text-align: center;
    border-radius: 50%;
}


/* dl */
.dl1 dt {
	position: relative;
	margin-bottom: .5em;
	font-size: var(--large);
	font-weight: bold;
}
.dl1 dd {
	margin-bottom: 1.5em;
}
.dl2 dt {
	font-weight: bold;
	font-size: var(--x-large);
	margin-bottom: .3em;
}
.dl2 dt:before {
	content: "●";
	color: var(--key);
	margin-right: .5em;
}
.dl2 dd {
	margin-bottom: 2em;
	margin-left: 1.5em;
}
.dl1.number {
    counter-reset: count 0;
}
.dl1.number dt {
    padding-left: 1.8em;
}
.dl1.number dt:before {
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
    counter-increment: count 1;
    content: counter(count);
    background: var(--key);
    color: var(--white);
    width: 1.5em;
    height: 1.5em;
    line-height: 1.5;
    text-align: center;
    border-radius: 50%;
}
.dl1.number dd {
    padding-left: 1.8em;
}



/*---------------------------------------------------------------------------------------
	header
----------------------------------------------------------------------------------------*/
header{
	position: fixed;
	top: 0;
	width: 100%;
	height: 80px;
	padding: 10px 2%;
	z-index: 999;
	background: var(--back1);
	transition: background-color 0.3s ease; 
}
header h1 {
	font-size: var(--small);
	font-weight: normal;
	color: var(--key);
	margin-bottom: .5em;
}
header #title {
	position: relative;
}
#logo{
	display: flex;
	align-items: center;
}
#logo figure{
	width:350px;
	margin-right: 1em;
}
#logo h2{
	font-size: var(--x-small);
	font-weight: normal;
}
header p.aflac {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	background-color: var(--key);
	color: var(--white);
	border-radius: 5px;
	padding: .5em 1em;
	line-height: 1;
}
header.HeightMin{
	background-color: var(--white);
}
header a [target="_blank"]:after {
    display: none;
 }

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


/*------------------------------ responsive ------------------------------*/

@media screen and (max-width:1400px){
	header{
		height: 100px;
	}
	#logo figure img{
		vertical-align: middle;
	}
	header p.aflac {
		padding: .5em 1em;
		font-size: var(--small);
	}
}
@media screen and (max-width:1280px){
	header{
		height: 90px;
	}
	#logo figure{
		width:280px;
	}
}
@media screen and (max-width: 768px) {
	header{
		height: 80px;
	}
	#logo {
		display: block;
	}
	#logo figure{
		width:200px;
	}
	#logo figure{
		vertical-align: top;
	}
	header h1 {
		font-size: var(--x-small);
		margin-bottom: .1em;
	}
	#logo h2 {
		font-size: var(--x-small);
	}
	header p.aflac {
		top: 10px;
		padding: .5em 1em;
		font-size: var(--xx-small);
	}
}
/*---------------------------------------------------------------------------------------
	main
----------------------------------------------------------------------------------------*/
main {
    position: relative;
	margin-top: 100px;
}
@media screen and (max-width: 1280px) {
	main {
		margin-top: 90px;
	}
}
@media screen and (max-width: 768px) {
	main {
		margin-top: 80px;
	}
}
/*---------------------------------------------------------------------------------------
	footer
----------------------------------------------------------------------------------------*/

footer{
	position: relative;
	width: 100%;
	border-top: 1px solid var(--line1);
}
.footer-copyright{
	font-size: var(--small);
	padding: .5em 1em;
	text-align: center;
}
#pagetop {
    position: fixed;
    right: 20px;
    bottom: 20%;
    z-index: 10;
    cursor: pointer;
    width: 12px;
}

/*------------------------------ responsive ------------------------------*/
@media screen and (max-width: 768px) {

	.footer-copyright{
		font-size: var(--x-small);
	}
}


/*---------------------------------------------------------------------------------------
	メインエリア
----------------------------------------------------------------------------------------*/
#main {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
#main-txt {
	width: 28%;
	padding: 1em 2em;
}
#main-img {
	width: 72%;
	position: relative;
}
#main-img img {
	border-radius: 0 40px 40px 0;
}

#main-img div {
	position: absolute;
    top: 18%;
    left: 50%;
    transform: translate(-50%, -18%);
    -webkit-transform: translate(-50%, -18%);
    -ms-transform: translate(-50%, -18%);
	color: var(--white);
	text-shadow:0 0 8px #000;
    width: 80%; /* 幅を80%に設定 */
    text-align: center; /* テキストを中央揃えにする */
}
#main-img div h2{
	font-weight: bold;
	font-size: var(--xxxx-large);
}
#main-img div p{
	font-size: var(--xx-large);
}

#office {
	display: flex;
	justify-content: space-between;
	margin-top: 3em;
	align-items: center;
}
#office figure {
	width: 40%;
}
#office figure img{
	border-radius: 30px;
}
#office div {
	width: 57%;
}
#office div h2 {
	font-weight: bold;
	font-size: var(--x-large);
}
#office div h3 {
	background-color: var(--key);
	color: var(--white);
	border-radius: 5px;
	padding: .5em 1em;
	margin-bottom: .5em;
	line-height: 1;
	display: inline-block;
	font-weight: normal;
}
#office div h4 {
	font-weight: normal;
}

/*------------------------------ responsive ------------------------------*/
@media screen and (max-width: 1280px) {
	#main-txt {
		width: 35%;
	}
	#main-img {
		width: 67%;
	}
	#main-img img {
		border-radius: 0 30px 30px 0;
	}
	#main-img div h2{
		font-weight: bold;
		font-size: var(--xxx-large);
	}
	#main-img div p{
		font-size: var(--x-large);
	}
	#office figure {
		width: 40%;
	}
	#office figure img{
		border-radius: 20px;
	}
	#office div {
		width: 57%;
	}
	#office div .f-small {
		font-size: var(--x-small);
	}

}

@media screen and (max-width: 1024px) {
	#main {
		display: block;
	}

	#main-img {
		width: 94%;
		margin: 0 auto;
	}
	#main-img img {
		border-radius: 20px;
		width: 100%;
	    object-fit: contain;
	}

	#main-img div h2{
		font-size: var(--xxx-large);
	}
	#main-img div p{
		font-size: var(--x-large);
	}
	#main-txt {
		width: 94%;
		padding: 0;
		margin: 2em auto 0;
	}
	#office {
		display: flex;
		justify-content: space-between;
		margin-top: 3em;
		margin-bottom: 2em;
		align-items: center;
	}
	#office figure {
		width: 45%;
	}
	#office figure img{
		border-radius: 10px;
	}
	#office div {
		width: 53%;
	}
	#office div h2 {
		font-size: var(--x-large);
	}
	#office div h3 {
		font-size: var(--small);
	}

}
@media screen and (max-width: 768px) {

	#main-img img {
		border-radius: 10px;
	    height: 40vh;
	    object-fit: cover;
	}

	#main-img div h2{
		font-size: var(--xx-large);
	}
	#main-img div p{
		text-shadow: 1px 1px 2px #000;
		font-size: var(--midium);
		line-height: 1.3;
	}
	#main-txt {
		margin: 1em auto 0;
	}
	#office {
		display: block;
		margin-top: 3em;
		margin-bottom: 2em;
		align-items: center;
	}
	#office figure {
		width: 100%;
		margin-bottom: 1em;
	}
	#office figure img{
	}
	#office div {
		width: 100%;
	}

}
/*---------------------------------------------------------------------------------------
	googlemap
----------------------------------------------------------------------------------------*/

.gmap {
	position: relative;
	overflow: hidden;
    width: 100%;
	height: 0;
    padding-bottom: 30%;
 }
.gmap iframe {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
}
/*------------------------------ responsive ------------------------------*/
@media screen and (max-width:768px){
	.gmap {
		padding-bottom: 60%;
	}
	.gmap.top {
	    padding-bottom: 60%;
	}
}
