@charset "UTF-8";
/* CSS Document */
.tameshi {
  position: sticky;
  top: 100px;
  height: 700px;
}
.tameshi2 {
  position: sticky;
  top: 100px;
  height: 700px;
}
/*.koaminaka-logo:before {
  content: '';
  position: absolute;
  top: 70%;
  display: inline-block;
  /*width: 1150px;
  height: 2px;
  background-color: #6c0121;
}*/
.koaminaka-logo:before {
  left: 50px;
}
.koaminaka-logo:after {
  right: 0;
}
.nav li {
  list-style: none;
  display: inline;
  margin-left: 20px;
}
#nav-drawer {
  position: absolute;
  top: 20px;
  right: 0;
}
.about_koaminaka img {
  width: 100%;
}
.p_p {
  display: flex;
  margin: 0 10% 0 10%;
}
.passion h1 {
  text-align: center;
  padding: 20px;
  font-family: 'Zen Old Mincho', serif;
  font-size: 3.6rem;
  margin-top: 250px;
  border-bottom: 8px solid #6c0121;
  width: 30%;
  margin-left: auto; /* 中央寄せにするため */
  margin-right: auto; /* 中央寄せにするため */
}
.english_title {
  text-align: center;
  font-weight: 100;
  font-size: 2.4rem;
  margin-bottom: 240px;
  padding: 10px;
}
.passion h2 {
  text-align: center;
  font-family: 'Zen Old Mincho', serif;
  font-size: 3.6rem;
  margin-top: 80px;
  margin-bottom: 80px;
  writing-mode: vertical-lr;
  padding-left:110px;
}
.passion {
  margin-bottom: 200px;
}
.p_p_contents {
  width: 50%;
  text-align: center;
}
.p_p_contents img {
  width: 100%;
  margin-bottom: 20px;
}
.p_p h2 {
  width: 50%;
}
.p_p_contents h3 {
  font-family: 'Zen Old Mincho', serif;
  
}
.p_p_contents p {
  font-weight: 300;
  text-align: left;
}
.p_p_wrap {
  margin-bottom: 80px;
}
.passion_title_inner{
  display: flex;
  align-items: center;
  gap:3%;
  margin:0 0 30px;
}
.number {
  border: solid 1px #454545;
  display: inline-block;
  margin-right: 50px;
  padding: 10px;
}
.product h2 {
  font-family: 'Zen Old Mincho', serif;
  font-size: 3.6rem;
  margin-right: 70px;
  padding-bottom: 30px;
  writing-mode: vertical-lr;
  width: 30%;
  /*  text-align: match-parent;*/
  padding: 200px 30px 0 200px;
}
.product {
  display: flex;
  flex-direction: row-reverse;
}
.product h3 {
  margin-bottom: 30px;
}
.product_3 {
  width: 70%;
}
.product_3 h3 {
  font-family: 'Zen Old Mincho', serif;
  font-size: 2.4rem;
}
.product_3 img {
  width: 50%;
  margin-left: 100px;
  margin-bottom: 50px;
}
.p3_contents {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
}
.product_wrap {
  display: flex;
  flex-direction: row-reverse;
  font-weight: 300;
  margin: 0 0 50px 50px;
}
@media screen and (max-width: 820px) {
  .passion h1 {
    font-size: 2.4rem;
    width: 40%;
    padding: 0 0 20px;
  }
  .english_title {
    font-size: 1.8rem;
    margin-bottom: 100px;
  }
  .passion {
    margin-bottom: 100px;
  }
  .passion h2 {
    font-size: 2.4rem;
    padding-left: 0;
  }
  .tameshi {
    height: 100%;
    margin-bottom: 100px;
  }
  .p_p {
    flex-direction: column;
  }
  .p_p h2 {
    writing-mode: horizontal-tb;
    width: 100%;
    height: 100%;
    margin-bottom: 200px;
  }
  .p_p_contents {
    width: 100%;
  }
  .p_p_contents h3 {
    font-size: 1.4rem;
    height: 100%;
  }
  .p_p_wrap h3 {
    text-align:left;
    width: 104%;
  }
  .tameshi2 {
    position: static;
  }
  .tameshi {
    writing-mode: horizontal-tb;
    position: static;
  }
  .product {
    flex-direction: column;
  }
  .product h2 {
    font-size: 2.4rem;
    writing-mode: horizontal-tb;
    width: 100%;
    padding: 0;
    /*    margin-left:160px;*/
    margin-right: 0;
    text-align: center;
  }
  .product_wrap {
    flex-direction: column;
    width: 100%;
  }
  .p3_contents {
    margin-bottom: 20px;
  }
  .p3_contents h3 {
    margin-bottom: 10px;
    font-size: 1.8rem;
  }
  .product_3 img {
    width: 80%;
    margin-left: 30px;
    margin-top: 20px;
  }
  .number{
    margin-right: 20px;
    width:40%;
  }
}