/* リセットと基本設定 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* 全体設定 */
body {
    /* Adobe Fonts の指定（リュウミンの例） */
    font-family: "a-otf-ryumin-pr6n", serif;
    
    background-color: #fff;
    color: #fff;
    line-height: 1.8;
}

/* もし特定の見出しだけウェイトを変えたい場合 */
h1, h2, .bottom-banner {
    font-family: "a-otf-ryumin-pr6n", serif;
    font-weight: 700; /* 太字 */
}
.container {
    max-width: 100%;
    margin: 0 auto;
}

/* --- ヘッダーエリア --- */
.hero-section {
    background: linear-gradient(to right, #5c7a5e 10% , #6b705c 10%); /* 背景のオリーブ色 */
    height: 50vw;
    position: relative;
    overflow: hidden;
}

.logo-badge {
    width: 20%;
}

/* 簡易的な家のイラスト再現 */
.illustration-canvas {
    position: relative;
    width: 100%;
    height: 100%;
}
.house-purple {
    position: absolute;
    width: 35%;
    top: 10%;
    left: 30%;
}
.house-blue {
    position: absolute;
   width: 20%;
    top: 35%;
    left: 65%;
}

/* --- メイングリッドエリア --- */
.grid-content {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr; /* 3カラム */
      background: #2875a2;
}

.description-box {
	text-align: justify;
}

.title-box {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.block-yushin { background-color: #ff0000; grid-row: span 2; }
.block-yushin img { width: 50%; }
.block-sui { background-color: #2875a2; grid-column: 1 / 3; }
.block-sui img { width: 60%; }


@media (hover:hover) {
  .link-sui,
  .link-sui img, 
  .link-yushin,
  .link-yushin img { transform: background .3s, filter .3s; }
  
  .link-sui:hover { background: #FFF; }
  .link-sui:hover img {filter: brightness(0) saturate(100%) 
          invert(39%) sepia(27%) 
          saturate(1263%) hue-rotate(169deg) 
          brightness(94%) contrast(90%); }

  .link-yushin:hover { background: #000; }
  .link-yushin:hover img {
  filter: brightness(0) saturate(100%)
          invert(15%) sepia(100%)
          saturate(7493%) hue-rotate(2deg)
          brightness(104%) contrast(119%);
  }
}


.vertical-text {
    writing-mode: vertical-rl;
    font-size: 5rem;
    font-weight: bold;
    position: relative;
}

.ruby {
    font-size: 1rem;
    writing-mode: vertical-rl;
    margin-left: 10px;
    font-weight: normal;
}

.kanji-logo {
    font-size: 4rem;
    letter-spacing: 1rem;
    font-weight: bold;
}

/* --- キャッチコピーエリア --- */
.bottom-banner {
    background-color: #c22c5f;
    color: #000;
    font-size: 5.5vw;
    text-align: left;
    line-height: 1;
    font-family: "yu-gothic-pr6n", sans-serif;
    font-weight: bold;
    display: block;
    font-style: normal;
    transform: scale(1, 0.8);
  margin: -.31em 0;
    font-feature-settings: "palt" 1;
}

/* --- スケジュールエリア --- */
.schedule-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.date-item {
  flex-grow: 1;
   display: grid; grid-template-columns: 20% 80%;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
}
.date-item .tilde { writing-mode: vertical-rl; display: inline-block; font-size: .5em; -webkit-font-feature-settings:initial; font-feature-settings:initial; vertical-align: bottom; margin-bottom: -1em; }
.date-item .date {display: flex; align-items: center;  justify-content: center; font-size: 2vw;  line-height: 1; }
.date-item.orange-dark {  background-color: #d35400; } 
.date-item.orange-dark .label { background: #bb4d00; }
.label {  padding: 1em; }

.date-item.orange-light { background: #b19d00; }
.date-item.orange-light .label { background: #ff6600; }

/* --- フッターエリア --- */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 3fr 2fr 3fr;
    height: 20vw;
}
.footer-label {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    font-weight: bold;
}
.footer-middle {
    display: grid;
    grid-template-rows: 1fr 1fr;
}
.footer-item {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
}
.footer-venue { color: #c9a063; writing-mode: vertical-rl; font-size: 8vw;  }
.footer-venue .text { transform: scaleY(76%); }
.footer-item.kochi { background-color: #ff0000;  color: #000; font-size: 5vw; }
.bg-navy { background-color: #002b5e; }
.bg-blue-kibi { background-color: #3498db;  color: #000; font-size: 5vw;  letter-spacing: .2em; }
.bg-orange-text { background-color: #e67e22; color: #000; }
.footer-label.party { vertical-rl; font-size: 8vw; writing-mode: vertical-rl;  }
.footer-label.party .text { transform: scaleY(76%); }
.bg-blue-oair { display: flex;
		    align-items: flex-end;
		    padding: 1em;
		    color: #FFF;
		    font-size: 3.4vw;
		    line-height: 1em;
		    background: #284FA2; }


.ieie-text {
  line-height: 1.4;
  font-size: 2vw;
  text-align: justify;
  background-color: #5d3d3d;
}
.ieie-text p{ background-color: #00262d; 
  line-height: 1;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
	display: inline;
  padding: .2em;
}

/* 親要素（再掲） */
.ieie {
  position: relative;
  z-index: 2;
  align-items: flex-start;
   background-color: #5d3d3d;
}

.ieie img {
  width: 50%;
}

.ieie .inner {
  width: 100%;
  padding: 4vw 0;
  display: block;text-align: center;
    background-color: #5d3d3d;
  
  
}

/* 1. 説明文：読みやすさ重視でほどよく詰める */
.description-box p {
    font-family: "a-otf-ryumin-pr6n", serif;
    font-feature-settings: "palt"; /* 文字詰めを有効に */
  
}



/* 3. 日付・スケジュール：カチッとした印象に */
.date-item {
    font-family: "a-otf-ryumin-pr6n", serif;
    font-feature-settings: "palt";
    letter-spacing: 0.1em;
}
/* --- レスポンシブ (タブレット・スマホ) --- */
@media (max-width: 900px) {
  .hero-section {
    height: 100vw;
    
  }
  .logo-badge { width: 50%; }
  
  .house-purple { width: 60%; left: 10%; }
  .house-blue { width: 30%; left: 60%; }
  
    .grid-content {
        display: flex;
        flex-direction: column;
    }
    .box-red-large { min-height: 500px; }
    .bottom-banner { font-size: 7vw; margin: -4vw 0; }
    .footer-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
    .footer-label, .footer-item {
        padding: 40px;
    }
    .vertical-text { font-size: 4rem; }
  .schedule-bar { grid-template-columns: 1fr;}
  .date-item .date { font-size: 4vw; }
  
  .grid-content { background: #5d3d3d; }
   .ieie-text {
    font-size: 5vw;
  }
  .ieie .inner {
    padding: 10vw 0; 
  }
   .ieie img {
    width: 70%; 
  }
  
  
  .footer-item.kochi { font-size: 10vw; }
  .bg-blue-kibi { font-size: 10vw; }
  .footer-venue,
  .footer-label.party { font-size: 12vw; }
  .footer-label.bg-blue-oair { font-size: 6vw; }
}
.inviewConts { opacity: 0;}
.inviewConts.inview { opacity: 1; transition: opacity 1s .3s; }