@charset "utf-8";

/******* リセット記載 ******/
* {
  padding: 0;
  margin: 0;
}

body {
  font-family: sans-serif;
  line-height: 1;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  display: block;
}


img {
  max-width: 100%;
  vertical-align: bottom;
}

/******* リセット記載終了 ******/

.container{
  max-width: 960px;
  margin-inline: auto;
  display: flex;
  justify-content:
  space-between;
  padding-inline: 10px;
}

header h1{
  background: url(../img/logo.png) no-repeat left center;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

header p {
  color: #000;
  line-height: 46px;
}

header .container {
  align-items: center;
  padding-block: 10px;
}

/*キービジュアル  */

.key span,.key2 span,.key3 span{
  font-size: 2.2em;
  line-height: 1.2;
}

.key {
  padding-block: 120px;
  background: url(../img/sofa.jpg) no-repeat center top/cover;
}
.key2 {
  padding-block: 120px;
  background: url(../img/sofa_2.jpg) no-repeat center top/cover;
}
.key3 {
  padding-block: 120px;
  background: url(../img/sofa_3.jpg) no-repeat center top/cover;
}

.key .container,.key2 .container,.key3 .container{
  display: block;
  color: #fff;
  font-family: 'Dancing Script', cursive;
  text-shadow: 2px 2px 2px #8c0000;
}

.key p,.key2 p,.key3 p {
  font-size: 2.2em;
}


.wrap{
  display: flex;
  justify-content: space-between;
  padding: 30px 0 50px 0;
}

main {
  width: calc(100% * (630/960));
}

main img{
  width: fit-content;
}

.sub {
  width: calc(100% * (300/960));
}



/* -------ナビゲーション------- */

.pcnav{
  background: linear-gradient(0deg, #8c0000, #ec1d1d);
  color: #fff;  
}

.pcnav li{
  text-align: center;
  line-height: 50px;;
  width: 20%;
  font-size: 14px;
}

/* -------実際は罫線の分1px膨らんでいるのでaに入れてる------- */
.pcnav a{
  border-left: 1px solid #fff;  
}
/* -------最後だけ指定して線を入れている------- */
.pcnav li:last-child a {
  border-right: 1px solid #fff;
}

/* スマホ用ナビゲーション */
.btn, .spnav{
  display: none;
}

.pcnav a:hover{
  background: linear-gradient(to top, #8c0000 60%, #ec1d1d)
}


/* -------ナビゲーション------- */


/* -------メインメニュー------- */

main h2{
  font-size: 28px;
  color: #8c0000;
  margin-bottom: 10px;
  border-bottom:1px solid #ccc;
}

h3{
  color: #d30;
  font-size: 20px;
}

main img{
  object-fit: cover;
  width: auto;
  border: 10px solid #8c0000;
  box-sizing: border-box;
}

main span{
font-size: 20px;
color: #d30;
font-weight: bold;
}


main p+p{
  line-height: 1.7;
  padding-top: 10px;
}


/* -------サブメニュー------- */

.sub ul{
  border-bottom: 1px solid #ccc;
}

.sub ul li a{
  background: url(../img/listmark.png) no-repeat left center;
  border-top: 1px solid #ccc;
  line-height: 50px;
  padding-left: 20px;
  transition: 500ms;
}

.sub a:hover {
  background-color: #fdc;
  padding-left: 20px;
}

.sub h2{
  font-family: 'Dancing Script', cursive;
  color: #8c0000;
  font-size: 40px;
  margin-bottom: 10px;
}

.sub img{
  margin-top: 50px;
}

/* -------サブメニュー------- */



/* -------フッター------- */

footer{
  background: #d30;
}

footer p{
  padding-block: 30px;
  color: #fff;
}


/* ================================================== 

Media Query                         

================================================== */

@media screen and (max-width:743px) {

.container {
  padding: 0 20px;
  display: block;
  }

body{
  position: relative;
}

.btn {
  display: block;
  width: 40px;
  height: 40px;
  border: 1px solid #d30;
  border-radius: 5px;
  text-align: center;
  font-size: 35px;
  position: fixed;
  top: 5px;
  right: 5px;
  color: #d30;
  overflow: hidden;
}

.btn i {
  display: block;
  line-height: 40px;
}

.close i:first-child{
  display: none;
}


header h1{
  margin: 0 auto;
}

header p {
  display: none;
  }

main,.sub {
  width: auto;
}

.pcnav{
  display: none;
}

.pcnav li:last-child a {
  border-right: none;
}

.spnav{
  display: block;
  position: fixed;
  top: 52px;
  width: 100%;
  left: 100%;
  transition: 300ms;
}

.slide{
  left: 0;
}

.spnav li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  line-height: 70px;
  font-size: 24px;
  text-align: center;  
}

.spnav a {
  background-color: rgba(200, 50, 0, 0.8);
  color: #fff;
}


/* -------メインメニュー------- */

main h2 {
  font-size: 28px;
  color: #8c0000;
  margin: 20PX 0 10PX 0;
  border-bottom: 1px solid #ccc;
  text-align: center;
}

h3 {
  color: #d30;
  font-size: 20px;
}

main img {
  width: auto;
  border: 10px solid #8c0000;
  box-sizing: border-box;
  margin-inline: auto;
  display: block;
}

main span {
  font-size: 14px;
  color: #d30;
  font-weight: bold;
}

main p+p {
  line-height: 1.7;
  padding: 10px 0;
  font-size: 14px;
}


/* -------サブメニュー------- */

.sub ul {
  border-bottom: none;
}


.sub ul li {
  line-height: 50px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
  text-indent: 1em;
}

.sub ul li a{
  background: url(../img/listmark.png) no-repeat no-repeat left 10px center/ auto;
  border-top:none;
}


.sub h2 {
  font-family: 'Dancing Script', cursive;
  color: #8c0000;
  font-size: 2em;
  text-align: center;
}

.sub img {
  width: auto;
  margin-inline: auto;
  display: block;
}

footer{
  text-align: center;
  margin-top: 10px;
  padding: 20px 0 30px;
}

}

/* ================================================== 

Media Query 2                         

================================================== */

@media (max-width:400px) {

  .keyVis .container {
    font-size: 36px;
  }

  .keyVis span {
    font-size: 80px;
  }

}