@charset "UTF-8";

/*================= ▼ COMMON =================*/

html {
  -webkit-text-size-adjust: none;
  font-size: 62.5%;
}

@media (max-width: 1400px) and (min-width: 751px) {
  html {
    font-size: 0.7142857142857143vw;
  }
}

@media (max-width: 750px) {
  html {
    font-size: 1.333vw;
  }
}

.sp {
  display: none;
}

@media (max-width: 750px) {
  .sp {
    display: block;
  }
}

.pc {
  display: block;
}

@media (max-width: 750px) {
  .pc {
    display: none;
  }
}

body {
  font-family: "Noto Sans JP", "メイリオ", Meiryo, sans-serif;
}

body[data-active="true"] {
  overflow: hidden;
}

body[data-active="flase"] {
  overflow: initial;
}

img {
  max-width: 100%;
  height: auto;
}

.site-wrapper {
  position: relative;
}

.site-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background-image: url("/site_cort-f/images/site-cort-f/tw-commic/bg-blue.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

*[data-anime="true"] {
  opacity: 1;
  transition: opacity 1s ease;
}

*[data-anime="false"] {
  opacity: 0;
  transition: opacity 1s ease;
}

main {
  overflow-x: hidden;
}

/*================= ▼ ARROW-BTN =================*/

.arrow-btn {
  position: fixed;
  bottom: 5.6rem;
  right: 3.2rem;
  z-index: 1000;
  cursor: pointer;
  transition: opacity 0.5s, visibility 0.5s;
}

.arrow-btn[data-active="true"] {
  opacity: 1;
  visibility: visible;
}

.arrow-btn[data-active="false"] {
  opacity: 0;
  visibility: hidden;
}

.arrow-btn img {
  width: 8rem;
  height: 8rem;
}

/*================= ▼ HEADER =================*/

header {
  position: absolute;
  top: 8rem;
  left: 0;
  z-index: 100;
  width: 100%;
  background-color: transparent;
}

header .inner {
  margin: 0 auto;
  max-width: 126rem;
}

/*================= ▼ TWITTER-COMIC-SECTION =================*/

.twitter-comic .inner {
  margin: 18.8rem auto 0 auto;
  max-width: 110rem;
}

.twitter-comic .inner h1 {
  text-align: center;
}

.twitter-comic .inner h1 img {
  width: 38.7rem;
}

.twitter-comic .inner .cortf-icon {
  margin: 18.4rem 0 15.2rem 0;
  text-align: center;
}

.twitter-comic .inner .contents {
  margin: 9.4rem 0 0 0;
}

.twitter-comic .inner .contents .author {
  margin: 8rem auto 0 auto;
}

.twitter-comic .inner .contents .author .author-inner a {
  position: relative;
  display: block;
  margin: 0 auto;
  padding: 3.4rem 3.4rem;
  width: 75.2rem;
  background-color: #b5e1f8;
  border-radius: 2rem;
}

.twitter-comic .inner .contents .author .author-inner a::before {
  content: "";
  border-width: 30px 13px;
  border-style: solid;
  border-color: #b5e1f8 transparent transparent transparent;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -100%) rotate(180deg);
}

.twitter-comic .inner .contents .author .author-inner a::after {
  content: "";
  position: absolute;
  top: 2rem;
  right: 2.4rem;
  z-index: 10;
  width: 3.21rem;
  height: 2rem;
  background-image: url("/site_cort-f/images/site-cort-f/tw-commic/icon-tab.svg");
  background-repeat: no-repeat;
}

.twitter-comic .inner .contents .author .author-inner .top {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.twitter-comic .inner .contents .author .author-inner .top a img {
  width: 9.34rem;
}

.twitter-comic .inner .contents .author .author-inner .top .author-name {
  display: inline-flex;
  align-items: center;
  font-size: 2.4rem;
  font-weight: 600;
}

.twitter-comic .inner .contents:nth-of-type(1) .author .author-inner .top .author-name::after {
  content: "";
  display: inline-block;
  width: 2.3rem;
  height: 2.3rem;
  background-image: url("/site_cort-f/images/site-cort-f/tw-commic/author-icon01-star.png");
}

.twitter-comic .inner .contents .author .author-inner .top .author-account {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin: 0.8rem 0 0 0;
}

.twitter-comic .inner .contents .author .author-inner .top .author-account a {
  color: #536471;
  font-size: 1.6rem;
}

.twitter-comic .inner .contents .author .author-inner .top .author-account div {
  display: flex;
  gap: 1.2rem;
  font-weight: 700;
}

.twitter-comic .inner .contents .author .author-inner .bottom p {
  margin: 0.4rem 0 0 11rem;
  font-size: 1.2rem;
  line-height: 1.7;
}

.twitter-comic .inner .banner-link {
  display: flex;
  justify-content: center;
  margin: 28.4rem 0 22.6rem 0;
}

/*================= ▼ FOOTER =================*/

footer {
  background-color: #e9a89e;
}

footer .inner {
  display: flex;
  align-items: center;
  margin: 0 auto;
  max-width: 126rem;
  height: 7rem;
}

footer .inner p {
  color: #fff;
  font-size: 1.2rem;
}

/*================= ▼ SP =================*/

@media (max-width: 750px) {
  .site-wrapper::after {
    background-image: url("/site_cort-f/images/site-cort-f/tw-commic/sp/bg-blue.png");
  }

  /*================= ▼ ARROW-BTN =================*/

  .arrow-btn {
    right: 2rem;
  }

  /*================= ▼ HEADER =================*/

  header {
    top: 2.8rem;
  }

  header .inner {
    max-width: 65rem;
  }

  header .inner a img {
    width: 20rem;
  }

  /*================= ▼ TWITTER-COMIC-SECTION =================*/

  .twitter-comic .inner {
    margin: 12rem auto 0 auto;
    max-width: 65rem;
  }

  .twitter-comic .inner h1 img {
    width: 61.2rem;
  }

  .twitter-comic .inner .cortf-icon {
    margin: 18.4rem 0 18rem 0;
  }

  .twitter-comic .inner .contents {
    margin: 3.8rem 0 0 0;
  }

  .twitter-comic .inner .contents .author {
    margin: 9rem auto 0 auto;
  }

  .twitter-comic .inner .contents .author .author-inner a {
    padding: 3.2rem 2.2rem 3.2rem 2.8rem;
    width: 100%;
  }

  .twitter-comic .inner .contents .author .author-inner a::after {
    width: 3.6rem;
    height: 3.4rem;
  }

  .twitter-comic .inner .contents .author .author-inner .top {
    align-items: flex-start;
    gap: 1rem;
  }

  .twitter-comic .inner .contents .author .author-inner .top .author-name {
    font-size: 2.8rem;
  }

  .twitter-comic .inner .contents .author .author-inner .top .author-account {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin: 0.2rem 0 0 0;
  }

  .twitter-comic .inner .contents .author .author-inner .top .author-account a {
    font-size: 2.2rem;
  }

  .twitter-comic .inner .contents .author .author-inner .top .author-account div {
    flex-direction: column;
    gap: 0.4rem;
    font-size: 2rem;
    font-weight: 500;
  }

  .twitter-comic .inner .contents .author .author-inner .bottom p {
    margin: 4rem 0 0 5rem;
    font-size: 2.6rem;
  }

  .twitter-comic .inner .banner-link {
    margin: 17.7rem 0 16rem 0;
  }

  /*================= ▼ FOOTER =================*/

  footer .inner {
    align-items: flex-end;
    justify-content: center;
    padding: 0 0 3.2rem 0;
    max-width: 100%;
    height: 12rem;
  }

  footer .inner p {
    font-size: 1.6rem;
  }
}
