 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

h1, .section-title , .nav-btn , .contact-btn , .footer-container p , .footer-nav a{
     font-family: "Playfair Display", serif;
     font-optical-sizing: auto;
     font-weight: 700;
     font-style: italic;
 }
.main-container{
    z-index: 1;
    background-size: 100% 100%;
    height: 100%;
background:
  linear-gradient(rgba(255,255,255,.55), rgba(255,255,255,.5)),
  url("../img/main-back.jpg");
background-position: 50%;
background-attachment: fixed; 
 backdrop-filter: blur(8px);

}
 h1 {
     font-size: clamp(40px, 6vw, 80px);
     color: #424242;
     width: 500px;
     text-shadow: 0px 1px 3px rgba(255, 255, 255, 0.5),
             1px 1px 4px rgba(0, 0, 0, 0.3);
         animation: noteIn 2s ease-out .5s forwards;
         letter-spacing: 2px;
 }
 .toggle_btn{
  width: 50px;
  height: 50px;
  border-radius: 10px;
  z-index: 10;
  position: absolute;
  top: 60px;
  transform: translateY(-50%);
  right: 50px;
  cursor: pointer;
  position: fixed;
}
.toggle_btn span{
  width: 30px;
  background-color: #424242;
  display: block;
  height: 2px;
  position: absolute;
  margin: 0 auto;
  transition: all 0.5s;
}
.toggle_btn span:nth-child(1){
  top: 33%;
  left: 50%;
  transform: translateX(-50%);
}
.toggle_btn span:nth-child(2){
  bottom: 33%;
  left: 50%;
  transform: translateX(-50%);
}.open .toggle_btn span:nth-child(1){
  transform: rotate(45deg);
  top: 50%;
  left: 15%;
}
.open .toggle_btn span:nth-child(2){
  opacity: 0;
}
.open .toggle_btn span:nth-child(3){
  transform: rotate(-45deg);
  top: 50%;
  left: 15%;
}
p{
    font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color:#424242;
  line-height: 35px;
}
 .logo {
     width: 140px;
 }

 .logo img {
     width: 100%;
     object-fit: cover;
 }

 .catchcopy p {
     font-size: 20px;
 }
 .logo-section {
     display: flex;
     margin-top: 150px;
     height: 100px;
     align-items: center;
 }

 .mainvisual {
     position: relative;
     width: 100%;
     height: 100vh;
     background: #fafafaaa;
     overflow: hidden;
 }
 .music-bg {
  position: absolute;
  bottom: 0;       
    left: 16%;   
    opacity: 0.1;  
  width: 500px;
  z-index: 0;
  transform: rotate(-5deg);
  pointer-events: none;
  filter: contrast(95%) brightness(102%);

 }
 @keyframes noteIn{
  from{ opacity:0; transform:translateY(20px); }
  to  { opacity:1; transform:translateY(0); }
}
.music-bg::after{
  content:"";
  position:absolute; inset:0;
  /* 左＝白側はそのまま、右＝赤側で少し消える */
  mask-image: linear-gradient(90deg, black 55%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(90deg, black 55%, rgba(0,0,0,0) 100%);
}

 .mainvisual-title {
    position: relative;
    z-index: 2; /* テキストを最前面にする */
}

.mainvisual-title::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -30px;
    width: 200px;
    height: 200px;
    background: url("img/note.png") no-repeat center/contain;
    opacity: 0.08; /* 透かし具合を調整 */
    z-index: -1;   /* 背景に回す */
}

 /* 右側の赤パネル*/
 .mainvisual::before {
     content: "";
     position: absolute;
     top: 0;
     right: 0;
     width: 55%;
     /* パネル幅：動きを出したいほど広く */
     height: 100%;
     background:
         linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0) 30%),
         /* 光 */
         linear-gradient(180deg, #931125 0%, #c37e84 100%);
     /* 元の赤グラデ */
     /* 左端を「く」の字に切る：中央に向けてスッと絞る */
     clip-path: polygon(12% 0, 100% 0, 100% 100%, 12% 100%, 0 50%);
     z-index: 0;
 }

 .mainvisual::after {
     content: '';
     position: absolute;
     top: -30%;
     right: 10%;
     width: 50px;
     height: 150%;
     background: linear-gradient(-45deg,
             rgba(255, 255, 255, 0.2) 0%,
             rgba(255, 255, 255, 0.35) 30%,
             rgba(255, 255, 255, 0.3) 50%,
             rgba(255, 255, 255, 0.1) 70%,
             rgba(255, 255, 255, 0) 100%);
     transform: rotate(-15deg);
     z-index: 2;
     pointer-events: none;
     animation: lightShimmer 4s ease-in-out infinite;
 }

 @keyframes lightShimmer {
    0%, 100% { opacity: 0.5; transform: rotate(35deg) translateX(0px); }
    50% { opacity: 0.8; transform: rotate(35deg) translateX(5px); }
}

 /* レスポンシブ（モバイルは角度をゆるめ＆幅を少し広げる） */
 @media (max-width: 768px) {

     .mainvisual::after,
     .mainvisual::before {
         width: 70%;
     }

     .mainvisual::after {
         clip-path: polygon(18% 0, 100% 0, 100% 100%, 18% 100%, 0 50%);
     }

     .mainvisual::before {
         clip-path: polygon(18% 0, 22% 0, 8% 50%, 22% 100%, 18% 100%, 0 50%);
     }
 }

 .mainvisual-content {
     height: 100%;
 }

 .mainvisual-text {
     width: 450px;
     margin-left: 50px;
     padding-top: 60px;
 }

 .mainvisual-title {
     display: flex;
     flex-direction: column;
     width: 450px;
 }

 .mainvisual-title .line {
     width: 100%;
 }

 .mainvisual-title .left {
     text-align: left;
 }

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

 .mainvisual-title .right {
     text-align: right;
 }

 /* Studio images 基本設定 */
.studio-img1,.studio-img2,.studio-img3{
     position:absolute;
     z-index:10;
}
.studio-img1 {
  width: 360px;
  height: 270px;
  top: 90px;
  right: 160px;
  
}
.studio-img2,
.studio-img3 {
    width: 160px;
    height: 210px;
}
.studio-img2 {
    bottom: 120px;
    right: 500px;
}
.studio-img3 {
    bottom: 100px;
    right: 180px;
}

/* 共通の画像スタイル */
.studio-img1 img,
.studio-img2 img,
.studio-img3 img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    position: relative;
    z-index: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover時の拡大＋影 */
.studio-img1 img:hover,
.studio-img2 img:hover,
.studio-img3 img:hover {
transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  border-color: #DCC3AC;
}

/* 常に薄いオーバーレイをかける */
.studio-img1::after,
.studio-img2::after,
.studio-img3::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(152, 6, 6, 0.08); /* 薄め赤 */
    border-radius: 8px;
    z-index: 1;
    pointer-events: none;
}
.studio-img1:hover::after,
.studio-img2:hover::after,
.studio-img3:hover::after {
 transform: translateY(-4px);
}  

.mainvisual-img{
    padding: 0 64px 64px 0;
}
@media (max-width: 768px){
  .mainvisual-img{ padding: 0 16px 24px; }
  .studio-img1{ position:relative; top:0; right:auto; width:92vw; height:auto; margin:16px auto; }
  .studio-img1 img{ height:auto; }
  .studio-img2, .studio-img3{
    position:relative; left:auto; right:auto; bottom:auto;
    width:44vw; height:auto; margin:8px auto;
  }
}
.section-title{
    /* font-size: 45px;  
       */
       font-size: clamp(24px, 3vw, 36px);
    color: #424242;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1px;
}
.section-title span{
    font-size: 55px;
    color: #BF0404;
}
section{
    width: 900px;
    margin: 0 auto;
    padding: 80px 0 30px 0;
}
.nav-btn{
    text-decoration: none;
    width: 220px;
    height: 70px;
    color: white;
    display: inline-block;
    text-align: center;
    line-height: 70px;
    background-image: url("../img/btn-back.jpg");
    background-size: 220px 70px;
    position: relative;
    border-radius: 0 30px;
    font-size: 20px;
    letter-spacing: 1px;
    overflow: hidden;
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.nav-btn::after , .contact-btn::after{
  transition: left 0.8s ease;
}
.nav-btn:hover , .contact-btn:hover {
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(0,0,0,.18);
  filter:saturate(1.05) brightness(1.05);
}
.nav-btn:active{ transform:translateY(0); box-shadow:0 6px 16px rgba(0,0,0,.14); }

.nav-btn::after , .contact-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #d6cfcf95; /* Figmaで重ねてた色 */
  mix-blend-mode: soft-light;
  pointer-events: none; /* クリックは透過 */
  border-radius: 0 30px;
}
.nav-buttons{
    width: 900px;
    display: flex;
    gap: 40px;
    margin: 0 auto;
    padding-top: 50px;
}

.contact-btn{
    text-decoration: none;
    width: 450px;
    height: 100px;
    color: white;
    display: inline-block;
    text-align: center;
    line-height: 100px;
    background-image: url("../img/btn-back.jpg");
    background-size: 450px 100px;
    position: relative;
    border-radius: 0 30px;
    font-size: 30px;
    letter-spacing: 1px;
    overflow: hidden;
    transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.contact{
    width: 100%;
    text-align: center;
    padding: 100px;
}
 /* ===== Access ===== */
.access{
  /* セクション全体の余白は好みに合わせて */
  padding: 56px 0 72px;
}

.access .section-title{
  margin-bottom: 22px;         /* 見出しとカードの間をやや詰める */
}

/* カード本体（地図＋文章） */
.access-content{
  /* 地図:文章 = 56:44 のバランス。お好みで 60/40 でもOK */
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 28px;
  align-items: start;

  padding: 28px 32px;
  border-radius: 16px;
  background: rgba(255,255,255,0.88);         /* うっすら透ける白 */
  border: 1px solid rgba(0,0,0,0.06);         /* ごく薄い枠線（高級感） */
  box-shadow:
    0 10px 24px rgba(0,0,0,0.10),             /* 広めで淡い影 */
    0 2px 6px rgba(0,0,0,0.06);               /* 近い位置の柔らかい影 */
  backdrop-filter: blur(2px);                  /* 背景がある場合の上質感 */
}

/* 地図側 */
.map-container{
  border-radius: 14px;
  overflow: hidden;                            /* 角丸を iframe にも反映 */
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset; /* 内側に極薄ハイライト */
}

.map-container iframe{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;                         /* 比率固定（3/2 でも可） */
  border: 0;
  min-height: 340px;
}

/* テキスト側 */
.access-text{
  line-height: 1.9;
  color: #424242;
  font-size: 13px;
margin: auto 0;
position: relative;
  padding-left: 22px;
}

/* 段落間の余白を少し */
.access-text p + p{ margin-top: 10px; }

.access-text::before{
  content:"";
  position: absolute;
  left: 0; top: 8px; bottom: 8px; width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.00),
    rgba(0,0,0,0.08),
    rgba(0,0,0,0.00)
  );
}

/* ===== Responsive ===== */
@media (max-width: 900px){
  .access-content{
    grid-template-columns: 1fr; /* 縦積み */
    gap: 18px;
    padding: 22px 18px;
    border-radius: 14px;
  }
  .map-container iframe{ min-height: 260px; }
  .access-text{ padding-left: 0; }
  .access-text::before{ display: none; }       /* 仕切りはスマホで削除 */
}

.footer-container img{
    width: 100px;
    object-fit: cover;
}
.footer-container{
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-nav a{
    text-decoration: none;
    color: #424242;
}
.footer-nav{
    display: flex;
    gap: 30px;
    justify-content: center;
}
footer{
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 20px;
    font-size: 14px;
background:
  linear-gradient(rgba(255,255,255,.55), rgba(255,255,255,.5)),
  url("../img/main-back.jpg");
background-position: 50%;
background-attachment: fixed; 
 backdrop-filter: blur(8px);
}