﻿@import url('https://fonts.googleapis.com/css2?family=Sofia&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Homemade+Apple&display=swap');
/* -----------------------------------------------------------*/
header #header #main_menu li:not(.page08_link) a:hover span {
    opacity: 1;
}
.top_cms_box:nth-of-type(1), .top_cms_box:nth-of-type(4) {
position: relative;    
}
.top_cms_box:nth-of-type(1):after, .top_cms_box:nth-of-type(1):before, .top_cms_box:nth-of-type(4):after, .top_cms_box:nth-of-type(4):before {
    position: absolute;
    content: "";
    width: 2500px;
    height: 500px;
    top: -352px;
    right: -297px;
    background-color: #e7fdff;
    z-index: -1;
    transform: rotate( 
3deg
 );
}
.top_cms_box:nth-of-type(1):before, .top_cms_box:nth-of-type(4):before  {
    left: -47px;
    bottom: -417px;
    top: inherit;
}

.top_cms_box:nth-child(4) > div, .top_cms_box:nth-child(1) > div {
        background: url(Dup/img/midasi2.png) no-repeat 12% 6%;
    background-size: 340px;
} 
.top_cms_box:nth-child(5) > div, .top_cms_box:nth-child(2) > div {
    background: url(Dup/img/midasi.png) no-repeat 10% 6%;
    background-size: 380px;
}
.top_cms_box:nth-child(5) > div {
    background-position: 20% 0%;
}
#intro {
    background-image: url(Dup/img/logoimg.png);
    background-position: top -18px left 50%;
    background-repeat: no-repeat;
    background-size: 500px auto;
    padding-bottom: 300px;
}
.box_wrap .box > figure {
    position: relative;
}
.box_wrap .box > figure:before {
    content: "Point.1";
    position: absolute;
    display: block;
    font-size: 70px;
    top: -56px;
    right: -15px;
    width: auto;
    height: 100px;
    font-family: 'Homemade Apple', cursive;
    color: #00a9ce;
}
.box_wrap .box:nth-child(2) > figure:before {
content: "Point.2";
}

#main_menu li a {
    position: relative;
}
#main_menu li a span {
    z-index: 1;
}
#main_menu li:not(:last-child) a:hover:after {
    width: 80%;
}
#main_menu li a:after {
    content: "";
    width: 0%;
    height: 11px;
    background:#def5ff;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: absolute;
    left:10%;
    bottom: 28px;
    z-index: 0;
}
.fadein2{
     opacity: 0;
     transform: translateY(40px);
      transition: all 1.2s 0s ease-out;
     transition-property: opacity,transform
}
.fadein2.fadetrans{
     opacity: 1;
     transform: none
}

#main_img {
    position: relative;
}
#main_img #catch {
    top: 44%;
}
#main_img #catch p {
    padding-top: 0;
}
#main_img #catch h2 {
    border: none;
    top: 0;left: -48px;
    text-shadow: none;
}
#main_img #catch h2 span {
font-family: 'Homemade Apple', cursive;
    letter-spacing: 0.1rem;
    font-size: 32px;
    color: #00a9ce;padding: 0;
}
.rectangle2_img{
	position: relative;
	overflow: hidden;
}
.rectangle2_img img{
	position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
}
h1 a {
   
}
h1 img {
    max-width: 313px;
}
#sc_menu .logo img {
    max-width: 235px;
    width: 235px;
}
#main_img:after {

}
#main_img #catch {
    background-color: rgb(135 206 235 / 68%);
}
#intro .box_wrap .box > div {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.01);
}
#intro .mini {
    text-align: center;
    letter-spacing: 0.4rem;
font-family: 'Homemade Apple', cursive;
    font-size: 24px;
}
#intro .mini:first-letter {
    color: #00a9ce;
}
#contents_links .square_box a {
    background-color: rgba(108, 160, 181, 0.29);
}
#contents_links .square_box {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.18);
}
#top_cms {
    overflow: hidden;
}
.top_cms_box:nth-child(2), .top_cms_box:nth-child(5) {
    background: #edfaff;
background: linear-gradient(41deg, rgba(237,250,255,1) 0%, rgba(230,254,255,1) 100%);
}
.top_cms_box:nth-child(5) .cate h3 {
    background: #eee;
    position: relative;
    overflow: inherit;
    margin-top: 145px;
}
.top_cms_box:nth-child(5) .cate h3:after {
    position: absolute;
    top: 0;
    right: -43px;
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 50px 43px 0 0px;
    border-color: #eee transparent transparent transparent;
}
.top_cms_box:nth-child(5) .cate:nth-child(odd) h3:after {
    right: auto;
    left: -43px;
    border-width: 0px 0 50px 43px;
    border-color: transparent transparent #eee transparent ;
}
.top_cms_box:nth-child(5) h3, .top_cms_box:nth-child(5) figure {
    z-index: 1;
}
.top_cms_box:nth-child(5) .cate {
    position: relative;

}
.top_cms_box:nth-child(5) .cate:after{
    position: absolute;
    bottom: 79px;
    right: 0;
    content: "";
    display: block;
    width: 80%;
    height: 220px;
    z-index: 0;
    background: #87ceeb;
}
.top_cms_box:nth-child(5) .cate:nth-child(odd):after{
    position: absolute;
    left: 0;
}
.top_cms_box:nth-child(5) .cate:nth-child(odd) >.d_flex {
        flex-direction: row-reverse;
}
.top_cms_title h3 {
    border: none;
    color: #212121;
}
.top_cms_title p span{
font-family: 'Homemade Apple', cursive;
    font-size: 62px;
    background: transparent;
    collo: #eee;
    color: #00a9ce;
}
/*.top_cms_box:nth-child(2) .top_cms_title, .top_cms_box:nth-child(4) .top_cms_titlee {
    margin-top:  -176px;
}*/
 .top_cms_box:nth-child(5) .more {
     margin-top: -60px;
 }
 
 #cms_2-a .cate_title, #cms_2-c .cate_title {
    font-weight: bold;
    padding-top: .5em;
    padding-bottom: .5em;
    margin-bottom: 2em;
    position: relative;
    border-bottom: solid 3px #eeeeee;
    display: block;
    text-align: center;
    border-top: 0;
    background: inherit;
    border-left: 0;
}
#cms_2-a .cate_title:after, #cms_2-c .cate_title:after {
    position: absolute;
    content: " ";
    display: block;
    width: 10%;
    bottom: -3px;
    border-bottom: solid 3px #000000;
    left: 0;
    margin: auto;
}
#cms_2-c figure {
    margin: 0 auto 30px;
} 
 
 
 @media screen and (min-width: 769px){
 h1 img {
     margin-top: 6px;
 }
 }
@media screen and (max-width: 768px){

h1 {
    width: 45%;
}
#intro {
    padding-bottom: 100px;
}
.top_cms_box:nth-of-type(1):before, .top_cms_box:nth-of-type(4):before {
    bottom: -535px;
}
.top_cms_box:nth-of-type(4):after {
    top: -502px;
    background-color: #eafbfe;
}
.top_cms_box:nth-child(5) .cate:after {
    bottom: 8px;
    width: 80%;
    height: 147px;
}
.top_cms_box:nth-child(5) .more {
    margin-top: -13px;
}
.top_cms_box:nth-child(5) .cate h3 {
    margin-top: 0px;
}
.top_cms_box:nth-child(5) .cate:nth-child(odd) h3:after {
    border-width: 0px 0 46px 43px;
}
.top_cms_box:nth-child(5) .cate h3:after {
    border-width: 46px 43px 0 0px;
}
#cms_1-e .pager li {
    margin-left: 0;
}
}
@media(max-width: 667px) {
    h1 {
    width: 64%;
    margin-left: 0;
}
    .top_cms_box:nth-child(5) .cate:after {
    bottom: 6px;
    right: -34px;
    width: 123%;
    height: 116px;
}
.top_cms_box:nth-child(5) .cate:nth-child(odd):after{
    left: -34px;
}
#main_img #catch h2 span {
    font-size: 18px;
}
.top_cms_title p span {
    font-size: 38px;
}
.top_cms_box:nth-child(4) > div, .top_cms_box:nth-child(1) > div {
    background: url(Dup/img/midasi2.png) no-repeat 12% 2%;
    background-size: 188px;
}
.top_cms_box:nth-child(5) > div, .top_cms_box:nth-child(2) > div {
    background-size: 200px;
}
#main_img #catch {
    transform: translateY(8px);
}
.loader.logo {
 width: 210px;   
}
footer #footer #footer_txt .logo {
    width: 80%;
}
#cms_1-e .pager li {
    display: none;
}
#cms_1-e .pager li.prev {
    display: block;
}
}


@media all and (-ms-high-contrast: none) {
#cms_6-a .cate .cate_title {
    padding-top: 10px!important;
}
header #header #main_menu li.page08_link a {
    padding-top: 7px;
    padding-bottom: 13px;
}
#cms_6-b .cate .cate_title {
    padding: 6px 5px 6px!important;
}
}
