@charset "utf-8";
@import url("https://fonts.googleapis.com/css?family=Noto+Sans+JP:400,500,700&display=swap");
@import url("https://fonts.googleapis.com/css?family=Noto+Serif+JP:300,500,700&display=swap");
@import url('https://fonts.googleapis.com/css?family=Poppins:400,600&display=swap');
@import url("home.css");
@import url("under.css");
@import url("lesson.css");
@import url("products.css");





/* ---------- reset ---------- */

html, body, div, span, iframe, h1, h2, h3, h4, h5, h6, p,
a, em, small, strong, time, dl, dt, dd, ol, ul, li, form, label,
table, caption, tbody, thead, tr, th, td,
article, aside, figure, figcaption, footer, header, nav, section {
	border: 0;
    box-sizing: border-box;
	font-size: 100%;
    font: inherit;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}

article, aside, footer, header, nav, section, main {
	display: block;
}

ol, ul {
	list-style: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}





/* ---------- base ---------- */

body {
	color: #444;
	font-family: "Noto Sans JP";
    font-style: 500;
    line-height: 1;
	min-width: 1000px;
}

p {
	font-size: 0.85rem;
	line-height: 1.8;
	padding: 0 0 20px;
}

a {
	color: rgba(51,0,0,1);
	transition: 0.2s ease-in-out;
}

img {
	height: auto;
	max-width: 100%;
    vertical-align: top;
}

@media screen and (min-width: 641px) {

	a[href^="tel:"] {
		pointer-events: none;
        text-decoration: none;
	}

}

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

	body {
		min-width: 100%;
	}

}





/* ---------- header ---------- */

#header {
    background: #fff;
    box-shadow: 0 0 3px 0 rgba(0,0,0,0.2);
	position: fixed;
	min-width: 1000px;
    text-align: center;
    width: 100%;
    z-index: 10;
}

#header h1 {
    left: 30px;
    position: absolute;
    transition: all .2s ease-in-out;
    top: 14px;
    width: 170px;
}

#header nav p {
	display: none;
}

#nav_main {
    display: inline-block;
    font-size: 0;
    text-align: center;
}

#nav_main > li {
    display: inline-block;
	font-size: 0.85rem;
	letter-spacing: 0.05rem;
    padding: 0 15px;
}

#nav_main li h2 {
	color: #300;
    cursor: pointer;
    font-size: 0.95rem;
	font-weight: 700;
    padding: 34px 0 33px;
    position: relative;
	text-decoration: none;
}

#nav_main li h2::after {
    background: #300;
    bottom: 0;
    content: "";
    height: 0;
    left: 0;
    position: absolute;
	transition: all .2s linear .2s;
    width: 100%;
}

#nav_main li:hover h2::after {
    height: 5px;
}

#nav_main div {
    background: rgba(20,0,0,0.85);
    left: 0;
    max-height: 0;
    padding: 0 calc((100% - 920px) / 2);
    position: absolute;
    overflow: hidden;
    width: 100%;
    z-index: 10;
    transition: max-height .3s ease-in-out .2s;
}

#nav_main li:hover > div {
    max-height: 620px;
}

#nav_main h3 {
    float: left;
    color: #fff;
    font-size: 1.3rem;
    font-family: "Noto Serif JP";
    font-weight: 300;
    padding: 60px 0 0;
    text-align: left;
    width: 200px;
}

#nav_main h3::after {
    content: attr(data-en);
    display: block;
    font-family: "Poppins";
    font-size: 0.7rem;
    padding: 10px 0 0;
}

#nav_main ul {
    margin: 0 auto;
    overflow: hidden;
    padding: 40px 0 20px;
    width: 700px;
}

#nav_main ul li {
    float: left;
    padding: 0 0 20px 20px;
    width: 33%;
}

#nav_main #nav_main_works li {
    width: 49.5%;
}

#nav_main ul li a {
    align-items: center;
    background-position: center 0;
    background-size: auto 100px;
    background-repeat: no-repeat;
    border: solid 1px #fff;
    color: #fff;
    display: flex;
    flex-direction: column;
    font-family: "Noto Serif JP";
    font-size: 0.85rem;
    font-weight: 300;
    justify-content: center;
    line-height: 1.6;
    text-decoration: none;
    padding: 110px 10px 10px;
}

#nav_main_about li:nth-child(1) a {
    background-image: url("../img/nav/about/about.jpg");
}

#nav_main_about li:nth-child(2) a {
    background-image: url("../img/nav/about/install.jpg");
}

#nav_main_about li:nth-child(3) a {
    background-image: url("../img/nav/about/after.jpg");
}

#nav_main #nav_main_lesson li a,
#nav_main #nav_main_information li a {
    background-position: center 20px;
    background-size: 50px auto;
    padding: 80px 10px 10px;
}

#nav_main_information li:nth-child(1) a {
    background-image: url("../svg/base/megaphone_wh.svg");
}

#nav_main_information li:nth-child(2) a {
    background-image: url("../svg/base/comment_wh.svg");
}

#nav_main_information li:nth-child(3) a {
    background-image: url("../svg/home/member_wh.svg");
}

#nav_main_lesson li:nth-child(1) a,
#home #lesson_list li:nth-child(1) a {
    background-image: url("../svg/lesson/stove_wh.svg")!important;
}

#nav_main_lesson li:nth-child(2) a,
#home #lesson_list li:nth-child(2) a {
    background-image: url("../svg/lesson/fire_wh.svg")!important;
}

#nav_main_lesson li:nth-child(3) a,
#home #lesson_list li:nth-child(3) a {
    background-image: url("../svg/lesson/chimney_wh.svg")!important;
}

#nav_main_lesson li:nth-child(4) a,
#home #lesson_list li:nth-child(4) a {
    background-image: url("../svg/lesson/firewood_wh.svg")!important;
}

#nav_main_lesson li:nth-child(5) a,
#home #lesson_list li:nth-child(5) a {
    background-image: url("../svg/lesson/wood_wh.svg")!important;
}

#nav_main_lesson li:nth-child(6) a,
#home #lesson_list li:nth-child(6) a {
    background-image: url("../svg/lesson/maintenance_wh.svg")!important;
}

#nav_main_lesson li:nth-child(7) a,
#home #lesson_list li:nth-child(7) a {
    background-image: url("../svg/lesson/shopping_wh.svg")!important;
}

#nav_main_lesson li:nth-child(8) a,
#home #lesson_list li:nth-child(8) a {
    background-image: url("../svg/lesson/dictionary_wh.svg")!important;
}

#nav_main_lesson li:nth-child(9) a,
#home #lesson_list li:nth-child(9) a {
    background-image: url("../svg/lesson/cooking_wh.svg")!important;
}

#nav_main #nav_main_showroom li a {
    background-position: center 20px;
    font-size: 0.8rem;
    padding: 110px 0 10px;
    position: relative;
}

#nav_main #nav_main_showroom li a span {
    font-size: 0.75rem;
    position: absolute;
    top: 10px;
    left: 10px;
}

#nav_main_showroom li:nth-child(1) {
    width: 66%;
}

#nav_main #nav_main_showroom li:nth-child(1) a {
    background-image: url("../img/nav/showroom/makioji.png");
    background-position: center 0;
}

#nav_main_showroom li:nth-child(2) {
    clear: both;
}

#nav_main_showroom li:nth-child(2) a {
    background-image: url("../img/nav/showroom/okayama.png");
}

#nav_main_showroom li:nth-child(3) a {
    background-image: url("../img/nav/showroom/kochi.png");
}

#nav_main_showroom li:nth-child(4) a {
    background-image: url("../img/nav/showroom/ehime.png");
}

#nav_main_showroom li:nth-child(5),
#nav_main_showroom li:nth-child(6) {
    width: 25%;
}

#nav_main #nav_main_showroom li:nth-child(5) a,
#nav_main #nav_main_showroom li:nth-child(6) a {
    background-size: 80% auto;
    padding: 75px 0 10px;
}

#nav_main_showroom li:nth-child(5) a {
    background-image: url("../img/nav/showroom/kumamoto.png");
}

#nav_main_showroom li:nth-child(6) a {
    background-image: url("../img/nav/showroom/fukui.png");
}

#nav_main_works li:nth-child(1) a {
    background-image: url("../img/nav/works/works.jpg");
}

#nav_main_works li:nth-child(2) a {
    background-image: url("../img/nav/works/voice.jpg");
}

#nav_sub li {
    font-size: 0;
    position: fixed;
    right: 0;
    z-index: 1;
}

#nav_sub li:nth-child(1) {
    bottom: calc(50% + 5px);
}

#nav_sub li:nth-child(2) {
    top: calc(50% + 5px);
}

#nav_sub li:nth-child(3) {
    position: absolute;
    top: 0;
    height: 100%;
}

#nav_sub li a {
    color: #fff;
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 300;
    text-decoration: none;
}

#nav_sub li:nth-child(1) a,
#nav_sub li:nth-child(2) a {
    border-radius: 3px 0 0 3px;
    letter-spacing: 0.1rem;
    writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
}

#nav_sub li:nth-child(1) a {
    background: #C86346 url("../svg/home/inquiry_wh.svg") center 15px / 20px auto no-repeat;
    padding: 45px 20px 15px;
}

#nav_sub li:nth-child(2) a {
    background: #E3921F url("../svg/base/car_wh.svg") center 17px / 20px auto no-repeat;
    padding: 42px 20px 15px;
}

#nav_sub li:nth-child(3) a {
    background: #300 url("../svg/home/member_wh.svg") center 15px / 30px auto no-repeat;
    font-size: 0.8rem;
    height: 100%;
    padding: 58px 15px 0;
}

@media screen and (max-width: 1180px) and (min-width: 769px) {

    #header {
        text-align: right;
    }

    #nav_main {
        font-size: 0;
        padding: 0 105px 0 0;
        text-align: right;
    }

    #nav_main > li {
        display: inline-block;
        font-size: 0.85rem;
        letter-spacing: 0.05rem;
        padding: 0 10px;
    }

}

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

    #header {
        text-align: left;
        min-width: inherit;
        width: 100%;
    }

    #header h1 {
        height: 70px;
        text-align: left;
        padding: 10px 15px;
        position: static;
        width: auto;
    }

    #header h1 img {
        height: 100%;
        width: auto;
    }

    #header nav p {
        background: #300;
        border: #300 1px solid;
        display: block;
        height: 40px;
        position: absolute;
        right: 15px;
        top: 15px;
        transition: all 0.2s ease-in-out;
        width: 40px;
        z-index: 1000;
    }

    #header.active nav p {
        border: #fff 1px solid;
    }

    #header nav p span {
        background: #fff;
        display: inline-block;
        height: 2px;
        left: 9px;
        position: absolute;
        transition: all .4s ease-in-out;
        width: calc(100% - 18px);
    }

    #header nav p span:nth-of-type(1) {
        top: 11px;
    }

    #header nav p span:nth-of-type(2) {
        top: calc(50% - 1px);
    }

    #header nav p span:nth-of-type(3) {
        bottom: 11px;
    }

    #header.active nav p span:nth-of-type(1) {
        transform: translateY(7px) rotate(-45deg);
    }

    #header.active nav p span:nth-of-type(2) {
        opacity:0;
    }

    #header.active nav p span:nth-of-type(3) {
        transform: translateY(-7px) rotate(45deg);
    }

    #nav_main {
        display: block;
        text-align: left;
    }

    #nav_main > li {
        display: block;
    }

    #header nav > div {
        background: url("../img/home/slider01.jpg") center center / cover;
        display: none;
        height: 100vh;
        left: 0;
        overflow-y: auto;
        position: fixed;
        top: 0;
        width: 100%;
    }

    #header nav > div::before {
        background: rgba(40,0,0,0.8);
        content: "";
        display: block;
        height: 100%;
        left: 0;
        position: absolute;
        top: 0;
        z-index: -1;
        width: 100%;
    }

    #nav_main {
        border-bottom: rgba(255,255,255,0.8) 1px solid;
        padding: 70px 0 0;
        text-align: left;
    }

    #nav_main div {
        background: rgba(20,0,0,0.4);
    }

    #nav_main > li {
        border-top: rgba(255,255,255,0.8) 1px solid;
        display: block;
        font-size: 0.85rem;
        letter-spacing: 0.05rem;
        padding: 0;
    }

    #nav_main li h2 {
        color: #fff;
        padding: 15px;
    }

    #nav_main li h2::after {
        display: none;
    }

    #nav_main div {
        display: none;
        max-height: none!important;
        padding: 0;
        position: static;
        overflow: hidden;
    }

    #nav_main h3 {
        display: none;
    }

    #nav_main ul {
        background: none;
        padding: 0;
        width: 100%;
    }

    #nav_main ul li {
        border-top: rgba(255,255,255,0.7) 1px dotted;
        float: none;
        padding: 0;
        width: 100%!important;
    }

    #nav_main ul li a {
        background-size: auto 100%!important;
        background-position: right 0!important;
        border: none;
        display: block;
        padding: 10px 15px!important;
    }

    #nav_main ul li a br {
        display: none;
    }

    #nav_main #nav_main_lesson li a,
    #nav_main #nav_main_information li a {
        background-position: right 20px center!important;
        background-size: auto 60%!important;
    }

    #nav_main #nav_main_showroom li a span {
        font-size: 0.75rem;
        position: static;
        top: 10px;
        left: 10px;
    }

    #nav_sub {
        padding: 0 0 60px;
    }

    #nav_sub li {
        padding: 0;
        position: static!important;
    }

    #nav_sub li a {
        background: none!important;
        border-bottom: rgba(255,255,255,0.8) 1px solid;
        border-radius: 0!important;
        display: block;
        font-size: 0.95rem!important;
        font-weight: 700;
        letter-spacing: 0.05rem!important;
        padding: 15px!important;
    }

    #nav_sub li:nth-child(1) a,
    #nav_sub li:nth-child(2) a {
        writing-mode: horizontal-tb;
        -ms-writing-mode: horizontal-tb;
    }

}





/* ---------- footer ---------- */

#footer {
    background: #f8f8f8;
}

#footer > p {
	background: #fff url(../svg/base/pagetop.svg) no-repeat center 5px;
	color: #340101;
	cursor: pointer;
	font-size: 0.65em;
	font-weight: bold;
	padding: 15px 0 30px;
	text-align: center;
	transition: 0.3s ease-in-out; 
}

#footer > p:hover {
	background: #fff url(../svg/base/pagetop.svg) no-repeat center 0;
}

#footer > div {
    margin: 0 auto;
    max-width: 1200px;
    padding: 40px 50px 0;
}

#footer h1 {
    background: url("../svg/base/logo.svg") 0 0 / 210px auto no-repeat;
    color: #300;
    font-size: 0.8rem;
    font-weight: 500;
	float: left;
    line-height: 1.8;
	padding: 85px 0 0;
}

#footer section {
	float: right;
}

#footer section li {
	float: left;
	padding: 10px 0 40px 40px;
}

#footer section h2 {
    color: #300;
	font-size: 1.2rem;
    font-weight: 500;
    padding: 0 0 10px;
}

#footer section h2 em {
    background: #300;
    border-radius: 3px;
    color: #fff;
    display: inline-block;
	font-size: 0.8rem;
    font-weight: 500;
    margin: 0 0 0 10px;
    padding: 3px 5px;
    vertical-align: top;
}

#footer section h5 {
	font-size: 0.9rem;
	line-height: 1.6;
    padding: 0 40px 10px 40px;
}

#footer section p {
    padding: 0 0 10px;
}

#footer section p a {
    background: url("../svg/base/phone.svg") 0 center no-repeat;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    padding: 0 0 0 30px;
    text-decoration: none;
}

#footer section dl {
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 2;
}

#footer section dt {
    clear: both;
    float: left;
}

#footer section dt:nth-child(1) {
    display: none;
}

#footer section dt::after {
    content: "/";
    padding: 0 10px;
}

#footer section dd {
    float: left;
}

#footer aside {
    clear: left;
	float: left;	
}

#footer aside ul {
	overflow: hidden;
}

#footer aside li {
	float: left;
	padding: 30px 10px 0 0;
    width: 40px;
}

#footer div div {
	border-top: #ddd 1px solid;
	clear: both;
	overflow: hidden;
	padding: 30px 0 10px;
}

#footer div div p {
	float: right;
	font-size: 0.7em;
	line-height: 20px;
}

#footer div div ul {
	float: left;
	font-size: 0.8em;
	line-height: 20px;
}

#footer div div li {
	float: left;
    padding: 0 30px 0 0;
}

#footer div div li a {
    background: url("../svg/base/navi.svg") 0 center no-repeat;
    display: inline-block;
    padding: 0 0 0 15px;
    text-decoration: none;
}

#footer div div li:last-child a {
	background: url(../svg/base/mail.svg) 0 center / auto 12px no-repeat;
    font-weight: 500;
    padding: 0 0 0 18px;
}

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

    #footer > div {
        padding: 30px 0 0;
    }

    #footer h1 {
        background: url("../svg/base/logo.svg") center 0 / 160px auto no-repeat;
        float: none;
        padding: 70px 0 40px;
        text-align: center;
    }

    #footer section {
        float: none;
    }

    #footer section li {
        float: none;
        padding: 0 0 30px;
        text-align: center;
    }

    #footer section h2 {
        font-size: 1rem;
        padding: 0 0 5px;
    }

    #footer section h2 em {
        font-size: 0.75rem;
    }

    #footer section p {
        padding: 0 10px 5px 0;
    }

    #footer section p a {
        background: url("../svg/base/phone.svg") 0 center / 16px auto no-repeat;
        font-size: 1.2rem;
        padding: 0 0 0 20px;
    }

    #footer section dl {
        overflow: hidden;
        text-align: center;
    }

    #footer section dt {
        display: none;
    }

    #footer section dd {
        display: block;
        float: none;
    }

    #footer section dd:nth-child(4)::before {
        content: "営業時間 / ";
    }

    #footer section dd:nth-child(6)::before {
        content: "休業日 / ";
    }

    #footer section dd:nth-child(8)::before {
        content: "FAX / ";
    }

    #footer aside {
        float: none;
        padding: 10px 0 30px;
        text-align: center;
    }

    #footer aside li {
        display: inline-block;
        float: none;
        padding: 0 5px;
    }

    #footer div div {
    	padding: 0;
    }

    #footer div div p {
        background: #300;
        clear: both;
        color: #fff;
        float: none;
        padding: 5px 0;
        text-align: center;
    }

    #footer div div ul {
    }

    #footer div div li {
        padding: 10px 15px;
        width: 50%;
    }

    #footer div div li:nth-child(2) {
        border-left: #ddd 1px solid;
    }

    #footer div div li:nth-child(3) {
        border-top:  #ddd 1px solid;
        text-align: center;
        width: 100%;     
    }

}





/* ---------- contents ---------- */

main {
    opacity: 0;
    transition: opacity 0.5s ease-in-out 0.5s;
}

main.active {
    opacity: 1;
}

#contents {
	margin: 0 auto;
	max-width: 1140px;
	padding: 0 50px 40px;
}

.section {
	overflow: hidden;
	padding: 0 0 60px;
}

br.sp {
    display: none;
}

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

	#contents {
		padding: 0 20px 30px;
	}

    .section {
        padding: 0 0 30px;
    }

    br.sp {
        display: block;
    }

}





/* ---------- font ---------- */

.catch {
    font-weight: 500;
    letter-spacing: 0.1rem;
    line-height: 2.2;
    padding: 0 0 30px;
    text-align: center;
}

.catch:last-child {
    padding: 0 0 15px;
}

.catch._l {
    font-size: 1rem;
}

.catch._m {
    font-size: 0.9rem;
}

.red {
	color: #F81216;
}

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

    .catch {
        letter-spacing: 0;
        text-align: left;
    }

    .catch br {
        display: none;
    }

}





/* ---------- table ---------- */

.table {
	border-top: #eee 1px solid;
    margin: 10px 0 25px;
	width: 100%;
}

.table tr {
	border-bottom: #eee 1px solid;
}

.table th {
    color: #300;
	font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.6;
	padding: 20px 20px 20px 10px;
	text-align: left;
	vertical-align: middle;
	width: 330px;
}

.table td {
	padding: 20px 10px 0 0;
	vertical-align: middle;
}

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

    .table,
    .table tbody,
    .table tr,
    .table th,
    .table td {
        box-sizing: border-box;
        display: block;
        width: 100%;
    }

    .table th {
        font-weight: 700;
        padding: 20px 10px 10px;
    }

    .table td {
        padding: 0 10px;
    }

}





/* ---------- button ---------- */

.button {
    font-size: 0;
	padding: 20px 0;
	text-align: center;
}

.button li {
	display: inline-block;
	padding: 0 10px;
}

.button a,
.button button {
	background: #300;
	border: none;
    border-radius: 3px;
	color: #fff;
	cursor: pointer;
    display: inline-block;
	font-family: "Noto Sans JP";
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0.2rem;
    line-height: 1;
    min-width: 250px;
    text-decoration: none;
	padding: 15px 30px;
}

.button .back {
	background: #999;
}

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

    .button li {
        width: 50%;
    }

    .button a,
    .button button {
        min-width: inherit;
        padding: 15px 0;
        width: 100%;
    }

}





/* ---------- title ---------- */

#title {
	background: url("../img/home/slider06.jpg") center center / cover no-repeat;
	color: #fff;
	font-size: 0.85rem;
    margin: 0 0 70px;
	padding: 170px 0 80px;
	text-align: center;
}

#title::before {
    content: attr(data-en);
	display: block;
	font-family: "Poppins";
	font-size: 2rem;
	font-weight: 300;
    letter-spacing: 0.05rem;
	padding:0 0 10px;
}

.title_l {
	font-size: 1.3rem;
	font-weight: 500;
	line-height: 1.4;
	padding: 0 0 30px;
	text-align: center;
}

.title_l::after {
    content: attr(data-en);
	display: block;
	font-family: "Poppins";
	font-size: 0.9rem;
	font-weight: 400;
    letter-spacing: 0.1rem;
	padding: 5px 0 0;
}

.title_m {
    color: #300;
	font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.6;
    padding: 0 0 35px;
}

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

    #title {
        margin: 0 0 40px;
        padding: 130px 0 55px;
    }

    .title_l {
        font-size: 1.2rem;
        padding: 0 0 25px;
    }

    .title_l::after {
        font-size: 0.8rem;
    }

    .title_m {
        font-size: 1.1rem;
        padding: 0 0 30px;
    }

}





/* ---------- gallery ---------- */

.gallery {
    overflow: hidden;
    padding: 30px 0 0;
}

.gallery li {
    float: left;
    padding: 0 0 30px;
    width: calc(50% - 15px);
}

.gallery li:nth-child(2n) {
    float: right;
}

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

    .gallery li {
        float: left;
        padding: 0 0 10px;
        width: calc(50% - 5px);
    }

}