@charset "UTF-8";/* Reset CSS.-------------------------------------------------------- */
#main-content1 table {
  border: 1px solid #ccc;
  border-collapse: collapse;
  margin: 10px auto 50px;
  width: 100%;

}
#main-content1 thead tr:first-child {
  width: 50px;
  text-align: center;
}

#footer_title {
  color: #ffffff;
  background-color: #2c7eb9;
  font-size: 21px;
  padding: 0px 0 0px;
}

#footer_title a{
  color: #ffffff;

}

#title {
  color: #ffffff;
  background-color: #2c7eb9;
  font-size: 21px;
  padding: 9px 0 10px;
}

#main-content1 thead tr:nth-child(2) {
  width: 50px;
  height: 30px;
  text-align: center;
  line-height: 30px;
}

#main-content1 tfoot th,
#main-content1 thead th {
  border: 1px solid #ccc;
  white-space: nowrap;
  position: relative;

}

#prev,
#next {
  border: 0px none;
  cursor: pointer;
  user-select: none;
  font-size: 31px;
  color: #ffffff;
  background-color: #2c7eb9;
  position: absolute;
  top: 5px;
}

#prev {
  left: 5px;
}
#next {
right: 5px;
}

.next span,
.prev span {
  font-size: 15px;
  position: absolute;
  top: 10px;
}

.next span {
right: 34px;
}


.prev span {
left: 34px;
}

button{
  background-color: #fff;

}


#main-content1 tbody td {
  border: 1px solid #ccc;
  position: relative;
  height: 180px;
  width: 80px;
  text-align: center;
}

#main-content1 tbody td img{
  margin: 30px 0 0 0;
  border: none;
}

#main-content1 tbody td:last-child,
.blue {
  background-color: #e9f4fe;
}

th.blue,
#main-content1 tbody td:last-child p {
  color: #1d39c0;
}

#main-content1 table .holiday,
#main-content1 tbody td:first-child,
.red {
  background-color: #ffdddd;
}
#main-content1 .r_color0,
#main-content1 th.red,
#main-content1 tbody td:first-child p {
  color: red;
}

#main-content1 tbody .schedules {
  margin-top: 25px;
}

#main-content1 tbody .schedule {
  margin: 0 auto 5px;
  text-align: center;
}

#main-content1 tbody button {
  border: none;
  background-color: transparent;
  font-weight: bold;
  text-decoration: underline;
}

#main-content1 tbody button:hover {
  background-color: #EEFFFF;
}

#main-content1 tbody p {
  position: absolute;
  top: 3px;
  left: 3px;
  font-weight: bold;
  font-family: Arial, 'Hiragino Kaku Gothic ProN', 'Osaka', sans-serif;
  font-size: 17px
}
#main-content1 .keta1{
  left: 8px;
}

tfoot {
  font-weight: bold;
  text-align: center;
}

tfoot tr {
  width: 50px;
  height: 70px;
  text-align: center;
  line-height: 70px;
}

td.today {
  background-color: #FFFFCC !important;
}

#today {
  cursor: pointer;
  user-select: none;
  font-size: 16px;
  border: 0px none;
}


.prev,
.next{
  color: #ffffff;
  background-color: #2c7eb9;
}

.prev a,
.next a{
  color: #ffffff;
  font-size: 16px;
  text-decoration: none;
  font-weight: bold;

}


.sunrise_title{
  margin: 0px 0 0 0;
  font-size: 11px;

  background-color: #f0f0f0;
}
.sunset_title {
  font-size: 11px;
  background-color: #f0f0f0;
}

.sunrise_time,
.sunset_time {
  font-weight: bold;
}

.Weather img{
  border: none;
  width: 50px;
  height: auto;
  margin-top: 22px;
}

#main-content1 .Weather p.temp {
top:66px;
font-weight: normal;
font-size: 12px;
right: 0;
left: 0;
margin: auto;
white-space: nowrap;
color: #000;
}

#main-content1 .Weather .sunrise_title {
  margin-top: 30px;
}

#main-content1 .temp .max {
  color: #FF0000;
  font-size: 15px;
  font-weight: bold;
}
#main-content1 .temp .min {
  color: #0096FF;
  font-size: 15px;
  font-weight: bold;
}
#main-content1 .tani {
  padding-left: 2px;

}

#main-content1 .weatherName {
  font-size: 10px;
  top: 53px;
    font-weight: normal;
    right: 0;
    left: 0;
    margin: auto;
        color: #000 !important;


}

#main-content1 .rokuyou{
  position: absolute;
  top: 9px;
  left: 24px;
  font-size: 10px;
  white-space: nowrap;
}

.r_color1,.r_color2,.r_color3,.r_color4,.r_color5{
  color: #000 !important;
}
.moon_set,
.moon_rise,
.moon_age,
.solar_terms,
.times_day,
.pardon,
.tiger,
.snake,
.unsuccessful{
font-size: 10px;
display: block;
}
.moon_set,
.moon_rise,
.moon_age{
font-size: 13px;
line-height: 1.2;
}

.moon_name{
  font-size: 14px;
  font-weight: bold;
}




.solar_terms{
  font-size: 14px;
  display: block;
}







/* Region Accordion Styles (SUUMO-like) */
.region-accordion-list {
  display: block !important;
  position: relative !important;
  margin: 20px 0;
  border-top: 1px solid #e0e0e0;
}

.region-item {
  border-bottom: 1px solid #e0e0e0;
}

.region-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #f8f8f8;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
  color: #333;
  transition: background-color 0.2s;
  position: relative;
}

.region-header:hover {
  background-color: #f0f0f0;
}

.region-header.active {
  background-color: #e3f2fd;
}

.region-icon {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: #2c7eb9;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.region-icon::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid white;
}

.region-header.active .region-icon {
  transform: rotate(180deg);
}

.prefecture-list {
  display: none;
  background-color: #fff;
  padding: 0;
  margin: 0;
  list-style: none;
}

.prefecture-list.active {
  display: block;
}

.prefecture-list li {
  border-bottom: 1px solid #f0f0f0;
}

.prefecture-list li:last-child {
  border-bottom: none;
}

.prefecture-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 20px 5px 20px;
  text-decoration: none;
  color: #333;
  font-size: 15px;
  transition: background-color 0.2s;
}

.prefecture-list li a:hover {
  background-color: #f8f8f8;
}

.prefecture-list li a::after {
  content: '›';
  color: #2c7eb9;
  font-size: 24px;
  font-weight: bold;
  flex-shrink: 0;
}

[class*="accordion"] span {
    background-color: inherit;
    border-bottom: inherit;
}

  /* リスト全体の枠組み */
  .moon-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* 幅に合わせて自動で列数を調整 */
    gap: 20px; /* カード間の隙間 */
    padding: 0;
    margin-top: 10px;
  }

  /* 各月のカードデザイン */
  .moon-item {
    border: 1px solid #ddd; /* 薄い枠線 */
    padding: 13px 20px;
    background-color: #fff; /* 背景色 */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* ほんのすこし影をつける */
  }

  /* 月の名前や用語部分のデザイン */
  .moon-item dt {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 10px;
    color: #2c7eb9; /* サイトに合わせた青色など */
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 5px;
  }

  /* 「1月」の部分だけ少し強調 */
  .moon-item dt .month {
    color: #333;
    margin-right: 10px;
  }

  /* 由来や説明部分のデザイン */
  .moon-item dd {
    margin: 0; /* デフォルトの余白をリセット */
    font-size: 0.95em;
    line-height: 1.6;
    color: #555;
  }


  /* FAQ Section Styles */
.post_title h4{
  font-size: 15px;
  color: #2c7eb9;
}

h4 + p {
  background-color: #f5f5f5;
  padding: 11px;
  margin-top: 8px;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .region-header {
    font-size: 15px;
  }

  .region-icon {
    width: 28px;
    height: 28px;
  }

  .prefecture-list li a {
    font-size: 14px;
  }
}

@media(max-width:550px) {
  #next,
  #prev {
      left: 0;
      right: 0;
    }
  .next span,
  .prev span{
    display: none;

  }
}


@media(max-width:470px){

  #main-content1 .Weather p.temp {
      font-size: 10px;

  }
  #main-content1 .temp .min,
  #main-content1 .temp .max {
     font-size: 14px;
  }
    #main-content1 .temp .min {
      padding-left: 3px;

    }

        #main-content1 .temp .max {
          padding-right: 3px;
        }

    #main-content1 .tani {
      display: none;

    }
        #main-content1 .weatherName {
          white-space: nowrap;
          overflow: hidden;
        }

    #main-content1 .rokuyou {
      left: 22px;

    }

 }

/* FAQ Section Styles */
h4 {
  font-size: 14px;
  color: #2c7eb9;
}

h4:first-of-type {
  margin-top: -5px;
}

h4 + p {
  background-color: #f5f5f5;
  padding: 11px;
  margin-top: 8px;
}


