@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Shippori+Mincho&display=swap");

*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
  border: none;
  scroll-behavior: smooth;
  list-style: none;
}

main {
  background-image: url(/assets/images/top/background.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
}

/* takagi san interview section style */
.interview-section {
  padding-top: 120px;
  padding-bottom: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.interview-section.active {
  opacity: 1;
}

  .interview-title {
    font-size: 32px;
    font-weight: 600;
    margin-right: auto;
  }

.taidan-wrapper {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 60px;
  border-radius: 10px;
  box-shadow: 0 7px 16px rgba(104, 140, 211, 0.15);
  overflow: hidden;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.taidan-wrapper.active {
  opacity: 1;
  transform: translateY(0);
}

.title-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 4rem;
}

.main-title {
  font-size: 30px;
  line-height: 1.5;
}

.blue-text {
  font-weight: 500;
  color: #0095ff;
}

.taidan-convo {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.page-one-convo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-areas:
    "col1 col2"
    "img img";
  gap: 1.5rem;

  overflow: hidden;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.page-one-convo.active {
  opacity: 1;
  transform: translateY(0);
}

.col {
  overflow: hidden;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.col.active {
  opacity: 1;
  transform: translateY(0);
}

.page-one-convo > .col:nth-child(1) {
  grid-area: col1;
}

.page-one-convo > .col:nth-child(2) {
  margin-top: auto;
  grid-area: col2;
}

.taidan-img {
  grid-area: img;
  overflow: hidden;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.taidan-img.active {
  opacity: 1;
  transform: translateY(0);
}

.small-dot-line {
  border-bottom: 2px dotted #000000;
  width: 100%; 
  height: 5px;
  margin-bottom: 1rem;
}

.page-one-title {
  width: 35ch;
  margin-bottom: 1.5rem;
}

.convo {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.page-two-convo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-areas:
    "col1 col2"
    "img img";
  gap: 1.5rem;
  overflow: hidden;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.page-two-convo.active {
  opacity: 1;
  transform: translateY(0);
}

.page-two-convo > .col:nth-child(1) {
  grid-area: col1;
}

.page-two-convo > .col:nth-child(2) {
  grid-area: col2;
}

.mr-takagi-img {
  display: grid;
  grid-template-columns: 2fr 1fr;
  justify-content: flex-end;
  gap: 1rem;
  margin-bottom: 2rem;
  overflow: hidden;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.mr-noda-img {
  display: grid;
  grid-template-columns: 1fr 2fr;
  margin-top: 2rem;
  gap: 1rem;
  overflow: hidden;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.mr-noda-img.active {
  opacity: 1;
  transform: translateY(0);
}

.mr-takagi-img.active {
  opacity: 1;
  transform: translateY(0);
}

.mr-takagi-img > .blue-text {
  margin-left: auto;
}

.mr-noda-img > .blue-text,
.mr-takagi-img > .blue-text {
  font-size: 24px;
  line-height: 1.7;
  width: 80%;
  text-align: left;
}

.powercms-img {
  grid-area: img;

  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.5rem;
  border: 5px solid #333333;
  margin: 50px 0;
  overflow: hidden;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.powercms-img.active {
  opacity: 1;
  transform: translateY(0);
}

.img-link > img {
  width: 350px;
  object-fit: contain;
}

.img-link > a {
  text-align: left;
  text-decoration: underline;
}

.text-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.text-content > .blue-text {
  font-weight: 400;
  font-size: 25px;
}

.powercms-title {
  font-size: 30px;
}

.footer-text {
  max-width: 1280px;
  margin: 1rem auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.text-one,
.text-two {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 10px;
}

.text-one > img,
.text-two > img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.goback-btn {
  width: 178px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: rgb(39, 105, 233);
  color: white;
  border-radius: 3px;
  transition: 0.3s ease;
  margin: 0 auto;
}

.goback-btn > span > img {
  width: 20px;
  margin-right: 10px;
}

.goback-btn:hover {
  background-color: rgb(88, 143, 250);
}

@media (max-width: 768px) {

  .interview-section {
    gap: 20px;
  }

  .interview-title{
    font-size: 22px;
  }

  .main-title {
    font-size: 18px;
    width: auto;
  }

  .title-content{
    margin-bottom: 1rem;
  }

  .page-one-convo,
  .page-two-convo {
    grid-template-columns: 1fr;
    grid-template-areas:
      "col1"
      "col2"
      "img";
  }

  .page-one-title {
    width: auto;
  }

  .taidan-wrapper{
    padding: 36px 16px;
  }

  .mr-noda-img,
  .mr-takagi-img{
    grid-template-columns: repeat(2, 1fr);
  }

  .mr-noda-img > .blue-text,
  .mr-takagi-img > .blue-text {
    width: 100%;
    font-size: 16px;
  }

  .powercms-img {
    flex-direction: column;
    margin-bottom: 0;
    border: 2px solid #000000;
  }

  .text-content > .blue-text {
    font-size: 18px;
  }
  .powercms-title {
    font-size: 25px;
  }

  .img-link > img {
    width: 100%;
  }
}

/* 2025/09/01追記 */
.taidan-convo .goback-btn span img {
  display: inline;
  max-width: unset;
}
