/*
Theme Name: Media Sneakers
Description: スニーカーメディアサイト用 WordPress テーマ
Version: 1.2
License: GNU General Public License v2 or later
Text Domain: media-sneakers
*/

/* RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  color: #121212;
  background: #fff;
  line-height: 1.8;
}

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

ul {
  list-style: none;
}

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

/* WordPress管理バー対応 */
.admin-bar #header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar #header {
    top: 46px;
  }
}

/* HEADER */
#header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: #fff;
}

.header-inner {
  margin: 0 auto;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

/* HAMBURGER */
.toggle_btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 23px;
  cursor: pointer;
  position: relative;
  z-index: 200;
}

.toggle_btn.open span:nth-child(1) {
  transform: translateY(10px) rotate(-45deg);
}

.toggle_btn.open span:nth-child(2) {
  opacity: 0;
}

.toggle_btn.open span:nth-child(3) {
  transform: translateY(-10px) rotate(45deg);
}

.toggle_btn span {
  display: block;
  width: 30px;
  height: 3px;
  background: #121212;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.toggle_btn.open span {
  background: #fff;
}

/* NAV */
#nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.8);
  z-index: 150;
}

#nav.open {
  display: block;
}

.nav-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 100vh;
  background: #121212;
  transform: translateX(-300px);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#nav.slide .nav-panel {
  transform: translateX(0);
}

.nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 300px;
  margin-top: 60px;
  margin-bottom: 0;
}

.nav-list li > a {
  width: 250px;
  height: 65px;
  font-size: 14.4px;
  font-weight: 300;
  line-height: 24.5px;
  color: #fff;
  display: block;
  padding: 20px 0;
  border-bottom: 1px solid #fff;
}

.nav-list > li:first-child > a {
  border-top: 1px solid #fff;
}

.nav-divider {
  display: none;
}

/* NAV SNS */
.nav-sns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 300px;
  margin-top: 65px;
  padding-left: 25px;
}

.nav-sns li a {
  font-size: 14.4px;
  font-weight: 300;
  line-height: 24.5px;
  color: #fff;
  display: block;
  padding: 0 12px 0 0;
}

/* VIDEO */
#video {
  width: 100%;
  height: 960px;
  margin-top: 80px;
  overflow: hidden;
}

#video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* PICK UP */
#pickup {
  padding-top: 100px;
}

.sec-title {
  font-weight: 600;
  font-size: 36px;
  line-height: 61.2px;
  text-align: center;
  margin-bottom: 30px;
}

/* SLIDE */
.slide-area {
  margin-top: 40px;
}

.slide-area li {
  padding: 0 30px;
}

.slide-area img {
  width: 100%;
  object-fit: cover;
}

/* FEATURE */
#feature {
  padding-top: 100px;
  padding-bottom: 60px;
}

/* FEATURE GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 27px;
  max-width: 1209px;
  margin: 0 auto;
}

.item {
  background: #fff;
  box-shadow: 0 0 8px 4px #cccccc;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.3s ease;
}

.item.is-show {
  opacity: 1;
  transform: translateY(0);
}

.thumb {
  width: 100%;
  aspect-ratio: 385 / 257;
  object-fit: cover;
}

.item-content {
  padding: 26px;
}

.item-cat {
  font-size: 12px;
  font-weight: 300;
  line-height: 20.4px;
  padding-top: 30px;
  padding-left: 30px;
}

.item-text {
  font-size: 14.4px;
  font-weight: 600;
  line-height: 24.5px;
  padding-top: 20px;
  padding-left: 30px;
}

.item-date {
  font-size: 12px;
  font-weight: 300;
  line-height: 20.4px;
  padding-top: 20px;
  padding-right: 30px;
  text-align: right;
}

/* CONTACT */
#contact {
  width: 100%;
  color: #fff;
  padding-top: 30px;
  background: #121212;
}

.contact-sent {
  color: #fff;
  padding: 20px 0;
}

.contact-sent .sent-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.3);
}

.contact-sent p {
  font-size: 14px;
  font-weight: 300;
  margin-bottom: 12px;
  line-height: 1.6;
}

.contact-sent p span {
  display: inline-block;
  width: 80px;
  opacity: 0.6;
}

.contact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-overlay p {
  color: #fff;
  font-size: 16px;
  text-align: center;
}

.contact-success {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: #fff;
  font-size: 18px;
  font-weight: 300;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.3);
}

.contact-title {
  font-size: 14.4px;
  font-weight: 300;
  line-height: 24.5px;
}

.contact-text p {
  font-size: 14.4px;
  font-weight: 300;
  line-height: 24.5px;
  padding-top: 30px;
  color: #fff;
}

.contact-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  max-width: 1209px;
  margin: 0 auto;
  padding: 0 16px;
}

.contact-text {
  width: 45%;
}

.contact-form {
  width: 45%;
  position: relative;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14.4px;
  font-weight: 300;
  color: #fff;
  margin-bottom: 5px;
}

.form-group input {
  width: 100%;
  height: 44px;
  background: #fff;
  border: none;
}

.form-group textarea {
  width: 100%;
  height: 68px;
  background: #fff;
  border: none;
  resize: none;
}


.form-submit button,
.form-submit input[type="submit"] {
  width: 200px;
  height: 49px;
  background: #000;
  color: #fff;
  border: 1px solid #fff;
  cursor: pointer !important;
  font-size: 16px;
  display: block;
  margin: 0 auto;
  -webkit-appearance: none;
  appearance: none;
}

footer {
  width: 100%;
  height: 38px;
  background-color: #121212;
  display: flex;
  justify-content: center;
  align-items: center;
}

footer small {
  color: #fff;
  font-size: 12px;
  font-weight: 300;
  line-height: 1;
  margin: 0;
}

.form-submit {
  margin-top: 20px;
  padding-bottom: 50px;
  text-align: center;
}

/* SINGLE / PAGE */
.entry-wrap {
  padding-top: 80px;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 80px;
}

.entry-header {
  padding: 40px 20px 20px;
}

.entry-cat {
  font-size: 12px;
  font-weight: 300;
  color: #888;
  margin-bottom: 12px;
}

.entry-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 12px;
}

.entry-date {
  font-size: 12px;
  color: #888;
}

.entry-thumbnail {
  width: 100%;
  height: auto;
  margin: 20px 0;
}

.entry-content {
  padding: 0 20px 40px;
  font-size: 15px;
  line-height: 2;
}

.back-link {
  text-align: center;
  padding-bottom: 40px;
  font-size: 14px;
}

.back-link a {
  text-decoration: underline;
}

/* ========================================
  RESPONSIVE
======================================== */
@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 24px;
  }

  #video {
    height: 70vh;
    max-height: 640px;
  }
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .header-inner {
    height: 64px;
    padding: 0 16px;
  }

  .logo img {
    max-height: 40px;
    width: auto;
  }

  .toggle_btn {
    margin-right: 0;
  }

  #nav {
    left: 0;
    right: 0;
    width: 100%;
  }

  #video {
    margin-top: 64px;
    height: 56vh;
    min-height: 240px;
    max-height: 420px;
  }

  #pickup {
    padding-top: 64px;
  }

  .sec-title {
    font-size: 28px;
    line-height: 1.4;
    margin-bottom: 20px;
  }

  .slide-area {
    margin-top: 24px;
  }

  .slide-area li {
    padding: 0 12px;
  }

  #feature {
    padding: 64px 16px 48px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0;
    max-width: 100%;
  }

  .item-content {
    padding: 20px;
  }

  .item-cat,
  .item-text {
    padding-left: 20px;
  }

  .item-date {
    padding-right: 20px;
  }

  #contact {
    padding-top: 20px;
    padding-bottom: 80px;
  }

  .contact-text p {
    padding-top: 0;
  }

  .contact-wrap {
    flex-direction: column;
    gap: 32px;
    padding: 0 16px;
  }

  .contact-text,
  .contact-form {
    width: 100%;
  }

  .form-submit button,
  .form-submit input[type="submit"] {
    width: 100%;
  }

  .form-submit {
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .entry-wrap {
    padding-top: 64px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .entry-header {
    padding: 24px 0 16px;
  }

  .entry-title {
    font-size: 20px;
  }

  .entry-content {
    padding: 0 0 40px;
  }
}
