@charset "utf-8";
/* rset.css */

/**
 * YUI 3.5.0 - reset.css (http://developer.yahoo.com/yui/3/cssreset/)
 * http://cssreset.com
 * Copyright 2012 Yahoo! Inc. All rights reserved.
 * http://yuilibrary.com/license/
 */
/*
	TODO will need to remove settings on HTML since we can't namespace it.
	TODO with the prefix, should I group by selector or property for weight savings?
*/
html{
	color:#000;
	background:#FFF;
}
/*
	TODO remove settings on BODY since we can't namespace it.
*/
/*
	TODO test putting a class on HEAD.
		- Fails on FF.
*/
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td {
	margin:0;
	padding:0;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}
fieldset,
img {
	border:0;
}
/*
	TODO think about hanlding inheritence differently, maybe letting IE6 fail a bit...
*/
address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
	font-style:normal;
	font-weight:normal;
}

ol,
ul {
	list-style:none;
}

caption,
th {
	text-align:left;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	font-size:100%;
	font-weight:normal;
}
q:before,
q:after {
	content:'';
}
abbr,
acronym {
	border:0;
	font-variant:normal;
}
/* to preserve line-height and selector appearance */
sup {
	vertical-align:text-top;
}
sub {
	vertical-align:text-bottom;
}
input,
textarea,
select {
	font-family:inherit;
	font-size:inherit;
	font-weight:inherit;
}
/*to enable resizing for IE*/
input,
textarea,
select {
	*font-size:100%;
}
/*because legend doesn't inherit in IE */
legend {
	color:#000;
}
/* YUI CSS Detection Stamp */
#yui3-css-stamp.cssreset { display: none; }


/* style.css */

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

html {
    font-size: 62.5%;
}
body {
    color: #141414;
    font-size: 1.4rem;
    line-height: 1.8;
    letter-spacing: 0.05em;
    font-family:  'Roboto', sans-serif, 'Noto Sans JP', sans-serif;
}
.noscroll {
    overflow: hidden;
}
img {
    width: 100%;
    vertical-align: bottom;
}
a {
    text-decoration: none;
    color: #fff;
}
.section-title {
    font-size: 3.6em;
    font-weight: bold;
    text-align: center;
    letter-spacing: 0.05em;
    margin-bottom: 3rem;
}
h3 {
    font-size: 2.4rem;
    font-weight: bold;
    line-height: 2;
    letter-spacing: 0.1em;
    margin-bottom: 40px;
}
.section-wrapper {
    padding: 100px 10% 50px;
}

/*header*/

.header {
    background-color: #1B1310;
    color: #fff;
    height: 74px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 120px;
    border-bottom: 1px solid #fff;
}
.nav-list {
    display: flex;
}
.nav-item {
    margin-right: 55px;
}
.burger-btn {
    display: none;
}

/*fv*/
.fv {
    height: 90vh;
    background-image: url(../img/shutterstock_1105075202.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.main-copy {
    font-size: 5rem;
    color: #fff;
    font-weight: bold;
    border: 2px solid #fff;
    padding: 34px 42px;
}

/*service*/
.text-wrapper_service .img-wrapper_service {
    max-width: 480px;
    
}


.content-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}
.reverse {
    margin-top: 50px;
    flex-direction: row-reverse;
}
.section-text_service {
    margin-bottom: 2rem;
}

/*news*/
.card-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-item {
   
    max-width: 320px;
    box-shadow: 0px 0px 6px rgba(27, 19, 16, 0.4);
    margin-right: 10px;
}

.text_news {
    color: #141414;
    padding: 33px 25px
}
.card-img{
    width: 100%;
    
}

/*contact*/

.form {
    margin: 0 auto;
    max-width: 700px;
}

input, textarea {
    border: 1px solid #141414;
    border-radius: 5px;
    font-size: 1rem;
    line-height: 1.6;
    padding: 10px;
}
label {
    margin-bottom: 5px;
}

.form-part {
    display: flex;
    flex-direction: column;
    margin-top: 25px;
}
textarea {
    height: 171px;
    resize: none;
}
.form-send {
    margin-top: 50px;
    text-align: center;
}
.form-btn {
    background-color: #1b1310;
    border-radius: 30px;
    box-shadow: 0 0 6px #1b1310;
    color: #fff;
    display: inline-block;
    font-size: 1.4rem;
    font-weight: bold;
    padding: 20px 97px;
    text-align: center;
    width: 235px;
}

/*footer*/

footer {
    background-color: #1b1310;
    height: 80px;
}
small {
    display: block;
    text-align: center;
    color: #fff;
    padding-top: 30px;
}


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

h3 {
    font-size: 2rem;
    margin-bottom: 30px;
}
.section-wrapper {
    padding: 100px 4vw 50px;
}

/*hunberger-menu*/
.header {
    padding: 0 5%;
}
.burger-btn {
    display: block;
    width: 39px;
    height: 39px;
    position: relative;
    z-index: 3;
    background-color: transparent;
    border: none;
}
.bar {
    width: 20px;
    height: 1px;
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
}
.bar_top {
    top: 10px;
}
.bar_mid {
    top: 50%;
    transform: translate(-50%,-50%);
}
.bar_bottom {
    bottom: 10px;
}
.burger-btn.close .bar_top {
    transform: translate(-50%,10px) rotate(45deg);
    transition: transform .3s;
}
.burger-btn.close .bar_mid {
    opacity: 0;
    transition: opacity .3s;
}
.burger-btn.close .bar_bottom {
    transform: translate(-50%,-8px) rotate(-45deg);
    transition: transform .3s;
}
.nav-wrapper {
    display: none;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;

}
.header-nav {
    width: 100%;
    height: 100%;
    background-color: #1b1310;
    z-index: 2;
}
.header-nav .nav-list {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}
.header-nav .nav-item {
    margin-right: 0;
    margin-bottom: 40px;
}

/*fv*/

.main-copy {
    font-size: 3rem;
}
/*service*/

.content-inner {
    flex-direction: column;
    margin: 50px auto;
}
.img-wtapper_service {
    margin-top: 40px;
}
.img-wrapper_service img {
    width: 100%;
    object-fit: cover;
}

/*news*/
.card-list {
    flex-direction: column;
}
.card-item {
    margin: 50px 0 0;
}
.card-list li:first-child {
    margin-top: 0;
}

}