*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  color: #333;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.05em;
  scroll-behavior: smooth;
}
body{
  -webkit-font-smoothing: antialiased;
}
img{
  width: 100%;
}
button{
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}
.wrapper {
  position: relative;
  font-family: 'Noto Sans JP', sans-serif;
  min-height: 100vh;
}

.wrapper::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url(../img/kv.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  z-index: -2;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}
.wrapper::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(255, 255, 255, 50%);
  z-index: -1;
}
header{
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  padding: 20px 0;
  text-align: center;
}
.header-logo{
  width: 150px;
  position: relative;
  left: 8px;
  margin: 0 auto;
}

.start-content{
  position: absolute;
  top: 22%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.start-logo{
  width: 60px;
  margin: 0 auto;
  position: relative;
  left: 8px;
}
.btn-wrap{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 200px;
  margin: 0 auto;
  margin-top: 30px;
}
.btn{
  width: 100%;
  padding: 15px 20px;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  display: block;
  border-radius: 6px;
  text-align: center;
}
.bg-color-1 {
  background-color: #004276;
}

.input-content{
  position: absolute;
  top: 22%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  text-align: center;
}
.input-form-title {
  color: white;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 30px;
}
.sp-form-date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}
.sp-form-control {
  background-color: rgba(255, 255, 255, 0.9);
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 16px;
  text-align: center;
  width: 80px;
  transition: all 0.3s ease;
}
.sp-form-control.year-input {
  width: 120px;
}
.sp-form-control:focus {
  outline: none;
  border-color: #004276;
  background-color: white;
  box-shadow: 0 0 0 3px rgba(0, 66, 118, 0.1);
}
.sp-form-control::placeholder {
  color: #999;
}
.sp-form-date-separator {
  color: white;
  font-size: 16px;
  font-weight: bold;
}
.date-label {
  color: white;
  font-size: 14px;
  margin-top: 5px;
}

.about-content{
  padding: 40px 15px 100px 15px;
}

.about-form-title{
  width: 160px;
  display: block;
  margin: 0 auto 30px auto;
}

.about-form-text{
  font-family: "Noto Serif JP", serif;
  font-size: 17px;
  line-height: 2;
  margin-bottom: 40px;
}

.about-discription{
  background-color: rgba(255, 255, 255, 0.75);
  padding: 20px;
  border-radius: 10px; 
  margin-bottom: 40px;
}

.about-discription-title{
  text-align: center;
  font-weight: bold;
  color: #444;
  margin-bottom: 24px;
  font-size: 18px;
  position: relative;
  padding-bottom: 10px;
  font-family: "Noto Serif JP", serif;
}

.about-discription-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: #444;
  border-radius: 1px;
}

.windseat-list{
  margin-top: 24px;
}

.windseat-item{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.windseat-icon{
  border-radius: 50%;
  width: 70px;
  height: 70px;
  max-width: 70px;
  border: 1px solid #dddddd;
  display: block;
}

.windseat-desc h2{
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  font-family: "Noto Serif JP", serif;
  border-left: 3px solid #ddd;
  padding-left: 10px;
}

.huiki-container {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top :1px solid #ddd;
}

.huiki-main {
  font-family: "Noto Serif JP", serif;
  display: inline-block;
  background-color: #fff;
  padding: 10px 30px;
  margin-bottom: 10px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.huiki-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-width: 600px;
  margin: 0 auto;
}

.huiki-list li {
  font-family: "Noto Serif JP", serif;
  background-color: #fff;
  padding: 12px 5px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-discription-image{
  border-radius: 20px;
  margin-bottom: 20px;
  display: block;
}

/* MyFuza Page Styles */
.myfuza-container {
  padding: 30px 12px 100px;
  min-height: 100vh;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

.myfuza-header-logo {
  text-align: center;
  margin-bottom: 20px;
}

.myfuza-logo {
  width: 80px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.myfuza-card {
  background-color: #FFFFFF;
  border-radius: 28px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.myfuza-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.06);
}

.card-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 0;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.05em;
}

/* 風座ヘッダー */
.windseat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #FFFFFF;
  border-radius: 24px;
  padding: 16px 16px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.windseat-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #F0F0F0;
  flex-shrink: 0;
}

.windseat-info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 0;
}

.windseat-nickname {
  font-size: 16px;
  font-weight: 600;
  color: #2C2C2C;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.windseat-separator {
  font-size: 16px;
  color: #CCC;
  font-weight: 300;
  flex-shrink: 0;
}

.windseat-name {
  font-size: 14px;
  font-weight: 500;
  color: #444;
  font-family: 'Noto Serif JP', serif;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.windseat-name-read {
  font-size: 12px;
  font-weight: 400;
  color: #666;
  margin-left: 2px;
}

/* カード2: 今、吹いている空-風域 */
.fuuki-card {
  padding: 20px 16px;
}

.fuuki-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.fuuki-detail-link {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #666;
  text-decoration: none;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.fuuki-detail-link span {
  font-size: 14px;
}

.fuuki-detail-link i {
  font-size: 12px;
  transition: transform 0.2s ease;
  transform: translateY(1px);
}

.fuuki-detail-link:hover {
  color: #333;
  background-color: rgba(0, 0, 0, 0.05);
}

.fuuki-detail-link:hover i {
  transform: translateX(2px) translateY(1px);
}

.fuuki-progress-container {
  margin-top: 36px;
}

.fuuki-day-labels {
  position: absolute;
  top: -22px;
  left: 0;
  right: 0;
  height: 0;
  z-index: 1;
}

.day-label {
  position: absolute;
  font-size: 12px;
  color: #333;
  font-weight: 500;
  letter-spacing: 0.05em;
  font-family: 'Noto Sans JP', sans-serif;
  transform: translateX(-50%);
}

.day-label:first-child {
  left: 22%;
}

.day-label:last-child {
  left: 78%;
}

.fuuki-gradient-bar {
  position: relative;
  height: 80px;
  border-radius: 16px;
  background: linear-gradient(
    to right,
    #B8D9ED 0%,    /* 前の風座 - パステルスカイブルー */
    #D4E5F0 8%,    /* 移行1 */
    #E8EDD4 15%,   /* 移行2 */
    #F5F0D4 22%,   /* 移行3 */
    #FFF4CC 28%,   /* 神殿への移行開始 */
    #FFF4CC 50%,   /* 神殿中央 - パステルクリームイエロー */
    #FFF4CC 72%,   /* 神殿の終わり */
    #FFE8E0 78%,   /* 移行4 */
    #FFE0D4 85%,   /* 移行5 */
    #FFD4D4 92%,   /* 移行6 */
    #FFD9E0 100%   /* 次の風座 - パステルピンク */
  );
  overflow: visible;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
}

.fuuki-position-point {
  position: absolute;
  top: -6px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fuuki-position-marker {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 10px solid rgba(44, 44, 44, 0.6);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.fuuki-area-sections {
  display: flex;
  height: 100%;
  position: relative;
  z-index: 1;
}

.fuuki-area-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 100%
  );
  cursor: pointer;
  transition: background 0.2s ease;
}

.fuuki-area-section:active {
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 100%
  );
}

.fuuki-area-section:not(.fuuki-area-current) {
  flex: 1;
}

.fuuki-area-current {
  flex: 2.5;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0.15) 100%
  );
}

.fuuki-area-section::after {
  content: '';
  position: absolute;
  right: 0;
  top: 5%;
  bottom: 5%;
  width: 3px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.6) 20%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(255, 255, 255, 0.6) 80%,
    rgba(255, 255, 255, 0.2) 100%
  );
  border-radius: 2px;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
}

.fuuki-area-section:last-child::after {
  display: none;
}

.fuuki-area-label {
  font-size: 14px;
  font-weight: 600;
  color: #2C2C2C;
  font-family: 'Noto Serif JP', serif;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
  padding: 0 4px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.fuuki-area-current .fuuki-area-label {
  font-size: 16px;
  font-weight: 700;
  color: #1A1A1A;
  opacity: 1;
}

.fuuki-area-label-other {
  opacity: 0;
  transition: opacity 0.2s ease;
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  white-space: nowrap;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 2px 14px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.fuuki-area-section.is-tapped .fuuki-area-label-other {
  opacity: 1;
}




.fuuki-progress-bar {
  position: relative;
  height: 10px;
  background-color: #F5F5F5;
  border-radius: 5px;
  margin-bottom: 16px;
  overflow: visible;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #FF6B9D 0%, #FF8CB5 100%);
  border-radius: 5px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(255, 107, 157, 0.3);
}

.progress-bar-thumb {
  position: absolute;
  left: 52.17%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #FF6B9D 0%, #FF8CB5 100%);
  border-radius: 50%;
  border: 3px solid #FFFFFF;
  box-shadow: 0 2px 6px rgba(255, 107, 157, 0.4), 0 1px 2px rgba(0, 0, 0, 0.2);
  z-index: 3;
}

.fuuki-progress-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.current-day {
  font-size: 15px;
  color: #2C2C2C;
  font-weight: 600;
  font-family: 'Noto Sans JP', sans-serif;
}

.remaining-days {
  font-size: 12px;
  color: #999;
  font-weight: 400;
}

/* カード3: 今日の調 */
.chou-card {
  padding: 20px 16px;
}

.chou-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.chou-date {
  font-size: 12px;
  color: #666;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
}

.chou-content {
  margin-top: 0;
}

.chou-keyword {
  font-size: 36px;
  font-weight: 700;
  color: #4CAF50;
  margin-bottom: 16px;
  font-family: 'Noto Serif JP', serif;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.chou-sections {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.chou-section {
  padding-top: 16px;
  border-top: 1px solid #F0F0F0;
}

.chou-section:first-child {
  border-top: none;
  padding-top: 0;
}

.chou-section-title {
  font-size: 13px;
  font-weight: 600;
  color: #666;
  margin-bottom: 8px;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.05em;
}

.chou-description {
  font-size: 14px;
  color: #444;
  line-height: 1.9;
  font-family: 'Noto Serif JP', serif;
  letter-spacing: 0.03em;
}

/* カード4: 風然との対話 */
.dialogue-card {
  padding: 28px;
}

.dialogue-message-area {
  border: 1.5px solid #F0F0F0;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #FAFAFA 0%, #FFFFFF 100%);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.dialogue-icon {
  font-size: 28px;
  flex-shrink: 0;
  line-height: 1;
}

.dialogue-message {
  font-size: 15px;
  color: #444;
  line-height: 1.85;
  margin: 0;
  flex: 1;
  font-family: 'Noto Serif JP', serif;
  letter-spacing: 0.02em;
}

.dialogue-input-area {
  display: flex;
  gap: 10px;
  align-items: center;
}

.dialogue-input {
  flex: 1;
  padding: 14px 18px;
  border: 1.5px solid #E8E8E8;
  border-radius: 16px;
  font-size: 15px;
  font-family: 'Noto Sans JP', sans-serif;
  background-color: #FFFFFF;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.dialogue-input:focus {
  border-color: #FFB6C1;
  box-shadow: 0 0 0 3px rgba(255, 182, 193, 0.1), 0 2px 6px rgba(0, 0, 0, 0.06);
}

.dialogue-input::placeholder {
  color: #BBB;
}

.dialogue-send-btn {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, #FFB6C1 0%, #FFD4A3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  padding: 0;
  box-shadow: 0 2px 8px rgba(255, 182, 193, 0.3);
}

.dialogue-send-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 12px rgba(255, 182, 193, 0.4);
}

.dialogue-send-btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 1px 4px rgba(255, 182, 193, 0.3);
}

/* ログアウトセクション */
.logout-section {
  margin-top: 40px;
  margin-bottom: 40px;
  text-align: center;
  padding: 0 20px;
}

.btn-logout {
  width: 100%;
  max-width: 200px;
  padding: 12px 20px;
  background-color: rgba(0, 0, 0, 0.1);
  color: #666;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-logout:hover {
  background-color: rgba(0, 0, 0, 0.15);
  color: #333;
  border-color: rgba(0, 0, 0, 0.3);
}

.btn-logout:active {
  transform: scale(0.98);
}

/* ログイン案内画面 */
.login-required-content {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  text-align: center;
  width: 100%;
  max-width: 400px;
  padding: 0 20px;
}

.login-required-info {
  margin-bottom: 40px;
}

.birthday-display {
  padding: 20px;
  margin-bottom: 30px;
}

.birthday-label {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.birthday-value {
  font-size: 20px;
  font-weight: bold;
  color: #333;
}

.login-required-message {
  color: white;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.6;
}

.login-button-wrapper {
  margin-top: 30px;
  position: relative;
  max-width: 300px;
  margin: 0 auto;
}

.btn-login-label {
  display: block;
  font-weight: bold;
  width: 100%;
  font-weight: bold;
  max-width: 200px;
  margin: 0 auto;
  margin-bottom: -8px;
  padding: 8px 16px;
  background-color: #fff;
  color: #05a32f;
  border: 1px solid #05a32f;
  border-radius: 6px;
  text-align: center;
  font-size: 14px;
  z-index: 1;
  position: relative;
}

.btn-login-line {
  display: block;
  width: 100%;
  padding: 15px 20px;
  background-color: #05a32f;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #06C755;
  position: relative;
  z-index: 0;
}

.btn-login-line:hover {
  opacity: 0.9;
}

.btn-login-line:active {
  opacity: 0.8;
}

.btn-login-text {
  display: block;
  color: white;
  font-size: 16px;
  font-weight: 400;
  font-weight: bold;
}

