@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');


html, body {
  margin: 0;
}

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

main {
  padding: 20px;
  padding-bottom: 0;
  margin-top: -128px;
}

.section-subtitle {
  position: relative;
  font-size: 20px;
  margin-bottom: 150px;
  padding-left: 50px;
}

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

.button {
  font-size: 22px;
  background: rgba(255, 255, 255, 0.2);
  padding: 20px 100px;
  border-radius: 5px;
  text-align: center;
  color: #fff;
  text-decoration: none;
  width: fit-content;
  line-height: normal;
  transition: background-color 0.6s ease;
}

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

a.button-bl {
  font-size: 22px;
  background: #000;
  padding: 20px 100px;
  border-radius: 5px;
  text-align: center;
  color: #fff;
  text-decoration: none;
  width: fit-content;
  line-height: normal;
  transition: background-color 0.6s ease;
}

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

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

section:not(:first-child) {
  border-top: #5E5E5E 1px solid;
  padding-top: 2rem;
  margin-top: 350px;
}

.vertical-ja {
  position: relative;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding-top: 60px;
}

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


.vertical-en {
  writing-mode: vertical-rl;
  white-space: nowrap;
}

.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 > .wp-block-image img {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 140%;
  object-fit: cover;
  transform: translateY(0);
  will-change: transform;
}

.breadcrumb {
  color: #fff;
}

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

.breadcrumb .sep {
  margin: auto 20px;
}



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

      デザイン共通

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

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

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


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

figure {
  margin: 0;
}

p {
  margin: 0;
}


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

.h2 {
  line-height: normal;
  font-size: 5.5rem;
}

.lh-20px {
  line-height: 2.2em;
}

.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; }

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

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

.attention-mark::before {
  position: absolute;
  content: "※";
  top: 0;
  left: 0;
}

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

　　　　　　　　　　ヘッダー

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

header {
  position: sticky;
  top: 0;
  z-index: 2000;
}

.site-header {
    display: flex !important;
    justify-content: space-between;
    padding: 30px 40px;
    align-items: center;
}

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

.sh-logo img {
    width: auto;
    height: 50px;
}

.sh-lan {
    display: flex;
}

.sh-lan p{
    border: 1px #fff solid;
    padding: 5px 10px;
}

.sh-lan p img {
    width: auto;
    height: 15px;
    margin-left: 5px;
}

.sh-menu {
    position: relative;
    cursor: pointer;
    z-index: 2000;
    justify-content: center;
    background: #fff;
    color: #000;
    padding: 8px 20px;
    font-size: 22px;
    border: none;
    font-family: "Noto Serif JP", serif;
  }

  .global-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 350px;
    height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    color: #000;
    padding: 20px 60px;
    transition: 0.6s;
    z-index: 2500;
  }

  .global-nav.open {
    right: 0;
  }
  
  .global-nav ul{
    padding: 0;
    margin: 0;
    list-style: none;
  }
  .global-nav ul.menu {
    margin-top: 80px;
  }
  
  .global-nav ul.menu li{
    border-bottom: 1px #ddd solid;
    padding: 30px 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: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 3000;
    display: none;
    border: none;
    width: 50px;
    background: none;
  }

  .menu-close img{
    width: 45px;
  }
  
  .menu-close.show {
    display: block;
  }



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

  .global-nav ul.gn-icon-menu {
    display: flex;
    gap: 10px;
    margin-top: 100px;
}

.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: 16px;
  margin-top: 5px;
}

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

.gn-sns{
  display: flex;
  gap: 15px;
  margin-top: 60px;
}

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

#menu-item-2646 {
  margin-top: 40px;
}

#menu-item-2646, #menu-item-2645, #menu-item-2685 {
  border: none;
  padding: 10px 0;
}


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

　　　　　　　　　　フッター

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

.site-footer {
    padding: 60px 200px 30px 200px;
    background: #1a1a1a;
}

.site-footer p {
  margin: 0;
}

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

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

.sf-logo img{
    height: 50px;
}

.footer-adress {
    margin-top: 30px;
}

.footer-adress .fa-flex{
    display: flex;
    gap: 30px;
    margin-top: 15px;
}

.footer-sns {
  margin-top: auto;
}

.site-footer nav ul{
  margin: 0;
  padding: 0;
  display: grid;
  grid-auto-flow: column; 
  grid-template-rows: repeat(5, auto); 
  gap: 30px 100px;
  justify-items: center;
}

.site-footer nav li{
  list-style: none;
}

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

.copyright {
  margin-top: 80px;
  text-align: center;
}


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

　　　　　　　　　　FV

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


/* ============基本リセット（FV内だけ安全に）================= */

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

/* ====================FV レイアウト========================= */

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

.fv-bottom {
  margin-top: 20px;
}

.fv-left {
  width: 80%;
  margin-right: 20px;
}

.fv-right {
  width: 20%;
}

.fv-top .fv-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100vh;
}

/* ===================aタグ共通========================= */

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

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

.fv .fv-left-1 {
  background: #000;
  height: 100vh;
  display: grid;
  place-items: center;
}


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

.fv-left-2 {
  height: 50vh;
}

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

.fv-left-1 .parallax-wrap {
  width: 40%;
  height: auto;
}

.fv-left-1 .parallax-img {
  position: relative;
  height: auto;
  top: 0;
  transform: none !important;
}


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

.fv span {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 30px;
  font-weight: 500;
  z-index: 5;
  line-height: 1.2;
}

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

　　　　　　　　　　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;
}

.tn-left {
  width: 30%;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  padding-left: 20px;
}

.top-news-content h2{
  font-size: 60px;
  line-height: normal;
  margin: 0;
  margin-bottom: 40px;
}

.tn-left ul {
  width: 60%;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0;
}

.tn-left ul li {
  list-style: none;
  background: #fff;
  color: #000;
  padding: 5px 10px;
  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: 50px;
  margin-top: 40px;
  align-items: bottom;
}

.news-category-tag {
  border: #fff 0.75px solid;
  border-radius: 5px;
  padding: 5px 10px;
  line-height: normal;
}




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

　　　　　　　　　　TOP-ABOUT

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

section.top-about {
  margin-bottom: 350px;
}


.top-about .section-subtitle {
  margin-left: auto;
  width: fit-content;
}


.ta-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}


.home .ta-img-wrap {
  width: 940px;
  height: 950px;
  overflow: hidden;
  position: relative;
}

.home .ta-img {
  position: absolute;
  height: 120%; 
}

.ta-text {
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.ta-content h2 {
  font-size: 70px;
  margin: 0;
  text-align: right;
  line-height: normal;
}

.ta-text p {
  width: 550px;
  margin-bottom: 40px;
  line-height: 2.6em;
}

.ta-text-content {
  margin-top: auto;
}



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

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

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

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

.home .content-for-child {
  position: relative;
  width: 100%;
  height: 130vh;
  overflow: hidden; 
}

.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%);
}


.cfc-headline {
  position: absolute;
  top: 40px;
  right: 0;
  z-index: 10;
  will-change: transform;
}


.cfc-headline .vertical-ja {
  line-height: 0;
  margin-right: 60px;
  margin-left: 40px;
  line-height: normal;
}

.cfc-headline .vertical-en {
  position: absolute;
  font-size: 60px;
  line-height: normal;
  top: 0;
  right: 60px;
  margin-top: 60px;
}

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

.cfc-box {
  position: relative;
  z-index: 4;
  margin: 300px auto;
  background: #fff;
  box-shadow: 0 20px 40px rgba(0,0,0,.2);
  text-align: center;
  width: 800px;
  height: 800px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

/* ボックス内画像 */
.cfc-box img {
  width: 100%;
  height: 65%;
  object-fit: cover;
  margin-bottom: 25px;
}

/* テキスト */
.cfc-box p {
  color: #000;
  width: 70%;
  margin: 0 auto 24px;
  line-height: 2em;
}

/* ボタン */
.cfc-box a {
  width: 20%;
  margin: 0 auto;
}

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

          石垣焼についてページ

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


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

.c-about-top-content {
  padding: 100px 150px;
}

.c-about-top-content h2 {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

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

      テンプレートデザイン

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

/* --------------------------------右に画像・左に見出しと説明---------------------------- */

.flex-design1 > .wp-block-group__inner-container{
  display: flex;
  justify-content: space-between;
  flex: 1;
  gap: 10vw;
}

.flex-design1-img {
  flex: 1;
}

.flex-design1-text{
  flex: 1;
}

.flex-design1-text > .wp-block-group__inner-container{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

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

.backgroundimg-design2-background figure {
  height: 120vh !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: 800px;
  height: auto;
  display: flex;
  flex-direction: column;
  margin-top: 200px;
  padding: 80px 0 100px 0;
}

/* テキスト */
.backgroundimg-design2-box-text {
  color: #000;
  width: 70%;
  margin: 0 auto;
}

/* ボタン */
.backgroundimg-design2-box a {
  width: 60%;
  margin: 0 auto;
}

.backgroundimg-design2-box a.button-bl {
  padding: 30px 0;
}

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

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

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

.title-wrap h1 {
  display: none;
}

.page-fv {
  width: 100%;
  height: 90vh;
  position: relative;
  overflow: hidden;
  margin-bottom: 350px;
  padding-bottom: 150px;
  border-bottom: #5E5E5E 1px solid;
}

.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;
}

.page-fv__title {
  font-size: 30px;
  margin: 0;
  margin-top: 120px;
}

.page-fv__slug {
  position: absolute;
  bottom: 0;
  font-size: 7rem;
  max-width: none;
  white-space: nowrap;
  overflow: visible;
}

/* 右画像 */
.page-fv__image {
  position: absolute;
  top: 0;
  bottom: 150px;
  right: 0;
  width: 60vw !important;
  z-index: 1;
}


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


/* パンくず */
.page-fv__breadcrumb {
  position: absolute;
  right: 20px;
  bottom: 20px;
  font-size: 20px;
  color: #fff;
  z-index: 10;
}


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

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

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

.du-and-fee {
  display: flex;
  gap: 20px;
  width: 100%;
  text-align: center;
}

.du-and-fee-item {
  border-radius: 0.4rem;
  flex: 1 1 0;
}

.du-and-fee-item dt,dd{
  background: rgba(255, 255, 255, 0.1);
  margin: 0;
  justify-items: center;
}

.du-and-fee-item dt {
  margin-bottom: 1px;
  padding: 2rem 0;
}

.du-and-fee-item dd {
  height: 9rem;
  align-content: center;
}

.du-and-fee dd ul {
  list-style: none;
  display: flex;
}

.du-and-fee dd ul li {
  margin: 0;
  position: relative;
  padding-left: 1rem;
}

.du-and-fee dd ul li:not(:first-child):before {
  content: "/";
  position: absolute;
  top: 0;
  left: 0;
}

.du-and-fee .wp-block-list li:not(:last-child) {
  margin: 0;
  margin-right: 1rem;
}