@charset "utf-8";

*,
*::after,
*::before {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

/* 2b1716 f6cb97 bd6939*/

body{
	font-family: "M PLUS Rounded 1c", sans-serif;
	color: #2b1716;
}
a{
	text-decoration: none;
	color: #2b1716;
}

.html {
  font-size: 62.5%;
}

.navbar input[type="checkbox"],
.navbar .hamburger-lines {display: none;}

.navbar {
  box-shadow: 0px 5px 10px 0px #ccc;
  position: fixed;
  width: 100%;
  background: #fff;
  color: #2b1716;
  opacity: 0.75;
  height: 50px;
  z-index: 12;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  max-width: 1600px;
  height: 64px;
  margin: 0 auto;
  align-items: center;
}

.menu-items {
  order: 2;
  display: flex;
  margin-right: .5rem;
}

.menu-items li {
  list-style: none;
  margin-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.menu-items a {
  font-weight: 500;
  transition: color 0.3s ease-in-out;
}

.menu-items a:hover {
  transition: color 0.3s ease-in-out;
}

.logo {
  order: 1;
  font-size: 1.6rem;
  margin: 0 0 .5rem .5rem;
}

header{
	max-width: 1600px;
	margin: 0 auto 3rem;
	padding-top: 50px;
}

.MV{
	display: grid;
	margin: 0 auto 3rem;
	width: 100%;
	max-width: 1600px;
}
.MV-img{
  justify-self: stretch;
  grid-column-start: 1;
  grid-row-start: 1;
}
.MV-txt{
  justify-self: center;
  align-self: center;
  grid-column-start: 1;
  grid-row-start: 1;
  color: #fff;
  text-align: center;
  text-shadow: 2px 2px 1px #2b1716;
}
.MV-txt div{
	max-width: 14rem;	
}
.lead{
	margin: 0 auto;
	max-width: 800px;
	text-align: center;
}

ul.menu{
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: 3rem;
	row-gap: 3rem;
	width: 100%;
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 3rem;
}
#flow a, #about a, #achive a, #contact a{
	text-decoration: none;
}
.item{
	display: grid;
}
.item img{
	opacity: 0.8;
	vertical-align: bottom;
}
.item div:first-child{
  justify-self: stretch;
  grid-column-start: 1;
  grid-row-start: 1;
	z-index: 1;
}
.item div:nth-child(2){
  justify-self: center;
  align-self: center;
  grid-column-start: 1;
  grid-row-start: 1;
	background-color: rgba(255, 255, 255, 0.75);
	width: 90%;
	height: 90%;
	z-index: 5;
	transition: all 0.4s;
}
.item div:nth-child(2):hover{
	background-color: rgba(255, 255, 255, 1);
}
.item div:last-child{
  justify-self: center;
  align-self: center;
  grid-column-start: 1;
  grid-row-start: 1;
	z-index: 10;
	text-align: center;
}

.history{
	margin: 3rem auto 0;
	padding: 0 3rem;
	width: 100%;
	max-width: 1600px;
}

.history button{
	display: block;
	background-color: #2b1716;
	margin: 1.5rem auto 0;
	border: #2b1716 1px solid;
	border-radius: 10px;
	transition: all 0.4s;
}
.history button:hover{
	background-color: #ffffff;
	border: #2b1716 1px solid;
}
.history button a:hover p{
	color: #2b1716;
}
.history button p{
	padding: .75rem 1.5rem;
	color: #ffffff;
}

#note-rss-container{
	margin-top: .75rem;
	border-top: 1px #444 solid;
	padding-top: .75rem;
}
.note-article{
	margin-bottom: .75rem;
}

.note-article a:hover{
	text-decoration: underline;
}

footer{
	background-color: #444;
	margin-top: 3rem;
	width: 100%;
	color: #fff;
}
footer a{
	color: #fff;
}

.sp-footer{
	margin: 0 auto;
	padding-top: 3rem;
	width: 100%;
	max-width: 1600px;
	text-align: center;
}
.sp-footer p{
	padding: 1rem 0;
	font-size: 0.8rem;
}

.repair, .about, .achive, .contact{
	width: 100%;
	max-width: 1600px;
	margin: 0 auto 3rem;
	padding: 0 3rem;
}
.repair h2{
	color: #2b1716;
	text-align: center;
	margin-bottom: 1.5rem;
}

.subject ul{
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: 3rem;
	row-gap: 1.5rem;
}
.subject li{
	display: grid;
	place-content: center;
	place-items: center;
	background-color: #2b1716;
	border-radius: 10px;
	width: 100%;
	height: 100px;
	color: #ffffff;
	font-weight: 600;
}

.service-pc{
	background-color: #2b1716;
	border-radius: 10px;
	color: #ffffff;
}
.service-pc ul{
	list-style: none;
	display: grid;
	grid-template-columns: 3fr 2fr 2fr;
	border-bottom: #ffffff 1px dashed;	
	font-weight: 600;
}
.service-pc ul:first-child{
	border-bottom: #ffffff 1px solid;
	color: #f6cb97;
}
.service-pc ul:last-child{
	border: none;
}
.service-pc li{
	display: grid;
	place-content: center;
	place-items: center;
	padding: 0.75rem;
}
.service-pc li span{
	display: block;
	font-size: 0.8rem;
	font-weight: 400;
}
.service-sp{
	display: none;
}

.service-sp ul{
	list-style: none;
	display: grid;
	grid-template-columns: 3fr 2fr;
	background-color: #2b1716;
	border-radius: 10px;
	margin-bottom: 1.5rem;
	color: #ffffff;
	font-weight: 600;
}
.service-sp li{
	display: grid;
	place-content: center;
	place-items: center;
	padding: 0.75rem;
}
.service-sp ul li:first-child{
	display: grid;
	grid-column-start: 1;
	grid-column-end: 3;
	grid-row-start: 1;
	border-bottom: 1px #ffffff solid;
	color: #f6cb97;
}
.service-sp ul li:nth-child(2), .service-sp ul li:nth-child(3){
	border-bottom: 1px #ffffff dashed;
}
.service-sp li span{
	font-size: 0.8rem;
	font-weight: 400;
	color: #ffffff;
}

.flow div div{
	background-color: #2b1716;
	border-radius: 10px;
	margin-bottom: 1.75rem;
	padding: 1.25rem;
	color: #ffffff;
}
.flow h3{
	color: #f6cb97;
	text-align: center;
	letter-spacing: .225rem;
}
.flow p{
	font-size: 0.9rem;
	text-align: center;
}
.flow ul{
	margin: .75rem auto 0;
	padding: 0 1.5rem;
	width: 40rem;
	list-style: none;
}

.about.flow div div{
	margin-bottom: 0;
}
.about.flow p{
	margin-bottom: 1rem;
	font-size: 1rem;
	text-align: left;
}

.contact div div div{
	display: grid;
    background-color: #bd6939;
    border: #bd6939 1px solid;
    border-radius: 10px;
    margin: .75rem 0;
	padding: 0;
    font-weight: 600;
    transition: all 0.4s;
}
.contact div div div:hover{
	background-color: #ffffff;
    border: #ffffff 1px solid;
}
.contact a{
	display: grid;
	padding: 1.5rem 0.75rem;
	color: #ffffff;
	font-weight: 600;
	place-content: center;
	place-items: center;
}
.contact a:hover{
	color: #bd6939;
}

.achive dl{
	margin-top: 1.5rem;
}
.achive dt, .achive dd{
	padding: 0 1rem 0 1rem;
}
.achive dt{
	font-weight: 800;
}
.achive dd{
	margin-bottom: 1rem;
}
.achive .gear-img{
	text-align: center;
}
.achive .gear{
	background-color: #fff;
    display: grid;
    grid-template-rows: repeat(2, 1fr);
	grid-template-columns: repeat(2, 1fr);
    column-gap: 1rem;
	grid-auto-flow: column;
	border-radius: 8px;
	color: #2b1716;
}
.achive .gear dt, .achive .gear dd{
	display: grid;
    place-content: center;
    place-items: center;
    width: 100%;
    height: 35px;
	margin-bottom: 0;
}
.achive .gear dt{
    font-weight: normal;
}
.achive .gear dd{
	font-size: 1.2rem;	
    font-weight: 800;
}

.achive .mod{
	background-color: #fff;
    display: grid;
    grid-template-rows: repeat(1, 1fr);
    column-gap: 1rem;
	border-radius: 8px;
	color: #2b1716;
}
.achive .mod dt, .achive .mod dd{
	display: grid;
    place-content: center;
    place-items: center;
    width: 100%;
    height: 35px;
	margin-bottom: 0;
}
.achive .mod dt{
    font-weight: normal;
}
.achive .mod dd{
	font-size: 1.2rem;	
    font-weight: 800;
}

#link{
    margin: 0 auto 3rem;
	border-top: #000 1px solid;
    padding: 1.5rem 3rem 0;
	width: 100%;
    max-width: 1600px;
}
#link div{
	display: grid;
	background-color: #bd6939;
	border: #bd6939 1px solid;
	border-radius: 10px;
	margin-bottom: 1.5rem;
	font-weight: 600;
	transition: all 0.4s;
}
#link div:hover{
	background-color: #ffffff;
}
#link div a{
	display: grid;
	place-content: center;
	place-items: center;
	padding: 1.5rem 0.75rem;
	color: #ffffff;
}
#link div a:hover{
	color: #bd6939;
}

.sp{
	display: none;
}
/* ......../ media query /.......... */

@media (max-width: 768px) {
  .navbar {
    opacity: 0.8;
  }

  .navbar-container input[type="checkbox"],
  .navbar-container .hamburger-lines {
    display: block;
  }

  .navbar-container {
    display: block;
    position: relative;
    height: 64px;
  }

  .navbar-container input[type="checkbox"] {
    position: absolute;
    display: block;
    height: 32px;
    width: 30px;
    top: 20px;
    left: 20px;
    z-index: 5;
    opacity: 0;
  }

  .navbar-container .hamburger-lines {
    height: 23px;
    width: 35px;
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
	display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .navbar-container .hamburger-lines .line {
    display: block;
    height: 3px;
    width: 100%;
    border-radius: 3px;
    background: #444;
  }

  .navbar-container .hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
  }

  .navbar-container .hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
  }

  .navbar-container .hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
  }

  .navbar .menu-items {
    padding-top: 100px;
    background: #fff;
    height: 100vh;
    max-width: 300px;
    transform: translate(-150%);
    display: flex;
    flex-direction: column;
    margin-left: -40px;
    padding-left: 50px;
    transition: transform 0.5s ease-in-out;
  }

  .navbar .menu-items li {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 500;
  }

  .logo {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.2rem;
  }

  .navbar-container input[type="checkbox"]:checked ~ .menu-items {
    transform: translateX(0);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    transform: rotate(35deg);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    transform: scaleY(0);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(-35deg);
  }
	.lead{
		padding: 0 1.5rem;

	}
	ul.menu{
		grid-template-columns: repeat(1, 1fr);
	}
	
	.subject ul{
		grid-template-columns: repeat(1, 1fr);
	}
	.service-pc{
		display: none;
	}
	.service-sp{
		display: block;
	}
	.achive .gear{
		display: grid;
		grid-template-rows: repeat(1, 1fr);
		grid-template-columns: repeat(1, 1fr);
		grid-auto-flow: row;
	}
	.achive .gear dt, .achive .gear dd{
		display: grid;
		width: 100%;
		margin-bottom: 0;
	}
	.achive .gear dt{
		margin-bottom: -5px;
	}
	.achive .gear dd, .achive .mod dd{
		height: auto;
		text-align: center;
	}
	.flow ul{
		padding: 0 1rem;
		width: 100%;
		font-size: 0.8rem;
	}
	.sp{
		display: inline;
	}
	
}