/*------------------------------ 共通 ------------------------------*/
html {
  font-size: 9px;
}

@media screen and (max-width: 500px) {
  html {
    font-size: 8px;
  }
}

.pc {
  display: none !important;
}

@media screen and (max-width: 700px) {
  .inner {
    max-width: 520px;
  }
}

.main-padding {
  padding: 178px 0 35px;
}

.text {
  font-size: 1.8rem;
}

@media screen and (max-width: 500px) {
  .text {
    font-size: 2rem;
  }
}

.contents {
  padding: 5% 0;
  margin-bottom: 60px;
}

/* ピンクの矢印ボタン */
@media screen and (max-width: 500px) {
  .pink-arrow-button {
    width: 90%;
  }

  .pink-arrow-button::after {
    width: 12px;
    height: 12px;
    border-top: 2px solid #FB94A1;
    border-right: 2px solid #FB94A1;
    right: 7%;
  }

  .pink-arrow-button:hover:after {
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
  }
}

/* 年間占いバナー */
.year-banner .for-zoom {
  padding: 10px 0;
}

.year-banner .for-zoom .momohana {
  width: 30%;
}

.year-banner .for-zoom p {
  padding: 8px 0;
  font-size: clamp(4.7rem, 11vw, 9rem);
}

.year-banner .for-zoom .this-year-zodiac-img {
  top: 10px;
  right: -55px;
  transform: rotate(-29deg) scale(0.9);
}

@media screen and (max-width: 600px) {
  .year-banner .for-zoom .this-year-zodiac-img {
    top: 0;
    transform: rotate(-29deg) scale(0.8);
  }
}

@media screen and (max-width: 550px) {
  .year-banner .for-zoom .this-year-zodiac-img {
    top: -6px;
    transform: rotate(-29deg) scale(0.7);
  }
}

@media screen and (max-width: 500px) {
  .year-banner .for-zoom .this-year-zodiac-img {
    top: -12px;
    transform: rotate(-29deg) scale(0.6);
  }
}

@media screen and (max-width: 450px) {
  .year-banner .for-zoom .this-year-zodiac-img {
    top: -15px;
    transform: rotate(-29deg) scale(0.55);
  }
}

@media screen and (max-width: 400px) {
  .year-banner .for-zoom .this-year-zodiac-img {
    top: -18px;
    transform: rotate(-29deg) scale(0.5);
  }
}

@media screen and (max-width: 374px) {
  .year-banner .for-zoom .this-year-zodiac-img {
    top: -26px;
    right: -60px;
  }
}

/* ピンクリボン タイトル */
.contents .pink-ribbon {
  padding: 0 20px;
  max-width: 90%;
}

/* 今週の命運は？ 日付 12支イラスト*/
@media screen and (max-width: 700px) {
  .contents .week .date {
    font-size: 4rem;
  }
}

@media screen and (max-width: 550px) {
  .contents .week .date {
    font-size: 3.8rem;
  }
}

@media screen and (max-width: 500px) {
  .contents .week .date {
    font-size: 3.9rem;
  }
}

@media screen and (max-width: 450px) {
  .contents .week .date {
    font-size: 3.3rem;
  }
}

@media screen and (max-width: 400px) {
  .contents .week .date {
    font-size: 2.8rem;
  }
}

@media screen and (max-width: 350px) {
  .contents .week .date {
    font-size: 2.4rem;
  }
}

.contents .week .date .start-month {
  margin-right: 3px;
}

.contents .week .date .start-day {
  margin-right: 3px;
  margin-left: 3px;
}

.contents .week .date .end-month {
  margin-right: 3px;
  margin-left: 3px;
}

.contents .week .date .end-day {
  margin-right: 3px;
  margin-left: 3px;
}

.contents .week .animals {
  max-width: 466px;
  margin-inline: auto;
}

/* 生年月日計算 */
.contents .zodiac {
  width: 90%;
}

.contents .zodiac .birth {
  margin-bottom: 20px;
}

@media screen and (max-width: 500px) {
  .contents .zodiac .birth {
    flex-wrap: wrap;
    gap: 10px 0;
  }

  .contents .zodiac .birth .birth-year {
    width: 100%;
  }

  .contents .zodiac .birth .birth-month {
    width: 48%;
  }

  .contents .zodiac .birth .birth-day {
    width: 48%;
  }
}

.contents .zodiac .birth .birth-deco select {
  font-size: 1.7rem;
}

@media screen and (max-width: 500px) {
  .contents .zodiac .birth .birth-deco select {
    text-align: left;
    padding-left: 30px;
    font-size: 1.9rem;
  }
}

.contents .zodiac .your-zodiac {
  line-height: 1.5;
  font-size: 2.7rem;
}

.contents .zodiac .investigate-button {
  margin-bottom: 20px;
}

.contents .caution {
  text-align: left;
}

/* お知らせ一覧の共通 */
.middle-container .each-news {
  font-size: 2rem;
  flex-direction: column;
}

.middle-container .each-news .date {
  margin-bottom: 10px;
}

/* snsバナー */
.sns {
  width: 90%;
  max-width: 530px;
  text-align: center;
  padding: 27px 33px;
}

@media screen and (max-width: 400px) {
  .sns {
    padding: 20px;
  }
}

.sns h2 {
  display: inline-block;
}

@media screen and (max-width: 550px) {
  .sns h2 {
    font-size: 3rem;
  }
}

@media screen and (max-width: 450px) {
  .sns h2 {
    font-size: 2.7rem;
  }
}

@media screen and (max-width: 400px) {
  .sns h2 {
    font-size: 2.3rem;
  }
}

.sns h2::before {
  height: 37px;
  left: -23px;
}

@media screen and (max-width: 450px) {
  .sns h2::before {
    height: 34px;
    left: -20px;
  }
}

@media screen and (max-width: 400px) {
  .sns h2::before {
    height: 30px;
    left: -15px;
  }
}

.sns h2::after {
  height: 37px;
  right: -23px;
}

@media screen and (max-width: 450px) {
  .sns h2::after {
    height: 34px;
    right: -20px;
  }
}

@media screen and (max-width: 400px) {
  .sns h2::after {
    height: 30px;
    right: -15px;
  }
}

.sns .img-icons .rotate {
  width: 20%;
}

.sns .img-icons .rotate img {
  top: 6px;
  left: -105px;
}

.sns .img-icons .icons {
  width: 60%;
}

@media screen and (max-width: 450px) {
  .sns .img-icons .icons {
    width: 66%;
  }
}

.sns .img-icons .icons h3 {
  position: relative;
  z-index: 1;
}

.sns .img-icons .icons a {
  width: 100%;
}


/* ページネーション */
.pagination {
  gap: 20px;
}

.pagination .current {
  width: 30px;
  height: 30px;
}

.pagination a.page-numbers {
  width: 30px;
  height: 30px;
}

.pagination a.prev::after {
  width: 9px;
  height: 9px;
  left: 15px;
}

.pagination a.next::after {
  width: 9px;
  height: 9px;
  right: 15px;
}

/*------------------------------ ヘッダー ------------------------------*/

header .container nav ul li {
  width: 48%;
}

header .container nav ul li a {
  display: flex;
  justify-content: center;
  width: 100%;
}

header .container nav ul li a::after {
  bottom: -6px;
}

header .container nav ul li a:hover::after {
  bottom: -12px;
}

/*------------------------------ フッター ------------------------------*/
footer .container {
  width: 100%;
}

footer .container nav ul {
  flex-direction: column;
}

footer .container nav ul li {
  width: 100%;
  position: relative;
  font-size: 2rem;
}

footer .container nav ul li::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, #F3DBDE 0%, #E1E9F5 100%);
}

footer .container nav ul li a {
  padding: 20px 0 20px 30px;
}

footer .container nav ul li a::after {
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
}

footer .container p {
  background: linear-gradient(90deg, #F3DBDE 10.42%, #E1E9F5 86.67%);
  padding: 10px 0;
}

footer .container nav ul li a.current-page::before {
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
}

/*------------------------------ TOP ------------------------------*/
#top .middle-container {
  margin-bottom: 40px;
}

/*------------------------------ 週刊占い詳細 ------------------------------*/
#single-week .contents .week h1 {
  margin-bottom: 30px;
}

@media screen and (max-width: 400px) {
  #single-week .contents .week h2 {
    font-size: 2.6rem;
  }
}

#single-week .contents .chose-zodiac-img {
  margin-bottom: 20px;
}

#single-week .contents .week .your-week-fortune {
  padding-bottom: 30px;
  margin-bottom: 44px;
}

/*------------------------------ 年間占い 一覧 ------------------------------*/
#year .contents .middle-container .tell {
  margin-bottom: 30px;
}

#year .contents .middle-container h1 {
  margin-bottom: 20px;
}

#year .contents .middle-container .fortune a {
  padding: 15px 5%;
  gap: 0 5%;
}

@media screen and (max-width: 450px) {
  #year .contents .middle-container .fortune a {
    flex-direction: column;
    gap: 15px 0;
    padding: 5% 23px 10%;
  }
}

#year .contents .middle-container .fortune a p {
  font-size: 2rem;
}

#single-week .contents .week .power .explanation {
  flex-direction: column;
  gap: 20px 0;
}

#single-week .contents .week .power .explanation .point-color {
  width: 90%;
}

#single-week .contents .week .power .explanation .point-color p {
  font-size: 1.8rem;
}
@media screen and (max-width: 500px) {
  #single-week .contents .week .power .explanation .point-color p {
    font-size: 2rem;
  }
}

#single-week .contents .week .power .explanation .point-color .color p {
  font-size: 1.8rem;
}

@media screen and (max-width: 400px) {
  #single-week .contents .week .power .explanation .point-color .color p {
    font-size: 1.55rem;
  }
}

@media screen and (max-width: 350px) {
  #single-week .contents .week .power .explanation .point-color .color p {
    font-size: 1.4rem;
  }
}

#single-week .contents .week .power .explanation .point-color .two-color {
  justify-content: center;
}

@media screen and (max-width: 500px) {
  #single-week .contents .week .power .explanation .point-color .two-color {
    flex-direction: column;
    gap: 20px 0;
  }
}

#single-week .contents .week .power .explanation .point-color .two-color figure figcaption {
font-size: 1.8rem;
}

@media screen and (max-width: 500px) {
  #single-week .contents .week .power .explanation .point-color .two-color figure figcaption {
    font-size: 2rem;
    }
}




/*------------------------------ 年間占い 詳細 ------------------------------*/
#single-year .contents {
  padding: 20px 0 30px;
}

#single-year .happy.contents {
  margin-bottom: 60px;
}

#single-year .contents h1 {
  font-size: 5rem;
  margin-bottom: 15px;
}

#single-year .year-top p:first-of-type {
  width: 90%;
}

#single-year .contents .two-lucky .lucky-color {
  margin-bottom: 30px;
  height: 129px;
  width: 321px;
  margin-inline: auto;
}

@media screen and (max-width: 500px) {
  #single-year .contents .two-lucky .lucky-color {
    height: 115px;
  }
}

@media screen and (max-width: 400px) {
  #single-year .contents .two-lucky .lucky-color {
    width: 100%;
  }
}

#single-year .contents .number-text {
  justify-content: center;
  width: 321px;
  margin-inline: auto;
}

@media screen and (max-width: 400px) {
  #single-year .contents .number-text {
    width: 100%;
  }
}

#single-year .contents .number-text p {
  font-size: 2.2rem;
}

@media screen and (max-width: 400px) {
  #single-year .protection .img-color {
    width: 90%;
  }
}

#single-year .contents .two-lucky {
  flex-direction: column;
}

@media screen and (max-width: 600px) {
  #single-year .lucky .pink-ribbon {
    flex-direction: column;
    line-height: 1;
  }
}

#single-year .lucky .two-lucky .img-color {
  gap: 0 40px;
  width: 321px;
  margin-inline: auto;
}

@media screen and (max-width: 400px) {
  #single-year .lucky .two-lucky .img-color {
    width: 100%;
  }
}

#single-year .happy .two-lucky figure {
  gap: 0 10px;
  width: 321px;
  margin-inline: auto;
}

@media screen and (max-width: 400px) {
  #single-year .happy .two-lucky figure {
    width: 100%;
  }
}


/*------------------------------ お知らせ詳細 ------------------------------*/
#single-news .contents {
  padding: 40px 5%;
}

#single-news .contents .title {
  font-size: 3rem;
  margin-bottom: 14px;
}

#single-news .contents .text {
  margin-bottom: 72px;
}

/*------------------------------ ももはな占いについて ------------------------------*/

#about .contents .links .official {
  flex-direction: column;
  gap: 25px 0;
}

#about .contents .links .official .pink-arrow-button {
  width: 100%;
}

#about .contents .links h2 {
  font-size: 1.8rem;
}

@media screen and (max-width: 500px) {
  #about .contents .links h2 {
    font-size: 2rem;
  }
}

/*------------------------------ プライバシーポリシー ------------------------------*/
#privacy .contents .privacy-container .please {
  margin-bottom: 30px;
}

#privacy .contents .privacy-container article {
  margin-bottom: 20px;
  font-size: 1.8rem;
}

@media screen and (max-width: 500px) {
  #privacy .contents .privacy-container article {
    font-size: 2rem;
  }
}

@media screen and (max-width: 500px) {
  #privacy .contents .privacy-container h2 {
    font-size: 2.1rem;
  }
}

#privacy .contents .privacy-container article ul {
  margin-bottom: 10px;
}

/*------------------------------ 404 ------------------------------*/
#not-found .contents .number-text {
  margin-bottom: 20px;
  line-height: 1;
}

#not-found .contents p:nth-of-type(2) {
  font-size: 1.8rem;
}

/*------------------------------ お問い合わせ 送信完了------------------------------*/
#contact-thanks .contents {
  margin-bottom: 80px;
}

#contact-thanks .contents h1 {
  margin-bottom: 19px;
}

#contact-thanks .contents p {
  max-width: 466px;
  margin-bottom: 10px;
}

#contact-thanks .contents .long-mb {
  margin-bottom: 40px;
}

/*------------------------------ お問い合わせ ------------------------------*/
#contact .contents .contact_form .confirm p input.pink-arrow-button {
  top: 30px;
}

#contact .contents .please p {
  font-size: 1.8rem;
}

@media screen and (max-width: 500px) {
  #contact .contents .please p {
    font-size: 2rem;
  }
}

#contact .contents label {
  font-size: 1.8rem;
}

@media screen and (max-width: 500px) {
  #contact .contents label {
    font-size: 2rem;
  }
}

#contact-thanks .contents p {
  font-size: 1.8rem;
}

@media screen and (max-width: 500px) {
  #contact-thanks .contents p {
    font-size: 2rem;
  }
}

/*------------------------------ お問い合わせ確認 ------------------------------*/
#contact-confirm .contents .contact_form .submit p input.pink-arrow-button {
  top: 0;
  border: none;
}

#contact-confirm .contents .contact_form .submit .pink-arrow-button {
  width: 100%;
  display: block;
  text-align: center;
}

@media screen and (min-width: 501px) {
  #contact-confirm .contents .contact_form .submit .pink-arrow-button {
    width: 381px;
  }
}

#contact-confirm .contents .contact_form .edit p input.gray-arrow-button {
  top: 0;
  border: none;
}

#contact-confirm .contents .contact_form .edit .gray-arrow-button {
  width: 100%;
  display: block;
  text-align: center;
}

@media screen and (min-width: 501px) {
  #contact-confirm .contents .contact_form .edit .gray-arrow-button {
    width: 381px;
  }
}

@media screen and (max-width: 500px) {

  #contact-confirm .contents .contact_form .edit .gray-arrow-button::after {
    width: 12px;
    height: 12px;
    border-top: 2px solid #ACACAC;
    border-left: 2px solid #ACACAC;
    right: 7%;
  }

  #contact-confirm .contents .contact_form .edit .gray-arrow-button:hover:after {
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
  }
}
