@charset "utf-8";

:root {
  --main-red: #c22606;
  --body-width: 850px;
  --body-width2: 1250px;
  --tb-width: 80%;
  --sp-width: 90%;
}

.interview-visual {
  animation-duration: 3s;
  animation-iteration-count: 1;
  animation-name: interview-visual_fade;
  overflow: hidden;
  position: relative;
}

@keyframes interview-visual_fade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.interview {
  margin: auto;
}

.interview--ttl {
  max-width: var(--body-width);
  margin: auto;
  color: #fff;
  font-size: 32px;
  font-weight: 900;
  padding: 1em 0;
  letter-spacing: .5px;
}

.interview--ttl h1 {
  font-weight: 900;
  font-size: 24px;
}

.separator {
  height: 1px;
  background-color: var(--main-red);
  border: none;
  margin: 10px;
  width: 50px;
}

.interview--lead {
  position: relative;
  width: 100%;
}

.compass--icon {
  color: var(--main-red);
  font-size: 28px;
  font-weight: 900;
}

.interview--lead--ttl {
  background: url(../img/interview/interview-comcom/main_back) center / cover no-repeat;
  text-align: center;
  margin-top: 1em;
}

.interview--lead--ttl--container {
  margin: auto;
}

.interview--lead--ttl img {
  max-width: 900px;
  height: auto;
  position: relative;
  z-index: 3;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.interview--lead--ttl h2 {
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  text-align: start;
  line-height: 1.8;
  padding-bottom: 1em;
  position: relative;
  z-index: 3;
}

.interview--lead--txt {
  color: #fff;
  max-width: var(--body-width);
  margin: auto;
  padding: 1em 0 32px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.8;
  text-align: start;
}

.interview--lead--txt a {
  color: #0d4878;
}

.interview--lead--txt a:hover {
  color: #167acc;
  transition: all .3s;
}

.interview--lead--txt span {
  display: block;
  text-align: right;
  font-weight: 500;
  font-size: 16px;
}

.interview--body {
  max-width: var(--body-width2);
  margin: auto;
  padding: 1em 0;
  font-size: 18px;
  line-height: 1.8;
}

.interview--body .question {
  font-weight: 900;
  color: #4d4d4d;
  margin: 1em auto;
}

.interview--body .question:first-child {
  margin-top: 1em;
}

.interview--body .question:last-of-type {
  margin-bottom: 3em;
}

.question--separator {
  display: inline-block;
  width: 2em;
  height: 1px;
  background-color: #4d4d4d;
  vertical-align: middle;
  margin-right: .5em;
}

.interview--body .answer {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1em;
  text-indent: 1em;
}

.interview--body .name {
  font-weight: 900;
  color: var(--main-red);
  margin-left: -1em;
  margin-right: 1em;
}

.interview--body .name-tspro {
  color: #2d1606;
}

.interview--body .name-nec {
  color: #0f1ed2;
}

.interview--body img {
  display: block;
  margin: 3em auto 0;
  max-width: var(--body-width);
}

.interview--body .caption {
  display: block;
  text-align: start;
  font-size: 16px;
  margin-bottom: 3em;
}

.interview--body h3 {
  background: url(../img/interview/sub.png) right / cover no-repeat;
  font-size: 24px;
  color: #fff;
  font-weight: 900;
  padding: .5em 0;
  margin: 3em auto;
  text-align: center;
  text-shadow: 0px 4px 3px rgba(0,0,0,0.4),
               0px 8px 13px rgba(0,0,0,0.1),
               0px 18px 23px rgba(0,0,0,0.1);
}

.interview--body a {
  color: #0d4878;
  display: block;
  font-weight: 900;
  margin-bottom: 2em;
  text-align: start;
  text-decoration: none;
}

.interview--body a:has(> img) {
  margin-bottom: .5em;
}

@media screen and (max-width: 991.9px) {
  .interview--body a:has(> img) {
    margin-bottom: .1em;
  }
}

.interview--body .caption .caption--link {
  display: inline;
  color: #0d4878;
  font-weight: 900;
  text-decoration: none;
}

.interview--body a:hover,
.interview--body .caption .caption--link:hover {
  color: #167acc;
  transition: all .3s;
}

.caption--link--02,
.interview--body .caption .caption--link--02 {
  color: #2c1505;
}

.caption--link--02:hover,
.interview--body .caption .caption--link--02:hover {
  color: #66310b;
}

.compass--section {
  position: relative;
  background: url("../img/interview/interview-comcom/sub.png") no-repeat left top;
  background-size: 300px auto;
  padding: 80px 0 0;
}

.compass--section > * {
  margin: 0 auto;
  max-width: var(--body-width);
}

.figure {
  background-color: #eaeaea;
  padding: 3em 0;
}

.figure img {
  display: block;
  margin: 0 auto;
  max-width: var(--body-width);
}


/* ――――― fadein ――――― */

.fadein {
  opacity: 0;
  transform: translate(0, 30px);
  transition: all 700ms;
}


.scrollin {
  opacity: 1;
  transform: translate(0, 0);
}


.slide_l {
  opacity: 0;
  transform: translate(-200px, 0);
  transition: all 1000ms;
  z-index: 20;
}

.slide_l.move {
  opacity: 1;
  transform: translate(0, 0);
}


.slide_r {
  opacity: 0;
  transform: translate(200px, 0);
  transition: all 1000ms;
  z-index: 20;

}

.slide_r.move {
  opacity: 1;
  transform: translate(0, 0);
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
    -webkit-transform: translateY(20px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.fadein1 {
  animation-name: fadeIn;
  animation-duration: 2s;
}

@media screen and (max-width: 767.9px) {
  .fadein {
    opacity: 1;
    transform: translate(0, 0);

  }

  .fadein1 {
    opacity: 1;
    transform: translate(0, 0);
    animation-duration: 1s;
  }

  .item01 .fadein {
    animation-name: fadeIn;
  }

  .slide_l {
    opacity: 1;
    transform: translate(0, 0);
    transition: all 300ms;

  }

  .slide_l.move {
    opacity: 1;
    transform: translate(0, 0);
    animation-name: fadeIn;
  }


  .slide_r {
    opacity: 1;
    transform: translate(0, 0);
    transition: all 300ms;

  }

  .slide_r.move {
    opacity: 1;
    transform: translate(0, 0);
    animation-name: fadeIn;
  }

  .scrollin {
    opacity: 1;
    transform: translate(0, 0);
    animation-name: fadeIn;
  }

}

/* ――――― modal ――――― */

.modal-overlay {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  overflow: auto;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 1;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  height: auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  border-radius: 4px;
}

#modal-caption {
  margin: 10px auto;
  text-align: center;
  color: #fff;
  font-size: 16px;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 36px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover,
.modal-close:focus {
  color: #ddd;
}

.modal-trigger {
  cursor: pointer;
}

.modal-trigger:hover {
  filter: brightness(0.9);
  transition: all .5s;
}


/* ――――― mediaquery ――――― */

@media screen and (min-width: 992px) {
  .interview--body .caption--link--img {
    position: relative;
    display: block;
    height: auto;
  }
  
  .interview--body .caption--link--img img {
    display: block;
    width: 100%;
  }
  
  .interview--body .caption--link--img:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 2;
    background: #000;
    opacity: 0;
    transition: all 0.3s;
  }
  
  .interview--body .caption--link--img:hover:before {
    opacity: 0.2;
  }
}

@media screen and (max-width: 991.9px) {
  .interview--ttl,
  .interview--lead--ttl--container,
  .interview--lead--txt,
  .interview--body {
    width: var(--tb-width);
  }

  .interview--lead--ttl img,
  .interview--body img {
    width: 100%;
  }

}

@media screen and (max-width: 767.9px) {
  .interview--ttl {
    margin-top: 52px;
    flex-wrap: wrap;
  }

  .interview--ttl h1 {
    width: 100%;
  }

  .interview--ttl h1:last-child {
    width: 80%;
  }

  .interview--lead--ttl h2 {
    font-size: 22px;
  }

  .interview--lead--txt span {
    margin-top: .5em;
  }

  .separator {
    margin-left: 0;
  }

  .compass--section {
    background-size: 250px auto;
  }

  .figure img {
    max-width: 95%;
  }

}

@media screen and (max-width: 575.9px) {
  .interview--ttl,
  .interview--lead--ttl--container,
  .interview--lead--txt,
  .interview--body {
    width: var(--sp-width);
  }

  .interview--ttl {
    font-size: 28px;
  }

  .compass--icon {
    font-size: 24px;
  }

  .interview--lead--txt,
  .interview--body {
    font-size: 16px;
  }

  .interview--lead--txt span {
    font-size: 14px;
  }

  .interview--body .caption {
    font-size: 14px;
  }

  .interview--body .question,
  .interview--body img {
    margin-top: 2em;
  }

  .interview--body .question:last-of-type {
    margin-bottom: 2em;
  }

  .interview--body h3 {
    margin: 2em auto;
  }

  .interview--body a {
    text-align: center;
  }

}

@media screen and (max-width: 488.9px) {
  .interview--lead--ttl h2 {
    font-size: 18px;
  }
}

@media screen and (max-width: 342.9px) {
  .separator {
    width: 30px;
  }

  .interview--body h3 {
    padding: 0 .5em;
  }
}