﻿#top_cms .cms_title .title_box h2 {
    -webkit-writing-mode: horizontal-tb;
    -ms-writing-mode: rl-tb;
    writing-mode: horizontal-tb;
    max-height: 150px;
    position: relative;
    z-index: 5;
    -webkit-text-orientation: upright;
    text-orientation: upright;
    display: inline-block;
        color: white;
    font-weight: bold;
    font-size: 22px;
}

.index_header #header #header_menu li {
    max-height: 100%;
     background-color: rgba(255,255,255,0.6);
     /*border-bottom: 3px double #aab4b9;
    border-color: #aab4b9;*/
}

header #header #header_menu li a .jp {
    height: 100%;
        font-size: 15px;
}

nav#header_menu{
    position: relative;
}

nav#header_menu ul{
    position: absolute;
    top: 0;
    left: 30px;
}

#main_img {
    max-height: 56.5vw;
    position: relative;
}

#main_img:before {
content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    background-image: url(./Dup/img/font.png), url(./Dup/img/color.png);
    background-position: center left, center;
    background-repeat: no-repeat;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    background-size: contain, cover;
    pointer-events: none;
    z-index: 2;
}




.sou{
    display: block;
    margin-top: -300px;
    position: relative;
    z-index: 2;
}

.sou:before{
    content: "";
    display: block;
    width: 200px;
    height: 200px;
    position: absolute;
    top: 50%;
    left: 20%;
    background-image: url(./Dup/img/hito1.png);
    background-position: center;
    background-repeat: no-repeat;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    background-size: contain;
    pointer-events: none;
    z-index: 3;
}

h2.catch{
        margin-top: -8vw;
    text-align: center;
    position: relative;
    z-index: 6;
    font-size: 26px;}

#youtube{
  position: relative;
	max-width: 780px;
	width: 70%;
	text-align: center;
	margin: 4% auto 4%;

    z-index: 5;
}
#youtube:before {
    content: "";
    display: block;
    width: 100%;
    padding-top: 56.25%;
  }
#youtube iframe{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.bg_color1 {
    background-color: #00adee;
}


.txt_color1 {
    color: #6ebe44;
}

#youtube:after{
    content: "";
    display: block;
    width: 10%;
    height: 150px;
    position: absolute;
    top: 95%;
    left: -3.5%;
    background-image: url(./Dup/img/hito2.png);
    background-position: center;
    background-repeat: no-repeat;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    background-size: contain;
    pointer-events: none;
    z-index: 1;
    max-width: 150px;
}

.test{
    position: relative;
}

.test:after {
content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 51%;
    left: 50%;
    background-image: url(./Dup/img/yane.png), url(./Dup/img/fami.png), url(./Dup/img/hito3.png);
    background-position: center bottom, 100% 98%, top right;
    background-repeat: no-repeat;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    background-size: contain, 30%, 10%;
    pointer-events: none;
    z-index: 3;
}

.index_header #header #header_menu li:hover {
    padding-bottom: 8px;
}

#intro_txt{
    position: relative;
}

#intro_txt:before{
    content: "";
    display: block;
    width: 100px;
    height: 100px;
    position: absolute;
    top: 0;
    left: 100%;
    background-image: url(./Dup/img/hito4.png);
    background-position: center;
    background-repeat: no-repeat;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    background-size: contain;
    pointer-events: none;
}

#intro #intro_txt h2 {
    font-weight: bold;
    color: #07afef;
}

#contents h2 {
    max-height: 100%;
    font-size: 35px;
    font-weight: bold;
    text-shadow: 0 0 6px white;
}

#contents .back_color2:after {
    background-color: rgba(0,173,238,0.1) !important;
}

#top_cms .cms_title .title_box {
     background-color: transparent; 
     padding: 40px 0;
}

#contents{
    position: relative;
}

#contents:before{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    background-image: url(./Dup/img/hito5.png);
    background-position: right bottom;
    background-repeat: no-repeat;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    background-size: 15%;
    pointer-events: none;
    z-index: 1;
}

#top_cms .cms_title .bg-mask {
    background: rgba(110, 190, 68, 0.65) !important;
}

#page_title .back_color2 {
    background-color: rgba(0, 173, 238, 0.2) !important;
    /*background-image: url(./Dup/img/tuki.png);
    background-repeat: no-repeat;
    background-size: 30%;*/
    position: relative;
    overflow: hidden;
}

#page_title .back_color2:before{
    content: "";
    display: block;
    width: 25%;
    height: 500px;
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: rgb(10 176 239 / 70%);
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    pointer-events: none;
    min-width: 320px;
    z-index: 0;
    max-width: 25%;
}

#page_title .back_color2:after{
    content: "";
    display: block;
    width: 300px;
    height: 300px;
    position: absolute;
    top: 50%;
    left: 10%;
    background-image: url(./Dup/img/tuki.png);
    background-repeat: no-repeat;
    background-size: contain;
    -webkit-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
    pointer-events: none;
    background-position: left top;
}

#page_title .back_color {
    background: rgba(255,255,255,0.1);
}

#page_title h2 {
    -webkit-writing-mode: horizontal-tb;
    -ms-writing-mode: rl-tb;
    writing-mode: horizontal-tb;
    color: white;
    font-size: 26px;
    font-weight: bold;
}

#page_title:before {
content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: -110px;
    right: 50px;
    background-image: url(./Dup/img/hito5.png);
    background-position: center right;
    background-repeat: no-repeat;
    background-size: 8%;
    pointer-events: none;
    z-index: 1;
    min-width: 1000px;
}

.box_link{
    max-width: 300px;
}

#header #logo{
    margin-top: 20px;
}

.clone-nav #logo, .all_header #logo {
    margin-top: 0px;
}

.clone-nav #logo img, .all_header #logo img{
    width: 100%;
    min-width: 150px;
}


.index_header #header {
    padding-top: 30px;
    padding-bottom: 30px;
}

.index_header.is-show #header {
    padding-top: 10px;
    padding-bottom: 10px;
}

#header #logo h1 img{
    width: 100% !important;
}

.logo {
    min-width: 200px;
}

p.footer_cms{
    color:black;
}

.all #header #logo{
    margin-top: 0;
}

.cate_list li a {
    background-color: #f7f7f7;
    padding: 7px 20px;
}

.green{
    color: #6ebe44;
    opacity: 0.4;
    font-size: 12px;
}

.index_header #header #header_menu li:hover .green{
    opacity: 1;
}

.drawer-nav {
    background-color: rgba(255,255,255,0.95) !important;
}

.linkStyle{    color: #6ebe44;}

@media all and (-ms-high-contrast: none){
  .cate_list li a {
    padding-bottom: 2px;
}

#contents h2{
    max-height: 60vh;
}

#main_img .box_img{
    height:56.5vw;
    overflow: hidden;
}

#intro_txt:before {
    left: 105%;
}

}

/* ---------- カスタム ---------- */
@media screen and (max-width: 1280px){
    header #header #header_menu li a .jp {
    font-size: 14px;
}

nav#header_menu ul {
    top: -20px;
}

}

/* ---------- カスタム ---------- */
@media screen and (max-width: 1000px){
#contents:before{
    background-size: 180px;
}

header #header #header_menu li a .jp {
    font-size: 14px;
}

.logo {
    min-width: 180px;
}

#main_img {
    max-height: 62vw;
}

}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){

#page_title .back_color2 {
    background-size: 200px;
}

#header #logo {
    margin-top: 0px;
    transform: scale(1.55) translate(0px, -3px);
    transform-origin: left;
}

h2.catch {
    margin-top: 0px;
    font-size: 20px;
}

}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){

.index_header #header {
    padding-top: 10px;
    padding-bottom: 10px;
}

#contents .back_color2 {
    background-position: center right;
}

#contents .back_color2:after {
    background-color: rgba(195, 234, 249, 0.8) !important;
}

#header #logo {
    transform: scale(1.1) translate(0px, -3px);
}

#main_img:before {
    background-size: 52.5%, cover;
}

.test:after {
    background-size: contain, 38%, 10%;
    background-position: center bottom, 103% 80%, top right;
    top: 55%;
}

h2.catch {
    margin-top: 30px;
    font-size: 16px;
}

#youtube:after {
    width: 18%;
    left: -7.5%;
}

#intro #intro_txt {
    padding: 10px 35px;
}

#contents h2 {
    font-size: 24px;
}

#contents:before {
    background-size: 90px;
}

#top_cms .cms_title {
    margin-bottom: 20px;
}

#top_cms .contents {
    left: 50%;
    transform: translate(-50%, 0%);
}

.header_info p a i{
    margin-right:-6px;
}

.clone-nav .header_info .tel {
    margin-right: 15px;
}

.clone-nav .header_info {
    margin-left: 0px;
}

#contents:before {
    z-index: 3;
}

#page_title h2 {
    font-size: 21px;
    letter-spacing: 0.04em;
}

}