/*
Theme Name: Nishinoya (Twenty Twenty-One Child)
Theme URI: https://nishinoya-pr.com/
Description: Child theme of Twenty Twenty-One for the "nishinoya" project.
Author: Minoru Kakehi
Author URI: https://xxxxx.com/
Template: twentytwentyone
Version: 1.0.0
Text Domain: nishinoya
Domain Path: /languages
*/
/* =========================================
   RESET.CSS - 基本ブラウザスタイルのリセット
   ========================================= */

/* 1. 余計な margin/padding を消す */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 2. ベース要素 */
html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  font-size: 18px;
  font-weight: 600;
}
@media (max-width: 599px) {
/* 2. ベース要素 */
html {

  font-size: 16px;

}
}
body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  background: #fff;
  color: #111;
  text-rendering: optimizeLegibility;
}

/* 3. リンク */
a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
a:hover {
  text-decoration: underline;
}

/* 4. 見出し */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  font-size: inherit;
}

/* 5. リスト */
ul,
ol {
  list-style: none;
}

/* 6. テーブル */
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}
th,
td {
  text-align: left;
  font-weight: normal;
}

/* 7. 画像・メディア */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 8. フォーム要素 */
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: transparent;
  outline: none;
}
button {
  cursor: pointer;
}
textarea {
  resize: vertical;
}

/* 9. その他 */
blockquote,
q {
  quotes: none;
}
blockquote::before,
blockquote::after,
q::before,
q::after {
  content: "";
}

/* 10. スクロールバー (optional) */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

.sp{
  display: none;
}

.pc{
  display: block;
}

.sp_inline{
  display: none;
}

.pc_inline{
  display: inline;
}



/* レスポンシブ余白調整 */
@media (max-width: 599px) {
.sp{
  display: block;
}

.pc{
  display: none;
}

.sp_inline{
  display: inline;
}

.pc_inline{
  display: none;
}
}





/* ===============================
   Global design tweaks for 2021
   =============================== */

/* カラーパレット（Twenty Twenty-One はCSS変数を多用） */
:root {
  /* 例: アクセントカラーを変更 */
  /* --global--color-primary: #0ea5e9; */

  /* ベースの文字サイズ・行間を微調整したい場合（必要に応じて有効化） */
  /* --global--font-size-base: 18px; */
  /* --global--line-height-body: 1.7; */
}

/* 本文の基本スタイル（必要に応じて） */
body {
  /* font-feature-settings: "palt"; など */
}

/* 見出し */
h1,
h2,
h3,
h4,
h5,
h6 {
  /* letter-spacing: .02em; */
}

/* リンク */
a {
  /* text-underline-offset: 0.15em; */
  /* text-decoration-thickness: 2px; */
}

/* コンテナの横幅を少しワイドにする例（必要に応じて） */
/*
.site-main > article > .entry-content > * {
  max-width: 760px;
}
*/

/* ヘッダー周りの間隔調整例 */
/*
.site-header {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
*/

/* フッターの小さな調整例 */
/*
.site-footer {
  font-size: 0.95rem;
  opacity: .9;
}
*/

/* ここから下にカスタムCSSを追記していってください */

.header_base {
  position: relative;
  z-index: 10;
  height: 90px;
  background-color: #fff;
  position: fixed;
  top: 0;
  width: 100%;
}
.header_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0px;
}

.header_logo {
  position: fixed;
  left: 5%;
  top: 40px;
}

.header_logo img {
  display: block;
  height: 28px;
  width: auto;
}

@media (max-width: 599px) {
.header_logo {
  position: fixed;
  left: 5%;
  top: 40px;
}

.header_logo img {
  display: block;
  height: 20px;
  width: auto;
}
}



.slide_menu_ul{
list-style: none;
  padding: 0;
  margin: 0;
}

.slide_menu_li{
  margin-bottom: 0px;
  box-sizing: border-box;
  text-align: left;
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: 0.1rem;
  height: 2.6rem;
  text-decoration: none;
  margin: 0px 0 0px 0px;
}



.slide_menu_li_mini{
  margin-bottom: 0px;
  box-sizing: border-box;
  text-align: left;
  font-size: 1.0rem;
  font-weight: 600;
  letter-spacing: 0.1rem;
  height: 1.3rem;
  text-decoration: none;
  margin: 0px 0 0px 0px;
}

@media (max-width: 599px) {

.slide_menu_li{
  height: 3.1rem;
}

.slide_menu_li_mini{
font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.1rem;
  height: 1.3rem;
  text-decoration: none;
  margin: 0.5rem 0 0px 0px;
}

.slide_menu_ul{
margin-left: 7.8%;
}

}


.li_top_space{
  margin-top: 4rem;  
}

.slide_menu_logo{
  position: absolute;
  bottom: 20px;
  left: 12%;
  width: 60px;
  margin-bottom: 3rem;
}

.slide_menu_logo img {
  display: block;
  width: 100%;
  height: auto;
} 

@media (max-width: 599px) {

  .li_top_space{
  margin-top: 3rem;  
}

.slide_menu_logo{
  position: absolute;
  bottom: 20px;
  left: 12%;
  width: 45px;
  margin-bottom: 3rem;
}

}
/* Burger */
/*!------------------------------------*\
    burger Start
\*!------------------------------------*/
#burger_base_box {
  position: relative;
  width: 100%;
  max-width: none;
  margin: auto;
}
#burger_menu {
  position: fixed;
  right: 5%;
  top: 43px;
  z-index: 20;

  width: 45px;
  height: 23px;
}
@media (max-width: 599px) {
  #burger_menu {
    position: fixed;
    right: 6%;
    width: 38px;
    height: 23px;
  }
}
#burger_menu img {
  width: 100%;
}

.menu-trigger,
.menu-trigger span {
  display: inline-block;
  transition: all 0.4s;
  box-sizing: border-box;
}
.menu-trigger {
  position: relative;
  width: 30px;
  height: 23px;
}
.menu-trigger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 7px;
  background-color: #000;
  border-radius: 0;
}


@media (max-width: 599px) {
  .active.menu-trigger span {
    background-color: #333 !important;
  }
}

@media (max-width: 599px) {

.menu-trigger,
.menu-trigger span {
  display: inline-block;
  transition: all 0.4s;
  box-sizing: border-box;
}
.menu-trigger {
  position: relative;
  width: 30px;
  height: 23px;
}
.menu-trigger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #000;
  border-radius: 0;
}


}

.menu-trigger span:nth-of-type(1) {
  top: 0;
}
.menu-trigger span:nth-of-type(2) {
  top: 14.5px;
}
.menu-trigger span:nth-of-type(3) {
  bottom: 0;
  display: none;
}

.menu-trigger span:nth-of-type(2)::after {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 7px;
  background-color: #000;
  border-radius: 0px;
  transition: all 0.4s;
}
@media (max-width: 599px) {
.menu-trigger span:nth-of-type(2) {
  top: 11.5px;
}
.menu-trigger span:nth-of-type(2)::after {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 4px;
  background-color: #000;
  border-radius: 0px;
  transition: all 0.4s;
}

}

.menu-trigger.active span:nth-of-type(1) {
  transform: translateY(20px) scale(0);
}
.menu-trigger.active span:nth-of-type(2) {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.menu-trigger.active span:nth-of-type(2)::after {
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}
.menu-trigger.active span:nth-of-type(3) {
  transform: translateY(-20px) scale(0);
}

.menu-trigger.not_show_x {
  display: none;
}
@media (max-width: 599px) {
  .active.menu-trigger span:nth-of-type(2)::after {
    background-color: #333 !important;
  }
}

/* Slide menu */
#slide-menu {
  position: fixed;
  top: 0px;
  right: 0;
  height: calc(100vh );
  background-color: rgba(255, 255, 255, 0.8);
  padding: 70px 30px 40px 20px;
  z-index: 5;

  /* 初期状態では左に隠れている */
  transform: translateX(100%);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  pointer-events: none; /* 非表示状態ではクリックも無効に */
   border: none;
  border-left: 1px solid #000;
 
  background-color: rgba(255, 255, 255, 1.0);
  padding-right: 14%;
  padding-left: 5%;
}

.home #slide-menu {
  background-color: transparent;
}

#slide-menu.active {
  transform: translateX(0); /* 左端から現れる */
  opacity: 1;
  pointer-events: auto;
}



#slide-menu li {

}

#slide-menu a {
  text-decoration: none;
  color: #000;
}

#slide-menu li a {
  transition: background-color 0.2s ease, opacity 0.2s ease;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}

#slide-menu li a:active {

  opacity: 1;
}

#slide-menu li a:hover {
  opacity: 0.7;
}

@media (max-width: 599px) {
  #slide-menu {
    padding: 70px 30px 40px 20px;
    width: 100%;
    background-color: #fff;
  max-height: none;
    margin: 0;
    border: 0;
  }

  #slide-menu a {

  }
}
.slide_ul_submenu {
  display: none;
}
/* footer */
.footer_copy {
  width: 90%;
  text-align: right;
  margin: 30px 5% 40px 5%;
  font-size: 0.7rem;
  font-weight: 400;
    position: relative;
    bottom: 0;
    padding-bottom: 0px;
}

.home .footer_copy {
    position: absolute;
}

.footer_logo{
  display: none;
}

.home .footer_logo{
  position: absolute;
  left: 0;
  bottom:0;
  width: 45px;
  display: block;
}

.footer_logo img{
  position: absolute;
  left: 0;
  bottom:0;
}
@media (max-width: 599px) {

.footer_copy {
  width: 90%;
  text-align: right;
  margin: 30px 5% 30px 5%;
  font-size: 0.7rem;
  font-weight: 400;
  position: relative;
  bottom: 0;
}

.home .footer_copy {
    position: relative;
    margin-bottom: 40px;
}


.footer_logo{
  display: none;
}

.home .footer_logo{
  position: absolute;
  left: 0;
  bottom:0;
  width: 40px;
  display: block;
}

.footer_logo img{
  position: absolute;
  left: 0;
  bottom:0;
}

}
/* Common  */
/* ========== Base Reset ========== */
#main.site-main {
  display: block;
  width: 100%;

  margin: 0 auto; /* 中央寄せ */
  padding: 100px 5% 50px 5%; /* 上下左右の余白 */
  box-sizing: border-box;
}

/* 文章ベース */
p {
  font-size: 1rem;
}

/* 見出し */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: inherit;
  line-height: inherit;
  margin: 0;
}

h1 {
  font-size: 1rem;
}
h2 {
  font-size: 1rem;
}
h3 {
  font-size: 1rem;
}

/* リンク */
a {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
a:hover {
  color: #333;
}

/* 画像 */
img {
  max-width: 100%;
}

/* リスト */
ul,
ol {
  margin: 1.5em 0 1.5em 1.5em;
  padding: 0;
}

/* テーブル */


/* TOP Page */
/*
.top_page_box {
  width: 100%;
  max-width: 1500px; 
  margin: 0 auto; 
  padding: 20px 20px 40px; 
  box-sizing: border-box;
  position: relative;
}

.top_page_ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.top_page_li {
  display: flex; 
  align-items: center; 
  align-items: flex-end; 
  margin-bottom: 0px;
  box-sizing: border-box;
}


.top_page_li_h {
  flex: 0 0 40%;
  text-align: right;
  font-size: 0.8rem;
  font-weight: 600;

  padding-right: 40px; 
}


.top_page_li_b {
  flex: 0 0 60%;
  text-align: left;
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: 0.1rem;
  height: 3rem;
  text-decoration: underline;
}

.top_page_li_b a {
  color: inherit;
  text-decoration: none;
}
.top_page_li_b a:hover {
  text-decoration: underline;
}

.small_li {
  width: 19%;
  position: absolute;
  right: 0;
  font-size: 1rem;
  font-weight: 600;
  margin-top: -1.5em;
}

.small_li.no1 {
  margin-top: -3em;
}

.top_page_li_bottom_text {
  font-size: 1.6rem;
  font-weight: 300;
  padding-left: 0px;
  margin-top: 3em;
  margin: 3em 10% 0 40%;
  line-height: 2.8rem;
  letter-spacing: 0.05rem;
}
*/
/* TOP Page */

.top_page_box {
  width: 100%;
  height: 60vh; /* 画面全体高さ */
  display: flex;
  align-items: center;  /* 垂直中央 */
  justify-content: center; /* 水平中央 */
  position: relative;
  box-sizing: border-box;
}

/* 中央の大きなブロック */
.center_block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative
}

/* 各行 */
.top_page_ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.top_page_li {
  display: flex;
  align-items: flex-end; /* 下揃え */
  justify-content: left;
  margin-bottom: 0px;
  box-sizing: border-box;
}

/* 左側テキスト */
.top_page_li_h {
  text-align: right;
  font-size: 0.9rem;
  font-weight: 600;
  padding-right: 40px;
  width: 180px; /* 固定幅で右揃え */
  position: absolute;
  margin-left: -180px;
}

/* 右側メインタイトル */
.top_page_li_b {
  text-align: left;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.1rem;
  text-decoration: underline;
  line-height: 1.2;
}

.top_page_li_b a {
  color: inherit;
  text-decoration: none;
}
.top_page_li_b a:hover {
  text-decoration: underline;
}

/* 右側 ONLINE SHOP, CONTACT */
.side_links {
    position: absolute;
    right: -90%;
    bottom: 0rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.small_li {
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  margin-bottom: 0em;
}

/* 下の文章 */
.top_page_li_bottom_text {

  text-align: left;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 2.4rem;
  letter-spacing: 0.05rem;

    width: 190%;
    position: absolute;
    left: 0;
    bottom: -70%;
}

/* --- SP版: 既存ルールを維持 --- */
@media (max-width: 599px) {
  .top_page_box {
    height: auto;
    display: block;
    margin-top: 70px;
  }
}

@media (max-width: 599px) {
  .top_page_li {
    width: 100%;
    margin-bottom: 20px;
    display: block; /* 横並びにする */
  align-items: center; /* 縦位置を中央に */
  align-items: flex-end; /* 下揃え */
  margin-bottom: 30px;
  box-sizing: border-box;
  }


/* 左側（40%） */
.top_page_li_h {

    width: 100%;
    text-align: left;
    font-size: 1.2rem;
    font-weight: 600;
    padding-right: 40px;

        margin-top: -0.3rem;
    margin-left: 0;
    position: relative;
}

/* 右側（60%） */
.top_page_li_b {
  flex: none;
  width: 100%;
  text-align: left;
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: 0.1rem;
  height: 3rem;
  text-decoration: underline;
}

.top_page_li_bottom_text{
        font-size: 1.2rem;
        font-weight: 400;
        padding-left: 0px;
        margin-top: 3em;
        margin: 5em 8% 0 8%;
        line-height: 2.4rem;
        letter-spacing: 0.00rem;
        width: auto;
        position: relative;
        bottom: 0;
        left: 0;
}

/* 右側 ONLINE SHOP, CONTACT */
.side_links {
    position: relative;
    right: auto;
    bottom: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-left: -4.1rem;
}

.small_li {
  width: 100%;
  position: relative;
  right: 0;
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 0;
}

.small_li.no1 {
  margin-top: 5rem;

}

}



/* Company Page */
.main_box1 {
  width: 100%;
  margin: 0 auto; /* 中央寄せ */
  padding: 40px 0px; /* 上下左右の余白 */
  box-sizing: border-box;
}

/* タブレット：599px 以下 → 3列 */
@media (max-width: 599px) {
/* Company Page */
.main_box1 {
  width: 100%;
  margin: 0 auto; /* 中央寄せ */
  padding: 30px 0px; /* 上下左右の余白 */
  box-sizing: border-box;
}
}

.page_title1 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-align: left;
  font-weight: 600;
  letter-spacing: 0.2rem;
}
.base_text {
  margin-top: 20px;
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 500;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  max-width: 700px;
}

.main_bold {
  font-weight: 600;
  font-size: 1em;
}
.main_text1 {
}

/* PR Page */
/* 親ラッパを横並びに */
.main_pr_brand_list_box {
  display: flex;
  align-items: flex-start; /* 上揃え */
  width: 100%;
  margin: 0 auto;
  padding: 40px 0px;
  box-sizing: border-box;
}

/* 左側タイトルエリア */
.main_pr_brand_h {
  flex: 0 0 15%; /* 幅を15%に固定 */
  padding-right: 20px;
}
.page_title2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0; /* タイトル自体は上に詰める */
  margin-top: calc(26% - 10px);
}

/* 右側ブランドエリア */
.main_pr_brand_b {
  flex: 0 0 85%;
}

/* ブランドリストを6列グリッドに */
.pr_brand_ul {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px 20px; /* 行間30px、列間20px */
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 各ブランドセル */
.pr_brand_li {
  text-align: center;
}
.pr_brand_li img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
@media (max-width: 1200px) {
  .pr_brand_ul {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px 16px;
  }

.page_title2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0; /* タイトル自体は上に詰める */
  margin-top: calc(45% - 16px);
}

}


@media (min-width: 600px) and (max-width: 1023px) {
  .pr_brand_ul {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 16px;
  }

.page_title2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0; /* タイトル自体は上に詰める */
  margin-top: calc(65% - 26px);
}
}

/* タブレット：599px 以下 → 3列 */
@media (max-width: 599px) {
  .page_title2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0; /* タイトル自体は上に詰める */
  margin-top: 1rem;
  text-align: left;
 }
  .main_pr_brand_list_box {
    flex-direction: column; /* タイトルとブランドを縦並びに */
  }
  .main_pr_brand_h {
    flex: none;
    width: 100%;
    padding-right: 0;
    margin-bottom: 20px;
    text-align: center; /* 中央揃え */
  }
  .main_pr_brand_b {
    flex: none;
    width: 100%;

  }
  .pr_brand_ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 16px;
  }

  .page_title2 {
    font-size: 1.5rem;
  }
}

/* NEAT Page */
.neat_img_photo {
  margin-top: 20px;
  margin-bottom: 3.5rem;
  text-align: center;
  max-width: 700px;
}
.neat_img_photo img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.neat_stockist_text {
  font-weight: 700;
}

.page_title3 {
  font-size: 1.2rem;
  margin: 4rem 0 3rem 0;
}

.stockist_country {
  font-size: 1rem;
  margin: 3rem 0 1rem 0;
}

.stockist_store_name {
  font-size: 1rem;
  margin: 1rem 0 0 0;
}

.stockist_box {
}

.stockist_store_info {
}

.wpforms-field {
  width: 400px;
  max-width: 100%;
}
.wpforms-container .wpforms-field {
  max-width: 600px;
}
.wpforms-container input.wpforms-field-medium,
.wpforms-container select.wpforms-field-medium,
.wpforms-container .wpforms-field-row.wpforms-field-medium,
.wp-core-ui div.wpforms-container input.wpforms-field-medium,
.wp-core-ui div.wpforms-container select.wpforms-field-medium,
.wp-core-ui div.wpforms-container .wpforms-field-row.wpforms-field-medium {
  max-width: 100%;
}
div.wpforms-container-full .wpforms-confirmation-container-full,
div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message) {
  background:transparent;
  border:none
  box-sizing:border-box
}


.wpforms-container .wpforms-form .wpforms-field-description{
    font-size: 0.8rem;
    margin-top: 5px;
    color: #333;
    font-weight: 400;
    line-height: 1.3rem;
    width: 1200px;
    max-width:83vw;
}
.wpforms-container .wpforms-form .wpforms-field-label{

  font-weight: 500;
  font-size: 1rem;
  margin-top: 5px;
  color: #333;
}

div.wpforms-container-full select>option, .wp-core-ui div.wpforms-container-full select>option {
    color:#999;
}