/*
Theme Name: NANA STUDIO THEME
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 0.6.1
*/

@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p&family=M+PLUS+Rounded+1c&display=swap');

html {
  scroll-behavior: smooth !important;
}

body {
  letter-spacing: 0.1rem;
}

.font-catch {
  font-family: "M PLUS Rounded 1c", sans-serif;
}

/* tategaki */
.tategaki-box {
    writing-mode: vertical-rl; /* 縦書き・右から左へ */
    text-orientation: mixed;   /* 英数字の向きを自然に */
    /*height: 400px;*/             /* 任意の高さ（これがないと横に伸びません） */
    overflow-x: auto;          /* 内容が多い場合に横スクロールさせる */
    padding: 20px;
    line-height: 1.8;
}
.tategaki-box h2,
.tategaki-box h3,
.tategaki-box p {
    margin-left: 1.5em;        /* 縦書きなので「下」ではなく「左」に余白 */
    margin-bottom: 0;
}

/* tategaki h2 */
.tategaki-box .is-style-vk-core-heading-block-top-short-border-center::before {
    width: 1px;
    height: 80px;
    margin: 0 0 0 10px;
}

/* バッジ */
.list-badge {
  display: flex;
  justify-content: center;
  gap: 15px;
}
.list-badge li {
  font-size: 0.75rem;
  padding: 2px 40px;
  border-radius: 20px;
}

/* WordPressアイコンはLINEに */
.wp-social-link-wordpress svg {
  display: none;
}
.wp-social-link-wordpress .wp-block-social-link-anchor:before {
  content: "\f3c0";
  font-family: "Font Awesome 7 Brands";
  display: inline-block;
  width: 18px;
  height: 18px;
  font-size: 18px;
  line-height: 1;
}

/* 共通設定：画像がはみ出さないようにし、滑らかに動かす */
.hover-zoom figure {
  overflow: hidden;
  border-radius: 10px;
}
.hover-zoom figure a {
  display: block;
}

.hover-zoom img {
  width: 100%;
  display: block;
  transition: transform 0.6s ease;
}

.hover-zoom:hover img {
  transform: scale(1.04);
  filter: brightness(1.1);
  transition: all 0.2s ease;

  transition: all 0.2s ease;
}
.hover-zoom:hover {
/*  filter: brightness(0.9);*/
}

/* #mv */
#mv-banner-block {
  position: absolute;
  right: 0;
  bottom: 0;
}
#mv .wp-block-cover__inner-container {
  position: absolute;
  height: 100%;
  width: 100%;
  max-width: none;
}
#mv-text-block {
  bottom: -56%;
  left: 50%;
  transform: translate(-50%, -25%);
  overflow: visible;
  margin: 0 !important;
}
#mv-text-block p {
  letter-spacing: 7px;
  white-space: nowrap;
  line-height: 82px;
  font-size: 32px !important;
  font-weight: bold;
}

/* #service */
#service .vk_outer-background-area {
  background-image: url(../images/bg_curve_text.png);
  background-position: center bottom;
  background-repeat: repeat-x;
  background-size: auto 250px;
}

@media (max-width: 991.98px) {
  #mv .wp-block-cover {
    min-height: calc(100dvh - 62px) !important;
  }
  #mv-text-block {
    bottom: -40%;
  }

  #news .tategaki-box {
    writing-mode: inherit;
    padding: 0;
  }
}

@media (min-width: 1200px) {

  /* header-top */
  #header-top .container {
    max-width: none;
    padding: 0;
  }
  #header-top .header-top-description {
    font-size: 11px;
    margin: 0;
    padding: 12px 0 0 20px;
    letter-spacing: 1px;
  }
  #header-top .header-top-tel span {
    font-size: 26px;
    padding: 2px 8px 8px;
  }
  #header-top .header-top-tel span i {
     font-size: 20px;
  }
  #header-top .header-top-contact-btn a.btn{
    font-size: 0.95rem;
    border: 0;
    border-radius: 0 0 0 10px;
    padding: 8px 15px;
    letter-spacing: 0.05rem;
    font-family: "M PLUS Rounded 1c", sans-serif;
  }
  #site-header-container {
    max-width: none;
    padding: 0;
  }
  #site-header-container .site-header-logo img {
    max-height: 90px;
  }

  /* header scrolled */
  .header_scrolled #site-header {
    background-color: #ffffffdb;
  }
  .global-nav--layout--float-right {
    align-items: flex-start;
    margin: 10px;
  }
  #site-header .site-header-container--scrolled--logo-and-nav-container .site-header-logo {
    padding: 0;
    margin: 10px 20px;
  }
  #site-header .site-header-container--scrolled--logo-and-nav-container .site-header-logo img {
    max-height: 70px;
  }

  /* gnav */
  #global-nav .global-nav-list > li .global-nav-name {
    font-size: 0.85rem;
    font-weight: normal;
    font-family: "M PLUS Rounded 1c", sans-serif;
  }
}

