@charset "UTF-8";


html {
    font-size: 100%;
}

img {
    max-width: 100%;
}

body {
    background-color: #ffe9dc;
    background-attachment: fixed;
    z-index: 1;
    font-family: '游ゴシック';
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 5px 10px;

}


#header-logo {
  text-align: center;
  padding-top: 0.5rem;
  width: 85%;         /* 幅を全体に */
}

#header-logo img {
  max-width: 350px;    /* ロゴの最大幅を指定 */
  height: auto;
  display: inline-block;
}


/*調整*/
/* チェックボックスは非表示 */
#menu-toggle {
  display: none;
}

/* ハンバーガーアイコン */
.menu-icon {
  display: block;
  position: absolute;
  top: 30px;
  right: 20px;
  width: 30px;
  height: 25px;
  cursor: pointer;
  z-index: 10;
}

.menu-icon span {
  display: block;
  height: 3px;
  width: 100%;
  margin: 5px 0;
  background: #4d4d4d;
  border-radius: 2px;
  transition: 0.4s;
}

/* メニュー本体 */
#burger .menu {
  display: none;
  flex-direction: column;
  align-items: center;
  background-color: #e0f7ff;
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  z-index: 5;
  border-top: 1px solid #7dceec;
}

#burger .menu li {
  width: 100%;
  margin: 0 auto;
  border-bottom: 1px solid #7dceec;
  list-style: none;
  
}

#burger .menu a {
  display: block;
  padding: 15px;
  color: #4d4d4d;
  text-decoration: none;
  font-size: 20px;
}

#burger .menu a span {
  display: block;
  font-size: 18px;
  color: #007de1;
  margin-top: 2px;
}



/* メニュー開くとき */
#menu-toggle:checked ~ .menu {
  display: flex;
}

/* ハンバーガー → × に変化 */
#menu-toggle:checked + .menu-icon span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
#menu-toggle:checked + .menu-icon span:nth-child(2) {
  opacity: 0;
}
#menu-toggle:checked + .menu-icon span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}





.wrapper {
   
    z-index: 5;
    width: 100%;
    padding-top: 15px;
    

}



.syokai p {
  color: #6b4e3d;
  padding-top: 6px;
  font-size: 18px;
  text-align: center;
  line-height: 1.4;
  margin: 0.3em 0;
  letter-spacing: 0.04em;
  
   }
.syokai p {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.8s ease-out forwards;
}


.syokai p:nth-child(1) { animation-delay: 0.2s; }
.syokai p:nth-child(2) { animation-delay: 0.5s; }
.syokai p:nth-child(3) { animation-delay: 0.8s; }
.syokai p:nth-child(4) { animation-delay: 1.1s; }
.syokai p:nth-child(5) { animation-delay: 1.4s; }

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




.allexhibitions{
  background-color: #c1994d;
}
.event {
  background-color: #c1994d;
}

.news  {
  background-color: #c1994d;
}
.rental{
   background-color: #c1994d;
}
.heading-mediam{
   background-color: #c1994d;
}

#news1 {
  padding-left: 0.8em;
}

#event1 {
  padding-left: 0.8em;
}

#news1 li{
  font-size: 16px;
  color: #4d4d4d;
  border-bottom: 1px dotted #aaaaaa;
   padding-left: 0.1em;
  /*list-style:none;*/  
}
#event1 li{
  font-size: 16px;
  color: #4d4d4d;
  border-bottom: 1px dotted #aaaaaa;
   padding-left: 0.1em;
  /*list-style:none;*/  
}
.new-item::after {
  content: "new!";
  color:red;
  font-size: 0.9em;
  margin-left: 5px;
}

.old-item::after {
  content: "イベント終了";
  color: #999; 
  font-size: 0.9em;
  margin-left: 5px;
}

#news1 .date {
  color: #999;        /* 薄いグレー */
  font-size: 0.9em;   /* 少し小さく */
  margin-right: 0.4em;
}

#event1 .date {
  color: #999;        /* 薄いグレー */
  font-size: 0.9em;   /* 少し小さく */
  margin-right: 0.4em;
}

.tuite {
  font-size: 20px;
  color: #4d4d4d;
}

strong {
  color: #2f5fa7;
}
#news1 a {
  color: #2f5fa7;
  text-decoration: underline;
}

p {
  font-size: 16px;
  /*line-height: 1.8;*/
  color: #4d4d4d;
  padding-left: 0.2em;
}


.info th {
  writing-mode: horizontal-tb; /* 横書き */
  text-align: center;
  padding: 10px;
  white-space: nowrap;
  height: auto;                /* 高さは自動 */
  vertical-align: middle;
}

.info td {
  padding-left: 10px;
}


/* 複数画像切り替え ---------------------------------------------- */
.slider-container {
  position: relative; /* 親要素を基準に絶対配置する */
  height: 30vh;
  width: 100%;        /* コンテナ幅を100%に */
  overflow: hidden;   /* はみ出す部分は非表示 */
  text-align: center;
}

/* スライド画像を中央・比率固定で表示 */
.slider-container img,
.slideimg {
  object-fit: cover;          /* 縦横比を維持して全体にカバー */
  object-position: center;    /* 常に中央を基準に表示 */
  display: block;
}


/* スライド画像の基本設定 */
.slideimg {
  position: absolute; /* 重ねて配置 */
  inset: 0;           /* 親要素内にフルサイズ配置 */
  opacity: 0;         /* 初期は非表示 */
  background-size: cover; /*画像をコンテナ全体に拡大 */
  animation: slideAnime 15s infinite; /* 15秒でループ */
  display: flex;
}

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



 /*トップの自動スライド用 */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-size: cover;
  animation: slideAnime 15s infinite;
}


/* スライドの表示/非表示タイミング */
@keyframes slideAnime {
  0%, 30%, 100% {
    opacity: 0; /* 非表示 */
  }
  10%, 20% {
    opacity: 1; /* 表示 */
  }
}

/* 各スライドの画像とアニメーション開始タイミング */
.slideimg:nth-of-type(1) {
  background-image: url("images/watanomi.jpg");
  animation-delay: 0s;
}
.slideimg:nth-of-type(2) {
  background-image: url("images/fuji.jpg");
  animation-delay: 5s;
}
.slideimg:nth-of-type(3) {
  background-image: url("images/wata.jpg");
  animation-delay: 10s;
}






/* スライド表示領域 */
.slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 1.5s ease;
}

/* 各スライド */
.slide {
  width: 100%;
  flex-shrink: 0;
}

.slide img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* ラジオボタンは非表示 */
input[type="radio"] {
  display: none;
}


/* カルーセル共通設定 */
.carousel {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto 50px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* 現在の展示カルーセル */
#current1:checked ~ .slides { transform: translateX(0%); }
#current2:checked ~ .slides { transform: translateX(-100%); }
#current3:checked ~ .slides { transform: translateX(-200%); }

/* これからの展示カルーセル */
#next1:checked ~ .slides { transform: translateX(0%); }
#next2:checked ~ .slides { transform: translateX(-100%); }
#next3:checked ~ .slides { transform: translateX(-200%); }

/* ナビゲーション（下の丸） */
.navigation {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.nav-button {
  width: 12px;
  height: 12px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.nav-button:hover {
  background-color: #888;
  transform: scale(1.2);
}

/* チェックされたボタンの色変更 */
#current1:checked ~ .navigation label[for="current1"],
#current2:checked ~ .navigation label[for="current2"],
#current3:checked ~ .navigation label[for="current3"],
#next1:checked ~ .navigation label[for="next1"],
#next2:checked ~ .navigation label[for="next2"],
#next3:checked ~ .navigation label[for="next3"] {
  background-color: #444;
}





.exhibitions{
    text-align: center;
    font-size: 2rem;
    color: #a08177;
}

.allexhibitions{
    text-align: center;
    font-size: 2rem;
    color: #a08177;
}

.exhibitions {
    text-align: center;
    font-size: 2rem;
    color: #a08177;
}

.nextexhibitions{
    text-align: center;
    font-size: 2rem;
    color: #a08177;
}

.news{
    text-align: center;
    font-size: 2rem;
    color: #a08177;
    
}


#news1 li{
    max-width: 767px;
}

.event{
    text-align: center;
    font-size: 2rem;
    color: #a08177;
}


.rental{
    text-align: center;
    font-size: 2rem;
    color: #a08177;
}

.rental-content p {
  line-height: 1.8;
  margin:  2px 0;
}


.heading-mediam{
    text-align: center;
    font-size: 2rem;
    color: #a08177;
}

.info {
    width: 100%;
    max-width: 544px;
    margin: auto;
    padding: 0 1.5rem;
    border-spacing: 0;

}
.info th,
.info td{
    font-size: 18px;
    border-bottom: 1px solid #c9c2bc;
}
.info th{
    text-align: left;
    font-size: 15px;
    padding: 1rem;
    color: #a08177;
}



.info td{
    font-size: 18px;
    color: #a08177;
}
.info td span{
  font-size: 14px;
  color: red;
  line-height: 1.2;   /* 行間 */
  display: block;     /* ← これが重要！！ */
}
.info th {
    writing-mode: vertical-rl;
    text-orientation: upright;

    display: flex;
    justify-content: center; /* 縦方向中央 */
    align-items: center;     /* 横方向中央 */

    height: 120px;
    padding: 0;
  }

/*サロン情報*/
.location {
    margin-bottom: 3.5rem;
}

.location-info {
    margin-bottom: 2rem;
}

.location-info.info {
    padding: 0;
}

/*iframe*/
.location-map {
    /*width: 100%;*/
    padding-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;

}

.location-map iframe {
  max-width: 100%;
  height: 320px;
  border: 0;
  margin: 0 auto;
}

.copyright{
    font-size: 20px;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    color: #a08177;

}




/* gNav 下の線を削除 */
#gNav li,
#gNav a {
  border-bottom: none !important;
  box-shadow: none !important;
}

#gNav ul {
  border: none !important;
}

.exhibitions3 {
  display: flex;
  justify-content: center;
  gap: 20px; /* すき間を少しあける */
  flex-wrap: wrap; /* 狭くなったとき自動調整できるように */
  max-width: 1240px;
  margin: 0 auto;
}

.exhibitions1,
.exhibitions2 {
  flex: 1 1 48%; /* 幅48%で可変 */
  max-width: 600px; /* 最大幅の上限を設定 */
  box-sizing: border-box;
}





.back-to-list {
  display: inline-block; /* インライン要素をブロック要素のように扱い、余白やサイズを設定可能にする */
  padding: 10px 20px;    /* ボタン内の余白 */
  margin-top: 20px;      /* 他のコンテンツとの間の余白 */
  background-color: #007bff; /* 背景色（青系） */
  color: white;          /* 文字色 */
  text-decoration: none; /* 下線を消す */
  border-radius: 5px;    /* 角を丸くする */
  font-weight: bold;     /* 文字を太くする */
  transition: background-color 0.3s; /* ホバー時の変化を滑らかにする */
  text-align: center;
  max-width: 150px;
  display: block;
  margin: 40px auto 0;
}

.back-to-list:hover {
  background-color: #0056b3; /* ホバー時の背景色 */
}

.syotoori {
  max-width: 600px;
  margin: 20px auto 0;
}

.syotoori p {
  text-align: left;
  margin-left: 10px;
}
.sakkasyokai {
  max-width: 600px;
  margin: 30px auto; 
}

.sakkasyokai .title {
  text-align: center;
  margin-bottom: 20px;
}

/* 写真＋文章 */
.artist-profile {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

/* 写真 */
.artist-photo img {
  width: 140px;
  height: auto;
  border-radius: 8px;
}

/* 文章 */
.artist-text {
  flex: 1;
}

.artist-text .name {
  text-align:center;
  font-weight: 500;
  margin-top: 0px;
  margin-bottom: 10px;
}

.artist-text .text {
  text-align: left;
  line-height: 1.8;
  font-size: 0.95rem;
}

.artist-profile {
    flex-direction: column;
    align-items: center;
  }

  .artist-photo img {
    width: 160px;
  }

  .artist-text {
    text-align: left;
  }
 

/* ===== 見出しフェード（モバイルファースト） ===== */
.fade-title {
  opacity: 0;
  animation: fadeTitle 0.8s ease forwards;
}

@keyframes fadeTitle {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.allexhibitions { animation-delay: 0.2s; }
.event         { animation-delay: 0.4s; }
.news          { animation-delay: 0.6s; }
.rental        { animation-delay: 0.8s; }
.salon {animation-delay: 1s; }



@media (min-width: 769px) {
  .fade-title {
    animation-duration: 1.1s;
  }

  @keyframes fadeTitle {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}



@media screen and (min-width:768px) {

    #header-logo {
      width: 100%;
      margin: 0 auto;
    }

  .wrapper{
    padding-top: 2px;
  }  

    

/* スライド画像を中央・比率固定で表示 */
.slider-container img,
.slideimg {
  width: 100%;
  object-fit: cover;          /* 縦横比を維持して全体にカバー */
  object-position: center;    /* 常に中央を基準に表示 */
  display: block;
}

.slideimg {
  width: 100%;
  height: 100%;
}

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

.top-slider {
  width: 100%;
  aspect-ratio: 16 / 7;
  height: auto;
  overflow: hidden;
}


.exhibitions1 .slider-container,
.exhibitions2 .slider-container {
  aspect-ratio: 16 / 9;    
 
}
/*
.exhibitions1 .slider-container img,
.exhibitions2 .slider-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
}*/

.exhibitions1 .slide,
.exhibitions2 .slide {
/*height: 100%;*/
  aspect-ratio: 4 / 2.5;
}

.exhibitions1 .slide img,
.exhibitions2 .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
/*width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;*/
}



    
    h1 {
      margin-bottom: 10px;
    }

    .exhibitions3 {
      display: flex;
      margin: 0 auto;
      width: 1200px;
      
    }

    .exhibitions2 {
      padding-left: 25px;
    }

    .location-map iframe {
      max-width: 80%;
    }




.menu-icon {
    display: none; /* PCでは非表示 */
  }

  /* PCでメニューを表示（横並び） */
#burger .menu {
    display: block;  /* ←これを追加！ */
    position: static;
    background: none;
    border: none;
}


#gNav li {

  background-color: #e0f7ff;
  height: 65px;
  text-align: center;
  width: 20%;
  max-width: 100%;
}

#gNav li:hover {
  background-color: #bdf5fe;
  height: 55px;
}


#gNav {
  margin-bottom: 10px;
  height: 55px;
}


#gNav ul {
  display: -webkit-flex;
  display: flex;
  justify-content: space-around;
  list-style: none;
  margin: 0;
  padding: 0;
}

#gNav li {
  height: 55px;
  text-align: center;
  width: 16.66%;
  box-sizing: border-box;
  overflow: hidden;
  
}



#gNav a {
  color:  #4d4d4d;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  display: flex;
  font-size: 18px;
  width: 100%;
  height: 100%;
  line-height: 0.7;
  text-decoration: none;
  background-color: transparent;
  transition: background-color 0.3s ease;
}

#gNav a:hover {
  background-color: #BDF5FE;

}

#gNav a span {
  color: #007de1;
  display: block;
  font-family: Arial,sans-serif;
  font-size: 14px;
  margin-top: 4px;
  
}

#gNav .current-menu-item a, #gNav .current-menu-item a span {
  background-color: #2AA8E5;
  color: #ffffff;
}

#news1 li{
  font-size: 18px;
  border-bottom: 1px dotted #aaaaaa;
  padding: 0.2em;
  /*list-style:none;*/
  white-space: nowrap;
  max-width: 70%;
  
}

.back-to-list {
  display: block;
  margin: 40px auto 0;
  max-width: 150px;
  text-align: center;
}
.artist-profile {
    flex-direction: column;
    align-items: center;
  }

  .artist-photo img {
    width: 160px;
  }

  .artist-text {
    text-align: left;
  }
 
 

}

h1 {
  margin-top: 50px;
  text-align: center;
}

h2 {
  margin-bottom: 50px;
}

h3 {
  margin-top: 50px;
}

@media screen and (min-width:1240px) {
  .syokai p {
  padding-top: 6px;
  font-size: 22px;
   }

   .sakkasyokai p {
    text-align: center;
   }
/* --- 画面が狭い時にスムーズに縮小させる --- */
  .exhibitions3 {
    width: 95%; /* コンテナも少し小さく */
  }
  
  .exhibitions1,
  .exhibitions2 {
    flex: 1 1 45%;
  }
}

/* --- さらに小さい画面では縦並び --- */
@media screen and (max-width: 768px) {
  .exhibitions3 {
    flex-direction: column;
    align-items: center;
  }

  .exhibitions1,
  .exhibitions2 {
    width: 100%;
    max-width: 500px;
  }
}

/* --- 画面が狭い時にスムーズに縮小させる --- */
@media screen and (max-width: 1240px) {
  .exhibitions3 {
    width: 95%; /* コンテナも少し小さく */
  }
  
  .exhibitions1,
  .exhibitions2 {
    flex: 1 1 45%;
  }
}












 