/*
Theme Name: Kujira Orchestra
Theme URI: https://kuraji-orchestra.com/
Author: ニラガワスタジオ
Author URI: https://niragawa-studio.com/
Description: Kujira Orchestra Theme
Version: 1.0
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: Kujira Orchestra Theme
*/

:root {
  --navigation-height: 88px;
}

body {
  font-family: "EB Garamond", serif;
  color: rgba(18, 18, 18, 0.75);
  /* margin-top: 56px; */
  margin-top: var(--navigation-height);
}

/* front-page */
.front-logo {
  font-size: 14px;
  letter-spacing: 7px;
}
@media (min-width: 768px) {
  .front-logo {
    font-size: 20px;
    letter-spacing: 10px;
  }
}

/* news */
.wp-block-image img {
  max-width: 100%;
  height: auto;
}

/* nav */
.nav-logo {
  letter-spacing: 3px;
  font-size: 30px;
}
.nav-logo-caption {
  font-size: 10px;
}
.nav-item-both {
  width: 100px;
  text-align: center;
}
.nav-item-inside {
  width: 132px; /*「ONLINESTORE」の文字幅を想定*/
  text-align: center;
}

.submenu {
  position: absolute;
  background-color: white;
  border: 1px solid #ddd;
  padding: 10px;
  z-index: 1000;
}

.submenu a {
  display: block;
  padding: 5px 10px;
  color: #333;
  text-decoration: none;
}

.submenu a:hover {
  background-color: #f8f9fa;
}

#offcanvasNavbar a {
  padding: 0.75rem 0;
}
#offcanvasNavbar a:active {
  background-color: #ddd;
}

/* main */
.sign-horizen {
  text-align: center;
  font-size: 11px;
}

@media screen and (min-width: 768px) {
  .md-panel1-overlay-title {
    font-size: 16px !important;
  }
  .md-panel1-overlay-text {
    font-size: 12px !important;
    margin-bottom: 3rem;
    width: 370px;
    letter-spacing: 3px;
  }
}

/* products */
.product-img {
  height: 250px;
  object-fit: cover;
}
@media screen and (min-width: 768px) {
  .product-img {
    height: 250px;
  }
}
@media screen and (min-width: 992px) {
  .product-img {
    height: 400px;
  }
}

.sold-out-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.6); /* 薄い白 */
  z-index: 2;
}

/*
.diagonal-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 1px;
  background-color: rgba(18, 18, 18, 0.25);
  transform: rotate(-45deg);
  transform-origin: top left;
  top: 0%;
  left: 10%;
}
*/

/* contact */
.kof-name,
.kof-mail,
.kof-sub,
.kof-msg {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .kof-name,
  .kof-mail,
  .kof-sub,
  .kof-msg {
    width: 32rem;
  }
}

.screen-reader-response {
  display: none;
  visibility: hidden;
  height: 0;
  overflow: hidden;
}

/* footer */
@media (max-width: 767.98px) {
  .policy-link {
    width: 130px;
  }
}

.wpcf7-not-valid-tip {
  color: red;
  font-size: 12px;
}

/* common */
a img {
  transition: opacity 0.3s ease; /* スムーズな変化 */
}

a:hover img {
  opacity: 0.6;
}

.letter-spacing-harf {
  letter-spacing: 0.5rem; /* 8px */
}

.letter-spacing-quoter {
  letter-spacing: 0.25rem; /* 4px */
}

.fs-20px {
  font-size: 15px;
}
@media (min-width: 768px) {
  .fs-20px {
    font-size: 20px;
  }
}

.fs-17px {
  font-size: 17px;
}

.fs-13px {
  font-size: 13px;
}
@media (min-width: 768px) {
  .fs-13px {
    font-size: 0.875em; /* Bootstrapの .small と同じサイズ */
  }
}

.fs-12px {
  font-size: 12px;
}

.fs-11px {
  font-size: 11px;
}

.lh-1d7rem {
  line-height: 1.7rem;
}

.w-50px {
  width: 50px;
}

.w-75px {
  width: 75px;
}

.w-165px {
  width: 165px;
}

/* override and add propaty*/

/* shorthand */
/* position-absolute top-0 left-0 d-flex align-items-center justify-content-center w-100 h-100 */
.overlay-center {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

/* animation */
.fade-in {
  opacity: 0;
  animation: fadeIn 6.5s ease-in forwards;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-text {
  color: rgb(0, 15, 43);
  animation: fadeColor 5s ease-in-out forwards;
}
@keyframes fadeColor {
  from {
    color: rgb(0, 15, 43);
  }
  to {
    color: #f9f9f9;
  }
}
