@import url(https://unpkg.com/modern-normalize@1.1.0/modern-normalize.css);
@import url(common-style.css);
@import url(header.css);
@import url(footer.css);

/* layout debug */
/* div, main, header, footer, section, article, aside, nav{
  border: 1px dashed #b809f2;
} */
html {
  display: none;
}
/*----------------------------------------
  Page layout
----------------------------------------*/
body {
  display: flex;
  flex-flow: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/*----------------------------------------
	Hero Image container
----------------------------------------*/
.hero__fluid {
  padding-top: 40px;
  background-color: #000;
  width: 100vw;
  height: calc(500 / 844 * 100%);
  min-height: 500px;
  background-image: url(../assets/heroImage.jpg);
  background-position: center;
  background-size: cover;
  /* max-height: 1000px; */
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__fluid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .hero__fluid {
    max-height: 1000px;
  }
}

@media (min-width: 1440px) {
  .hero__fluid {
    height: 1000px;
  }
}

/*----------------------------------------
	front page container
----------------------------------------*/
.index__section-container {
  width: 100%;
  display: flex;
  margin-top: 6.5em;
  flex-direction: column;
}

.index__section-container-inner img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.container-box-center {
  width: calc(340 / 390 * 100%);
  margin-left: auto;
  margin-right: auto;
}

.about-inner {
  width: calc(365 / 390 * 100%);
  margin-left: 0;
  margin-right: auto;
}

.about-inner img {
  border-radius: 0 20px 20px 0;
}

.index__section-container-inner h2 {
  margin-top: 20px;
  margin-bottom: 20px;
}

.container_relative {
  position: relative;
}

.product_title {
  position: absolute;
  margin-top: 20px;
  margin-left: calc(24 / 390 * 100%);
}

.product-inner {
  width: calc(340 / 390 * 100%);
  margin-left: auto;
  margin-right: 0;
}

.product-inner img {
  border-radius: 20px 0 0 20px;
}

.news-image {
  display: none;
}

@media screen and (min-width: 768px) {
  .hero__fluid {
    height: 100vh;
  }

  .about-inner {
    width: calc(770 / 820 * 100%);
    margin-left: 0;
    margin-right: auto;
  }
  .about-inner img {
    max-height: 500px;
  }
  .index__section-container-inner h2 {
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .container-box-center {
    width: calc(720 / 820 * 100%);
  }
}

@media screen and (min-width: 1024px) {
  .index__section-container {
    flex-direction: row;
    justify-content: flex-start;
    align-items: start;
  }

  .index__section-container-inner {
    width: 50%;
  }

  .about-inner {
    flex: 1;
    padding-right: 20px;
  }

  .container-box-center {
    padding-left: 40px;
    padding-right: 40px;
  }

  .product_title {
    position: relative;
  }

  .container-relative {
    max-width: 1700px;
    margin-left: auto;
    margin-right: 0;
  }

  .product-title {
    margin-left: calc(24 / 1024 * 100% * 0);
  }

  .product-inner {
    flex: 0 0 80%;
    /* padding-left: 20px; */
  }

  .news-image {
    display: block;
  }
}

@media screen and (min-width: 1920px) {
  .hero__fluid {
    height: 1000px;
  }

  .index__section-container {
    width: 1920px;
    margin-left: auto;
    margin-right: auto;
  }
  .container-box-center {
    flex: 0 0 900px;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0;
  }

  .product_box {
    flex: 0 0 1510px;
  }
  .inner__right_fit {
    margin-left: calc(24 / 1920 * 100% * 0);
  }

  .about-inner {
    flex: 0 0 800px;
    height: 600px;
    width: 100px;
    margin-right: 70px;
  }
  .about-inner img {
    max-height: 600px;
    border-radius: 30px;
  }
  .product-inner img {
    border-radius: 30px;
  }
}

/* News section */
.news-block {
  border-top: 1px solid #ddd;
  width: 100%;
}

.news-block ul li {
  border-bottom: 1px solud #ddd;
}

.news-block .last {
  border-bottom: 1px solid #ddd;
}

.news-item {
  border-bottom: 1px solid #ddd;
}

.news-tag {
  border: 1px solid #000;
  padding: 5px 10px;
  margin-left: 20px;
}

/*----------------------------------------
	single page container
----------------------------------------*/
.single-article-container {
  margin-top: 80px;
  width: calc((340 / 390) * 100%);
  max-width: 1480px;

  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
}

.single-article-container img {
  border-radius: 20px;
}

.single-article-title h2 {
  letter-spacing: 0.05em;
}

.single-article-main p {
  margin: 0;
  margin-bottom: 1.8em;
}

.single-article-main li {
  font-size: var(--default-font-size-mobile);
  border-bottom: 1px solid #000;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  list-style-type: disc;
  list-style-position: inside;
  padding-left: 0.5em;
}

.single-article-main li:first-child {
  border-top: 1px solid #000;
}

.single-article-main img {
  margin-top: 2.5em;
  margin-bottom: 2.5em;
}

@media screen and (min-width: 768px) {
  .single-article-container {
    margin-top: 175px;
    flex-direction: row;
    justify-content: space-between;
    flex-grow: 1;
    align-items: stretch;
    position: relative;
  }

  .single-article-main li {
    font-size: var(--default-font-size-desktop);
  }

  .single-article-container__inner {
    width: 48%;
    flex-grow: 1;
    align-self: flex-start;
  }
  .single-article-container__inner-side {
    width: 48%;
  }

  .single-article-container__inner:first-child {
    height: 100%;
    flex-grow: 1;
    align-self: flex-start;
  }

  .single-article-title {
    margin-top: 2.5em;
    position: sticky;
    top: 150px;

    /* max-width: 40%; */
  }

  .single-article-title h2 {
    font-size: 3.6em;
  }

  .single-article-main {
    height: calc(100% - 150px);
    overflow-y: auto;
  }

  .single-article-main p {
    font-size: 1.8em;
    line-height: 1.5em;
  }
}

/*----------------------------------------
  page-navigation
----------------------------------------*/
.page-navigation-container {
  width: calc((340 / 390) * 100%);
  max-width: 1480px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
}
.nav-center {
  justify-content: center;
  text-align: center;
}

.page-navigation__inner {
  flex: 0 0 30%;
  align-items: center;
  font-size: 1.8em;
}

.page-navigation__inner-center {
  flex: 40%;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
}

.page-navigation__link {
}
.navigation-prev {
  text-align: left;
}
.navigation-next {
  text-align: right;
  margin-right: 0;
  margin-left: auto;
}

/*----------------------------------------
	List page container
----------------------------------------*/
.product-list-container {
  padding-top: 100px;
  width: 87.1%;
  max-width: 1480px;
  margin-left: auto;
  margin-right: auto;
}
.product-list-title-section {
  margin-bottom: 50px;
}

.product-list-container h2 {
  font-size: 1.8rem;
}

.product-list-title-section ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  font-size: 1.6em;
}
.product-list-title-section ul li {
  margin-right: 20px;
  /* margin-bottom: 20px; */
}

.product-list-container-inner > ul {
  padding-left: 0;
}

/*----------------------------------------
	Card
----------------------------------------*/
.card {
  display: block;
  /* border: 1px solid #e7e7e7; */
  border-radius: 5px;
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}
.card__thumb {
  overflow: hidden;
}
.card__thumb img {
  max-width: none;
  width: 100%;
  border-radius: 5px 5px 0 0;
  transition: transform 0.3s;
}
.card__title {
  margin: 0;
  font-size: 1.8rem;
  margin-top: 20px;
}
.card__txt {
  margin: 20px 0px;
  font-size: 1.4rem;
  line-height: 1.5;
}
/*hover*/
.card:hover {
  color: #ddd;
}
.card:hover .card__thumb img {
  transform: scale(1.1);
}

/*----------------------------------------
	CardList
----------------------------------------*/
.cardList {
  display: flex; /*flexbox化*/
  flex-direction: column; /* 縦並びにする*/
  margin-top: -20px; /*1行目の上マージンを相殺*/
}
.cardList__item {
  margin-top: 20px;
}
/*2カラム*/
@media screen and (min-width: 767px), print {
  .cardList {
    flex-direction: row; /*横並びにする*/
    justify-content: space-between; /*アイテムを両端に揃えて均等配置*/
    flex-wrap: wrap; /*折り返して複数行にする*/
  }
  .cardList__item {
    width: calc((100% - 20px) / 2); /*アイテムの幅を指定*/
  }
}
/*3カラム*/
@media screen and (min-width: 992px), print {
  .cardList__item {
    width: calc((100% - 40px) / 3);
  }
  .cardList::after {
    /*最終行を左詰めにする*/
    content: "";
    display: block;
    width: calc((100% - 40px) / 3);
  }
}
/*4カラム*/
@media screen and (min-width: 1200px), print {
  .cardList__item {
    width: calc((100% - 60px) / 4);
  }
  .cardList::before,
  .cardList::after {
    /*最終行を左詰めにする*/
    content: "";
    display: block;
    width: calc((100% - 60px) / 4);
  }
  .cardList::before {
    order: 1; /*before疑似要素を末尾に移動*/
  }
}

/*----------------------------------------
	Contact Form
----------------------------------------*/
.contact-form h2 {
  font-size: 2.4em;
}

h2.contact-info-title {
  font-size: 1.8em;
  padding-bottom: 0px;
}

p.contact-info {
  font-size: 1.4em;
  line-height: 1.8em;
  margin-bottom: 20px;
}

.contact-form label {
  font-size: 1.4em;
  margin-bottom: 10px;
}

.contact-form input {
  width: 100%;
  margin-top: 10px;
  margin-bottom: 40px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 2.4em;
}

.contact-form textarea {
  width: 100%;
  height: 300px;
  margin-top: 10px;
  margin-bottom: 40px;
  border: 1px solid #ddd;
  font-size: 1.8em;
}

.contact-form input.submit {
  width: 100%;
  height: 50px;
  font-size: 2em;
  letter-spacing: 1.5;
  background-color: #707070;
  color: #fff;
  border: none;
  border-radius: 5px;
}

.contact-form p {
  font-size: 1.4em;
}

input.wpcf7-submit {
  font-size: 1.4em;
  width: 100%;
  height: 50px;
  color: #fff;
}

@media screen and (min-width: 768px) {
  h2.contact-info-title {
    font-size: 2.4em;
    padding-bottom: 30px;
  }

  p.contact-info {
    font-size: 1.6em;
    line-height: 2.2em;
    margin-bottom: 50px;
  }

  .contact-form label {
    font-size: 1.8em;
    margin-bottom: 10px;
  }

  .contact-form input {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 40px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 2.4em;
  }

  .contact-form textarea {
    width: 100%;
    height: 300px;
    margin-top: 10px;
    margin-bottom: 40px;
    border: 1px solid #ddd;
    font-size: 1.8em;
  }

  .contact-form input.submit {
    width: 100%;
    height: 50px;
    font-size: 2em;
    letter-spacing: 1.5;
    background-color: #707070;
    color: #fff;
    border: none;
    border-radius: 5px;
  }

  .contact-form p {
    font-size: 1.4em;
  }
  input.wpcf7-submit {
    font-size: 1.6em;
  }
}

@media screen and (min-width: 1024px) {
  p.contact-info {
    font-size: 1.8em;
    line-height: 2.2em;
  }

  .contact-form label {
    font-size: 14pt;
    margin-bottom: 10px;
  }

  .contact-form input {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 40px;
    font-size: 2em;
  }

  input.wpcf7-submit {
    font-size: 1.8em;
    width: 100%;
    height: 50px;
    color: #fff;
  }

  .contact-form textarea {
    width: 100%;
    height: 300px;
    margin-top: 10px;
    margin-bottom: 40px;
    font-size: 1.8em;
  }

  .contact-form input.submit {
    width: 100%;
    height: 50px;
    font-size: 2em;
    letter-spacing: 1.5;
    border-radius: 5px;
  }

  .contact-form p {
    font-size: 1.4em;
  }
}
