@charset "UTF-8";
/*
Theme Name:Kamamoto
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300,400;500;600&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&display=swap');



html, body {
  margin: 0;
  font-size: 20px;
}

body{
  overflow: auto;
  background: #000;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  letter-spacing: 0.03em;
}

main {
  padding: 0 3rem;
  margin: 0;
}

section{
  border-top: #5E5E5E 1px solid;
  margin-top: 200px;
  padding-top: 5rem;
}

section.non-mt{
  margin-top: 0 !important;
}

.pc { display: block; }
.mw-1000 { display: none; }



@media screen and (max-width:1400px){
  html, body { font-size: 18px; }

  
  section {
    margin-top: 150px;
    padding-top: 3.5rem;
  }
}

@media screen and (max-width:1000px){
  .pc { display: none; }
  .mw-1000 { display: block; }
  main {
    padding: 0 2rem;
    margin: 0;
  }

  section {
    margin-top: 120px;
  }
}

@media screen and (max-width:750px) {
  html, body { font-size: 16px; }

  main { 
    padding: 0.8rem;
    padding-top: 0.8rem;
    padding-bottom: 0; 
  }

  section {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
  }
}

/* ========================================

      デザイン共通

===========================================*/

.view-sp {
  display: none
}

@media screen and (max-width: 750px) {
  .view-pc {
    display: none;
  }
  .view-sp {
    display: block;
  }
}
.noto-sans { font-family: 'Noto Sans JP', sans-serif; }

a { 
  color: #fff; 
  text-decoration-line: underline;
  text-decoration-thickness: 0.01em;
  text-underline-offset: 0.5em;
  transition: opacity 0.8s cubic-bezier(.4, 0, .2, 1);
}

a:hover { 
 opacity: 0.8;
}

rt { margin-bottom: 0.15rem; }

.vertical-ja {
  position: relative;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    text-orientation: mixed;
  padding-top: 3rem;
  letter-spacing: 0.3em;
  font-family: 'Noto Sans JP', sans-serif; 
}

.vertical-ja::before {
  position: absolute;
  content: "";
  width: 1px;
  height: 2.5rem;
  background: #fff;
  top: 0;
  left: 50%;
}

.vertical-en {
  writing-mode: vertical-rl;
  white-space: nowrap;
  font-family: 'Noto Sans JP', sans-serif; 
  font-weight: 500;
}

.home .parallax-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.home .parallax-img {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 140%;
  object-fit: cover;
  transform: translateY(0);
  will-change: transform;
}

body:not(.home) .parallax-wrap {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

body:not(.home) .parallax-img {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 140% !important;
  object-fit: cover;
  transform: translateY(0);
  will-change: transform;
}

.section-subtitle {
  position: relative;
  font-size: 1.5rem;
  padding-bottom: 1.5rem;
  padding-left: 3rem;
  font-family: 'Noto Sans JP', sans-serif; 
}

.section-subtitle.ss-right {
  margin-left: auto;
  width: fit-content;
}

@media screen and (max-width:1000px){
  .section-subtitle.ss-right {
    margin-left: 0;
    margin-right: auto;
  }
}

.section-subtitle::before {
  position: absolute;
  content: "";
  width: 2.5rem;
  height: 1px;
  background: #fff;
  top: 1rem;
  left: 0;
}

.button {
  font-size: 1.1rem;
  background-color: rgba(255, 255, 255, 0.2) !important;
  padding: 1rem 5rem;
  border-radius: 0.25em;
  text-align: center;
  color: #fff;
  text-decoration: none;
  width: fit-content;
  line-height: normal;
  transition: background-color 0.6s ease;
  font-family: 'Noto Sans JP', sans-serif; 
}

a.button:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  opacity: 1;
}

a.button-bl {
  font-size: 1.1rem;
  background-color: #000 !important;
  padding: 1rem 5rem;
  border-radius: 0.25em;
  text-align: center;
  color: #fff;
  text-decoration: none;
  width: fit-content;
  line-height: normal;
  transition: background-color 0.6s ease;
  font-family: 'Noto Sans JP', sans-serif; 
}

a.button-bl:hover {
  background-color: rgba(0, 0, 0, 0.7) !important;
  opacity: 1;
}

a.button-bl p {
  font-size: 1.1rem;
  text-align: center;
  color: #fff;
  text-decoration: none;
  line-height: normal
}


/* ~~~~~~~~~　英語サイト　~~~~~~~~~~~~~ */

.en-US .section-subtitle {
  font-size: 1.35em;
}

.en-US .section-subtitle::before {
  top: 1rem;
}


@media screen and (max-width:750px){

  .section-subtitle {
    font-size: 1.25em;
    padding-left: 2rem;
  }

  .section-subtitle::before {
    width: 1.5rem;
    height: 0.75px;
    left: 0;
  }

  .button {
    font-size: 1.2rem;
    padding: 1.1rem 5rem;
  }
  
  a.button-bl {
    font-size: 1.2rem;
    padding: 1.1rem 5rem;
  }
  
  a.button-bl p {
    font-size: 1.2rem;
  }

    /* ~~~~~~~~~　英語サイト　~~~~~~~~~~~~~ */

    .en-US .section-subtitle {
      font-size: 1.2em;
    }
}

@media screen and (max-width:450px){

  .section-subtitle {
    font-size: 1rem;
  }

  /* ~~~~~~~~~　英語サイト　~~~~~~~~~~~~~ */

  .en-US .section-subtitle {
    font-size: 1.1em;
  }
  
}

.dis-ib {
  display: inline-block;
}

.sp-bl {
  display: block;
  margin-top: 1em;
}

/* =====================　余白　================================ */

.mb-between { margin-bottom: 350px; }

@media screen and (max-width:1400px){ .mb-between { margin-bottom: 250px; } }

@media screen and (max-width:750px){ .mb-between { margin-bottom: 2.5rem; } }

.mt-between-0 { margin-top: -350px; }

@media screen and (max-width:1400px){ .mt-between-0 { margin-top: -250px; } }

@media screen and (max-width:750px){ .mt-between-0 { margin-top: -40px; } }

/* ページの最後のコンテンツ */

.mb-last { margin-bottom: 150px; }

@media screen and (max-width:1000px){ .mb-last { margin-bottom: 100px; } }

/* subtitleの余白追加 */

.pt-subtitle { padding-top: 2rem; }

.pt-subtitle.section-subtitle::before { top: 3rem; }


/* ================= Wordpressリセット =================== */

figure {
  margin: 0;
}

p {
  margin: 0;
}


.flex > .wp-block-group__inner-container {
  display: flex;
}

.h2 {
  line-height: normal;
  font-size: 3rem;
  transform: translateY(-0.35em);
  font-family: 'Noto Sans JP', sans-serif; 
  font-weight: 500;
  margin-top: 0;
  margin-left: 3rem;
}

@media screen and (max-width:1400px){
  .h2 { font-size: 2.5rem; }
}

@media screen and (max-width:750px){
  .h2 { font-size: 2rem;
        margin-left: 2rem;
  }
}

.lh-2-2em {
  line-height: 2.2em;
}

.lh-0 {
  line-height: 0;
}

.fs-2-5rem { font-size: 4rem !important; }
@media screen and (max-width:1400px){
  .fs-2-5rem { font-size: 3.5rem !important; }
}

@media screen and (max-width:750px){
  .fs-2-5rem { font-size: 2.5rem !important; }
}

@media screen and (max-width:480px){
  .fs-2-5rem { font-size: 2rem !important; }
}

.pl-3rem { padding-left: 3rem !important; }

.pb-3rem { padding-bottom: 3rem !important; }

.pb-5rem { padding-bottom: 5rem !important; }

.ml-1-5rem { margin-left: 1.5rem !important; }

.ml-1rem { margin-left: 1rem !important; }

.pl-h2 { padding-left: 3rem; }
@media screen and (max-width:750px){
  .pl-h2 { padding-left: 2rem; }
}

.mb-350px { margin-bottom: 350px !important; }

.mb-100px { margin-bottom: 100px !important; }

.mb-60px { margin-bottom: 60px !important; }

.mb-40px { margin-bottom: 40px !important; }

.mb-20px { margin-bottom: 20px !important; }

.mb-10px { margin-bottom: 10px !important; }

.mb-2rem { margin-bottom: 2rem !important; }

.mb-3rem { margin-bottom: 3rem !important; }
@media screen and (max-width:750px){ .mb-3rem { margin-bottom: 2rem !important; } }

.mb-5rem { margin-bottom: 5rem !important; }

.mb-0 { margin-bottom: 0 !important; }

.mb-h2 { margin-bottom: 4rem !important; }
@media screen and (max-width:750px){ .mb-h2 { margin-bottom: 2rem !important; } }

ul.wp-block-list { padding: 0; }

.wp-block-list li:not(:last-child) { margin-bottom: 3rem; }

@media screen and (max-width:1050px){
  .wp-block-list li:not(:last-child) { margin-bottom: 2.5rem; }
}

.attention-mark {
  position: relative;
  padding-left: 1em;
}

.attention-mark::before {
  position: absolute;
  content: "※";
  margin-right: 0.25em;
  top: 0;
  left: 0;
  display: inline-block;
  
}

.breadcrumb {
  text-align: right;
  font-family: 'Noto Sans JP', sans-serif; 
}

.breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.breadcrumb .sep {
  margin: auto 1rem;
}

@media screen and (max-width:750px) {

  .breadcrumb .sep {
    margin: auto 0.5rem;
  }

  .breadcrumb {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
  }
  
}

/* ==========================================

　　　　　　　　　　ヘッダー

================================================ */

header {
  position: fixed;
  top: 0;
  z-index: 9000;
  width: 100%;
  height: 100px;
  background: rgba(0, 0, 0, 1);
  font-family: 'Noto Sans JP', sans-serif; 
  align-content: center;
}

.site-header {
    display: flex !important;
    justify-content: space-between;
    padding: 0 3rem;
}

.header-right {
    display: flex !important;
    gap: 2rem;
    align-items: center;
}

.sh-logo img {
    width: auto;
    height: 2.85rem;
    padding-top: 0.4rem;
}

.sh-menu {
    position: relative;
    cursor: pointer;
    z-index: 3000;
    justify-content: center;
    background: #fff;
    color: #000;
    padding: 0.4rem 1rem;
    font-size: 1.1rem;
    border: none;
    font-family: 'Noto Sans JP', sans-serif; 
  }

  .global-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 350px;
    height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    color: #000;
    padding: 1rem 3rem;
    transform: translateX(100%);
    transition:transform 0.7s cubic-bezier(.4, 0, .2, 1);
    z-index: 3500;
    font-family: 'Noto Sans JP', sans-serif; 
  }

  .global-nav.open {
    transform: translateX(0);
  }
  
  .global-nav ul{
    padding: 0;
    margin: 0;
    list-style: none;
  }
  .global-nav ul.menu {
    margin-top: 4rem;
  }
  
  .global-nav ul.menu li{
    border-bottom: 1px #ddd solid;
    padding: 1.5rem 0;

  }

  .global-nav ul.menu li:first-child{
    border-top: 1px #ddd solid;
  }
  
  .global-nav a {
    color: #000;
    text-decoration: none;
  }

  /* ========== ×ボタン ========== */
.menu-close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
    z-index: 4000;
    border: none;
    width: 2.5rem;
    background: none;
    opacity: 0;
    transform: scale(0.9);
    transition:
      opacity 0.5s ease,
      transform 0.5s cubic-bezier(.4,0,.2,1);
    pointer-events: none;
  }

  .menu-close img{
    width: 2.25rem;
  }
  
  .menu-close.show {
    opacity: 1;  
    transform: scale(1);
    transition-delay: 0.5s;
    pointer-events: auto;
    cursor: pointer;
  }



  /* =============アイコンメニュー =====================*/

  .global-nav ul.gn-icon-menu {
    display: flex;
    gap: 0.5rem;
    margin-top: 5rem;
}

.global-nav ul.gn-icon-menu li{
  border: 0.5px solid #000;
  flex: 1;
  height: fit-content;
  box-sizing: border-box; 
  text-align: center;
  padding: 15px 0;
}

  .global-nav ul.gn-icon-menu li a{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.global-nav ul.gn-icon-menu li a .gm-icon-text{
  font-size: 0.8rem;
  margin-top: 5px;
}

.global-nav ul.gn-icon-menu li a img{
  width: 2rem;
  display: block;
  margin: 0 auto;
}

.gn-sns{
  display: flex;
  gap: 0.8rem;
  margin-top: 3rem;
  padding-bottom: 4rem;
}

.gn-sns img{
  width: 2rem;
  height: 2rem;
}

/* ================サブメニュー================= */

#menu-item-3292,  #menu-item-3291{
  margin-top: 2rem;
}

#menu-item-3292, #menu-item-3006, #menu-item-2645, #menu-item-3191, #menu-item-3143, #menu-item-3137,  #menu-item-3142, #menu-item-3291{
  border: none;
  padding: 0.5rem 0;
}

@media screen and (max-width:1400px) {

  header { height: 80px; }

  .global-nav {
    width: 350px;
  }

  .global-nav ul.gn-icon-menu li{
    padding: 10px 0;
  }

  .global-nav ul.gn-icon-menu li a .gm-icon-text{
    font-size: 0.75rem;
  }
  
  .global-nav ul.gn-icon-menu li a img{
    width: 1.8rem;
  }

  .global-nav ul.menu {
    margin-top: 3rem;
  }

  .global-nav ul.menu li {
    font-size: 0.9rem;
    padding: 1.2rem 0;
  }

  #menu-item-3292,  #menu-item-3291{
    margin-top: 1.5rem;
  }
  
  #menu-item-3292, #menu-item-3006, #menu-item-2645, #menu-item-3191, #menu-item-3143, #menu-item-3137,  #menu-item-3142, #menu-item-3291{
    font-size: 0.8rem;
  }

  .gn-sns {
    margin-top: 2rem;
  }

}

@media screen and (max-width:1000px) {

.site-header {
  padding: 0 2rem;
}

}

@media screen and (max-width:750px) {

  header { height: 70px; }

  .site-header {
    padding: 0 0.8rem;
  }

  .global-nav {
    width: 300px;
  }

  .header-right {
    gap: 1rem;
  }

  .sh-logo img {
    height: 2.2rem;
  }

  .sh-menu {
    font-size: 0.9rem;
    padding: 0.3rem 0.9rem;
  }

}

@media screen and (max-width:500px) {

  .site-header {
    padding: 0 0.8rem;
  }

  .header-right {
    gap: 0.8rem;
  }

  .sh-logo img {
    height: 2rem;
  }

  .sh-menu {
    position: relative;
    font-size: 0;
    width: 2rem;
    height: 2rem;
  }

  .sh-menu::before,
  .sh-menu::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 1rem;
    height: 0.8px;
    background: #000;
    transform: translateX(-50%);
  }

  .sh-menu::before {
    top: 0.65rem;
    box-shadow: 0 6px 0 #000;
  }

  .sh-menu::after {
    bottom: 0.55rem;
  }

  .global-nav {
    width: 81.2%;
  }

}

/* --- Bogo 言語切り替えボタンのデザイン --- */

.bogo-language-switcher {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.bogo-language-switcher li {
  display: flex; 
  align-items: center; 
  border: 1px solid #ccc;
}

.bogo-language-switcher li:has(a){
  background-color: rgb(255, 255, 255, 0.3);
}

.bogo-language-switcher a, .bogo-language-switcher span {
  padding: 5px 10px;
  display: flex;
  align-items: center;
  gap: 3px;
  width: 100%;
}

.bogo-language-switcher li a{
  text-decoration: none;
}

.bogo-language-switcher .bogo-language-flag {
  display: none !important;
}

.bogo-language-switcher li a::after, .bogo-language-switcher li span::after{
  content: "";
  display: block;
  width: 1rem;
  height: 0.8rem;
  margin-left: 5px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.bogo-language-switcher li.ja a::after, .bogo-language-switcher li.ja span::after{
  background-image: url('./img/header-jpn.webp'); 
}

.bogo-language-switcher li.en-US a::after, .bogo-language-switcher li.en-US span::after {
  background-image: url('./img/header-en.png');
}


@media screen and (max-width:750px) {
  .bogo-language-switcher li{
    font-size: 0.9rem;
  }
}

@media screen and (max-width:750px) {
  .bogo-language-switcher li{
    font-size: 0.8rem;
  }

  .bogo-language-switcher a, .bogo-language-switcher span {
    padding: 4px 9px;
    gap: 0;
  }
}

header p {
  position: static;
  top: auto;
  right: auto;
  transform: none;
}


/* ==========================================

　　　　　　　　　　フッター

================================================ */

.site-footer {
    padding: 3rem 10rem 1.5rem 10rem;
    background: #1a1a1a;
    font-family: 'Noto Sans JP', sans-serif; 
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-content: stretch;
}

.sf-logo img{
    height: 2.5rem;
}

.footer-sns a:not(:first-child){
  margin-left: 0.25rem;
}

.footer-sns a img{
  height: 2rem;
}

.footer-adress {
    margin-top: 1.5rem;
}

.footer-adress .fa-flex{
    display: flex;
    gap: 2rem;
    margin-top: 0.8rem;
}

.footer-sns {
  margin-top: auto;
  padding-top: 1rem;
}

.site-footer nav ul{
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 1.5rem;
  justify-items: center;
}

.site-footer nav li{
  list-style: none;
  font-size: 0.9rem;
}

.site-footer nav a{
  color: #fff;
  text-decoration: none;
}

.copyright {
  font-size: 0.7rem;
  margin-top: 80px;
  text-align: center;
}

@media screen and (max-width:1400px){
  
  .site-footer {
    padding: 3rem 5rem 1.5rem 5rem;
  }
}

@media screen and (max-width:750px){

  .footer-flex {
    flex-direction: column;
}
  
  .site-footer {
    padding: 3rem 2rem 1.5rem 2rem;
  }

  .footer-adress .fa-flex{
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.8rem;
  }

  .footer-sns {
    margin-top: 2rem;
  }

  .site-footer nav ul{
    gap: 0;
    margin-top: 3rem;
  }
  
  .site-footer nav li{
    border-top: #2b2b2b 1px solid;
    padding: 1rem 0;
    width: 100%;
    text-align: center;
  }

  .site-footer nav li:last-child{
    border-bottom: #2b2b2b 1px solid;
  }
}


/* ==========================================

　　　　　　　　　　FV

================================================ */


:root {
  --header-height: 100px; /* デフォルト */
}

@media (max-width: 1440px) {
  :root {
    --header-height: 80px;
  }
}

@media (max-width: 750px) {
  :root {
    --header-height: 70px;
  }
}

.fv,
.fv * {
  box-sizing: border-box;
}

.fv-top {
  margin-top: var(--header-height);
}

.fv-top,
.fv-bottom {
  display: flex;
}

.fv-bottom {
  margin-top: 1rem;
}

.fv-left {
  width: 70%;
  height: 100%;
  overflow: hidden;
  margin-right: 1rem;
}

.fv-right {
  width: 30%;
}

.fv-top .fv-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: calc(100svh - var(--header-height));
}

.fv a {
  display: block;
  position: relative;
  color: #fff;
  text-decoration: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* ====================FV 上段================ */

.fv .fv-left-1 {
  /* PCのときはここで高さを決定 */
  height: calc(100svh - var(--header-height));
  width: 100%;
  position: relative; /* 子要素の基準点 */
}

.fv .fv-left-1 div{
  height: 100%;
}

.fv .fv-left-1 > div, 
.fv .fv-left-1 .n2-ss-slider {
  height: 100% !important;
}

.fv .fv-left-1 div.scroll-indicator, .fv .fv-left-1 div.scroll-indicator div{
  height: auto !important;
}

.fv .fv-left-1 .n2-ss-slider-wrapper-inside {
  height: 100% !important; 
  min-height: 100% !important;
}

.fv .fv-left-1 .n2-ss-slider-wrapper-inside div:not(.n2-ss-widget){
  height: 100% !important; 
  min-height: 100% !important;
}

/* --------------矢印------------------ */

.n2-ss-slider-controls {
  width: fit-content;
  height: fit-content !important;
  bottom: 0;
}

.n2-ss-widget {
  height: auto !important;
  bottom: 1rem;
}

.nextend-arrow {
  bottom: 1.25rem;
}

div#n2-ss-6 .nextend-arrow img {
  width: 1.5rem !important;
}

.nextend-arrow-previous {
  position: absolute !important;
  left: 35%;
}

.nextend-arrow-next {
  position: absolute !important;
  right: 35%;
}

/* =====================FV 下段==================== */

.fv-left-2 {
  height: 50svh !important;
}

.fv-bottom .fv-right-3 {
  height: 50svh;
}

/* ====================テキスト============================= */

.fv span {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  z-index: 5;
  line-height: 1.2;
  font-family: 'Noto Sans JP', sans-serif;
  text-shadow:
  1.1px  1px 0 #3b3b3b,
 -1.1px  1px 0 #3b3b3b,
  1.1px -1px 0 #3b3b3b,
 -1.1px -1px 0 #3b3b3b;
 letter-spacing: 0.05em;
}

.fv span.fv-span-jp {
  letter-spacing: 0.12em;
}

/* -------スクロールテキスト--------- */


.scroll-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.15em;
  background: #000;
}

.scroll-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 50px 0 0 30px;
  background: rgba(0,0,0,0.5);
}

span.scroll-text {
  position: relative;
  writing-mode: vertical-lr;
  white-space: nowrap;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: normal;
}

span.scroll-line {
  position: relative;
  width: 1px;
  height: 8rem;
  background: rgba(255,255,255,0.3);
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 1px;
  height: 100%;
  background: #fff;
  animation: scrollLine 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes scrollLine {
  0% {
    top: -100%;
  }
  50% {
    top: 0;
  }
  100% {
    top: 100%;
  }
}


@media screen and (max-width:1400px){

  .fv-left {
    width: 70%;
  }
  
  .fv-right {
    width: 30%;
  }

  div#n2-ss-6 .nextend-arrow img {
    width: 1.2rem !important;
  }
  
  .nextend-arrow-previous {
    left: 30%;
  }
  
  .nextend-arrow-next {
    right: 30%;
  }

  .scroll-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.15em;
  background: #000;
}

.fv span {
  right: 0.5rem;
  font-size: 1.3rem;
}

.scroll-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2.5rem 0 0 1.1rem;
}

span.scroll-text {
  font-size: 1rem;
}

span.scroll-line {
  position: relative;
  width: 1px;
  height: 8rem;
  background: rgba(255,255,255,0.3);
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 1px;
  height: 100%;
  background: #fff;
}

}

@media (max-width: 750px) {

  .fv-top {
    flex-direction: column;
    margin-bottom: 0.8rem;
    height: calc(100svh - var(--header-height));
    position: relative;
    overflow: hidden
  }

  .fv-top .fv-left,
  .fv-top .fv-right {
    width: 100%;
    margin-right: 0;
  }

  .fv-top .fv-right {
    display: flex;
    flex-direction: row;
    width: 100%;
    flex-shrink: 0;
  }

  .fv-top .fv-left {
    flex: 1;
    min-height: 0;
    height: auto;
    padding-bottom: 0.8rem;
    box-sizing: border-box;
  }

  .fv .fv-left-1 {
    overflow: hidden;
    height: 100% !important;
    width: 100%;
  }

  .fv .fv-left-1,
  .fv .fv-left-1 div:not(.nextend-arrow, .nextend-autoplay, .scroll-indicator ),
  .fv .fv-left-1 picture img {
    object-fit: cover;
  }

  .fv-top .fv-right {
    display: flex;
    flex-direction: row;
    gap: 0;
    height: auto;
    width: 100%;
    flex-shrink: 0;
  }
  

  .fv-top .fv-right a {
    width: 50%;
    aspect-ratio: 1 / 1;
    height: auto;
  }

  .fv-bottom {
    margin-top: 0;
  }

  .fv-bottom .fv-left,
  .fv-bottom .fv-right {
    width: 50%;
  }

  .fv-left-2,
  .fv-right-3 {
    aspect-ratio: 1 / 1;
  }

  .fv-left-2 {
    height: auto !important;
  }

  .fv a {
    height: auto;
  }

  .fv-bottom .fv-right-3 {
    height: auto;
  }

  .fv-bottom .fv-left {
    margin-right: 0.8rem;
  }

  .fv-top .fv-right-1 {
    margin-right: 0.8rem;
  }

  .fv span {
    text-align: right;
    bottom: 0.8rem;
    right: 0.8rem;
    font-size: 1.1rem;
    line-height: 1.2rem;
  }

  div#n2-ss-6 .nextend-arrow img {
    width: 1rem !important;
  }
  
  .nextend-arrow-previous {
    bottom: 2rem;
  }
  
  .nextend-arrow-next {
    bottom: 2rem;
  }

  .nextend-autoplay-pause, .nextend-autoplay {
    bottom: 1.25rem;
  }
  

  .scroll-indicator {
    position: relative;
    bottom: 7.5rem;
    left: 0;
    width: fit-content;
  }

  .scroll-box {
    padding: 2rem 0 0 1.1rem;
  }
  
  span.scroll-text {
    font-size: 0.8rem;
  }

  span.scroll-line {
    height: 5.5rem;
    width: 0.75px;
  }
  .scroll-line::after {
    width: 0.75px;
  }

}

/* ==========================================

　　　　　　　　　　TOP-NEWS

================================================ */

.top-news-content {
  display: flex;
  justify-content: space-between;
}

.top-news-content p {
  margin: 0;
}

.top-news-content a {
  color: #fff;
  text-decoration: none;
}

.top-news2 .section-subtitle {
  margin-bottom: 5rem;
  margin-top: 2rem;
}

.top-news .h2 {
  line-height: normal;
  margin-bottom: 2rem;
  font-family: 'Noto Sans JP', sans-serif;
}

.tn-left {
  width: 27%;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.tn-left ul, .tn-left a{
  margin-left: 3rem;
}

.tn-left ul li a{
  margin-left: 0;
}

.tn-left ul {
  width: 60%;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
  font-family: 'Noto Sans JP', sans-serif;
}

.tn-left ul li {
  list-style: none;
  background: #fff;
  color: #000;
  padding: 7px 12px;
  border-radius: 5px;
  line-height: normal;
}

.tn-left ul li a{
  color: #000;
  text-decoration: none;
}

.tn-left a.button {
  margin-top: auto;
}

/* right */

.tn-right {
  width: calc( 100% - 30% );
}

.tn-right ul{
  display: flex;
  flex: 1 1 auto;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.tn-right ul li {
  flex: 1;
  min-width: 0;
  list-style: none;
}

.tn-right img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.tn-text-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.2rem;
  margin-top: 2rem;
}

.news-category-tag {
  border: #fff 0.75px solid;
  border-radius: 5px;
  padding: 5px 10px;
  line-height: normal;
  font-family: 'Noto Sans JP', sans-serif;
}

.tn-right p.news-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 2em;
  font-size: 1.4rem
} 

@media screen and (max-width:1500px){

  .top-news .button {
    padding: 1rem;
    width: 70%;
  }

  .tn-left {
    width: 25%;
  }

  .tn-left ul {
    width: auto;
  }

  .tn-left ul li{
    font-size: 0.9rem;
  }

  .news-category-tag {
    font-size: 0.9rem;
  }

}

@media screen and (max-width:1200px){

  .top-news-content {
    flex-direction: column;
  }

  .top-news-content h2 {
    margin-bottom: 0;
  }

  .tn-left ul {
    margin-bottom: 1rem;
    margin-left: 0;
  }

  .tn-left a.pc{
    display: none;
  }

  .top-news-content a.mw-1000{
    display: block;
  }

  .tn-left {
    width: 100%;
    padding-left: 0;
  }

  .tn-right {
    width: 100%;
  }

  .top-news .button {
    padding: 1rem 5rem;
    width: fit-content;
    margin: 0 auto;
    margin-top: 5rem;
  }

  .tn-text-top {
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
  }

  .news-category-tag {
    width: fit-content;
  }
  
}

@media screen and (max-width:750px){

  .top-news .button {
    margin-top: 2.5rem;
  }

  .tn-right p.news-description {
    font-size: 1.1rem
  } 
  
}

@media screen and (max-width:450px){

  .tn-left ul {
    gap: 5px;
  }

  .tn-left ul li {
    font-size: 0.8rem;
    padding: 4px 8px;
  }

  .tn-text-top {
    margin-bottom: 1rem;
    margin-top: 0.5rem;
  }

  .news-description {
    font-size: 0.9rem;
    line-height: 1.6rem;
  }

  .news-category-tag {
    font-size: 0.8rem;
    padding: 4px 8px;
  }
  
}

/* ==========================================

　　　　　　　　　　TOP-ABOUT

================================================ */

.top-about .flex-design1-text-bottom p {
  font-size: 1.4rem;
  line-height: 2.2em;
}

.top-about .flex-design1-img {
  height: auto;
}

.top-about .flex-design1 {
  gap: 5vw;
}

.top-about .flex-design1 .vertical-ja {
  padding-top: 0;
  font-size: clamp(1rem, 2.2vw, 1.8rem);
}

.top-about .flex-design1 .vertical-ja::before {
  display: none;
}

.top-about .flex-design1 .vertical-ja .sp-bl{
  margin-top: 0;
}

@media screen and (max-width:1400px){

 .top-about .flex-design1-text-bottom p {
   font-size: 1.2rem;
 }
}

@media screen and (max-width:1000px){
   .top-about .h2 {
    margin-bottom: 2rem;
  }

  .top-about .flex-design1-text-bottom p {
    font-size: 1rem;
  }

  .top-about .flex-design1 {
    gap: 0;
  }
}

@media screen and (max-width:750px){
  .top-about .h2 {
   margin-bottom: 1.5rem;
 }
}


@media screen and (max-width:450px) {
  .top-about .h2 { font-size: 2rem; }
}

/* ===================================

     Instagram投稿セクション

===================================*/

.top-insta {
  display: flex;
  padding: 2rem;
  background: rgb(255, 255, 255, 0.1);
  margin-top: 3rem;
}

.top-insta .top-insta-left{
  width: calc( 30% - 1rem );
  padding-left: 1rem;
  margin-top: auto;
  display: flex;
  gap: 0.5rem;
}

.top-insta .top-insta-left img{
  width: 3vw;
  max-width: 3rem;
  height: auto;
  aspect-ratio: 1 / 1;
}

.my-insta-caption {
  font-size: 1.2rem;
  text-align: left; 
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; 
  overflow: hidden;
  line-height: 2em;
}

#sb_instagram {
  width: calc( 100% - 30% );
  padding: 0 !important;
  margin: 0;
}

#sb_instagram .my-insta-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#sb_instagram #sbi_load, #sb_instagram .sb_instagram_header{
  display: none !important;
}

#sb_instagram #sbi_load, #sb_instagram .my-insta-link{
  display: flex;
  gap: 0.25rem;
}

#sb_instagram #sbi_load, #sb_instagram .my-insta-link img{
  width: 1.5rem;
}

#sb_instagram #sbi_images {
  gap: 3rem !important;
  padding: 0;
}

#sb_instagram #sbi_images .sbi_item{
  display: flex;
  gap: 1.5rem;
}

#sb_instagram .sbi_photo_wrap {
  aspect-ratio: 1 / 1 !important;
  height: fit-content;
  width: 30%;
}

#sb_instagram .sbi_photo {
  aspect-ratio: 1 / 1 !important;
  height: auto;
}

@media screen and (max-width:1600px){

  #sb_instagram #sbi_images {
    gap: 2rem !important;
  }

  #sb_instagram .sbi_photo_wrap {
    width: 40%;
  }

  #sb_instagram #sbi_load, #sb_instagram .my-insta-link span{
    font-size: 0.9rem;
  }

}

@media screen and (max-width:1200px){

  .top-insta {
    flex-direction: column-reverse;
  }

  .top-insta .top-insta-left {
    width: 100%;
    padding-left: 0;
    margin-top: 3rem;
    text-align: right;
  }

  .top-insta .top-insta-left img{
    width: 2rem;
  }

  #sb_instagram #sbi_images {
    gap: 1.2rem !important;
  }

  #sb_instagram {
    width: 100%;
  }

  #sb_instagram .sbi_photo_wrap {
    width: 35%;
  }

  .my-insta-caption {
    font-size: 1.1rem;
    line-height: 1.85em;
  }
  
}

@media screen and (max-width:750px){

  .top-insta {
    padding: 1rem;
  }

  #sb_instagram.sbi_tab_col_2 #sbi_images {
    grid-template-columns: auto;
  }

  #sb_instagram .sbi_photo_wrap {
    width: 30%;
  }

  #sb_instagram #sbi_load, #sb_instagram .my-insta-link img{
    width: 1.2rem;
  }

}

@media screen and (max-width:450px){

  #sb_instagram.sbi_tab_col_2 #sbi_images {
    grid-template-columns: auto;
  }

  #sb_instagram #sbi_images .sbi_item {
    gap: 1rem;
  }

  #sb_instagram .sbi_photo_wrap {
    width: 40%;
  }

  #sb_instagram #sbi_load, #sb_instagram .my-insta-link img{
    width: 1.2rem;
  }

}

/* ==========================================

　　　　　動画セクション

================================================ */

.video-sp { display: none; }

.home .content-for-child.video {
  height: auto;
  padding: 40vh 0;
}

.home .content-for-child.video a {
  position: relative;
  z-index: 20;
  display: block;
  background: #fff;
  padding: 1.5rem 0;
  padding-right: 1rem;
  text-align: center;
  text-decoration: none;
  margin: 0 auto;
  width: 13rem;
  color: #000;
  font-size: 1.3rem;
  border-radius: 999px;
  font-family: 'Noto Sans JP', Noto sans-serif;
}

.home .content-for-child.video a::after { 
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  border-top: 0.4rem solid transparent;
  border-bottom: 0.4rem solid transparent;
  border-left: 0.6rem solid #000000;
  right: auto;
  top: 2rem;
  margin-left: 0.5rem;
}

.video-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.video-modal.is-active {
  display: block;
}

.video-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.7);
}

.video-modal__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(90vw, 60%);
  background: #000;
}

.video-modal video {
  width: 100%;
  height: auto;
  display: block;
}

.video-modal__close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  color: #fff;
  font-size: 24px;
  border: none;
  cursor: pointer;
}

@media screen and (max-width:750px){

  .video-sp { display: block; }
  .video-pc { display: none; } 

  .home .content-for-child.video a {
    font-size: 1.1rem;
    width: 9rem;
    padding: 1.25rem 0;
    padding-right: 1rem;
  }

  .home .content-for-child.video a::after {
    top: 1.75rem;
  }

  .home .content-for-child.video {
    padding: 20vh 0;
  }
  
  /* =========================================
     ▼ ここから動画の回転・最大化用のCSSを追加 ▼
  ========================================= */

  .video-modal__content {
    width: 90vh; 
    max-width: 100vh;
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .video-modal video {
    max-height: 90vw;
  }

  .video-modal__close {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 32px;
    width: 44px;
    height: 44px;
    line-height: 40px;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    z-index: 10000;
  }
}
  

/* ==========================================

　　　　　子ページに飛ぶリンクセクション

================================================ */

.content-for-child:not(:first-child) {
  margin-top: 20px;
}

.home .content-for-child {
  position: relative;
  width: 100%;
  height: fit-content;
  overflow: hidden; 
  padding: 300px 0 50vh 0;
}

.home .cfc-bg-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.home .cfc-background {
  position: absolute;
  top: -10%;
  left: 0;
  filter: grayscale(100%);
}

.home .video .cfc-background {
  position: absolute;
  top: auto;
  left: 0;
  filter: none;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.home .video .cfc-bg-wrap {
  position: absolute; 
  z-index: 1;
  width: 100%;
  height: 100%;
}

/* 親要素に対してレイヤーを作る */
.home .video .cfc-bg-wrap::after {
  content: "";
  position: absolute;
  inset: 0; 
  background: rgba(0, 0, 0, 0.3); 
  pointer-events: none; 
}


.cfc-headline {
  position: absolute;
  top: 40px;
  right: 0;
  margin-right: 0.5rem;
  z-index: 10;
}


.cfc-headline .vertical-ja {
  line-height: 0;
  font-size: 1.25rem;
  margin-right: 0;
  margin-left: 0;
  line-height: normal;
  right: 2rem;
  height: 7em;
  white-space: nowrap;
}

.cfc-headline .vertical-en {
  position: absolute;
  font-size: 3rem;
  line-height: 0;
  top: 0;
  right: 0;
  margin: 0;
  margin-top: 3rem;
  margin-right: 2em;
}

/* ========中央の白ボックス=================== */

.cfc-box {
  position: relative;
  z-index: 4;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 20px 40px rgba(0,0,0,.2);
  text-align: center;
  width: 60%;
  height: auto;
  min-height: auto;
  max-width: 1100px;
  aspect-ratio: 1 / 1;
  padding: 1rem;
  padding-bottom: 3rem;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.cfc-box img {
  width: 100%;
  height: 65%;
  object-fit: cover;
  margin-bottom: 1.2rem;
}

.cfc-box p.cfc-text-sp {
  display: none;
}

.cfc-box p {
  color: #000;
  margin: 0 auto 2rem;
  line-height: 2em;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: clamp(1.2rem, 1.2vw, 1.35rem);
}

.cfc-box a {
  width: clamp(8rem, 40%, 15rem);
  margin: 0 auto;
}

.cfc-box .button-bl {
  padding: 1rem 1rem;
  margin-top: 0;
  margin-bottom: 0;
  flex-shrink: 0;
}

@media screen and (max-width:1400px){

  .cfc-box p {
    font-size: 1.1rem;
  }
  
}

@media screen and (max-width:1000px){

  .cfc-box p {
    font-size: 1rem;
  }

  .cfc-box p.cfc-text-sp {
    display: flex;
    flex-direction: column;
  }
  
  .cfc-box p.cfc-text-pc {
    display: none;
  }

  .cfc-box {
    width: 45%;
    max-width: 350px;
  }
  
}



/* ~~~~~~~~~~~~~~~~~~~~   英語版サイト ~~~~~~~~~~~~~~~~~~~~~~~~ */

.en-US .cfc-headline .vertical-en {
  position: relative;
  margin-right: 1em;
  padding-top: 5rem;
  margin-top: 0;
}

.en-US .cfc-headline .vertical-en::before {
  position: absolute;
  content: "";
  width: 1px;
  height: 4rem;
  background: #fff;
  top: 0;
  left: 50%;
}

@media screen and (max-width:1200px){

  .cfc-headline .vertical-en {
    margin-right: 1.8em;
  }
  
}


@media screen and (max-width:750px){

  .content-for-child:not(:first-child) {
    margin-top: 0.8rem;
  }

  .home .content-for-child {
    padding: 100px 0 15vh 0;
  }

  .cfc-headline .vertical-ja {
    font-size: 0.8rem;
    right: 0;
  }
  
  .cfc-headline .vertical-en {
    font-size: 1.55rem;
    margin-right: 1.2em;
  }

  .cfc-headline .vertical-en.site-en {
    font-size: 1.8rem;
  }

  .cfc-headline .vertical-en.site-en {
    position: relative;
    margin-right: 0.5em;
    padding-top: 4rem;
  }
  
  .cfc-headline .vertical-en.site-en::before {
    height: 3rem;
  }

  .cfc-box {
    width: 60%;
    height: auto;
    padding: 0.5rem;
    padding-bottom: 2rem;
    aspect-ratio: auto;
  }

  .cfc-box p {
    font-size: 0.85rem;
  }

  .cfc-box img {
    height: 100%;
  }

  .is-safari .cfc-headline .vertical-ja {
    margin-right: 1rem;
  }

  .is-safari .cfc-headline .vertical-en {
    margin-right: 2em;
  }

  /* ~~~~~~~~~~~~~~~~~~~~   英語版サイト ~~~~~~~~~~~~~~~~~~~~~~~~ */

 .is-safari .en-US .cfc-headline .vertical-en {
    margin-right: 0.5em;
  }
  
}

/* ==============================================================

          石垣焼についてページ

===================================================================*/

/* ----------切り替えtabデザイン------------- */

section.about-script {
  padding-top: 0;
  border: none;
}

.tab-navigation-wrapper {
    background-color: #000;
    margin-bottom: 3rem;
}

.tab-buttons {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    gap: 1rem;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #888;
    padding: 2rem 2rem;
    text-align: left;
    cursor: pointer;
    transition: 0.3s;
}

.tab-btn .ab-sub {
    font-size: 1rem;
    font-family: 'Noto Sans JP', sans-serif;
    color: inherit;
    padding-bottom: 1rem;
}

.tab-btn .h2 {
    font-size: 1.5rem;
    font-family: 'Noto Sans JP', sans-serif;
    color: inherit;
    margin-left: 0;
}

.tab-btn.active {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.tab-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.tab-section {
    width: 100%;
    margin-top: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.tab-section.active {
    opacity: 1;
}

.back-to-top-generated {
    display: inline-block;
    margin-top: 2rem;
    width: 2rem;
    height: auto;
    aspect-ratio: 1 / 1;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    font-size: 0.65rem;
    float: right;
    transition: 0.3s;
    cursor: pointer;
    text-align: center;
    align-content: center;
}
.back-to-top-generated:hover {
    background: rgb(255, 255, 255, 0.2);
}
.tab-section::after {
    content: "";
    display: block;
    clear: both;
}

@media screen and (max-width: 1400px) {
  .tab-btn .ab-sub {
    font-size: 1rem;
    padding-bottom: 0.5rem;
}

.tab-btn .h2 {
    font-size: 1.5rem;
}
}

@media screen and (max-width: 1000px) {
    .tab-buttons {
        flex-direction: column;
    }

    .tab-btn .ab-sub {
      font-size: 0.8rem;
      padding-bottom: 0.5rem;
  }
  
  .tab-btn .h2 {
      font-size: 1.25rem;
  }
}

@media screen and (max-width: 750px) {
  .tab-btn {
    padding: 1rem 1.5rem;
  }
  .tab-buttons {
    gap: 0.5rem;
  }
}

/* ----------------------------------------- */

.c-about-top > .wp-block-group__inner-container{
  position: relative;
  width: 100%;
  overflow: hidden;
}

body:not(.home) .c-about-top  .parallax-wrap {
  position: absolute;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.c-about-top-content {
  position: relative;
  z-index: 5;
  padding: 7rem;
}

.c-about-top-content > .wp-block-group__inner-container {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
}

.c-about-top-content .c-about-content-p {
  width: 80%;
}

.c-about-top-content h2{
  font-size: 2em;
}

.c-about-top-content h2 .sp-bl {
  margin-top: 0;
}

.c-about-top-content .vertical-ja{
  padding-top: 0;
}

.c-about-top-content .vertical-ja::before {
  content: none;
}

/* ~~~~~~~~~~~~~~~~~英語版サイト~~~~~~~~~~~~~~~~~~~~ */

.en-US .c-about-top-content > .wp-block-group__inner-container {
  display: block;
}

.en-US .c-about-top-content h2 {
  margin-bottom: 2rem;
}

.en-US .c-about-top-content .c-about-content-p {
  width: 100%;
}



@media screen and (max-width:1400px){

  .c-about-top-content {
    padding: 7rem 4rem;
  }

  .c-about-top-content h2 {
    font-size: 1.75rem;
  }
  
}

@media screen and (max-width:750px){

  .c-about-top-content {
    padding: 5rem 2rem;
  }

  .c-about-top-content h2 {
    font-size: 1.25rem;
    margin-right: 0;
  }

  .c-about-top-content .c-about-content-p {
    font-size: 0.9rem;
  }

  /* ~~~~~~~~~~~~~~~~~英語版サイト~~~~~~~~~~~~~~~~~~~~ */

.en-US .c-about-top-content h2 {
  font-size: 1.35rem;
}
  
}

/* ------------ページ内リンク-------------- */

.about-link-group {
  display: flex;
}

.about-link {
  position: relative;
  height: 15vh;
}

.about-link::after {
  content: "";
  bottom: 0;
  right: 0;
  width: 1px;
  height: 40px;
  z-index: 10;
}

.about-link figure{
  position: absolute;
}

.about-link p{
  position: absolute;
  z-index: 5;
  top: 0;
}

.about-link .vertical-ja{
  padding-top: 0;
}

.about-link .vertical-ja::before{
  content: none;
}

/* ------------SPRITセクション-------------- */

.about-spirit > .wp-block-group__inner-container {
  display: flex;
}

.about-spirit .about-spirit-left {
  width: 35%;
  padding-right: 1rem;
}

.about-spirit .about-spirit-text {
  width: 65%;
}

@media screen and (max-width:1000px){

  .about-spirit > .wp-block-group__inner-container {
    display: block;
  }

  .about-spirit .about-spirit-left {
    width: 100%;
    padding-right: 1rem;
  }

  .about-spirit .about-spirit-text {
    width: 100%;
    margin-top: 2rem;
  }
  

  .about-spirit .h2.ml-1rem {
    margin-left: 0 !important;
  }
  
}

/* ==============================================

      テンプレートデザイン

==================================================*/

/* --------------------------------左右に見出し・説明と画像---------------------------- */
.flex-design1 > .wp-block-group__inner-container{
  display: flex;
  align-items: stretch;
}

.flex-design1{
  display: flex;
  align-items: stretch;
}

.flex-design1.rr
  > .wp-block-group__inner-container {
  flex-direction: row-reverse;
}

.flex-design1.rr{
  flex-direction: row-reverse;
}

.flex-design1.rr .h2 {
  text-align: right;
}

.flex-design1-text {
  width: 50%;
  padding-right: 3vw;
  padding-left: 1rem;
  box-sizing: border-box;
}

.flex-design1.rr .flex-design1-text {
  padding-right: 1rem;
  padding-left: 3vw;
}

.flex-design1-img {
  width: 50% !important;
  height: 80vh !important;
}

.flex-design1-text > .wp-block-group__inner-container{
  display: flex;
  flex-direction: column;
  height: 100%;
}

.flex-design1-text{
  display: flex;
  flex-direction: column;
  height: auto;
}

.flex-design1-text-bottom {
  margin-top: auto;
}


@media screen and (max-width:1000px){

  .flex-design1 > .wp-block-group__inner-container{
    flex-direction: column-reverse;
  }
  
  .flex-design1 {
    flex-direction: column-reverse;
  }
  
  .flex-design1.rr
    > .wp-block-group__inner-container {
    flex-direction: column-reverse;
  }
  
  .flex-design1.rr{
    flex-direction: column-reverse;
  }
  
  .flex-design1-text {
    width: 100%;
    padding-right: 0;
    padding-left: 0;
  }
  
  .flex-design1.rr .flex-design1-text {
    padding-right: 0;
    padding-left: 0;
  }
  
  .flex-design1-img {
    width: 100% !important;
    height: 50vh !important;
  }
  
  .flex-design1-text{
    display: flex;
    flex-direction: column;
    height: auto;
  }
  
  .flex-design1-text-bottom {
    margin-top: 3rem;
  }

  .flex-design1-text-bottom .button {
    display: block;
    margin: 0 auto;
  }
  
}

@media screen and (max-width:750px){

  .flex-design1-text-bottom {
    margin-top: 2rem;
  }

  .flex-design1-text-bottom .pb-3rem {
    padding-bottom: 2rem !important;
  }
  
}

/* -----------------------------スクリーン背景（パララックス）・真ん中にテキストボックス（ボタンあり）---------------------------- */

.backgroundimg-design2 > .wp-block-group__inner-container{
  position: relative;
  width: 100%;
  height: 1360px;
  overflow: hidden; 
}

.backgroundimg-design2-background {
  position: absolute !important;
  top: -10%;
  left: 0;
  filter: grayscale(100%);
}

figure.backgroundimg-design2-background {
  height: 1500px !important;
}

.backgroundimg-design2-background img {
  width: 100%;
  height: 120% !important;
  object-fit: cover;
}

.backgroundimg-design2-box > .wp-block-group__inner-container{
  position: relative;
  z-index: 4;
  margin: auto;
  background: #fff;
  width: 1200px;
  height: auto;
  display: flex;
  flex-direction: column;
  margin-top: 200px;
  padding: 4rem 0 5rem 0;
  font-size: 1.15rem;
}

.backgroundimg-design2-box-text {
  color: #000;
  width: 70%;
  margin: 0 auto;
}

.backgroundimg-design2-box-text.bd2-sp {
  display: none;
}

.backgroundimg-design2-box a {
  width: 50%;
  margin: 0 auto;
}

.backgroundimg-design2-box a.button-bl {
  padding: 1.5rem 0;
}

@media screen and (max-width:1600px){

  .backgroundimg-design2-box > .wp-block-group__inner-container{
    width: 75%;
    padding: 3rem 0 4rem 0;
  }

  .backgroundimg-design2 > .wp-block-group__inner-container{
    height: 1180px;
  }

  figure.backgroundimg-design2-background {
    height: 1300px !important;
  }

  .backgroundimg-design2-box a.button-bl {
    padding: 1.5rem 1rem;
  }

  /* ~~~~~~~~~~~~~~~~~英語版サイト~~~~~~~~~~~~~~~~~~~~~ */
  
  .en-US .backgroundimg-design2 > .wp-block-group__inner-container{
    height: 1240px;
  }

  .en-US figure.backgroundimg-design2-background {
    height: 1370px !important;
  }
  
}

@media screen and (max-width:1000px){

    /* ~~~~~~~~~~~~~~~~~英語版サイト~~~~~~~~~~~~~~~~~~~~~ */
  body.enclass a.cb-pc { display: none; }

  .en-US .backgroundimg-design2-box-text.bd2-sp {
    display: block;
  }

  .en-US .backgroundimg-design2-box-text.bd2-sp.mb-3rem{
    margin-bottom: 0 !important;
  }

  .en-US .backgroundimg-design2-box > .wp-block-group__inner-container {
    margin-top: 0;
  }

  .en-US .backgroundimg-design2 > .wp-block-group__inner-container {
    height: fit-content;
    padding: 8rem 0;
  }

  .en-US figure.backgroundimg-design2-background {
    height: 120% !important;
  }

  .en-US .backgroundimg-design2-box-text.bd2-pc {
    display: none;
  }

  .en-US .fixed-bottom-nav {
    display: flex; 
    position: fixed; 
    bottom: 0; 
    left: 0;  
    width: 100%; 
    z-index: 999;
    padding-bottom: env(safe-area-inset-bottom);
    background: #fff; 
}

.en-US .bottom-nav-btn {
    flex: 1; 
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3.8rem;   
    text-decoration: none;
    color: #fff;
    font-size: 1rem; 
    letter-spacing: 0.05em;
    font-family: 'Noto Sans JP', sans-serif;
}

.en-US .bottom-nav-btn.reserve {
    background-color: #187983; 
}

.en-US .bottom-nav-btn.agent {
    background-color: #000;
    border-left: 1px solid rgba(255,255,255,0.2); 
}

.en-US .bottom-nav-btn span:not(.next-icon) {
    display: block;
    line-height: 1.2;
    padding-right: 1rem;
    font-size: 0.9rem;
    position: relative;
}

.en-US a.bottom-nav-btn .next-icon-tb{ 
position: absolute;
top: 0.35rem;
}

.en-US a.bottom-nav-btn .next-icon-tb::after{ 
position: absolute;
content: "";
width: 0;
height: 0;
border-left: 0.4rem solid transparent;
border-right: 0.4rem solid transparent;
border-top: 0.6rem solid #fff;
margin-left: 9.25rem;
}
}

@media screen and (max-width:750px){

  .backgroundimg-design2-box-text.bd2-sp {
    display: block;
  }

  .backgroundimg-design2-box-text.bd2-pc {
    display: none;
  }

  .backgroundimg-design2-box > .wp-block-group__inner-container{
    padding: 2rem 0;
  }

  .backgroundimg-design2-box > .wp-block-group__inner-container {
    margin-top: 100px;
    height: fit-content;
  }

  .backgroundimg-design2 > .wp-block-group__inner-container{
    height: auto;
    padding-bottom: 5rem;
  }

    /* ~~~~~~~~~~~~~~~~~英語版サイト~~~~~~~~~~~~~~~~~~~~~ */

  .en-US .backgroundimg-design2 > .wp-block-group__inner-container{
    font-size: 1rem;
  }

  .en-US .backgroundimg-design2-box p {
    font-size: 0.95rem;
    line-height: 2.1em;
  }

  .en-US .backgroundimg-design2-box a p {
    font-size: 1.1rem;
    line-height: 1.8em;
  }

  .en-US .backgroundimg-design2-box > .wp-block-group__inner-container {
    width: 80%;
  }

  .en-US .backgroundimg-design2-box-text {
    width: 80%;
  }

  .en-US a.bottom-nav-btn .next-icon-tb::after{ 
    margin-left: 4.25rem;
    }


}

/* =======================================================================================

          下層ページ　共通FVデザイン

=============================================================================== */

.title-wrap h1 {
  display: none;
}

.page-fv {
  width: 100%;
  height: 90vh;
  position: relative;
  overflow: hidden;
  padding-bottom: 7rem;
}

.page-fv__inner {
  height: 100%;
  display: flex;
  align-items: stretch;
}

.page-fv__text {
  width: 40%;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.page-fv__text .vertical-ja{
  position: absolute;
  padding-top: 0;
}

.en-US .page-fv__text .vertical-ja{
  letter-spacing: 0.2em;
}

.page-fv__text .vertical-ja::before{
  display: none;
}

.page-fv__title {
  font-size: 2.4rem;
  margin: 0;
  margin-top: 100px;
  right: 5rem;
}

.page-fv__slug {
  position: absolute;
  bottom: 0;
  font-size: 2rem;
  max-width: none;
  white-space: nowrap;
  overflow: visible;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  line-height: 0;
  padding-left: 3rem;
  bottom: 0.45em;
  right: 5rem;
}

.en-US .page-fv__slug {
  display: none;
}

.page-fv__slug::before {
  position: absolute;
  content: "";
  height: 1px;
  width: 2.5rem;
  background: #fff;
  top: 0;
  left: 0;
}

.page-fv__text .scroll-box {
  padding: 0;
}

.page-fv__image {
  position: relative;
  top: 0;
  bottom: 150px;
  right: 0;
  width: 60vw !important;
  height: 100%;
  z-index: 1;
} 

.page-fv__image div:not(.page-fv__breadcrumb){
  height: 100%;
} 

.page-fv__image .n2-ss-slider-controls {
  height: 100% !important;
}

.page-fv__image .n2-ss-widget {
  top: 100px;
}

.slider-sp {
  display: none;
}

@media screen and (max-width:1400px){ .page-fv__image .n2-ss-widget { top: 80px; } }
  
@media screen and (max-width:1000px){
  .page-fv__image .n2-ss-widget {
    top: calc(100% - 7rem);
  }
  .page-fv__image .n2-ss-slider-controls {
    display: none !important;
  }
}

.class .page-fv__image .n2-ss-widget, .enclass .page-fv__image .n2-ss-widget {
  top: 0 !important;
}

.page-fv__image div#n2-ss-9 .n2-style-f17ddbf2d8ed14421f9093b94b93b8a9-heading{
  border-radius: 0%;
  background: #000;
  color: #fff;
}

.page-fv__image div#n2-ss-8 .n2-style-f17ddbf2d8ed14421f9093b94b93b8a9-heading {
  border-radius: 0%;
  background: #ece8dc;
  color: #000;
}

.page-fv__image div#n2-ss-8 .n2-style-f17ddbf2d8ed14421f9093b94b93b8a9-heading:hover {
  border-radius: 0%;
  background: #ece8dc;
  color: #0000004c;
}

.page-fv__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* パンくず */
.page-fv__breadcrumb {
  position: absolute;
  right: 0;
  bottom: 0;
  color: #fff;
  z-index: 10;
  background: #000;
  padding: 0.75rem 1.75rem;
}

.page-fv__breadcrumb .breadcrumb{
  margin-bottom: 0;
}

@media screen and (max-width:1400px){

  .page-fv {
    padding-bottom: 4rem;
  }

  .page-fv__title {
    right: 3rem;
  }
  
  .page-fv__slug {
    right: 3rem;
  }
  
}

@media screen and (max-width:1000px){

  .page-fv__text .scroll-indicator {
    display: none;
  }

  .page-fv {
    height: 65vh;
    padding-top: 120px;
  }

  .en-US .page-fv {
    padding-bottom: 3rem;
  }

  .page-fv__image {
    width: 75% !important;
  }

  .page-fv__text {
    width: 25%;
    min-width: 0;
  }
  
  .page-fv__title {
    font-size: 2rem;
    right: auto;
    margin-top: 0;
    left: 0;

  }

  .page-fv__slug {
    background: #000;
    width: 100%;
    padding: 1rem 0 1.25rem 3rem;
    line-height: normal;
    left: 0;
    bottom: 0;
    font-size: 2.5rem;
    z-index: 15;
  }

  .page-fv__slug::before {
    top: 50%;
  }

  .page-fv__breadcrumb {
    bottom: auto;
    top: 0;
    font-size: 0.85rem;
  }

  body:not(.home) .parallax-wrap {
    height: auto;
    z-index: 2;
  }
}

@media screen and (max-width:750px){

  .page-fv {
    padding-top: 80px;
    padding-bottom: 1rem;
  }

  .photo-gallery .page-fv {
    padding-bottom: 2rem;
  }

  .en-US .page-fv {
    padding-bottom: 2rem;
  }

  .slider-pc {
    display: none;
}
.slider-sp {
    display: block;
}

}

@media screen and (max-width:500px){

  .page-fv__slug {
    font-size: 7.5vw;
    padding: 1rem 0 1.25rem 0;
    padding-left: 3rem;
  }

}


/* =====================================================

          下層ページデザイン
          
=========================================================*/

/* ==========経歴=====*/

section.career .career-flex > .wp-block-group__inner-container {
  display: flex;
  gap: 2rem;
}

section.career .career-flex .career-headline {
  width: 30%;
}

section.career .career-flex ul {
  width: calc( 70% - 2rem );
  margin: 0;
  padding: 0;
  list-style: none;
}

section.career .career-flex li.career-year {
  display: block;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  font-weight: 600;
  background: #1a1a1a;
  border-radius: 0.2rem;
  padding: 0.75em 1em;
}

section.career .career-flex li time{
  white-space: nowrap;
}

section.career .career-flex li.career-item {
  display: flex;
  gap: 3rem;
  margin-bottom: 1rem;
  margin-left: 0.5rem;
  line-height: 2em;
}

section.career .career-flex li.career-date {
  width: 4em;
  font-feature-settings: "tnum";
}

.career-title {
  flex: 1;
}

/* ================HISTORY=====*/

.history .page-fv, .enhistory .page-fv {
  margin-bottom: 0;
  border-bottom: 0;
}

.history .h2 {
  font-size: clamp(0px, 3vw, 3rem);
}

@media screen and (max-width:1400px){

  .history .h2 {
    font-size: 2.5rem;
  }

}

@media screen and (max-width:750px){

  .history .h2 {
    font-size: 2rem;
  }

}

@media screen and (max-width:750px){

  #expression.mt-between-0 {
    margin-top: 0;
  }

  #expression .h2.mb-h2 {
    margin-bottom: 1rem !important;
  }
}

/* --ニュースセクション-- */

.history-news .news-category ul {
  padding-top: 0;
}

@media screen and (max-width:1000px){
  
  section.career .career-flex > .wp-block-group__inner-container {
    flex-direction: column;
  }

  section.career .career-flex .headline {
    width: 100%;
  }
  
  section.career .career-flex ul {
    width: 100%;
  }

  section.career .career-flex li.career-item {
    gap: 5rem;
    margin-bottom: 2rem;
  }

}

@media screen and (max-width:550px){

  section.career .career-flex li.career-item {
    gap: 3rem;
    margin-bottom: 2rem;
  }

}

/* =============体験教室============ */

body.class, body.enclass {
  background: #ece8dc;
  color: #000;
}
body.class header, body.class footer, body.enclass header, body.enclass footer{
  color: #fff;
}
body.class .section-subtitle::before, body.enclass .section-subtitle::before { background: #000; }

body.class .vertical-ja::before, body.enclass .vertical-ja::before{ background: #000; }
body.class .page-fv__breadcrumb, body.class .page-fv__slug.mw-1000, body.enclass .page-fv__breadcrumb, body.enclass.page-fv__slug.mw-1000{ 
  background: #ece8dc;
  color: #000;
}

body.class .page-fv, body.enclass .page-fv { padding-top: 160px; height: 80vh;}
body.class .page-fv__title, body.enclass .page-fv__title { margin-top: 0; }
body.class .scroll-indicator, body.class .scroll-box, body.enclass .scroll-indicator, body.enclass .scroll-box { 
  color: #000;
  background: #ece8dc;
}
body.class span.scroll-line, body.enclass span.scroll-line { background: rgba(0, 0, 0, 0.15); }
body.class .scroll-line::after, body.enclass .scroll-line::after { background: #000; }
body.class .page-fv__slug::before, body.enclass .page-fv__slug::before { background: #000; }
body.class .page-fv__image::before, body.enclass .page-fv__image::before { background: rgb(255, 255, 255, 0.5); }
body.class .breadcrumb a, body.class .breadcrumb span, body.enclass .breadcrumb a, body.enclass .breadcrumb span { color: #000; }
body.class .du-and-fee-item dt, body.class .du-and-fee-item dd, body.enclass .du-and-fee-item dt, body.enclass .du-and-fee-item dd { background: rgba(0,0,0,0.05); }
body.class .course dl, body.enclass .course dl { background: rgba(0,0,0,0.05); }
body.class .course dl dd.course-price::before, body.enclass .course dl dd.course-price::before { background-color: #000; }
/* ========スマホ用 画面下部固定ボタン============== */

.fixed-bottom-nav {
  display: none;
}

@media screen and (max-width: 750px) {

  body.class a.cb-pc { display: none; }

  .fixed-bottom-nav {
      display: flex; 
      position: fixed; 
      bottom: 0; 
      left: 0;  
      width: 100%; 
      z-index: 999;
      padding-bottom: env(safe-area-inset-bottom);
      background: #fff; 
  }

  .bottom-nav-btn {
      flex: 1; 
      display: flex;
      align-items: center;
      justify-content: center;
      height: 3.8rem;   
      text-decoration: none;
      color: #fff;
      font-size: 1rem; 
      letter-spacing: 0.05em;
      font-family: 'Noto Sans JP', sans-serif;
  }

  .bottom-nav-btn.reserve {
      background-color: #187983; 
  }

  .bottom-nav-btn.agent {
      background-color: #000;
      border-left: 1px solid rgba(255,255,255,0.2); 
  }

  .bottom-nav-btn span:not(.next-icon) {
      display: block;
      line-height: 1.2;
      width: 100%;
      text-align: center;
      position: relative;
      padding-right: 0.5rem;
  }

  a.bottom-nav-btn .next-icon-tb{ 
    position: absolute;
    top: 0.35rem;
  }
  
  a.bottom-nav-btn .next-icon-tb::after{ 
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-left: 0.4rem solid transparent;
    border-right: 0.4rem solid transparent;
    border-top: 0.6rem solid #fff;
    margin-left: 2.5rem;
  }

}
/* 注意事項 */

.for-participants .pl-3rem {
  padding-left: 1.5rem !important;
} 

.for-participants .h2 {
  font-size: 2.1rem;
  margin-bottom: 3rem !important;
}

.for-participants h3 {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 1.25em;
} 

.for-participants h4 {
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 1em;
} 

.for-participants ul.pl-3rem {
  font-size: 1.1rem;
  margin: 0;
} 
.for-participants ul:not(:last-child) {
  margin-bottom: 2rem;
} 

.for-participants ul.wp-block-list li:not(:last-child) {
  margin-bottom: 1.5em;
}

.for-participants .about-shipping {
  margin-bottom: 3rem;
}

@media screen and (max-width:1400px){
  body.class .page-fv, body.enclass .page-fv { padding-top: 140px;}
 }

@media screen and (max-width:750px){

  body.class .page-fv, body.enclass .page-fv { padding-top: 100px;}

  .for-participants .h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem !important;
  }

  .for-participants h3 {
    font-size: 1.25rem;
  }

  .for-participants h4 {
    font-size: 1rem;
  }

  .for-participants ul.pl-3rem {
    padding-left: 1.75rem !important;
  } 

  .for-participants ul.wp-block-list li:not(:last-child) {
    margin-bottom: 1rem;
  }

  .for-participants ul.pl-3rem {
    font-size: 1rem;
  } 
  
}


/* ==============COURSE============== */

.course .course-headline > .wp-block-group__inner-container{
  display: flex;
  gap: 3rem;
}

.course .course-headline {
  margin-bottom: 3rem;
}

.course .h2 {
  margin-bottom: 0 !important;
}

.course .course-headline-right {
  font-size: 1.25rem;
  font-family: 'Noto Sans JP', sans-serif;
  margin-top: auto;
  padding-bottom: 1.5rem;
}

.course dl {
  background: rgba(255, 255, 255, 0.1);
  line-height: 2.5em;
  padding: 3.5rem 4rem 3.5rem 5rem;
}

.course dl div.course-item {
  display: grid;
  grid-template-columns: 23rem 10rem 11rem 1fr;
  column-gap: 2.5rem;
}

.course dl dt {
  grid-column: 1;
  position: relative;
  font-size: 1.4rem;
}

.course dl dt::after {
  position: absolute;
  width: 9rem;
  height: 1px;
  content: "";
  background-color: #5E5E5E;
  top: 1em;
  left: 14rem;
}

.course dl dd.course-price {
  grid-column: 2;
  margin-right: 0;
}

.course dl dd:not(.course-price) {
  grid-column: 3;
}

.course dl dd.condition {
  grid-column: 4;
}


.course dl div.course-item:not(:first-child) {
  margin-top: 3em;
}

.course dl dd {
  margin: 0;
}

.course dl dd.course-price {
  position: relative;
}

.course dl dd.course-price::after {
  position: absolute;
  content: "";
  width: 1px;
  height: 1.2em;
  background-color: #5E5E5E;
  right: 0;
  top: 1rem;
}

/* ~~~~~~~~~~~~~~~英語版サイト~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.en-US .course dl div.course-item {
  grid-template-columns: 23rem 6rem 10rem 1fr;
}

@media screen and (max-width:1650px){

  .course dl {
    padding: 3.5rem 3rem 3.5rem 4rem;
  }

  .course dl div.course-item {
    grid-template-columns: 19.5rem 9.5rem 11rem 1fr;
    column-gap: 1.5rem;
  }

  .course dl dt {
    font-size: 1.25rem;
  }

  .course dl dt::after {
    width: 7rem;
    left: 11.8rem;
  }

  
/* ~~~~~~~~~~~~~~~英語版サイト~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.en-US .course dl div.course-item {
  grid-template-columns: 20rem 6rem 10rem 1fr;
}

.en-US .course dl dt::after {
  left: 12.5rem;
}

  
}


@media (max-width: 1460px) {

  .course dl dd.condition {
    grid-column: 3 / 5;
    margin-top: 0.5rem;
  }

  /* ~~~~~~~~~~~~~~~英語版サイト~~~~~~~~~~~~~~~~~~~~~~~~~~ */

  .en-US .course dl dd.condition {
    position: relative;
    margin-top: 0.5rem;
    padding-left: 1.5rem;
  }

  .en-US .course dl dd.condition::before {
    position: absolute;
    content: "・";
    top: 0;
    left: 0;
  }


  .en-US .course dl dd.detail {
    position: relative;
    margin-top: 0.5rem;
    padding-left: 1.5rem;
  }

  .en-US .course dl dd.detail::before {
    position: absolute;
    content: "・";
    top: 0;
    left: 0;
  }

  .course .course-headline > .wp-block-group__inner-container {
    gap: 1rem;
  }

  .course .course-headline-right {
    padding-bottom: 1.25rem;
  }

}

@media (max-width: 1100px) {

  .course dl {
    padding: 3.5rem 1.5rem 3.5rem 2rem;
  }

  .course dl div.course-item {
    grid-template-columns: 45% 9.5rem;
    column-gap: 1.5rem;
  }

  .course dl dt::after {
    width: 35%;
    left: auto;
    right: 0;
  }

  .course dl dd.course-price::after {
    display: none;
  }

  .course dl dd.condition {
    position: relative;
    grid-column: 2 / 5;
    margin-top: 0.5rem;
    padding-left: 1.2rem;
  }

  .course dl dd.condition::before {
    position: absolute;
    content: "・";
    top: 0;
    left: 0;
  }


  .course dl dd.detail {
    position: relative;
    grid-column: 2 / 4;
    margin-top: 0.5rem;
    padding-left: 1.2rem;
  }

  .course dl dd.detail::before {
    position: absolute;
    content: "・";
    top: 0;
    left: 0;
  }

  
  .course .course-headline > .wp-block-group__inner-container {
    gap: 0.5rem;
    flex-direction: column;
  }

  .course .course-headline-right {
    padding-bottom: 0;
    padding-left: 3rem;
  }

}

@media (max-width: 1000px) {

  .en-US .course dl {
    padding: 2rem 1.5rem 3.5rem 2rem;
  }

  .en-US .course dl div.course-item {
    display: block;
  }

  .en-US .course dl dt {
    font-size: 1.1rem;
    font-weight: 500;
  }

  .en-US .course dl dt::after {
    display: none;
  }

  .en-US .course dl div.course-item:not(:first-child) {
    margin-top: 2rem;
  }

  .en-US .course dl dd.course-price {
    position: relative;
    grid-column: 1 / 2;
    margin-bottom: 0.5rem;
    margin-top: -0.2rem;
    padding-left: 1.55rem;
  }

  .en-US .course dl dd.course-price::before {
    position: absolute;
    content: "";
    width: 1.5rem;
    height: 0.75px;
    top: 50%;
    left: 0;
    background-color: #fff;
  }

  .en-US .course dl dd.condition {
    grid-column: 1 / 5;
    margin-top: 0;
    padding-left: 1.2rem;
    font-size: 0.9rem;
    line-height: 2.2em;
  }


  .en-US .course dl dd.detail {
    grid-column: 1 / 4;
    margin-top: 0;
    padding-left: 1.2rem;
    font-size: 0.9rem;
    line-height: 2.2em;
  }
}


@media (max-width: 750px) {

  .course dl {
    padding: 2rem 1.5rem 3.5rem 2rem;
  }

  .course dl div.course-item {
    display: block;
  }

  .course dl dt {
    font-size: 1.1rem;
    font-weight: 500;
  }

  .course dl dt::after {
    display: none;
  }

  .course dl div.course-item:not(:first-child) {
    margin-top: 2rem;
  }

  .course dl dd.course-price {
    position: relative;
    grid-column: 1 / 2;
    margin-bottom: 0.5rem;
    margin-top: -0.2rem;
    padding-left: 1.55rem;
  }

  .course dl dd.course-price::before {
    position: absolute;
    content: "";
    width: 1.5rem;
    height: 0.75px;
    top: 50%;
    left: 0;
    background-color: #fff;
  }

  .course dl dd.condition {
    grid-column: 1 / 5;
    margin-top: 0;
    padding-left: 1.2rem;
    font-size: 0.9rem;
    line-height: 2.2em;
  }


  .course dl dd.detail {
    grid-column: 1 / 4;
    margin-top: 0;
    padding-left: 1.2rem;
    font-size: 0.9rem;
    line-height: 2.2em;
  }

  .course .course-headline-right {
    font-size: 1.1rem;
    padding-left: 2rem;
  }
}

/* -----------体験教室まとめ----------------- */

section.class-first .h2 {
  font-size: 2.1rem;
}

section.class-first .section-subtitle {
  font-size: 1.35rem;
  padding-bottom: 1.25rem;
}

section.class-first > .wp-block-group__inner-container{
  display: flex;
  gap: 2rem;
  align-items: stretch;
  font-size: 1.2rem;
}

section.class-first .class-left{
  flex: 0 0 calc((100% - 2rem) / 3);
  display: flex;
  flex-direction: column;
}
section.class-first .class-left > .wp-block-group__inner-container{
  display: flex;
  flex-direction: column;
  flex: 1;
}

section.class-first .class-left figure {
  margin-bottom: 2rem;
  flex: 1;
  min-height: 0;
  position: relative;
}

section.class-first .class-left figure img{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
}

section.class-first .class-left a{
  padding: 1.25rem 1rem;
  width: 80%;
  text-align: center;
  margin: 0 auto;
  flex-shrink: 0;
}

/* right */

section.class-first .class-right{
  flex: 1;
}

section.class-first .class-right-top > .wp-block-group__inner-container{
  display: flex;
  gap: 2rem;
  align-items: stretch;
}

section.class-first .class-2, 
section.class-first .class-3 {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: auto;
}
section.class-first .class-3 > .wp-block-group__inner-container,
section.class-first .class-2 > .wp-block-group__inner-container {
    display: flex;
    flex-direction: column;
}

.class-left > .wp-block-group__inner-container,
.class-3 > .wp-block-group__inner-container {
    height: 100%;
}

section.class-first .class-item-flex {
  background: rgb(0, 0, 0, 0.05);
  padding: 1.5rem 3rem;
  flex-grow: 1;
}

section.class-first .class-item-flex > .wp-block-group__inner-container{
  display: flex;
  gap: 2rem;
}

section.class-first .class-item-flex h3 {
  margin: 0;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

section.class-first .class-item-flex figure{
  width: 20%;
  max-width: 100px;
}
section.class-first .class-item-flex .class-item-flex-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

section.class-first .class-item-flex .class-item-flex-right > .wp-block-group__inner-container{
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

section.class-first .class-right .class-4 > .wp-block-group__inner-container{
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

section.class-first .class-right .class-4 .wp-block-group p{
  margin-bottom: 0.5em;
  padding-left: 3rem;
}

@media screen and (max-width:1600px){

  section.class-first .h2 {
    font-size: 1.7rem;
    margin-left: 2rem;
  }

  section.class-first .section-subtitle {
    font-size: 1.2rem;
    padding-left: 2rem;
  }

  section.class-first .section-subtitle::before {
    width: 1.5rem;
  }

  section.class-first > .wp-block-group__inner-container {
    gap: 1rem;
  }

  section.class-first .class-right-top > .wp-block-group__inner-container {
    gap: 1rem;
  }

  section.class-first .class-item-flex {
    padding: 1.5rem 2rem;
  }

  section.class-first .class-right .class-4 .wp-block-group p {
    padding-left: 2rem;
  }
}

@media screen and (max-width:1200px){

  section.class-first > .wp-block-group__inner-container {
    flex-direction: column;
    gap: 4rem;
  }

  section.class-first .class-left {
    width: 100%;
  }

  section.class-first .class-right {
    width: 100%;
  }

  section.class-first .class-left figure {
    height: 40vh;
    flex: auto;
  }
  


}

@media screen and (max-width:650px){

  section.class-first > .wp-block-group__inner-container {
    gap: 0;
  }

section.class-first .class-right-top > .wp-block-group__inner-container{
  flex-direction: column;
  gap: 3rem;
  align-items: stretch;
}

section.class-first .class-item-flex > .wp-block-group__inner-container {
  gap: 1.5rem;
}

section.class-first .class-item-flex figure {
  width: 15vw;
  max-width: 5rem;
}

section.class-first .section-subtitle {
  padding-bottom: 1rem;
}

section.class-first .h2 {
  margin-bottom: 1rem;
}

section.class-first .class-item-flex {
  padding-right: 1rem;
}

}

/* =====================会社概要======================== */
body.company-profile,
body.encompany-profile {
  background: #ece8dc;
  color: #000;
  font-size: 1.25rem;
}

body.company-profile main a,
body.encompany-profile main a{
  color: #000;
}

body.company-profile header,
body.company-profile footer,
body.encompany-profile header,
body.encompany-profile footer {
  color: #fff;
}

body.company-profile .section-subtitle::before,
body.encompany-profile .section-subtitle::before {
  background: #000;
}

body.company-profile .vertical-ja::before,
body.encompany-profile .vertical-ja::before {
  background: #000;
}

body.company-profile .page-fv__breadcrumb,
body.company-profile .page-fv__slug.mw-1000,
body.encompany-profile .page-fv__breadcrumb,
body.encompany-profile .page-fv__slug.mw-1000 {
  background: #ece8dc;
  color: #000;
}

body.company-profile .page-fv,
body.encompany-profile .page-fv {
  padding-top: 160px;
  height: 80vh;
}

body.company-profile .page-fv__title,
body.encompany-profile .page-fv__title {
  margin-top: 0;
}

body.company-profile .scroll-indicator,
body.company-profile .scroll-box,
body.encompany-profile .scroll-indicator,
body.encompany-profile .scroll-box {
  color: #000;
  background: #ece8dc;
}

body.company-profile span.scroll-line,
body.encompany-profile span.scroll-line {
  background: rgba(0, 0, 0, 0.15);
}

body.company-profile .scroll-line::after,
body.encompany-profile .scroll-line::after {
  background: #000;
}

body.company-profile .page-fv__slug::before,
body.encompany-profile .page-fv__slug::before {
  background: #000;
}

body.company-profile .page-fv__image::before,
body.encompany-profile .page-fv__image::before {
  background: rgba(255, 255, 255, 0.5);
}

body.company-profile .breadcrumb a,
body.company-profile .breadcrumb span,
body.encompany-profile .breadcrumb a,
body.encompany-profile .breadcrumb span {
  color: #000;
}

body.company-profile .du-and-fee-item dt,
body.company-profile .du-and-fee-item dd,
body.encompany-profile .du-and-fee-item dt,
body.encompany-profile .du-and-fee-item dd {
  background: rgba(0, 0, 0, 0.05);
}

body.company-profile .course dl,
body.encompany-profile .course dl {
  background: rgba(0, 0, 0, 0.05);
}

body.company-profile .course dl dd.course-price::before,
body.encompany-profile .course dl dd.course-price::before {
  background-color: #000;
}


dl.outline {
  display: flex;
  flex-wrap: wrap;
  padding: 0 3vw;
  margin-bottom: 0;
  margin-top: 0;
}

dl.outline a{
  overflow-wrap: anywhere;
}

dl.outline dt {
  width: 18rem;
  font-weight: bold;
}

dl.outline dd {
  width: calc( 100% - 18rem );
  margin: 0;
}

dl.outline dt, dl.outline dd {
  border-bottom: #aba9a1 0.5px solid;
  padding: 3rem 0;
}

dl.outline dt:last-of-type, dl.outline dd:last-of-type{
  border-bottom: none;
}

dl.outline ul.bp li{
  list-style: none;
  padding: 0;
}

dl.outline ul.bp ul{
  margin-top: 1.5rem;
  margin-left: 1em;
  margin-bottom: 0;
}

dl.outline .wp-block-list.bp li:not(:last-child) {
  margin-bottom: 3rem;
}

dl.outline .wp-block-list.bp li ul li:not(:last-child) {
  margin-bottom: 1.5rem;
}

dl.outline ul.bp li ul li{
  position: relative;
  padding-left: 1.5em;
}

dl.outline ul.bp li ul li::before{
  position: absolute;
  content: "・";
  top: 0;
  left: 0;
}

dl.outline ul.ta-bp li{
  position: relative;
  padding-left: 1.5em;
  list-style: none;
}

dl.outline ul.ta-bp li::before{
  position: absolute;
  content: "・";
  top: 0;
  left: 0;
}

dl.outline .wp-block-list.ta-bp li:not(:last-child) {
  margin-bottom: 1.5rem;
}

/* ~~~~~~~~~~~~~~~~　英語サイト　~~~~~~~~~~~~~~~~~~ */

    .en-US dl.outline dt {
      width: 20rem;
    }
    
    .en-US dl.outline dd {
      width: calc( 100% - 21rem );
      padding-left: 1rem;
    }

@media screen and (max-width:1400px){

  body.company-profile .page-fv, body.encompany-profile .page-fv {
    padding-top: 140px;
  }

  dl.outline dt {
    width: 13rem;
  }
  
  dl.outline dd {
    width: calc( 100% - 13rem );
  }

    /* ~~~~~~~~~~~~~~~~　英語サイト　~~~~~~~~~~~~~~~~~~ */

    .en-US dl.outline dt {
      width: 12rem;
    }
    
    .en-US dl.outline dd {
      width: calc( 100% - 13rem );
    }
  
}

@media screen and (max-width:750px){

  body.company-profile .page-fv, body.encompany-profile .page-fv {
    padding-top: 100px;
  }

  dl.outline dt {
    width: 9rem;
    font-size: 1rem;
    padding-right: 1rem;
  }
  
  dl.outline dd {
    width: calc( 100% - 10rem );
    font-size: 1.1rem;
    line-height: 1.8rem;
  }

  dl.outline .wp-block-list.bp li:not(:last-child) {
    margin-bottom: 2.5rem;
  }

  dl.outline ul.bp ul {
    margin-left: 0;
    margin-top: 1rem;
  }

  dl.outline .wp-block-list.bp li ul li:not(:last-child) {
    margin-bottom: 1rem;
    line-height: 1.5rem;
  }

  /* ~~~~~~~~~~~~~~~~　英語サイト　~~~~~~~~~~~~~~~~~~ */

  .en-US dl.outline dt {
    width: 8rem;
    line-height: 1.8rem;
    padding-right: 0;
  }
  
  .en-US dl.outline dd {
    width: calc( 100% - 9rem );
  }
  
}

/* =======アクセスページ==========================*/

.access-content .backgroundimg-design2-box > .wp-block-group__inner-container{
  max-width: 1200px;
  font-size: 1.15rem;
  margin-top: 0;
}

.access-content .access-detail-headline {
  font-weight: bold;
  margin-top: 2rem;
}

.access-content ul.wp-block-list {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}

.access-content .access-small {
  font-size: 1rem;
}

.access-content ul.wp-block-list li:not(:last-child){
  margin-bottom: 0.25rem;
}

.access-content iframe {
  width: 90%;
  height: 40vh;
  margin: 0 auto;
  margin-bottom: 2rem;
}

.access-content.backgroundimg-design2 > .wp-block-group__inner-container{
  height: fit-content;
  padding: 15vh 0;
}

.access-content figure.backgroundimg-design2-background {
  height: 120% !important;
  filter: grayscale(0%);
}

@media screen and (max-width:750px){

  .access-content .backgroundimg-design2-box > .wp-block-group__inner-container{
    font-size: 1rem;
    width: 80%;
    line-height: 0.85em;
  }

  .access-content .lh-2-2em {
    line-height: 1.85em;
  }

  .access-content ul.wp-block-list {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
  }

  .access-content .access-detail-headline {
    margin-top: 1rem;
  }

  .access-content iframe {
    height: 300px;
    margin-bottom: 1.5rem;
  }

  .access-content .backgroundimg-design2-box-text {
    width: 80%;
  }

  .access-content .access-small {
    font-size: 0.9rem;
  }

  .access-content .backgroundimg-design2-box a {
    width: 75%;
  }

  .access-content .backgroundimg-design2-box a.button-bl {
    padding: 1.2rem 0.5rem;
    font-size: 1.1rem;
  }
  
}


/* ====================お問い合わせ============================= */

form.wpcf7-form {
  margin: 0 auto;
  padding: 3rem 1em;
  width: 70vw;
}

form.wpcf7-form {
  max-width: 100%;
  overflow-x: hidden;
}

form.wpcf7-form p {
  margin-bottom: 4rem;
  font-size: 1.5rem;
}

form.wpcf7-form p label {
  display: flex;
  align-items: center;
}

.contact-form-headline {
  width: 9em;
  flex-shrink: 0;
}

form.wpcf7-form span.wpcf7-form-control-wrap {
  flex: 1;
}

form.wpcf7-form input {
  background: rgb(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  font-size: 0.8em;
  padding: 1.5em;
  font-family: "Noto Serif JP", serif;
  border-radius: 0.2em / 0.2em;
  width: 100%;
}

form.wpcf7-form textarea {
  background: rgb(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  font-size: 0.8em;
  padding: 1.5em;
  font-family: "Noto Serif JP", serif;
  border-radius: 0.2em / 0.2em;
  width: 100%;
}

.wpcf7-not-valid-tip {
  color: #ffb7b7 !important;
  font-size: 0.8em !important;
  position: relative;
}
.wpcf7 form.sent .wpcf7-response-output{
  border-color: #b7f4ff!important;
  padding: 1.2em;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
  border-color: #ffb7b7 !important;
  padding: 1.2em;
}

form.wpcf7-form p:has(.wpcf7-submit) {
  width: 16rem;
  font-size: 1.8rem;
  margin: 0 auto;
  margin-top: 100px;
}

form.wpcf7-form p:has(.wpcf7-submit)  input {
  background: rgb(255, 255, 255, 0.3);
}

form.wpcf7-form .wpcf7-submit {
  font-size: 1.1rem;
}

@media screen and (max-width:1400px){

  form.wpcf7-form p {
    font-size: 1.25rem;
  }
}

@media screen and (max-width:850px){

  form.wpcf7-form p label {
    display: block;
  }

  form.wpcf7-form input {
    margin-top: 1rem;
  }

  form.wpcf7-form textarea {
    margin-top: 1rem;
  }

  form.wpcf7-form p {
    margin-bottom: 3rem;
  }
}


/* ==============================================

　　NEWSページ

==================================================*/

/* ----------------  ニュース一覧（カテゴリー一覧） ---------------------- */

main.news-page {
  line-height: 2.3em;
  margin-top: 7rem;
}

.news-page .section-subtitle{
  margin-top: 0;
}

.news-page .section-subtitle::before{
  top: 1rem;
}

.news-page .breadcrumb {
  border-bottom: #5E5E5E 1px solid;
  padding-bottom: 1rem;
  margin-bottom: 0;
}

.news-page .h2{
  margin: 0;
  margin-left: 3rem;
  white-space: nowrap;
}

.news-page aside ul{
  list-style: none;
  margin: 0;
  padding-left: 1rem;
  font-size: 1.25rem;
  padding-top: 3rem;
  width: 100%;
}

.news-page aside ul li{
  width: 90%;
  border-bottom: 1px #2b2b2b solid;
}

.news-page aside ul li:first-child{
  border-top: 1px #2b2b2b solid;
}

.news-page aside ul li a{ 
  position: relative;
  display: block;
  text-decoration: none;
  padding: 1.5rem 1rem;
  background-color: rgba(255, 255, 255, 0);
  transition: background-color 0.6s ease;
}

.news-page aside ul li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}


.news-page aside ul li a .next-icon{ 
  position: absolute;
  right: 1rem;
  top: 50%;
}

.news-page aside ul li a .next-icon::after{ 
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  border-top: 0.4rem solid transparent;
  border-bottom: 0.4rem solid transparent;
  border-left: 0.6rem solid #fff;
  right: 0;
}

.news-page aside ul li a.is-current {
  background-color: rgba(255, 255, 255, 0.2);
}

.news-page .news-wrap {
  display: flex;
  gap: 1rem;
  padding-top: 1.5rem;
}

.news-page .news-category {
  width: 26%;
  font-family: 'Noto Sans JP', sans-serif;
}

.news-page .news-list{
  width: calc(74% - 1rem);
}

/* ~~~~~~~~~~~英語版サイト~~~~~~~~~~~~~~~~ */

.en-US .news-page .news-category {
  width: 26%;
  font-family: 'Noto Sans JP', sans-serif;
}

.en-US .news-page.news-list{
  width: calc(74% - 1rem);
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.news-list img.news-thumb{
  width: 10rem;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.news-list .news-year{
  background: #1e1e1e;
  padding: 1.5rem 1.25rem;
  font-size: 1.25rem;
  margin: 0;
  margin-bottom: 1rem;
}

article.news-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 1rem;
  align-items: center;
}

.news-title {
  font-size: 1.5rem;
  margin-top: 1.5rem;
}

.news-item-text {
  flex: 1;
  min-width: 0;
}

.news-title a {
  text-decoration: none;
  padding-right: 1.5rem;
  display: inline-flex;
  align-items: flex-end;
  max-width: 100%;      
  width: auto;          
  vertical-align: bottom;
  color: #ffffff;
}

.news-title .title-text {
  flex: 1 1 auto; 
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0; 
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* ここで2行に制限 */
  overflow: hidden;
  word-break: break-all;
}

.news-page .news-title a .next-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.25rem;
  width: 1.5rem;
  height: 1.5rem;
  padding-bottom: 0.4rem;
}

.news-page .news-title a .next-icon::after { 
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-top: 0.35rem solid transparent;
  border-bottom: 0.35rem solid transparent;
  border-left: 0.5rem solid #ffffff; 
}

.news-list img.news-flag {
  width: 2rem;
  height: auto;
}

.news-list .news-cat {
  border: 0.75px solid #fff;
  border-radius: 0.2rem;
  font-size: 0.8rem;
  padding: 0 0.75em;
  font-family: 'Noto Sans JP', sans-serif;
}

article .news-item-text time{
  display: flex;
  gap: 0.5rem;
}

article .news-item-text time .new-date-category {
  display: flex;
  gap: 0.5rem;
}

#news-list-head {
  scroll-margin-top: 6rem; 
}

@media screen and (min-width: 750px) {
  
  .news-wrap {
    align-items: flex-start; 
    position: relative;
  }
  .news-category {
    position: -webkit-sticky;
    position: sticky;
    top: 6rem; 
    height: auto;
  }
}
  /* --------------掲載記事ページ------------------- */

  article.news-item-article .news-flag-text {
    display: flex;
    gap: 1rem;
  }


/* -------ページ数のボタン------ */

.pagination {
  margin-top: 5rem;
  text-align: center;
}

.pagination a,
.pagination span {
  display: inline-block;
  margin: 0 0.5rem;
  text-decoration: none;
  border: 1px #fff solid;
  width: 2rem;
  aspect-ratio: 1 / 1;
  align-content: center;
  border-radius: 0.2rem;
}

.pagination .dots, .pagination .prev, .pagination .next {
  border: none;
}

.pagination .current {
  background: #fff;
  color: #000;
}

@media screen and (max-width:1400px){

  .news-page .news-category {
    width: 40%;
  }

  .news-page .news-list {
    width: calc(60% - 1rem);
  }

  
/* ~~~~~~~~~~~~~~~~~~~~~~~英語版サイト~~~~~~~~~~~~~~~~~~~~~~~~~~~ */


  .en-US .news-page .news-category {
    width: 30%;
    font-family: 'Noto Sans JP', sans-serif;
  }
  
  .en-US .news-page .news-list{
    width: calc(70% - 1rem);
  }

  .news-page aside ul{
    padding-left: 0.5rem;
    font-size: 1.1rem;
    padding-top: 3rem;
  }

  .news-page aside ul li a{ 
    padding: 1rem 0.5rem;
  }

  .news-title {
    font-size: 1.25rem;
    margin-top: 1rem;
  }

  .news-list .news-year{
    padding: 1rem 1.25rem;
  }

  
  article .news-item-text time{
    flex-direction: column;
  }

  article .news-item-text time .new-date-category {
    flex-wrap: wrap;
  }
  
  /* --------------掲載記事ページ------------------- */

  
  article.news-item-article .news-flag-text {
    align-items: flex-start;
  }

  article.news-item-article {
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-bottom: 3rem;
    padding-left: 0.5rem;
  }

  .news-list img.news-flag {
    padding-top: 0.7rem;

  }

  article.news-item-article time{
    width: 100%;
  }


  
}

@media screen and (max-width:1000px){

  /* ~~~~~~~~~~~~~~~~~~~~~~~英語版サイト~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.en-US .news-page .news-wrap {
    display: block;
  }

  .en-US .news-page .news-category {
    width: 100%;
  }

  .en-US .news-page .news-list {
    width: 100%;
  }

  .en-US article.news-item {
    gap: 1rem;
  }

  .en-US .news-page aside ul{
    padding-left: 0;
    font-size: 0.9rem;
    padding-top: 2rem;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 0.5rem;
  }
  
  .en-US .news-page aside ul li{
    width: fit-content;
    border-bottom: none;
    border: 1px solid #fff;
    border-radius: 0.2rem;
  }
  
  .en-US .news-page aside ul li:first-child{
    border-top: 1px solid #fff;
  }
  
  .en-US .news-page aside ul li a{ 
    padding: 0.1rem 0.75rem;
  }

  .en-US .news-title {
    font-size: 1rem;
    margin-top: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .en-US .news-list .news-year{
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
  }

  .en-US .news-list .news-cat {
    border: 0.5px solid #fff;
    font-size: 0.75rem;
    display: block;
    width: fit-content;
    padding: 0.5rem 0.5em;
    margin-left: 0;
    line-height: normal;
  }

  .en-US .news-page aside ul li a .next-icon{ 
    display: none;
  }

  
}

@media screen and (max-width:750px){

  main.news-page {
    margin-top: 5rem;
  }

  .news-page .news-category {
    width: 100%;
  }

  .news-page .news-list {
    width: 100%;
  }

  .news-page .news-wrap {
    display: block;
  }

  article.news-item {
    gap: 1rem;
  }

  .news-page .h2 {
    margin-left: 2rem;
  }

  .news-page aside ul{
    padding-left: 0;
    font-size: 0.9rem;
    padding-top: 2rem;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 0.5rem;
  }
  
  .news-page aside ul li{
    width: fit-content;
    border-bottom: none;
    border: 1px solid #fff;
    border-radius: 0.2rem;
  }
  
  .news-page aside ul li:first-child{
    border-top: 1px solid #fff;
  }
  
  .news-page aside ul li a{ 
    padding: 0.1rem 0.75rem;
  }
  
  .news-page aside ul li a.is-current {
    background-color: rgba(255, 255, 255, 1);
    color: #000;
  }
  
  
  .news-page aside ul li a .next-icon{ 
    display: none;
  }
  
  .news-page aside ul li a .next-icon::after{ 
    display: none;
  }

  .news-title {
    font-size: 1rem;
    margin-top: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .news-page .news-title a .next-icon {
    margin-left: 0;
    width: 1.2rem;
    height: 1.2rem;
    padding-bottom: 0.55rem;
  }

  .news-list .news-year{
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
  }

  .news-list .news-cat {
    border: 0.5px solid #fff;
    font-size: 0.75rem;
    display: block;
    width: fit-content;
    padding: 0.75rem 0.5em;
    margin-left: 0;
    line-height: 0;
  }

    
  /* --------------掲載記事ページ------------------- */

  article.news-item-article {
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-bottom: 3rem;
    padding-left: 0.5rem;
  }


  article.news-item-article time{
    width: 100%;
  }

  article.news-item-article .article-news-title{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

}

/* ======================================

  投稿ページ（ニュースの記事）

========================================= */
main .single-post {
  margin-top: 7rem;
}

.single-post .breadcrumb {
  border-bottom: #5E5E5E 1px solid;
  padding-bottom: 1rem;
  margin-bottom: 0;
}

.single-post .section-subtitle {
  margin-top: 0;
  padding-top: 1rem;
}

.single-post .section-subtitle::before {
  top: 2rem;
}

.single-post article .post-headline {
  width: fit-content;
}

.single-post article .post-headline .post-back a {
  text-decoration: none;
  padding: 1em 1.2em;
  margin-left: 3rem;
  background: #2b2b2b;
  font-size: 1rem;
  border-radius: 0.2rem;
  width: auto;
  display: inline-block;
  white-space: nowrap;
}

.single-post article .post-headline .to-category {
  margin-top: 0.5rem;
}

.single-post .h2 {
  margin-top: 0;
  white-space: nowrap;
}

.single-post article {
  display: flex;
  gap: 4rem;
  padding-top: 1.5rem;
}

.single-post article .post-content {
  width: 100%;
}

.single-post article .post-content h2 {
  font-size: 1.5rem;
  line-height: 1.8em;
  margin-top: 0;
  margin-bottom: 2rem;
}

.single-post article .post-meta {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.single-post article .post-meta ul.post-category {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding-left: 0;
}

.single-post article .post-meta ul.post-category li {
  border: 1px solid #fff;
  border-radius: 0.2rem;
  padding: 0.3em 0.5em;
}

.single-post article .post-meta .post-date {
  font-size: 1.2rem;
}

.single-post article .post-content .post-body h3 {
  margin: 0;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: bold;
}

.single-post article .post-content .post-body {
  line-height: 2.2em;
}

.single-post article .post-content .post-body p {
  font-size: 1.25rem;
}

.single-post article .post-content .post-body.custom-layout img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.post-body.custom-layout figcaption,
.post-body.custom-layout .wp-caption-text {
  font-size: 1rem;
  line-height: 1.4;
  margin-top: 0.5em;
  text-align: left;
}

@media screen and (min-width: 1401px) {
  .layout-top-section {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 2rem;
  }

  .layout-main-image,
  .layout-main-text {
    flex: 1;
    width: 50%;
  }

  .layout-main-text p {
    margin-top: 0;
  }

  .layout-bottom-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .layout-bottom-gallery .post-gallery-item {
    width: calc(50% - 1rem);
  }
}

@media screen and (max-width: 1400px) {
  .single-post .h2 {
    display: none;
  }

  .single-post .section-subtitle {
    display: none;
  }

  .single-post article {
    flex-direction: column-reverse;
    gap: 0;
  }

  .single-post article .post-content h2 {
    margin-bottom: 2rem;
    margin-top: 1rem;
    line-height: 1.6em;
    text-wrap: balance;
  }

  .single-post article .post-content .post-body h3 {
    font-size: 1.5rem;
  }

  .single-post article .post-headline .post-back a {
    font-size: 0.9rem;
    padding: 1em;
  }

  .single-post article .post-headline {
    padding: 0;
    margin-left: auto;
  }

  .single-post article .post-meta {
    display: block;
    gap: 0;
  }

  .single-post article .post-meta ul.post-category {
    margin-top: 1rem;
  }

  .single-post article .post-content {
    width: 100%;
  }

  .single-post article .post-meta ul.post-category li {
    font-size: 0.9rem;
  }

  .layout-top-section {
    display: flex;
    flex-direction: column-reverse;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .wp-block-image :where(figcaption) {
    margin-bottom: 0 !important;
  }

  .layout-main-image {
    width: 100%;
  }

  .layout-bottom-gallery {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
  }

  .layout-bottom-gallery .post-gallery-item {
    flex: 1;
  }
}

@media screen and (max-width: 750px) {
  main .single-post {
    margin-top: 5rem;
  }

  .single-post article .post-content h2 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .single-post article .post-content .post-body h3 {
    font-size: 1.3rem;
  }

  .layout-bottom-gallery {
    display: block;
  }

  .layout-bottom-gallery .post-gallery-item {
    margin-bottom: 1.5rem;
  }
}


/* =====================================
   PHOTO ギャラリー 共通 & PC
===================================== */

.gallery-layout {
  display: flex;
  margin: 0 auto;
  gap: 2rem;
  position: relative;
  color: #fff;
}

.gallery-layout .h2 {
  line-height: normal;
}

/* --- サイドバー --- */
.gallery-sidebar {
  width: 25%;
  flex-shrink: 0;
  padding-left: 1rem;
}

.gallery-sidebar .h2{
  font-size: 3vw;
}

.sidebar-inner {
  position: sticky;
  top: 5rem;
  max-height: calc(100vh - 6rem);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #3c3c3c transparent;
  z-index: 10;
}
.sidebar-inner::-webkit-scrollbar {
  width: 4px;
}
.sidebar-inner::-webkit-scrollbar-track {
  background: transparent;
}
.sidebar-inner::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 4px;
}
.sidebar-inner::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

.gallery-nav {
  padding-top: 3rem;
}

.nav-group {
  border-bottom: 1px #2b2b2b solid;
}
.nav-group:first-child{
  border-top: 1px #2b2b2b solid;
}

/* --- 親ボタン --- */
button.nav-btn {
  position: relative;
  background-color: rgba(255, 255, 255, 0);
  border: none;
  padding: 1.75rem 1rem;
  cursor: pointer;
  color: #fff;
  transition: background-color 0.6s ease;
  width: 100%;
  text-align: left;
  font-size: 1.25rem;
}

button.nav-btn .next-icon { 
  position: absolute;
  right: 1rem;
  top: 50%;
}
button.nav-btn .next-icon::after { 
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  border-top: 0.4rem solid transparent;
  border-bottom: 0.4rem solid transparent;
  border-left: 0.6rem solid #fff;
  right: 0;
}

.nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.nav-btn.active {
  background-color: rgba(255, 255, 255, 0.2);
}

/* --- PC用サブメニューエリア --- */
.pc-sub-nav-wrapper {
  display: block;
}

.sub-nav-container {
  display: flex; 
  flex-direction: column;
  margin-left: 2.5rem;
}

.gallery-childe-cat {
  position: relative;
  margin-right: 2.8rem;
}

button.nav-btn.child-btn {
  border-bottom: 1px #2b2b2b solid;
}

button.nav-btn.child-btn:last-child {
  border-bottom: none;
}

button.nav-btn.child-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
button.nav-btn.child-btn.active {
  background-color: rgba(255, 255, 255, 0.3);
}

/* --- PC用リンクエリア --- */
.special-link-container {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}
.special-link-btn {
  display: block;
  padding: 0.8rem;
  text-decoration: underline 0.75px;
  font-size: 1rem;
  color: #fff;
}

/* --- メイン画像エリア --- */
.gallery-main {
  width: calc( 75% - 3rem );
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.4rem;
  animation: fadeIn 0.5s ease;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: 0.3s;
  cursor: pointer;
}
.gallery-item img:hover {
  opacity: 0.8;
}

/* --- スマホ用エリアの初期設定（PCでは消す） --- */
#mobile-sub-display-area {
  display: none;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media screen and (max-width: 1800px) {
  .gallery-sidebar { width: 30%; }
  .gallery-main { width: calc( 70% - 2rem ); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-layout .section-subtitle { font-size: 1.8vw; }
}

@media screen and (max-width: 1150px) {
.photo-gallery .page-fv__slug {
  font-size: 3.25rem;
}
}

@media screen and (max-width: 1200px) {

  .gallery-layout {
    display: block;
    gap: 0;
  }

  .gallery-layout .h2 {
    margin: 0;
    line-height: normal;
  }

  .gallery-layout .section-subtitle {
    font-size: 1.5rem;
  }
  
  /* -------------親カテゴリー（画面下）---------------- */

  .gallery-sidebar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 1000;
    background: #151515;
    padding: 0;
  }

  .gallery-sidebar.is-visible {
    transform: translateY(0);
  }

  .gallery-sidebar .pc {
    display: none;
  }

  .gallery-layout .mw-1000 {
    display: block;
  }
  
  .gallery-layout {
    padding-bottom: 0; 
  }

  .sidebar-inner {
    position: static;
  }

  .gallery-nav {
    padding: 0;
    display: flex;
    width: 100%;
  }

  .nav-group {
    flex: 1;
    display: flex;
    justify-content: center;
    border: none;
    border-right: 1px solid #4a4a4a;
    width: 0;
  }

  .nav-group:first-child {
    border-top: none;
  }

  .nav-group:last-child {
    border-right: none;
  }

  .nav-btn.active {
    background-color: #ffffff;
    color: #000;
  }

  button.nav-btn.parent-btn {
    width: 100%; 
    text-align: center; 
    padding: 1rem 0.2rem;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }

  button.nav-btn .next-icon {
    display: none; 
  }

    /* -------------子カテゴリー---------------- */

    #mobile-sub-display-area {
      display: block; 
    }
    
    .pc-sub-nav-wrapper {
      display: none !important;
    }

#mobile-sub-display-area .sub-nav-container {
  border-left: none;
  margin: 0;
  margin-bottom: 1rem;
  flex-direction: row;
  flex-wrap: nowrap; 
  width: 100%; 
}

#mobile-sub-display-area .nav-btn.child-btn {
  flex: 1 1 auto; 
  width: auto;
  white-space: nowrap;
  padding: 1rem 2px; 
  font-size: 0.85rem;  
  background: #272727;
  border-left: 1px solid #343434;
  text-align: center;
  overflow: hidden;
  text-overflow: clip; 
}

#mobile-sub-display-area .nav-btn.child-btn:first-child {
  border-left: none;
}

#mobile-sub-display-area .nav-btn.child-btn.active {
  background: #4d4d4d;
  color: #fff;
}

  #mobile-sub-display-area .special-link-container {
    margin-top: 1rem;
    border-radius: 4px;
    text-align: center;
  }
  #mobile-sub-display-area .special-link-btn {
    text-decoration: none;
    background: #2b2b2b;
    padding: 1rem;
  }

  .gallery-main {
    width: 100%;
  }
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media screen and (max-width: 750px) {

  .gallery-layout .section-subtitle {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 450px) {
  .photo-gallery .page-fv__slug {
    font-size: 11.5vw;
  }
  }

.lightbox {
  display: none; position: fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.9); z-index:9999; justify-content:center; align-items:center;
}
.lightbox.show { display: flex; }
.lightbox-content { position: relative; max-width:90%; max-height:90%; }
.lightbox-content img { max-width:100%; max-height:90vh; object-fit:contain; }
.close-lightbox { position:absolute; top:-40px; right:0; color:#fff; font-size:40px; cursor:pointer; }

