@charset "utf-8";

/* ========== ヘッダー ========== */

.header {
  position: relative;
  z-index: 100;
  width: 90%;
  margin: 0 auto 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e0d9;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  min-width: 0;
}

.header-logo img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 三本線の画像ボタン */
.hamburger {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 10px;
  margin-left: 12px;
  flex-shrink: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
}

.hamburger img {
  display: block;
  width: 28px;
  height: auto;
}

/* 開閉するメニュー */
.header-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 340px;
  max-width: 100%;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #e5e0d9;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.header-menu[hidden] {
  display: none;
}

.header-menu ul {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.header-menu a {
  display: block;
  padding: 14px 20px;
  color: #555;
  text-decoration: none;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.header-menu a:hover,
.header-menu a:focus-visible {
  background: #f6f3ee;
}


/* ========== トップページ ========== */

.first-view {
  width: 90%;
  height: 600px;
  margin: 0 auto;
  background-image: url("../images/top_background.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.first-view-text {
  padding: 450px 20px 20px;
}

.first-view-text p{
   font-family:cursive;
   max-width:500px;
  }

/* TopicsとMenuの枠 */
.topics,
.menu_title {
  width: 90%;
  margin: 30px auto;
  box-sizing: border-box;
}


/* 見出しの花アイコン（共通） */
.topics_title,
.menu_title,
.profile_title {
  background-image: url("../images/icon01.png");
  background-repeat: no-repeat;
  padding-left: 40px;
}

.topics_title,
.menu_title {
  background-size: 30px auto;
  background-position: left center;
}

.topics_title h1,
.menu_title h1 {
   font-family: Arial, Helvetica, sans-serif;
  font-size:x-large;

}

.topics_text {
  margin-left: 40px;
  line-height: 1.8;
}

.menu {
  width: 90%;
  margin: 30px auto;
}

.menu_box_01 {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

.menu_button {
  flex: 1;
  min-width: 0;
}

.menu_button img {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
}


/* ========== プロフィールページ ========== */

.profile_title {
  background-image: url("../images/icon01.png");
  background-repeat: no-repeat;
  background-size: 30px auto;
  padding-left: 40px;
  margin-left: 55px;
}

.profile_title h1{
  font-family: Arial, Helvetica, sans-serif;
  font-size:x-large;

  
}

.profile_box {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  width: 90%;
  margin: 30px auto;
}

.profile_text {
  flex: 1;
  min-width: 0;
  line-height: 1.8;
}

.profile_img {
  flex-shrink: 0;
}

.profile_img img {
  display: block;
  width: 300px;
  max-width: 100%;
  height: auto;
}

.flower_title {
  background-image: url("../images/icon01.png");
  background-repeat: no-repeat;
  background-size: 30px auto;
  padding-left: 40px;
  margin-left: 55px;
}

.flower_title h1{
  font-family: Arial, Helvetica, sans-serif;
  font-size:larger;
  
}


.flower_box {
  width: 90%;
  margin: 30px auto;
}

/* パソコン：3つ横並び */
.flower_box_1 {
  display: flex;
  gap: 30px;
}

.img_box {
  flex: 1;
  min-width: 0;
}

.img_box img {
  display: block;
  width: 100%;
  height: auto;
}

.img_text {
  line-height: 1.8;
}

.img_box img {
  cursor: zoom-in;
}

/* ========== 夢の作品集ページ ========== */

.dream_title {
  background-image: url("../images/icon01.png");
  background-repeat: no-repeat;
  background-size: 30px auto;
  padding-left: 40px;
  margin-left: 55px;
}
.dream_title h1{
  font-family: Arial, Helvetica, sans-serif;
  font-size:larger;
  
}

.dream_box {
  width: 90%;
  margin: 30px auto;
}

/* パソコン：3つずつ横並び */
.dream_box_1 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}


.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.85);
  cursor: zoom-out;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ========== 過去作品集ページ ========== */

.past_title {
  background-image: url("../images/icon01.png");
  background-repeat: no-repeat;
  background-size:30px auto;
  padding-left: 40px;
  margin-left: 55px;
}


.past_title h1{
  font-family: Arial, Helvetica, sans-serif;
  font-size:larger;
  
}

.past_box {
  width: 90%;
  margin: 30px auto;
}

/* パソコン：3つずつ横並び */
.past_box_1 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}


/* ========== 京都の街アーカイブのページ ========== */
.kyoto_title {
  background-image: url("../images/icon01.png");
  background-repeat: no-repeat;
  background-size: 30px auto;
  padding-left: 40px;
  margin-left: 55px;
}

.kyoto_title h1{
  font-family: Arial, Helvetica, sans-serif;
  font-size:larger;
  
}


.kyoto_box {
  width: 90%;
  margin: 30px auto;
}

.kyoto_box_1 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.animation_title {
  background-image: url("../images/icon01.png");
  background-repeat: no-repeat;
  background-size: 30px auto;
  padding-left: 40px;
  margin-left: 55px;
}

.animation_title h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: larger;
}

.animation_box {
  width: 90%;
  margin: 30px auto;
}

/* パソコン：3つずつ横並び */
.animation_box_1 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.video_box {
  min-width: 0;
}

/* 動画の枠（タップ範囲） */
.video_wrap {
  position: relative;
  cursor: pointer;
}

.video_wrap video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}

/* 停止中に出る▶マーク */
.video_wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M8 5v14l11-7z'/></svg>")
    no-repeat center / 32px;
  pointer-events: none;
  transition: opacity 0.2s;
}

/* 再生中は▶マークを消す */
.video_wrap.is-playing::after {
  opacity: 0;
}


/* 動画の拡大表示 */
.lightbox video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: pointer;
}

.lightbox_close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
}


/* ========== フッター ========== */
/* フッターメニュー */
.footer-nav {
  background: linear-gradient(180deg, #f5ecee 0%, #e3cdd2 55%, #cfadb5 100%);
  padding: 30px 20px 24px;
}

.footer-logo {
  display: block;
  width: fit-content;
}

.footer-logo img {
  display: block;
    max-width: 100%;
  height: auto;
}

/* パソコン：3つ横並び */
.footer-menu {
  list-style: none;
  max-width: 900px;
   padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px 24px;
}

.footer-menu a {
  display: block;
  padding: 10px 12px;
  color: #5e3d45;
  text-decoration: none;
  border-bottom: 1px solid rgba(125, 83, 94, 0.25);
}

.footer-menu a::before {
  content: "›";
  margin-right: 8px;
}

.footer-menu a:hover,
.footer-menu a:focus-visible {
  background: rgba(255, 255, 255, 0.45);
}




.footer {
  width: 90%;
  margin: 40px auto 0;
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.footer-address {
  background-color: #9a6b76;
  color: #fff;
  margin: 0;
  padding: 20px 20px 12px;
}

.copyright {
  background-color: #7d535e;
  color: #fff;
  margin: 0;
  padding: 10px;
  text-align: center;
}


/* ========== スマートフォン ========== */

@media (max-width: 767px) {
  .header {
    width: 95%;
  }

  .header-logo img {
    width: 250px;
    max-width: 100%;
    height: auto;
  }

  .first-view {
    width: 95%;
    height: 500px;
  }

  .first-view-text {
    padding: 300px 15px 15px;
  }

  .first-view-text p {
    font-size: 14px;
    line-height: 1.7;
   
  }

  .topics,
  .menu_title,
  .menu {
    width: 95%;
  }

  .menu_box_01 {
    flex-direction: column;
    gap: 20px;
  }

  .menu_button img {
    margin: 0 auto;
  }

  .profile_title {
    margin-left: 0;
  }

  .profile_box {
    display: block;
  }

  .flower_title {
    margin-left: 0;
  }

  .flower_box_1 {
    flex-direction: column;
    gap: 30px;
  }

  .dream_title {
    margin-left: 0;
  }

 .dream_box_1 {
    grid-template-columns: 1fr;
  }

   .past_title {
    margin-left: 0;
  }

  .past_box_1 {
    grid-template-columns: 1fr;
  }

 .kyoto_title {
    margin-left: 0;
  }

  .kyoto_box_1 {
    grid-template-columns: 1fr;
  }

.animation_title {
    margin-left: 0;
  }

  .animation_box_1 {
    grid-template-columns: 1fr;
  }


 .footer {
    width: 95%;
  }

  .footer-logo img {
    width: 200px;
  }

  /* スマホ：一列 */
  .footer-menu {
    grid-template-columns: 1fr;
    gap: 0;
  }

}


