:root {
    --color-background: #121212; /* 背景色 (真っ黒より少し柔らかい黒) */
    --color-text: #E0E0E0;       /* 基本の文字色 (白) */
    --color-gold: #C9A461;/* アクセントの金色 */
    --color-text-gold:#ae9962;
    --color-gold-hover: #E0C494; /* 金色のホバー色 */
    --color-border: #333333;     /* 境界線 */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Shippori Mincho', serif;
}

html{
  margin: 0;
  padding: 0;
}

body{
  margin:0;
  padding: 0;
  background: #15171c;
  color:#ae9962;
  font-family: 'Shippori Mincho', serif;
}

header{
  width: 100%;
  height: 79px;
  background: url(../images/img_headerbase.png) center top no-repeat;
  position: fixed;
  z-index: 1;
  color: #ccc;
  top: 0;
  transition: all 0.3s ease-in-out;
  min-width:960px;
}

header.scrolled {
  height: 40px;
  padding: 10px 0;
  background-position-y: -40px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header.scrolled h1{
  width: 40px;
  top:8px;
  margin-left: -20px;
}

header.scrolled nav.leftNav{
  top: -2px;
  transition: all 0.3s ease-in-out;
  scale:0.7;
  margin-left: -340px;
}

header.scrolled nav.righttNav{
  top: 4px;
  transition: all 0.3s ease-in-out;
}

header.scrolled .language {
  top: 4px;
  transition: all 0.3s ease-in-out;
}

header.scrolled nav ul li p{
  opacity: 0;
}

main{
  height: 100%;
  min-width: 1200px;
}

header a{
  transition: color 0.3s;
}

header a:hover {
  color: #c0a062;
}

header .language{
  position: absolute;
  right: 10px;
  top: 23px;
  font-weight: 700;
  font-size: 18px;
  text-align: right;
  transition: all 0.3s ease-in-out;
}

header .language a{
  margin: 4px;
}

h1{
  position: absolute;
  top: 19px;
  left:50%;
  margin-left: -37px;
}

ul{
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 700;
  letter-spacing: 0.2rem;
}

li{
  display: inline-block;
  margin: 0 20px;
}

nav.leftNav{
  left:50%;
  margin-left: -380px;
  position: absolute;
  top: 9px;
  transition: all 0.3s ease-in-out;
}

nav.leftNav ul li{
  font-size:20px;
}

nav.leftNav ul li p{
  font-size: 12px;
  text-align: center;
}

nav.leftNav ul li span{
  font-size:25px;
}

.opa{
  opacity: 0.2;
}

nav.righttNav{
  left:50%;
  margin-left: 60px;
  position: absolute;
  top: 16px;
}

nav.righttNav ul li{
  font-size:12px;
}

nav.righttNav ul li span{
  font-size:17px;
}

nav ul li p{
  font-size: 12px;
  text-align: center;
}

nav.slide-menu ul li p{
  font-size:11px;
}

.hero{
  margin: 0;
  background: url(../images/img_visual2.png) center top no-repeat;
  width: 100%;
  height: 900px;
  position: relative;
  /* padding-top: 30px; */
  background-position-y: 30px;
}

.hero .hero-content{
  position: absolute;
  left: 50%;
  top: 500px;
  margin-left: -192px;
  /* width: 185px; */
}

.hero-vertical-text{
  font-style: italic;
  font-size:24px;
  letter-spacing: 0.2rem;
  position: absolute;
  top: 632px;
  color: #ccc;
  width: 100%;
  text-align: center;
  text-shadow: 0 0 10px #000000;
}

.content-section{
  width: 1200px;
  margin: 150px auto 0 auto;
}

.section-title{
  text-align: center;
}

.content-text{
  width: 650px;
  position: absolute;
  left: 550px;
}

.content-text p{
  color:#ccc;
  font-size:16px;
  line-height: 1.8em;
}

.content-text h4{
  font-size: 28px;
}

.content-body{
  margin-top: 40px;
  position: relative;
}

#fitting .content-body{
  background:url(../images/img_fitting.png) no-repeat;
  height: 456px;
  padding-top:28px;
}

#fitting .content-text p{
  margin-top: 50px;
}

#lesson .content-body{
  background:url(../images/bg_lesson.png) no-repeat;
  height: 552px;
  padding-top:35px;
}

#lesson .content-text p{
  margin-top: 25px;
  font-size:15px;
  line-height: 1.6em;
  text-shadow: 0 0 5px #000000;
}

#lesson h4 span{
  font-size:18px;
  display: block;
}

.two-column-section {
  display: flex;
  max-width: 1200px;
  margin: 150px auto 0 auto;
  padding: 0px 0%;
  gap: 6%;
}

.column {
  flex: 1;
  text-align: center;
}

.column-content {
  margin-top: 30px;
}

.column-content img {
  margin-bottom: 15px;
}

.column-content h3 {
  font-size: 1.5rem;
  font-weight: 400; 
  margin-bottom: 15px;
  color: #fff;
}

.column-content p{
  font-size: 15px;
  line-height: 1.8em;
  color: #ccc;
  text-align: left;
  width: 476px;
  margin: 0 auto;
}

.about-section {
  text-align: center;
  padding: 100px 5% 30px 5%;
}
.about-content {
  display: inline-block;
  padding: 30px 0;
  color: #ccc;
  line-height: 1.8em;
}
.about-content p {
  margin: 5px 0;
}

.footer {
  text-align: center;
  font-size: 12px;
  color: #ccc;
  background: url("../images/bg_fooger.png") center top no-repeat;
  height: 55px;
  position:relative;
  min-width: 1200px;
}

.footer span{
  color:#495058;
  display: block;
  position: absolute;
  float: left;
  top: 22px;
  left: 60px;
}

.footer h5{
  position: absolute;
  top: 16px;
  left: 10px;
}

.footer p{
  padding-top: 33px;
}

.footer-sns {
  margin-bottom: 20px;
  position: absolute;
  top: 14px;
  right: 10px;
}

.footer-sns a {
  color: #555;
  font-size: 1rem;
  margin: 0 3px;
  transition: color 0.3s;
}

.footer-sns a:hover {
  color: #c0a062;
}


.hamburger {
  display: none; 
  position: absolute;
  top: 12px;
  right: 20px;
  width: 30px;
  height: 24px;
  cursor: pointer;
  z-index: 100;
}

.hamburger span {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #ae9962;
  transition: all 0.5s;
}

.hamburger span:nth-of-type(1) { top: 0; }
.hamburger span:nth-of-type(2) { top: 11px; }
.hamburger span:nth-of-type(3) { top: 22px; }

.hamburger.active span:nth-of-type(1) {
  top: 11px;
  transform: rotate(45deg);
}
.hamburger.active span:nth-of-type(2) {
  opacity: 0;
}
.hamburger.active span:nth-of-type(3) {
  top: 11px;
  transform: rotate(-45deg);
}

.slide-menu {
  display: none; 
  position: fixed; 
  top: 0;
  right: -100%; 
  width: 210px;
  height: 100%;
  background-color: rgba(21, 23, 28, 0.98);
  padding-top: 80px;
  transition: right 0.5s;
  z-index: 99;
}

.slide-menu.active {
  right: 0;
}

.slide-menu ul li {
  display: block;
  text-align: center;
  padding: 10px 0;
  margin: 0;
}

.slide-menu ul li a {
  color: #ccc;
  font-size: 16px;
  letter-spacing: 0.1em;
  font-weight: bold;
}

.img_sp{
  display: none;
}

.slide-menu ul li.spLang button{
  font-size:12px;
  margin: 4px;
}

.lang-switch {
    margin-left: 20px !important;
    color: #666;
    font-size: 12px;
}
.lang-switch button {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0;
    font-family: 'Teko', sans-serif;
    transition: color 0.3s;
}
.lang-switch button:hover,
.lang-switch button.active {
    color: #c0a062;
}

#info ul li{
  color:#ccc;
  text-align: left;
  font-size:12px;
  padding: 10px;
  border-bottom: 1px solid #ae9962;
}

#info ul li p{
  /* font-size: 14px; */
  line-height: 1.5em;
  padding: 0 5px;
  letter-spacing: 0;
}

#info .column-content{
  margin-top: 10px;
}

#media h4{
  color: #ccc;
  font-size: 20px;
  text-align: center;
  margin-bottom: 30px;
}

#media .content-text{
  width: 100%;
  position: static;
}
.media-section {
  padding: 80px 20px;
  background-color: #0a0a0a;
  text-align: center;
}

.media-section .section-title {
  margin-bottom: 50px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 280px);
  gap: 40px 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: start;
}

.media-item {
width: 280px;
}

.media-item a {
  display: block;
  text-decoration: none;
  color: #e0e0e0;
  transition: opacity 0.3s ease;
}

.media-item a:hover {
  opacity: 0.8;
}

.media-item .media-image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
}

.media-item img {
  width: 252px;
  object-fit: cover;
}

.media-item p {
  font-size: 14px;
  line-height: 1.7;
  text-align: left; /* ãƒ†ã‚­ã‚¹ãƒˆã¯å·¦æƒãˆ */
  margin: 0;
  padding: 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


.golne img{
  width: 252px;
  height: 142px;
}

.golneCol{
  margin-top: 70px;
}

#makerLogo{
  text-align: center;
  margin-bottom: 20px;
}

#makerLogo ul li{
  display: inline-block;
  vertical-align: middle;
}

.lineFrame{
  border: solid 1px #ae9962;
  padding: 10px 15px;
  overflow: hidden;
}

.lineFrame img{
  float: left;
  display: block;
  margin: 0;
}

.lineFrame span{
  font-size: 28px;
  padding-bottom: 0px;
  /* display: block; */
  line-height: 1.2em;
}

.lineFrame p{
  font-size: 14px;
  width: auto;
  margin: 0;
  text-align: center;
  /* display: block; */
}

.lineFrame .lineST{
  font-size:14px;
  color: #ccc;
  display: block;
  margin-top: 14px;
}

.firstSection{
  margin: 80px auto 0 auto;
}

.btnCol{
  text-align: center;
  padding: 30px;
  margin-top: 15px;
}

a.btnFrame{
  border-radius: 5px;
  border: solid 1px #ae9962;
  padding: 10px 15px;
  font-weight: bold;
  font-size:1.2rem;
  transition: background-color 0.5s, color 0.5s;
  margin: 10px;
}

a.btnFrame:hover{
  background-color: var(--color-gold);
  color: var(--color-background);
}


/* ============================================
 * =^,,^= FITTING =^..^=
 * ============================================*/

.innerPage .content-text{
  position: static;
  width: 1200px;
}

.innerPage .content-text h4{
  text-align: center;
  margin-bottom: 30px;
}

.innerPage .content-body{
  margin-bottom: 150px;
}

table{
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.9em;
  color: #B0B0B0;
}



table th, table td {
  padding: 8px 12px;
  font-size: 1.2em;
  min-width: 60px;
  border: 1px solid var(--color-border);
  text-align: left;
}

table th {
  padding: 15px 5px;
  font-family: var(--font-heading);
  color: var(--color-gold);
  text-align: center;
}

.innerPage .two-column-section{
  margin: 50px auto 0 auto;
}

.innerPage h3.section-title {
  color:#ccc;
  font-size:20px;
}

.innerPage h3.section-title span {
  font-size:16px;
}

.innerPage h3.section-title img {
  margin-bottom: 30px;
}

.innerPage .column-content {
  margin-top: 10px;
}

.innerPage .column-content p {
  width: 95%;
}

.stuffName{
  background: #C9A461;
  color: #000;
  font-weight: bold;
}

.content-text p.lName{
  display: inline-block;
  font-size:20px;
}

.golf-pricing-table{
  table-layout: fixed;
  min-width: 1100px; /* 例: 800px以下には縮まないようにする */
}

/*.golf-pricing-table td{
  white-space: nowrap;
}*/

.golf-pricing-table .item-name{
  width: 300px;
}

.table-wrapper {
  width: 100%;
  overflow-x: auto; 
  -webkit-overflow-scrolling: touch;
   margin-bottom: 100px;
  /* (任意) テーブルがスクロールできることを示すために、左右に影をつけるテクニック */
  /* background: 
     linear-gradient(to right, white, white 5px, transparent 20px), 
     linear-gradient(to left, white, white 5px, transparent 20px);
  background-attachment: scroll, scroll;
  background-repeat: no-repeat, no-repeat;
  background-position: left top, right top; */
}

a.btnOnPage{
  color:var(--color-text-gold) !important;
}

.col-price{
  text-align: right;
}

b{
  font-weight: bold;
}

#fitting .txtMain{
  color:#ccc;
  margin-top:20px;
  font-size: 15px;
  line-height: 1.6em;
  text-shadow: 0 0 5px #000000;
}

#fitting .txtMain span{
  font-size:14px;
}


/* --------------------------------
 * Photo Gallery
 * -------------------------------- */
.gallery-grid {
  display: grid;
  /* PCでは4列表示 */
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  padding: 0 10px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
 aspect-ratio: 1 / 1; /* 800x533のアスペクト比を維持 */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 比率を保ったままコンテナを埋める */
  display: block;
  transition: transform 0.3s ease;
}

/* --------------------------------
 * Gallery Modal (Lightbox)
 * -------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
  box-sizing: border-box;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.modal-content img {
  width: auto;
  height: auto;
  max-width: 100%;
  /* 縦長の画像も考慮し、ビューポートの高さを最大にする */
  max-height: 90vh; 
  display: block;
  border-radius: 5px;
}

.modal-close {
  position: absolute;
  top: -15px;
  right: -15px;
  background: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  line-height: 28px;
  text-align: center;
  padding: 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  z-index: 1001;
}

#photogallery .content-text{
  width: 100%;
  position: static;
  
}

#info .column-content{
  overflow: auto;
  height: 200px;
}






























/* ======================================
 * =^..^= スマホ =^..^=
 * ========================================*/

@media (max-width: 768px) {

  main{
    min-width: auto;
  }
  
  .content-section,
  .two-column-section {
    width: 100%;
    margin-top: 80px;
  }
  
  header {
    height: 49px;
    padding: 0px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    background-position-y: -30px;
    z-index: 101;
    top: 0;
    min-width:auto;
  }
  
  header.scrolled {
    height:49px;
    background-position-y: -30px;
  }
  
  header.scrolled h1{
    top: 13px;
    margin-left: -34px;
  }
  
  header .language{
    display: none;
  }
  
  h1 {
    width: 50px;
    top: 11px;
    left: 50px;
    }

  li {
    margin: 5px 10px;
    border-bottom: 1px solid #272727;
  }
  
    nav.leftNav,nav.righttNav {
    display: none;
  }

  nav.leftNav ul li,
  nav.leftNav ul li span,
  nav.righttNav ul li,
  nav.righttNav ul li span {
    font-size: 14px;
  }
  
  .hamburger,.slide-menu {
    display: block;
  }

  .hero {
    margin: 0;
    height: auto;
    background-size: cover;
    margin-top: -11px;
    padding-bottom: 20%;
  }

  .hero .hero-content {
    position: static;
    margin: 0;
    padding-top: 80%;
    text-align: center;
  }
  
  .hero .hero-content h2 img {
    width: 70%;
    max-width: 400px;
  }

  .hero-vertical-text {
    writing-mode: lr;
    width: 100%;
    left: 0;
    margin-left: 0;
    position: static;
    text-align: center;
    font-size: 3vw;
    letter-spacing: 0.2rem;
  }

  .content-text {
    position: static; 
    width: 100%;
    left: auto;
    padding: 0 3%;
  }
  
  .img_sp{
    display: block;
    width:100%;
    margin: 3% 0 0 0;
  }

  #fitting .content-body,
  #lesson .content-body {
    background-image: none;
    height: auto;
    padding-top: 0;
  }

  .content-text h4 {
    font-size: 22px;
  }

  .content-text p,
  #lesson .content-text p {
    font-size: 15px;
  }
  
  .two-column-section {
    flex-direction: column;
    gap: 60px;
  }
  
  .column-content{
    padding: 0 3%;
  }

  .column-content img{
    width: 75%;
  }
  
  .column-content p {
    width: 100%;
    padding-left: 0;
    box-sizing: border-box;
  }

  .about-section {
    padding: 60px 5%;
  }
  
  .opa{
    color: #333;
    opacity: 1;
  }

  .footer {
    height: auto;
    padding: 15px 0 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* background-image: none; */
    /* background-color: #0c0e12; */
    background-position-y: 11px;
    min-width: auto;
  }

  .footer h5,
  .footer-sns {
    position: static;
    margin-bottom: 5px;
  }
  
  .footer h5{
    display: none;
  }
  
  .footer p {
    padding-top: 0;
  }
  
  .lang-switch-sp {
    margin-top: 30px;
    border-top: 1px solid #333;
    padding-top: 20px;
  }
  .lang-switch-sp button {
    background: none;
    border: 1px solid #666;
    color: #666;
    cursor: pointer;
    padding: 3px 7px 5px 7px;
    margin: 0 5px;
    font-size: 12px;
    border-radius: 5px;
    transition: all 0.3s;
    letter-spacing: 0;
  }
  .lang-switch-sp button:hover,
  .lang-switch-sp button.active {
    background-color: #c0a062;
    border-color: #c0a062;
    color: #15171c;
  }
  
  #info ul li {
    width: 100%;
    margin: 0;
  }
  
  .lineFrame img.lineQR{
    display: none;
  }
  
  .lineFrame span{
    font-size:27px;
  }
  
  .media-item {
    width: 100%;
  }
  
  .media-grid {
    grid-template-columns: repeat(auto-fit, 100%);
  }
  
  #makerLogo ul li {
    margin: 3%;
  }
  
  .btnCol{
    padding: 30px 0;
  }
  
  .innerPage .content-text {
    position: static; 
    width: 100%;
    left: auto;
    padding: 0 3%;
  }
  
  .stuffName {
    text-align: left;
    padding-left: 20px;
  }
  
  .gallery-grid {
    /* スマホでは2列表示 */
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  /* スマホでは拡大機能（モーダル）を無効化するため、カーソルを標準に */
/*  .gallery-item img {
    cursor: default;
  }*/
  
  .golne{
    width: 80%;
  }
}

@media (min-width: 769px) {
  .gallery-item img {
    cursor: pointer;
  }
  .gallery-item img:hover {
    transform: scale(1.05);
  }
}




