@charset "utf-8";

body {
    animation: fadeIn 2s ease 0s 1 normal;
    -webkit-animation: fadeIn 2s ease 0s 1 normal;
}

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

@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

#topIndex..container2 {
    position: relative;
    top: -150px;
    padding-top: 150px;
    margin: 0 auto -150px;
}

.flex-menu {
    align-items: stretch;
    flex-wrap: wrap;
}

a.menuBtn {
    text-align: center;
    border: 1px solid #ddd;
    padding: 10px;
    width: calc((100% / 6) - 10px);
    margin: 0 5px;
    font-size: 0.9em;
    box-sizing: border-box;
}

.menuBtn img.menu {
    width: 50px;
    height: auto;
}

.menuBtn span {
    display: block;
}

.titleBox {
    background: url(img/ttl_circle.png);
    width: 95%;
    margin: 0 auto 4em;
    height: 214px;
    background-position: left;
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    max-width: 1400px;
}

.titleBox.rightPtn {
    background-position: right;
}

.titleBox p {
    position: absolute;
    left: 180px;
    top: 0;
    color: #fff;
    font-size: 2em;
}

.titleBox.rightPtn p {
	left: inherit;
    right: 30px;
}

.titleBox p span {
    font-size: 2em;
    margin-left: 6px;
}

.titleBox h2 {
    background: #29abe2;
    text-align: right;
    padding: 6px 18px;
    width: 600px;
    position: absolute;
    top: 100px;
    left: 150px;
    color: #2f3192;
    z-index: 1;
}

.titleBox.rightPtn h2 {
    text-align: left;
    right: 150px;
    left: inherit;
}

.header {
    min-width: 320px;
}

.titleBox figure {
    position: absolute;
    right: 0;
    top: 10px;
    height: 214px;
}

.titleBox.rightPtn figure {
    left: 0;
    top: 10px;
}

.titleBox figure img {
    width: auto;
    height: 100%;
}

h3.waku, h4.text-s1 {
    margin-top: 1em;
    margin-bottom: 0.8em;
}

ol.text-s15 li {
    margin: 0 0 0.5em 1.5em;
    line-height: 1.8em;
}

p.text-s15 {
margin: 0 0 0.5em 0;
}

.con-b {
	background-repeat: no-repeat!important;
}

a.btn-flat-border {
    margin: 0 5%;
    box-sizing: border-box;
}

.margin1em{
margin-bottom:1em;
}

div#scrlBtn {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 100;
}

div#scrlBtn a {
    display: block;
    border: 2px solid #3b3b9f;
    padding: 6px 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.5em;
    background: #7069d1;
    color: #fff;
}

div#scrlBtn a:hover {
    background: #fff;
    color: #7069d1;
}

.gai-o {
    min-width: 600px;
}
.gai-o dl {
    text-align: center;
}
.gai-o dl dd {
    margin-bottom: 1em;
}
.gai-o dl dt {
    font-weight: 600;
}

@media all and (max-width: 1024px){
.titleBox h2 {
    left: 80px;
}
.titleBox.rightPtn h2 {
    right: 70px;
}
.top {
    margin-top: 20px;
}
}

@media all and (min-width: 896px) and (max-width: 1024px){
.nt,.nt2 {
    font-size: 22px;
}
}

@media all and (max-width: 768px){
.header {
    display: flex;
    width: 100%;
    margin: 0;
    justify-content: space-between;
}
.header .time {
    width: 50%;
    margin: 10px 0 0 20px;
    font-size: 18px;
}

.header a {
    text-align: right;
    margin-right: 10px;
}

.top {
    margin-top: 80px;
}

.container2:not(:first-child) {
    width: 95%;
    margin-bottom: 60px;
}

a.menuBtn {
    width: calc((100% / 3) - 10px);
    margin-bottom: 10px;
}

.titleBox { width:100%; }

.titleBox.rightPtn {
    background-position: left;
}

.titleBox p, .titleBox.rightPtn p {
    position: relative;
    left: 20px;
    right: inherit;
    text-align: left;
}

.titleBox h2, .titleBox.rightPtn h2 {
    position: relative;
    top: 0;
    left: 50px;
    right: inherit;
    background: none;
    text-align: left;
    width: 100%;
    padding-top: 0;
    box-sizing: border-box;
}

.titleBox.rightPtn figure {
    right: 0;
    left: inherit;
}

.name {
	text-align: left;
    margin-left: 0;
}

.text-c {
    font-size: 13px;
}
p.nt,
p.nt2 {
    background: none;
    border-bottom: 3px solid #f5f53c;
}
.np1 {
    width: 100%;
    margin-top: 1em;
}
p.izime {
    text-align: left;
    width: 96%;
    margin: 1em 2% 0.3em;
}

.container .con-b {
	background-image: url(img/sp-con-b.png);
    margin: 4em 0 0;
    padding: 2em 0 3em;
    background-repeat: repeat-y!important;
    background-size: auto;
}
.m-aicon {
    width: 20%;
    margin: 0 40%;
}
.ot-t {
    margin-bottom: 0;
}
.go {
    margin-top: 10px;
    min-width: 200px;
}
.gai-b {
    margin-top: 0;
}
}

@media all and (max-width: 640px){
.top {
    margin-top: 120px;
}
.titleBox{
background:none;
background-color:#8ce3ff;
height:auto;
margin: 0 0 2em;
}
.titleBox.rightPtn figure ,
.titleBox figure {
	display: none;
}
.text-c {
    font-size: 12px;
}
.waku {
	margin-bottom: 6px;
}
.name {
    font-size: 2.4vw;
}
form .flex {
	display: block;
}
p.aya {
    margin: 0 0 8px;
}
.Form-Item-Textarea {
    width: 100%!important;
    max-width: 400px;
}

.gai-o {
    min-width: 100%;
}
.gai-o dl {
    text-align: left;
}
div#scrlBtn a:hover {
    background: #7069d1;
    color: #fff;
}
}

@media all and (max-width: 480px){
.header {
    display: none;
}
.container2 {
    margin-top: 40px;
}
#topIndex.container2 {
    top: 0;
    padding: 40px 0 0;
    margin: 0 auto 0;
}
.flex-menu {
    display: flex;
	margin-top:0;
}
a.menuBtn {
    width: calc((100% / 2) - 10px);
}
.text-c {
    font-size: 11px;
}
p.nt, p.nt2 {
    line-height: 1.8em;
}
.con-b {
    padding-top: 30px;
    margin-top: 50px;
    background-image: url(img/sp-con-b.png);
	background-repeat: repeat-y!important;
}
.titleBox h2, .titleBox.rightPtn h2{
	left: 0;
	font-size: 1.4em;
}
.name {
    text-align: center;
    margin-bottom: 1em;
}
.input1-o {
    width: 100%;
}
input.input1-1 {
    min-width: 280px;
}
select#pre {
    width: 100%;
    max-width: 200px;
}
.Form-Item-Textarea {
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
}
.text-w,
.text-o3,
.text-n,
.ntt,
.text1,
.text-s1,
.text-s15,
.gai-tt {
    line-height: 1.7em;
}
.step4 {
	margin-top:40px;
}
.sp-flex-c-menu {
    flex-wrap: wrap;
    justify-content: flex-start;
}
.sp-flex-c-menu a {
    width: calc(50% - 10px);
    margin:0 5px;
}
}
