@charset "UTF-8";

/* 基本 */

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

body{
  margin: 0;
background-color: #eeeeee;
color: #424242;
font-family: sans-serif;
}


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

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


p {
  line-height: 1.8;
}


a {
  color: inherit;
  text-decoration: none;
}


a:hover {
    filter: brightness(85%) contrast(120%);
    text-decoration: underline;
}


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

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


/* ヘッダー */

.header {
  height: 112px;
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.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;
    color: #ffffff;
  }
}


/* ナビゲーション：PC */

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


/* ヒーロー */

.hero {
  height: 650px;
  background-image: url(img/hero.jpg);
  background-position: center;
  background-size: cover;
}

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

.hero h1 {
  margin-bottom: 42px;
  font-family: sans-serif;
  font-size: clamp(60px, 6vw, 90px);
  min-height: 0vw;
  color: #c5164a;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
  text-shadow: 8px 8px 8px #ffffff;
}

.hero p {
  margin-bottom: 72px;
  font-size: clamp(40px, 5vw, 50px);
  min-height: 0vw;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  color: #070681;
  text-shadow: 4px 4px 5px #ffffff;
}


/* 営業時間告知 */

.btn {
  margin-top: 30px;
  display: block;
  width: 320px;
  padding: 5px;
  box-sizing: border-box;
  border-radius: 4px;
  background-color: #ff9933;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 0 6px #00000052;
}


/* 画像とテキスト */

.imgtext {
  padding: clamp(50px, 9vw, 90px) 0;
  background-color: #ffffff;
  
}

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

.img{
  padding: 0;
  margin: 0;
}

.exp{
  margin-bottom: 10px;
}

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


.imgtext h3 {
    margin: 1em 0 0.5em;
    font-size: 24px;
    min-height: 0vw;
}

.imgtext p {
    font-size: 18px;
    min-height: 0vw;
}

@media (min-width: 768px) {
  .imgtext-container {
    flex-direction: row;
    align-items: top;
  }
  
  .imgtex-container.reverse {
    flex-direction: row-reverse;
  }
  
  
  .imgtext-container > .text {
    flex: 2;
    min-width: 17em;
  }
  
  .imgtext-contaier > .img {
    flex: 1;
  }
}


/* タイトルとサブタイトル */

.heading-decoration {
  font-size: clamp(30px, 3vm, 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-decoration + p {
  margin-top: 1em;
  margin-bottom: 2em;
  color: #707070;
  font-family: sans-serif;
  font-size: 18px;
}

h2 {
  color: #005be3;
  margin-top: 20px;
  
}

h3 {
  color: #b72661;
  font-weight: 400;
  margin-top: 20px;
  
}


/* 素材一覧 */

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

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


@media (min-width: 768px){
    .posts-container {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* 素材一覧の記事 */
.pos img {
    aspect-ratio: 4 / 3;
object-fit: cover;
width: 100%;
}

/* 素材の見出し */

.heading {
    position: absolute;
    top: calc((var(--v-space) + 1.2em) * -1);
    font-family: sans-serif;
    font-size: clamp(40px, 5.2vw, 70px);
    min-height: 0vw;
    font-weight: 500;
}

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


.post a {
    display: block;
}


.post h3 {
    margin: 1em 0 0.5em;
    font-size: clamp(24px, 1.6vw, 28px);
    min-height: 0vw;
}

.post p {
    max-width: 30em;
    font-size: clammp(18px, 2vw, 26px);
    min-height: 0vw;
}

/* 素材名下の空き */

.item {
    margin-bottom: 10px;
}


/* フッター */

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

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



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

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


@media (min-width: 768px){
  .footer-container {
    grid-template-columns: auto auto;
    grid-template-rows: auto auto auto;
    gap: 20px;
  }
  
  .footer-container > .footer-site {
    margin-bottom: 20px;
  }
  
  
  .footer-container > *:not(.footer-sns) {
    justify-self: start;
  }
  
  .footer-container > .footer-sns {
    grid-column: 2;
    grid-row: 1 / 4;
    justify-self: end;
    align-self: center;
  }
}



/* フッター　SNSメニュー */

.footer-sns {
    display: flex;
    gap: 24px;
    font-size: 24px;
}

.footer-sns a {
    display: grid;
    place-items: center;
    width: 36px;
    aspect-ratio: 1 / 1;
    background-color: #cccccc;
    color: #ffffff;
    clip-path: circle(50%);
}

@supports not (aspect-ratio: 1/1){
    .footer-sns a {
        height: 36px;
    }
}
