
body {
  font-family: "Hiragino Sans", "Meiryo", sans-serif;
  background: #f9f9f9;
  color: #333;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

header {
  background: linear-gradient(90deg, #6a5acd, #48d1cc);
  color: #fff;
  text-align: center;
  padding: 20px 15px 8px;
}

header h1 {
  margin: 0;
  font-size: 26px;
  line-height: 1.1;
}

header h1 .site-name {
  display: block;
  font-weight: bold;
  font-size: 28px;
  margin-bottom: 0;
}

header h1 .date {
  display: block;
  font-size: 20px;
  font-weight: normal;
  margin-top: 0;
}

header p {
  margin: 6px 0 10px;
  font-size: 14px;
}


main {
  max-width: 800px;
  margin: 20px auto;
  padding: 0 15px;
}

.click-note {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #444;
  background: #f0f4ff;
  padding: 8px 16px;
  border-radius: 20px;
  margin: 14px auto 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  display: table; 
  margin-left: auto;
  margin-right: auto;
}



.for-pc { display: inline; }
.for-sp { display: none; }

@media (max-width: 767px) {
  .for-pc { display: none; }
  .for-sp { display: inline; }
}


ol.ranking {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

ol.ranking li {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.3s ease;
}



ol.ranking a {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 20px;
}


.rank-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.rank {
  font-size: 24px;
  font-weight: 800;
  color: #333;
  min-width: 50px;
  text-align: center;
  line-height: 1;
}


.name {
  flex: 1;
  font-size: 20px;          
  font-weight: 750;
  color: #1e2255;           
  margin-left: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.03em;
}


.name .birthday {
  display: inline-block;
  margin-left: 14px;         
  font-size: 13px;
  color: #888;
  opacity: 0.95;
  vertical-align: middle;
  letter-spacing: 0.03em;
}




@media (max-width: 600px) {
  .name .birthday {
    display: none;
  }
}


.diff {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  color: white;
  min-width: 70px;
  text-align: center;
  line-height: 1;
}

.diff.up {
  background: linear-gradient(135deg, #a3e3ff, #c6f6ff); 
  color: #1b7fa7; 
  border: 1px solid rgba(100, 180, 200, 0.3);
}


.diff.down {
  background: linear-gradient(135deg, #e8dbff, #f1e6ff); 
  color: #705ba2; 
  border: 1px solid rgba(150, 130, 200, 0.25);
}


.diff.same {
  background: linear-gradient(135deg, #eef3f8, #f9fbfc);
  color: #6a7b8c;
  border: 1px solid rgba(200, 210, 220, 0.3);
}






.overall-box {
  background: #f9fafc;
  border: 1px solid #edf0f5;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 10px 0;
}

.overall-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #333;
  margin-bottom: 6px;
}

.icon {
  font-size: 20px;
}

.score {
  font-size: 15px;
  font-weight: 700;
  color: #6a5acd;
  background: #f0f4ff;
  padding: 4px 10px;
  border-radius: 20px;
  min-width: 50px;
  text-align: center;
}

.overall-box .comment {
  font-size: 15.5px;         
  color: #444;               
  line-height: 1.75;         
  letter-spacing: 0.03em;    
  text-align: justify;
  margin: 4px 0 6px 0; 
  }

@media (max-width: 600px) {
  .overall-box .comment {
    font-size: 14.5px;
    line-height: 1.7;
  }
}



.details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}

.details li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8f9fc;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  color: #333;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  
}






.more-link {
  display: block;
  width: fit-content;
  margin: 12px auto 0; 
  text-align: center;
  border: 2px solid #a0d8ef;
  color: #333;
  font-weight: 600;
  font-size: 14px;
  padding: 7px 16px;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.more-link:hover {
  background: #a0d8ef;
  color: #fff;
}


@media (hover: none) and (pointer: coarse) {
  .more-link:hover {
    background: transparent;
    color: #333;
  }
}


.more-link:active {
  background: #a0d8ef;
  color: #fff;
}


@media (max-width: 600px) {
  header h1 { font-size: 24px; }
  header h1 .site-name { font-size: 26px; }
  header h1 .date { font-size: 18px; }

  ol.ranking a { padding: 16px; }
  .rank { font-size: 22px; min-width: 44px; }
  .name { font-size: 17px; margin: 0 8px; }
  .details { grid-template-columns: 1fr; gap: 8px; }
  .details li { font-size: 13px; padding: 9px 12px; }
  .stars { font-size: 14px; }
  .overall-title { font-size: 14px; }
  .score { font-size: 14px; padding: 3px 8px; }
}

@media (max-width: 600px) {
  .name {
    font-size: 19px;           
    letter-spacing: 0.02em;
  }
}


.prev-day {
  text-align: center;
  margin: 20px 0;
}

.prev-day a {
  display: inline-block;
  padding: 8px 14px;
  background: rgba(0,0,0,0.1);
  color: #333;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.prev-day a:hover {
  background: rgba(0,0,0,0.2);
  transform: translateY(-2px);
}


.intro-horoscope {
  background: #fff;
  border-radius: 12px;
  padding: 26px 24px;
  margin: 30px auto;
  max-width: 620px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}


.intro-horoscope h2 {
  font-size: 22px;
  text-align: center;
  margin-bottom: 14px;
  font-weight: bold;
  background: linear-gradient(90deg, #6a5acd, #48d1cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent; 
}


.intro-horoscope h2 .emoji {
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  color: #6a5acd; 
  margin-right: 6px;
  vertical-align: middle;
}

.intro-horoscope p {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  text-align: justify;
}

@media (max-width: 600px) {
  .intro-horoscope {
    padding: 18px;
  }
  .intro-horoscope h2 {
    font-size: 20px;
  }
  .intro-horoscope p {
    font-size: 14px;
  }
}


footer {
  background: linear-gradient(90deg, #6a5acd, #48d1cc);
  color: #fff;
  text-align: center;
  padding: 25px 15px 5px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

footer p {
  margin: 0 0 12px;
  font-size: 14px;
  opacity: 0.9;
}

footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

footer .footer-links li {
  flex: 0 0 auto;
}

footer .footer-links a {
  display: inline-block;
  padding: 5px 10px;
  background: rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 12px;
  white-space: nowrap;
  transition: background 0.3s, transform 0.2s;
}

footer .footer-links a:hover {
  background: rgba(255,255,255,0.35);
  transform: translateY(-2px);
}

footer p:last-child {
  font-size: 13px;
  opacity: 0.8;
  margin: 0;
}

@media (max-width: 600px) {
  footer .footer-links a {
    font-size: 12px;
    padding: 4px 8px;
  }
  footer .footer-links {
    gap: 6px;
  }
}



.details li,
.details li:hover,
.details li:focus {
  transform: none !important;
  box-shadow: none !important;
  background: #f8f9fc !important;
  transition: none !important;
}




.stars {
  font-size: 20px;
  letter-spacing: 0.1em;
  background: linear-gradient(45deg, #6a5acd, #48d1cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 1px 1px 3px rgba(106, 90, 205, 0.25);
}




@media (max-width: 600px) {
  .stars {
    font-size: 18px;
  }
}

.details li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8f9fc;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  color: #333;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);

  border: 1px solid #edf0f5;   
}


ol.ranking li {
  background: #fff; 
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  overflow: hidden;
}

.rank-container {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
}



ol.ranking li:nth-child(1) .rank-container {
  background: linear-gradient(135deg, #e8f7ff, #f3ecff);
  border: 2px solid rgba(120, 160, 255, 0.3);
  box-shadow: 0 0 12px rgba(100, 150, 255, 0.15);
}


ol.ranking li:nth-child(2) .rank-container {
  background: linear-gradient(135deg, #f7fafc, #edf4f9); 
  border: 2px solid rgba(140, 190, 230, 0.25);
  box-shadow: 0 0 10px rgba(130, 170, 210, 0.12);
}



ol.ranking li:nth-child(3) .rank-container {
  background: linear-gradient(135deg, #f6f2ff, #fdf9ff);
  border: 2px solid rgba(160, 140, 230, 0.25);
  box-shadow: 0 0 10px rgba(150, 130, 230, 0.1);
}



.more-link {
  display: block;
  width: fit-content;
  margin: 12px auto 0; 
  background: #fff;
  border: 2px solid #a0d8ef;
  color: #333;
  font-weight: 600;
  font-size: 14px;
  padding: 7px 16px;
  border-radius: 25px;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
}



.rank {
  font-size: 26px;
  font-weight: 800;
  min-width: 60px;
  text-align: center;
  line-height: 1;
  border-radius: 10px;
  padding: 4px 10px;
  background: #f9f9ff;
  color: #444;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}


ol.ranking li:nth-child(1) .rank {
  background: linear-gradient(135deg, #e4e9ff, #e8faff);
  color: #5a53c0; 
  text-shadow: 0 0 4px rgba(150, 160, 255, 0.25);
}


ol.ranking li:nth-child(2) .rank {
  background: linear-gradient(135deg, #f9fbfd, #eef3f6);
  color: #6a7895; 
  text-shadow: 0 0 3px rgba(170, 190, 210, 0.25);
}


ol.ranking li:nth-child(3) .rank {
  background: linear-gradient(135deg, #f5f2ff, #f8f4ff);
  color: #7b66b0; 
  text-shadow: 0 0 3px rgba(180, 160, 230, 0.25);
}

.site-logo {
  width: 260px; 
  height: auto;
  display: block;
  margin: 0 auto 6px;
}

@media (max-width: 600px) {
  .site-logo {
    width: 180px;
  }
}



@media (max-width: 600px) {
  .rank {
    font-size: 20px;   
    min-width: 40px;
  }

  .name {
    font-size: 20px;   
    letter-spacing: 0.03em;
  }

  .name .birthday {
    display: none;     
  }
}


@media (max-width: 600px) {
  .name {
    font-size: 20px;
    text-align: center;      
    display: block;          
    margin: 0 auto;          
    letter-spacing: 0.03em;
  }

  .rank-line {
    flex-direction: column;  
    align-items: center;     
    text-align: center;
  }

  .rank {
    font-size: 20px;         
    margin-bottom: 4px;      
  }

  .diff {
    margin-top: 4px;         
  }
}




.name {
  display: inline-block;     
  text-align: center;        
  margin: 0 auto;            
  font-size: 20px;
  font-weight: 750;
  color: #1e2255;
  letter-spacing: 0.03em;
}


.name .birthday {
  display: inline-block;
  margin-left: 12px;
  vertical-align: middle;
}



.site-logo {
  width: 260px;         
  height: auto;
  display: block;       
  margin: 0 auto 10px;  
  max-width: 100%;      
}


@media (max-width: 600px) {
  .site-logo {
    width: 220px; 
    margin-bottom: 8px;
  }
}


header {
  background: linear-gradient(90deg, #6a5acd, #48d1cc);
  color: #fff;
  text-align: center;
  padding: 28px 15px 14px; 
}


header h1 {
  margin: 0;
  line-height: 1.2;
}


header h1 .date {
  display: block;
  font-size: 20px;
  font-weight: normal;
  margin-top: 4px; 
  opacity: 0.9;
}



header .catch {
  text-align: center;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.15em;
  margin: 18px 0 5px;
  opacity: 0.85;
  font-weight: 400;
  font-family: "Hiragino Sans", "Meiryo", sans-serif;
}

header .catch span {
  position: relative;
  display: inline-block;
}

header .catch span::before,
header .catch span::after {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  margin: 0 10px;
  vertical-align: middle;
}

@media (max-width: 600px) {
  header .catch {
    font-size: 12px;
    letter-spacing: 0.1em;
    margin-top: 8px;
    opacity: 0.8;
  }
  header .catch span::before,
  header .catch span::after {
    width: 24px;
    background: rgba(255, 255, 255, 0.3);
  }
}




.rank-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.rank-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.zodiac-illust {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  padding: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  object-fit: contain;
}

.rank-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rank {
  font-size: 22px;
  min-width: auto;
  padding: 3px 10px;
}

.name {
  font-size: 18px;
  margin: 0;
}

.name .birthday {
  display: inline-block;
  margin-left: 8px;
  font-size: 12px;
  color: #888;
}

@media (max-width: 600px) {
  .rank-line {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .rank-main {
    justify-content: center;
  }

  .zodiac-illust {
    width: 56px;
    height: 56px;
  }

  .rank-text {
    align-items: center;
  }

  .rank {
    font-size: 20px;
  }

  .name {
    font-size: 17px;
  }

  .name .birthday {
    display: none;
  }

  .diff {
    margin-top: 2px;
  }
}


@media (min-width: 768px) {
  .rank-line {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    gap: 16px;
  }

  .rank-main {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .zodiac-illust {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    padding: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    object-fit: contain;
  }

  .rank-text {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .rank {
    font-size: 24px;
    min-width: auto;      
    padding: 3px 10px;
    margin: 0;
  }

  .name {
    font-size: 20px;
    margin: 0;
    white-space: nowrap;
  }

  .name .birthday {
    display: inline-block;
    margin-left: 10px;
    font-size: 13px;
    color: #888;
  }

  .diff {
    margin-left: auto;
  }
}


main {
  max-width: 680px;
}


