@import "print.css" print;

/* http: //jigsaw.w3.org/css-validator/ */
:root {
    --maincolor: #73c6c7;
    --subcolor: #E9F5F5;
    --graycolor: #f5f5f5;
    --strongcolor: #008484;
    --fontcolor: #1f1f1f;
    --mpsizel: 40px;
    --mpsize: 30px;
    --mpsizes: 20px;
}

* {
    box-sizing: border-box;
    line-height: 180%;
}
#ocbt {
    display: none;
}

.pc {
    display: block;
}
.sp {
    display: none;
}

.lightblue {
    background-color: var(--subcolor);
}
.gray {
    background-color: var(--graycolor);
}
.white {
    background: #fff;
}
ol,
ul {
    margin: 1rem auto;
    padding-left: 1.5rem;
}
ul li::marker {
    color: var(--strongcolor);
}
a {
    transition: 0.5s;
}
body {
    margin: 0;
    padding: 0;
    color: var(--fontcolor);
    font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
    font-weight: 400;
}
strong {
    color: var(--strongcolor);
}
address {
    font-style: normal;
}
.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.fr {
    float: right;
    margin: 0 0 var(--mpsize) var(--mpsize);
}
.fl {
    float: left;
    margin: 0 var(--mpsize) var(--mpsize) 0;
}
.wrapper {
    width: 100%;
    max-width: calc(1000px + (var(--mpsizes) * 2));
    padding: 0 var(--mpsizes);
    margin-left: auto;
    margin-right: auto;
}
.skip {
    position: absolute;
    left: -9000px;
}
.flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
.flex.j_fs {
    justify-content: flex-start;
}
.flex.a_fs {
    align-items: flex-start;
}
.flex > * {
    width: 100%;
}
.flex.c2 > * {
    max-width: calc((100% - var(--mpsize)) / 2);
    margin-bottom: var(--mpsize);
}
.flex.c2.ml > * {
    max-width: calc((100% - var(--mpsizel)) / 2);
    margin-bottom: var(--mpsizel);
}
.flex.c2.ms > * {
    max-width: calc((100% - var(--mpsizes)) / 2);
    margin-bottom: var(--mpsizes);
}
.flex.c3 > * {
    max-width: calc((100% - (var(--mpsize) * 2)) / 3);
    margin-bottom: var(--mpsize);
}
.flex.c3.ml > * {
    max-width: calc((100% - (var(--mpsizel) * 2)) / 3);
    margin-bottom: var(--mpsizel);
}
.flex.c3.ms > * {
    max-width: calc((100% - (var(--mpsizes) * 2)) / 3);
    margin-bottom: var(--mpsizes);
}
.flex.c4 > * {
    max-width: calc((100% - (var(--mpsizes) * 3)) / 4);
}
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
img {
    max-width: 100%;
}

input[type=date],
input[type=email],
input[type=number],
input[type=password],
input[type=tel],
input[type=text],
textarea {
    font-size: 1rem;
    padding: 0.25rem 0.5rem;
    max-width: 100%;
    width: 100%;
}
.linkbt {
    text-decoration: none;
    display: inline-block;
}
.linkbt::before {
    content: url("../images/linkbt.svg");
    display: inline-block;
    margin-right: 0.5rem;
    transform: translateY(0.25rem);
}
.goform .linkbt{
    color: #fff;
    background: var(--strongcolor);
    padding: 0.75rem 1.5rem;
}
.goform .linkbt:hover{
    background: #535353;
}
#breadcrumbs {
    position: relative;
    z-index: 100;
    font-size: 0.9rem;
    margin: 0.25rem auto;
}
/* http: //jigsaw.w3.org/css-validator/ */

html {
    scroll-behavior: smooth;
}
h1,h2{
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
}
h3,h4,h5{
    font-weight: 700;
}
nav ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
nav ul::after{
    content: '';
    display: block;
}
nav li{
    margin-left: 1rem;
    margin-top: 5px;
}
#logo{
    padding: 10px 0;
    width: 323px;
}
#logo h1{
    margin: 0;
}
#logo h1 img{
    display: block;
}
header>.wrapper{
    min-height: 80px;
    align-items: center;
}
#mainmenu{
    max-width: calc(100% - 350px);
}
#mainmenu a{
    color: var(--fontcolor);
    text-decoration: none;
    padding: 10px 0;
    position: relative;
}
#mainmenu a::after{
    content:'';
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    border-radius: 5px;
    height: 3px;
    width: 0%;
    transition: 0.5s;
}
#mainmenu a.on:hover::after,
#mainmenu a.on::after{
    border-radius: 5px;
    left:0;
    height: 3px;
    width: 100%;
}
#mainmenu a:hover::after{
    left:40%;
    border-radius: 5px;
    height: 3px;
    width: 20%;
}
#mainmenu a:hover::after{
    background:var(--fontcolor);
}
#mainmenu a.on::after,
#mainmenu a.on:hover::after{
    background:var(--maincolor);
}
#mainvisual{
    text-align: center;
    display: table;
    width: 100%;
}
#mainvisual .mvbody{
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    padding-top: 30px;
    padding-bottom: 30px;
    font-size: 1.8rem;
}
.page-index #mainvisual{
    background: url(../images/indexbg.png) #E9F5F5;
}
.page-index #mainvisual .mvbody{
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: auto 100% ;
    background-image:  url('../images/indexmain.svg');
    height: 480px;
    display: block;
    margin: 0 auto -30px;
}

#wrapper>div{
    padding-top: 3rem;
    padding-bottom: 3rem;
}

h2{
    border-left: 5px solid var(--maincolor);
    padding: 0 1rem;
    margin: 3rem auto 1rem;
}
h3{
    margin: 2rem auto 1rem;
}
#main h2:first-child{
    margin-top: 0;
}
.page-index h2{
    border: none;
    padding: 0;
    margin-top: 0;
}
.page-index h2 span{
    display: block;
    font-size: 1rem;
    color: var(--strongcolor);
}
.page-index .proftxt h2 span{
    color: var(--fontcolor);
    font-size: 0.8rem;
}
.aim{
    padding: 1rem 2rem;
    margin-bottom: 3rem;
}
.aim .white{
    padding: 1rem;

}
.flex .mapbox{
    padding-top: 270px;
    position: relative;
}
iframe{
    position: absolute;
    width: 100%;
    max-width: 100%;
    height: 100%;
    top: 0;
}
.maps .flex{
    align-items: flex-start;
}
.address h2{
    margin-top: 0;
    padding: 0;
    border: none;
}
.faceimg{
    max-width: 30%;
}
.faceimg img{
    width: 300px;
    display: block;
    margin: 0 auto 1rem;
}
.proftxt{
    max-width: calc(70% - var(--mpsizel));
}

.available .gray{
    padding: 1rem;
}
.gray h3{
    margin:  1rem auto;
}
.services a{
    text-decoration: none;
    color: var(--fontcolor);
    border: 1px solid var(--maincolor);
}
.services a h3{
    margin: 0;
    padding: 1rem;
}
.services a p{
    margin: 0;
    padding: 1rem;
}
.services h3::before{
    margin: 0.5rem auto;
    display: block;
}
.s_welfare::before{
    content: url(../images/service_welfare.svg);
}
.s_company::before{
    content: url(../images/service_company.svg);
}
.s_local::before{
    content: url(../images/service_local.svg);
}
.services .linkbt{
    margin-top: 0.5rem;
}


.topbox .imgbox{
    width: 260px;
    text-align: center;
}
.topbox .txtbox{
    width: calc(100% - 260px - var(--mpsizel));
}

#pagetop{
    text-align: right;
}
#pagetop .linkbt{
    color: var(--fontcolor);
}
#pagetop .linkbt:hover{
    font-weight: bold;
}
#pagetop .linkbt::before{
    transform: rotate(-90deg);
}

footer{
    background:#535353;
    color: #fff;
    padding: 1rem 0 0;
    margin-top: var(--mpsize);
}
footer .flex{
    align-items: center;
}
footer strong{
    color: #fff;
}
footer h2{
    font-size: 1rem;
}
footer .contactbt{
    text-align: right;
}
footer .linkbt{
    background: #fff;
    color: var(--fontcolor);
    padding: 0.5rem 1.5rem ;
}
footer .linkbt:hover{
    background: var(--subcolor);
    font-weight: bold;
}
.topbox.fbox{
    align-items: center;
}
.topbox.fbox .imgbox{
    width: 220px;
}
.topbox.fbox .txtbox{
    width: calc(100% - 220px - var(--mpsizel));
}

.fukidasi{
    background: #f5f5f5;
    padding:20px;
    border-radius: 10px;
    position: relative;
}
.fukidasi::after{
  content: "";
  position: absolute;
  bottom: 2rem;
  right: -24px;
  margin-top: -12px;
  border: 12px solid transparent;
  border-left: 12px solid #f5f5f5;
  z-index: 2;
}
.examplebox{
    padding: 3% 4%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    border: 1px solid #707070;
    gap: 1rem 0;
}
.examplebox img{
    margin: 0 auto;
}
.examplebox>*{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    gap: 1rem;
    width: calc((100% - 40px - 8%) / 2);
}
.examplebox .arrow{
    width: 40px;
    align-self: center;
}
.examplebox .fukidasi::after{
    bottom: -24px;
    right: calc(50% - 12px);
    margin-top: -12px;
    border: 12px solid transparent;
    border-top: 12px solid #f5f5f5;
    z-index: 2;
}
.example_a .fukidasi{
    background: #FDF3F6;
    font-weight: bold;
}

.examplebox .example_a .fukidasi::after{
    border-top: 12px solid #FDF3F6;
}


@media all and (max-width: 860px){
    .page-index #mainvisual .mvbody{
        height: 400px;
        margin: 0 auto -25px;
    }
}
@media all and (max-width: 740px) {
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
    #ocbt {
        display: block;
        position: relative;
        width: 32px;
        height: 32px;
        float: right;
        z-index: 1500;
    }
    body.menuon {
        width: 100%;
        height: 100%;
        position: fixed;
    }
    .menuon #ocbt {
        position: fixed;
        right: 20px;
    }
    #ocbt strong{
        text-align: center;
        display: block;
        width: 32px;
        font-size: 0.65rem;
        font-weight: bold;
        color: var(--fontcolor);
        position: absolute;
        bottom: -0.8rem;
    }
    #ocbt span,
    #ocbt span::after,
    #ocbt span::before {
        content: "";
        width: 32px;
        border-top: 3px solid #000;
        display: block;
        position: absolute;
        transition: 0.5s;
        top: 2px;
    }
    #ocbt span::before {
        top: 7px;
    }
    #ocbt span::after {
        top: 17px;
    }
    #ocbt span>em {
        text-indent: -9000px;
        position: absolute;
    }
    .menuon #ocbt span::before {
        transform: rotate(-45deg);
    }
    .menuon #ocbt span::after {
        transform: rotate(45deg);
        top: 7px;
    }
    .menuon #ocbt span {
        border-top: #fff;
    }
    .menuwrap{
    position: fixed;
    width: 250px;
    max-width: 250px;
    height: 100vh;
    top: 0;
    right: 0;
    transform: translateX(100vw);
    z-index: 1000;
    background:var(--graycolor);
    padding: 80px 1rem 0;
    transition: 0.5s;
    }
    .menuon #mainmenu{
        max-width: 250px;
    }
    .menuon #mainmenu ul{
        display: block;
        background: #fff;
        border-top: 1px solid #ccc;

    }
    .menuon #mainmenu li{
        margin: 0;
    }
    .menuon #mainmenu li a{
        display: block;
        margin: 0;
        padding: 1rem 2rem;
        border-bottom: 1px solid #ccc;
    }
    .menuon #mainmenu li a::after{
        bottom: 50%;
        left: 1rem;
        width: 5px;
    }
    .menuon #mainmenu li a.on{
        background:#fff;
    }
    .menuon #mainmenu li a.on:hover::after,
    .menuon #mainmenu li a.on::after{
        bottom: 30%;
        border-radius: 5px;
        height: 40%;
        width: 5px;
        left: 1rem;
    }
    .menuon #mainmenu li a:hover::after{
        bottom: 40%;
        border-radius: 5px;
        height: 20%;
        width: 5px;
    }
    .menuon .menuwrap{
        transform: translateX(0);
    }
    .menuwrap>*{
        width: 100%;
    }
    .flex.c3>*{
        max-width: calc((100% - var(--mpsize)) / 2);
        margin-bottom: var(--mpsize);
    }
    .flex.c3.ml>*{
        max-width: calc((100% - var(--mpsizel)) / 2);
        margin-bottom: var(--mpsizel);
    }
    .flex.c3.ms>*{
        max-width: calc((100% - var(--mpsizes)) / 2);
        margin-bottom: var(--mpsizes);
    }
}

@media all and (max-width: 600px){
    .page-index #mainvisual .mvbody{
        height: 320px;
        margin: 0 auto -20px;
    }
    #wrapper .flex>*,
    footer .flex>*{
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: var(--mpsizes) !important;
    }
    footer .contactbt{
        text-align: center;
    }
    .flex.topbox>*{
        width: 100%;
        max-width: 100%;
    }
    .fukidasi::before,
    .fukidasi::after{
      content: "";
      position: absolute;
      bottom: -24px;
      right: calc(50% - 12px);
      margin-top: -12px;
      border: 12px solid transparent;
      border-top: 12px solid #f5f5f5;
      z-index: 2;
    }
    .examplebox{
        flex-direction: column;
        padding: 1.5rem;
    }
    .examplebox>*{
        width: 100%;
    }
    .examplebox .fukidasi{
        width: 100%;
    }
    .arrow img{
        transform: rotate(90deg);
    }
}
@media all and (max-width: 480px){
    .page-index #mainvisual .mvbody {
        padding-top: 94%;
        height: auto;
        margin: 0 auto;
        background-size: contain;
        background-image: url('../images/indexmain_sp.svg');
      }
      #logo{
          max-width: calc(100% - 50px);
      }

}

/* === .tbl === */

.tbl
{
	margin: 5px 0 10px !important;
	box-sizing: border-box;
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0px;
	border-top: 1px #bbb solid;
	border-left: 1px #bbb solid;
}
.tbl th,
.tbl td
{
	text-align: left;
	padding: 8px 10px;
	border-bottom: 1px #bbb solid;
	border-right: 1px #bbb solid;
}
.tbl th
{
	text-align: left;
	background-color: #f8f8f8;
/*	white-space: nowrap;*/
	font-weight: bold;
	color: #111;
}
.tbl thead th
{
	background-color: #eee;
	color: #111;
}
.tbl th > *:first-child,
.tbl td > *:first-child
{
	margin-top: 0;
}
.tbl th > *:last-child,
.tbl td > *:last-child
{
	margin-bottom: 0;
}
.tbl ul,
.tbl ol
{
	padding: 0;
	margin-left: 25px;
	margin-right: 0;
}

/* === tabl.tbl1 === */

.tbl1
{
	border-spacing: 0px;
	box-sizing: border-box;
	width: 100%;
	border-collapse: collapse;
	border-top: 1px #bbb solid;
	border-left: none;
}
.tbl1 th,
.tbl1 td
{
	text-align: left;
	padding: 8px 10px;
	border-bottom: 1px #bbb solid;
	border-right: none;
}
.tbl1 thead th
{
	color: #111;
	background-color: #ded9d1;
}
.tbl1 th
{
	color: #111;
	background-color: #eee;
}
.tbl1 td
{
	color: #111;
	background-color: #fff;
}

/* === .tbl2 === */

.tbl2
{
	box-sizing: border-box;
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0px;
	width: 100%;
	background-color: #fff;
}
.tbl2 th,
.tbl2 td
{
	text-align: left;
	padding: 8px 10px;
}
.tbl2 thead th
{
	color: #111;
	background: #e8e8e0;
	font-weight: bold;
	border-top: 1px #ccc solid;
	border-bottom: 1px #ccc solid;
}

.tbl2 tr:nth-child(even),
.tbl2.even tr:nth-child(even)
{
	background: #f4f4ea;
}
.tbl2 tr:nth-child(odd),
.tbl2.even tr:nth-child(odd)
{
	background: #fff;
}
.tbl2.odd tr:nth-child(odd)
{
	background: #fff;
}
.tbl2.odd tr:nth-child(even)
{
	background: #f4f4ea;
}

.tbl2 th
{
	font-weight: normal;
	color: #111;
}
.tbl2 td
{
	color: #111;
}
