@charset "utf-8";

/* 基本 */

body {
  margin: 0;
  background-color: #eeeeee;
  color: #222222;
  font-family: sans-serif;
  font-size: 16px;
}

/* ページ背景を白にする */

.bg-white {
  background-color: #ffffff;
}

:root {
  --v-space: clamp(90px, 9vw, 120px);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6, p, figure, ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  line-height: 1.8;
}


/* 横幅と左右の余白 */

.w-container {
  width: min(92%, 1166px);
  margin: auto;
  position: relative;
}

/* リンクの設定 */

a {
  color: #b72661;
  text-decoration: none;
  font-size: 16px;
}

a:hover {
  text-decoration: underline;
}

a:visited {
  color: #de6c50;
}


/* ヘッダー */

.header {
  height: 112px;
  background-color: #ffffff;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}



/* ナビゲーションボタン */

.navbtn {
  padding: 0;
  outline: none;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #aaaaaa;
  font-size: 30px;
}

.open .navbtn {
  z-index: 110;
  color: #ffffff;
}

.navbtn .fa-bars {
  display: revert;
}

.open .navbtn .fa-bars {
  display: none;
}

.navbtn .fa-times {
  display: none;
}

.open .navbtn .fa-times {
  display: revert;
}
  
  @media (min-width: 768px) {
    .navbtn {
      display: none;
    }
  }

/* ナビゲーションメニュー：モバイル */

@media (max-width: 767px){
  .nav {
    position: fixed;
    inset: 0 -100% 0 100%;
    z-index: 100;
    background-color: #4e483ae6;
    transition: transform 0.3s;
  }
  
  .open .nav {
    transform: translate(-100%, 0)
  }
  
  .open body {
    position: fixed;
    overflow: hidden;
  }
  
  .nav ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 40px;
  }
  
  .white a {
    color: #ffffff;
  }
}


/* ナビゲーションメニュー：PC */

@media (min-width: 768px) {
  .nav ul {
    display: flex;
    gap: 40px;
  }
  
  .white a {
    color: #707070;
  }
}

/* ヒーロー */

.hero {
  display: grid;
  grid-template-rows: 650px;
}

.hero > * {
  grid-area: 1 / 1;
}

.hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%);
  z-index: -1;
}

.hero-container {
  display: grid;
  justify-items: center;
  align-content: center;
  height: 100%;
}

.hero h1 {
  margin-bottom: 42px;
  font-size: clamp(48px, 5vw, 68px);
  min-height: 0vw;
  color: #ffffff;
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
  margin-top: -80px;
  
}

.hero p {
  font-size: clamp(20px, 5vw, 30px);
  margin-top: 200px;
  color: #ffffff;
}


/* 画像とテキスト */

.imgtext {
  background-color: #ffffff;
  padding: var(--v-space) 0;
}

.imgtext + .imgtext {
  padding-top: 0;
}

.imgtext-container {
  display: flex;
  flex-direction: column;
  gap: clamp(45px, 6vw, 80px);
}





/* タイトルとサブタイトル（赤色の短い線で装飾） */

.heading-decoration {
  font-size: clamp(30px, 3vw, 40px);
  min-height: 0vw;
  font-weight: 400;
}

.heading-decorationr {
  font-size: clamp(30px, 3vw, 40px);
  min-height: 0vw;
  font-weight: 400;
}

.heading-decoration::after {
  display: block;
  content: '';
  width: 160px;
  height: 0px;
  border-top: solid 1px #b72661;
  margin-top: 0.6em;
}

.heading-decorationr::after {
  display: block;
  content: '';
  width: 160px;
  height: 0px;
  border-top: solid 1px #b72661;
  margin-top: 0.6em;
}


.heading-decoration + p {
  margin-top: 2em;
}


.heading-decorationr + p {
  margin-top: 1em;
  margin-bottom: 2em;
  color: #707070;
  font-size: 18px;
}


/* 記事一覧 */

.post {
  padding: var(--v-space) 0;
  background-color: #fffffff;
  margin-top: -80px;
  margin-bottom: -80px;
}

.posts-container {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 32px 25px;
}

.item {
  margin-top: 10px;
  font-size: 16px;
}


/* 記事一覧の記事 */

.post h3 {
  margin: 1em 0 0.5em;
  font-size: clamp(18px, 2vw, 20px);
  min-height: 0vw;
  font-weight: 400;
}


/* パーツの見出し */

.heading {
  position: absolute;
  top: calc((var(--v-space) + 0.6em) * -1);
  font-size: clamp(40px, 5.2vw, 70px);
  min-height: 0;
  font-weight: 400;
  color: #666666;
}

.heading span {
  display: block;
  color: #666666;
  font-size: 18px;
}


/* 記事 */

.entry {
  padding-bottom: var(--v-space);
  background-color: #ffffff;
}

.entry-img img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  margin-bottom: calc(var(--v-space) * 2 / 3);
}

.entry .w-container {
  max-width: 720px;
  background-color: #ffffff;
}

.entry .heading-decoration {
  font-size: clamp(30px, 6.25vw, 48px);
}

.entry-container {
  font-size: clamp(16px, 2.4vw, 18px);
}


.entry-container
:where(h1, h2, h3, h4, h5, h6, p, figure, ul){
  margin-top: revert;
  margin-bottom: revert;
  padding: revert;
  list-style: revert;
}

.entry-container h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 400;
  border-left: solid 10px #b72661;
  padding-left: 5px;

}

.w-container p {
  margin: 1.8em 0;
}

.entry-container p {
  margin: 1.8em 0;
}

.entry-container > :first-child {
  margin-top: 0;
}

.entry-container > :last-child {
  margin-bottom: 0;
}

.ineia img {
  margin-top: 40px;
}

.inei img {
  margin-left: auto;
  margin-right: auto;
}

.jusho img {
  margin-left: auto;
  margin-right: auto;
}

.red {
  color: red;
}

.price {
  color: #b72661;
}

.stylename {
  color: #1264ad;
}

.explanation {
  color: #707070;
}


/* 付随ページの設定 */

.h2-decoration {
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 400;
  border-left: solid 10px #b72661;
  padding-left: 5px;
  margin-bottom: 20px;
}

.h2-decoration-margintop {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 400;
  border-left: solid 10px #b72661;
  padding-left: 5px;
  margin-bottom: 20px;
  margin-top: 50px;
}

.blue {
  color: #d5665e;
}


/* 象牙ページ */

.kokyu {
  color: #e61e13;
}

.tokusen {
  color: #009966;
}

.gokujo {
  color: #e6b422;
}


/* ショールームの★の色 */

.star {
  color: #ff9900;
}


/* ショールームの段落下アキ */

.sr {
  margin-bottom: 10px;
}


/* 特定商取引法ページ */

table {
  border-collapse: collapse;
}


th, td {
  border: solid 1px #cccccc;
  padding: 20px;
}

th {
  width: 4em;
  text-align: left;
  background-color: #555d6b;
  color: #ffffff;
}

td {
  background-color: #e8eef9;
}



/* フッター */

.footer {
  padding: 70px 0;
  background-color: #ffffff;
  color: #707070;
  font-size: 16px;
}

.footer-container {
  display: grid;
  gap: 30px;
  justify-items: center;
}

/* フッター：テキストメニュー */

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}


/* 埋め込み動画の設定 */

.movie-wrap {
     width: 100%;
     position: relative;
     padding-bottom: 56.25%; /*アスペクト比 16:9の場合の縦幅*/
     height: 0;
     overflow: hidden;
}
 
.movie-wrap iframe {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
}



/* ===== PC版の設定 ===== */

@media (min-width: 768px) {

  .hero h1 {
    margin-top: 390px;
  }
  
  .hero p {
    margin-top: -40px;
  }
  
  .imgtext-container {
    flex-direction: row;
    align-items: center;
  }
  
  .imgtext-container p {
    font-size: 18px;
  }
  
  .imgtext-container > .text {
    flex: 1;
    min-width: 17em;
  }
  
  .imgtext-container > .img {
    flex: 1;
  }
  
  .imgtext-container.reverse {
    flex-direction: row-reverse;
  }
  
  
  .footer-container {
    grid-template-columns: auto;
    grid-template-rows: auto auto auto;
  }
  
  .footer-container > .footer-site {
    margin-bottom: 20px;
  }
  .movie-wrap iframe {
    width: 560px;
    height: 315px;
  }
  
  .posts-container {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .item {
    font-size: 18px;
  }
  
  a {
  font-size: 18px;
}
}


/* トップページ：PC6点の印影を3×2列に並べる */


@media (min-width: 768px) {
  .posts-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 50px;
    }
  
  .top .w-container {
  max-width: 800px;
  margin-right: auto;
  margin-left: auto;
}
  
  .top2 .w-container {
    max-width: 720px;
  margin-right: auto;
  margin-left: auto;
    margin-bottom: 50px;
  }
  
  .posts {
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #ffffff;
  }
  
}

/* ABページ */


.posts-container2 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px 20px;
  background-color: #ffffff;
}

@media (min-width: 768px) {
  .posts-container2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 50px;
    background-color: #ffffff;
    }
  p {
    font-size: 20px;
  }
}
