@charset "UTF-8";/* Reset CSS.-------------------------------------------------------- */
table#sunrisesunset {
  border: 1px solid #ccc;
  border-collapse: collapse;
  margin: 10px auto 50px;
  width: 100%;
}
table#sunrisesunset td{
  border: 1px solid #ccc;
  text-align: center;
  vertical-align: middle;
  width: 100px;
}
#main-content1 tfoot th,
table#sunrisesunset th {
  border: 1px solid #ccc;
  text-align: center;
  vertical-align: middle;
      font-size: 13px;
      white-space: nowrap;
}
th.area,
th.municipality{
  color: #ffffff;
    background-color: #2c7eb9;

}
#sunrisesunset th.sub{
  font-size: 12px;
}
#sunrisesunset th.main {
  font-size: 15px;

}
#sunrisesunset .week0{
background-color: #ffdddd;
}
#sunrisesunset .week6{
  background-color: #e9f4fe;
}
.sunrise,.sunset{
  width: 150px !important;;

}
.municipality{
width: 62px !important;
}
td.area,
td.municipality {
  white-space: nowrap;
  font-size: 12px;
  font-weight: bold;
}
td.weather_area {
font-size: 10px;
width: 50px !important;
white-space: nowrap;
}
td.weather_area img {
  border: none;
  width: 42px;
  height: auto;
  display: block;
  margin: auto;
}

#sunrisesunset tr:nth-child(2n+2) td {
  background-color: #f5f5f5;
}



.tani {
  font-size: 10px;
  padding-left: 2px;
}


h3 {
    border-bottom: 4px solid #2c7eb9;
    padding: 20px 5px 2px !important;
    margin-bottom: 5px;
}

.post_title h4 {
    font-size: 15px;
    color: #2c7eb9;
} {
  font-size: 14px;
  color: #2c7eb9;
}

h4:first-of-type {
  margin-top: -5px;
}

h4 + p {
  background-color: #f5f5f5;
  padding: 11px;
  margin-top: 8px;
}

.highlight-box {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 2px 8px rgba(44, 126, 185, 0.15);
}

.highlight-box-title {
  color: #2c7eb9;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.highlight-box-title::before {
  content: "👀";
  margin-right: 8px;
  font-size: 18px;
}

.highlight-box p {
  margin: 10px 0 0 0;
  line-height: 1.8;
}


/* リアルタイム昼夜境界線マップ - 都市マーカーアイコン */
.sun-icon {
    background: radial-gradient(circle, #FFD700, #FFA500);
    border: 2px solid #FF8C00;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.6);
}
.sunrise-icon {
    background: linear-gradient(to bottom, #FFD700 0%, #FFA500 50%, #4682B4 50%, #4682B4 100%);
    border: 2px solid #FF8C00;
}
.sunset-icon {
    background: linear-gradient(to bottom, #FF6347 0%, #FF4500 50%, #8B008B 50%, #8B008B 100%);
    border: 2px solid #8B0000;
}
.night-icon {
    background: radial-gradient(circle, #1e3a5f, #0d1b2a);
    border: 2px solid #4682B4;
    color: #FFF;
}

/* デバッグモード用スタイル */
#debug-time-controller {
    background: #f0f0f0;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
#debug-time-controller h3 {
    margin: 0 0 15px 0;
    color: #d9534f;
    font-size: 16px;
}
.debug-control-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}
#time-slider {
    flex: 1;
    height: 8px;
    border-radius: 4px;
}
#current-test-time {
    font-weight: bold;
    color: #333;
    min-width: 200px;
}
.debug-info {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
}
.debug-button {
    background: #5cb85c;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}
.debug-button:hover {
    background: #4cae4c;
}

/* Hero Section - 初日の出ナビ */
.hero {
    position: relative;
    width: 100%;
    min-height: 600px;
    background-image: url('/img/hatsuhinode-pacific-sunrise-waves.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    padding: 40px 20px;
    /*max-width: 800px;*/
}

h2.hero-title {
    font-size: 48px;
    font-weight: 900;
    margin: 0 0 20px 0;
    padding: 5px 10px;
    line-height: 1.2;
    background-color: inherit;
    white-space: nowrap;
    /* ゴールドグラデーションの設定（3色構成で金属感を出す） */
    background: linear-gradient(
        to bottom,
        #F7EF8A 0%,   /* 上：明るいハイライト */
        #D4AF37 45%,  /* 中：ベースの金色 */
        #C5A028 55%,  /* 中：少し濃い金 */
        #8A6628 100%  /* 下：深い影 */
    );
    /* 文字で切り抜くための設定 */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* 視認性を高める影の設定 */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "HG明朝E", "MS PMincho", "MS Mincho", serif;
    letter-spacing: 0.05em;
}

/* タイトル内の「の」を小さく */
h2.hero-title .title-small {
    font-size: 0.7em;
}

.hero-subtitle {
    font-size: 20px;
    margin: 0 0 40px 0;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
}

.hero-countdown {
    margin-bottom: 40px;
    margin-top: -5px;
}

.countdown-label {
    font-weight: bold;
    font-size: 27px;
    margin: 0 0 0px 0;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.countdown-timer {
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
}

/* 「あと」のスタイル */
.countdown-prefix {
    font-size: 32px;
    font-weight: normal;
    margin-right: 10px;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "HG明朝E", "MS PMincho", "MS Mincho", serif;
}

/* すべての数字を同じサイズに */
.countdown-number-large,
.countdown-number-small {
    font-size: 80px;
    font-weight: bold;
}

/* 単位テキスト（日・時間） */
.countdown-unit-text {
    font-size: 36px;
    font-weight: normal;
    margin-right: 15px;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "HG明朝E", "MS PMincho", "MS Mincho", serif;
}

/* 単位テキスト（分・秒） */
.countdown-unit-text-small {
    font-size: 28px;
    font-weight: normal;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "HG明朝E", "MS PMincho", "MS Mincho", serif;
}

.countdown-number {
    display: inline-block;
    padding: 0;
    margin: 0;
}

.countdown-unit {
    font-size: 28px;
    margin: 0;
}

.hero-button {
    display: inline-block;
    background-color: #F79F1F;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(247, 159, 31, 0.4);
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "HG明朝E", "MS PMincho", "MS Mincho", serif;
}

.hero-button:hover {
    background-color: #e67e22;
    box-shadow: 0 6px 20px rgba(247, 159, 31, 0.6);
    transform: translateY(-2px);
}




/* レスポンシブ対応 - スマートフォン */
@media (max-width: 768px) {
    .hero {
        min-height: 500px;
    }

    .hero-title {
        font-size: 26px;
        margin-bottom: 15px;
        white-space: nowrap;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .countdown-timer {
        gap: 3px;
    }

    /* スマホ版：「あと」 */
    .countdown-prefix {
        font-size: 20px;
    }

    /* スマホ版：すべての数字を同じサイズに */
    .countdown-number-large,
    .countdown-number-small {
        font-size: 36px;
    }

    /* スマホ版：単位テキスト（日・時間） */
    .countdown-unit-text {
        font-size: 18px;
        margin-right: 8px;
    }

    /* スマホ版：単位テキスト（分・秒） */
    .countdown-unit-text-small {
        font-size: 14px;
    }

    .hero-button {
        font-size: 16px;
        padding: 14px 30px;
    }
    .responsive-test{ width:728px; height:90px;margin:0 auto; }

    h2.hero-title {
    font-size: 6vw;
}
}

@media(min-width:470px){
.responsive-test{ width:468px; height:60px;margin:0 auto; }
#terminatorMap{height: 35vh !important;}
    .hero {
        min-height: 450px;
    }

    .hero-title {
        font-size: 24px;
        white-space: nowrap;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .countdown-timer {
        gap: 2px;
    }

    /* 小さいスマホ版：「あと」 */
    .countdown-prefix {
        font-size: 16px;
    }

    /* 470px以上：すべての数字を同じサイズに */
    .countdown-number-large,
    .countdown-number-small {
        font-size: 48px;
    }

    /* 470px以上：単位テキスト（日・時間） */
    .countdown-unit-text {
        font-size: 22px;
        margin-right: 6px;
    }

    /* 470px以上：単位テキスト（分・秒） */
    .countdown-unit-text-small {
        font-size: 18px;
    }
}

