/*
Theme Name: ドローンi
*/

/*
----------------------------------------
全般
----------------------------------------
*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
  font: inherit;
  width: 100%;
}
input {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font: inherit;
}
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  resize: none;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  outline: none;
}
ul {
  list-style: none;
}
html {
  font-size: 62.5%;
}
body {
  min-width: 375px;
  font-family: "Noto Sans JP", sans-serif;
  color: #3c3c3c;
}
a,
a:visited {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
}
/*
----------------------------------------
ヘッダー
----------------------------------------
*/
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: #f8f8f8;
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 50px;
}
header h1 {
  font-size: 2.5rem;
  font-weight: bold;
}
.session-btn {
  margin-left: auto;
  font-size: 1.5rem;
}
/*
----------------------------------------
共通
----------------------------------------
*/
main {
  padding-top: 80px; /* ヘッダーの高さ分のマージン */
  margin-bottom: 100px;
}
.lato {
  color: #e8478b;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
}
section h2 {
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  margin: 10px auto 50px;
}
.link-btn {
  padding-block: 20px;
  width: 400px;
  max-width: 100%;
  border-radius: 100vmax;
  background-color: #e8478b;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  position: relative;
  margin: 50px auto 0;
  transition: all 0.2s;
}
.link-btn::before {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  content: "";
  right: 20px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #fff;
}
.link-btn::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  content: "";
  right: 30px;
  width: 8px;
  height: 12px;
  background-image: url(./assets/img/icon_chevron_pink02.png);
  background-repeat: no-repeat;
  background-size: contain;
}
@media (any-hover: hover) {
  .link-btn:hover,
  .link-btn:focus {
    opacity: 0.6;
  }
}
@media (any-hover: none) {
  .link-btn:active {
    opacity: 0.6;
  }
}
/*
----------------------------------------
fv
----------------------------------------
*/
.fv {
  margin-top: 100px;
}
.fv p {
  text-align: center;
  line-height: 2;
}
.fv .open {
  font-size: 4.4rem;
  font-weight: bold;
  line-height: 1.5;
}
.fv .open span {
  font-size: 3.2rem;
}
.fv-text {
  font-size: 2.8rem;
  margin-top: 50px;
}
/*
----------------------------------------
ブログ
----------------------------------------
*/
.blog {
  margin: 100px auto 0;
  overflow: hidden;
  padding: 0 50px;
}
.posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px 40px;
}
.post {
  display: grid;
  row-gap: 10px;
}
.blog .swiper-button-prev,
.blog .swiper-button-next {
  display: none;
}
.thumbnail {
  width: 100%;
  aspect-ratio: 360 / 220;
  position: relative;
  background: #f8f8f8;
}
.no-pc {
  display: none;
}
.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumbnail p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  text-align: center;
}
.title {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.4;
}
.time {
  color: #707070;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  font-size: 1.8rem;
}
/*
----------------------------------------
フッター
----------------------------------------
*/
footer {
  background-color: #f8f8f8;
  padding: 50px;
}
.nav {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}
.nav > a {
  font-size: 2.4rem;
  font-weight: bold;
}
.copyright {
  text-align: right;
  font-size: 1.5rem;
}
/*
----------------------------------------
タブレット
----------------------------------------
*/
@media screen and (max-width: 960px) {
  .fv-text {
    font-size: 2.4rem;
  }
  .blog {
    padding: 0;
  }
  .posts {
    gap: 0;
    grid-template-columns: repeat(6, 1fr);
  }
  .blog .swiper {
    padding-bottom: 16.266vw;
  }
  .no-pc {
    display: grid;
  }
  .blog .swiper-button-prev,
  .blog .swiper-button-next {
    display: inline;
    position: absolute;
    top: initial;
    bottom: 0;
    width: 9.0666666667vw;
    height: 9.0666666667vw;
    border: 1px solid #e8478b;
    border-radius: 50%;
  }
  .blog .swiper-button-prev {
    left: initial;
    right: 17.8666666667vw;
  }
  .blog .swiper-button-next {
    left: initial;
    right: 6.6666666667vw;
  }
  .blog .swiper-button-prev::before,
  .blog .swiper-button-next::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    width: 1.6vw;
    height: 2.9333333333vw;
    background-image: url(./assets/img/icon_chevron_pink.png);
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    cursor: pointer;
  }
  .blog .swiper-button-prev::before {
    rotate: 180deg;
  }
  .blog .swiper-button-prev::after,
  .blog .swiper-button-next::after {
    display: none;
  }
}
/*
----------------------------------------
スマートフォン
----------------------------------------
*/
@media screen and (max-width: 735px) {
  html {
    font-size: 50%;
  }
  header,
  .fv {
    padding: 0 20px;
    height: 66px;
  }
  main {
    padding-top: 66px; /* ヘッダーの高さ分のマージン */
  }
  .blog .link-btn {
    max-width: calc(100% - 60px);
  }
  .blog {
    margin: 300px auto 0;
  }
  .fv .open {
    font-size: 3.6rem;
  }
  .fv .open span {
    font-size: 3rem;
  }
  footer {
    padding: 30px;
  }
  .copyright {
    text-align: center;
  }
}

.u-mobile {
  display: none;
}
@media screen and (max-width: 735px) {
  .u-mobile {
    display: block;
  }
}
