.scrolled .logo-tci, .scrolled .logo-tcicn {
  fill: black;
}
.scrolled .logo-tci .st0 { fill:#727171; }
/* スライド */
.slideshow-container {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  background-color: aliceblue;
}
.slide {
  display: none;
  height: 100%;
}
.slide img {
  width: 100%;
  height: auto;
}
.slide-01 > a {
  display: flex;
  height: 100%;
  align-items: center;
  background: url(img/img_top_nenga.jpg) no-repeat center;
  background-size: cover;
}
.slide-02 > div {
  display: flex;
  height: inherit;
  align-items: center;
  background: url(img/image1.jpg) no-repeat right;
  background-size: cover;
}
.slide-02 p {
  font-size: clamp(40px, 5vw, 64px);
  color: #fff;
  font-weight: 700;
  line-height: 1.2em;
}
.slide-03 {
  height: inherit;
  background: url(img/top-image02.jpg) no-repeat right;
  background-size: 60% auto;
  background-position: right -60px;
  background-color: var(--black);
}
.wrap-slide03-top {
  height: inherit;
}
.wrap-slide03-top > div {
  width: 40%;
  padding-left: 16px;
  height: inherit;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  background-color: var(--main-color);
}
.capt-slide03 {
  font-size: clamp(16px, 6vw, 96px);
  color:#fff;
  font-weight: 900;
}
.text-slide03 {
  color: #fff;
  font-weight: 500;
}
.slide-04 {
  height: inherit;
  background: url(img/top-image03.jpg) no-repeat right;
  background-size: cover;
  background-position: center;
  text-align: center;
  margin: 0 auto;
}
.wrap-slide04-top {
  display: flex;
  height: 100%;
  padding-bottom: 32px;
  flex-direction: column;
  justify-content: flex-end;
  font-weight: 700;
}
.capt-slide04 {
  font-size: clamp(64px, 11vw, 120px);
  line-height: 1em;
}
.text-slide04 {
  font-size: clamp(16px, 2.4vw, 40px);
}
.wrap-slide04-top {
  color: var(--white);
  transition: all .5s;
}
.wrap-slide04-top:hover {
  color: var(--main-color);
}
.btn-slide {
  display: flex;
  height: 40%;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
}
.btn-slide a {
  width: 80%;
  padding: 24px;
  margin-bottom: 16px;
  text-align: center;
  font-size: 20px;
  color: #fff;
  border: 1px solid #fff;
  font-weight: 500;
  background-color: rgba(255, 255, 255, 0);
}
.btn-slide a:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.5);
}
.dots-container {
  text-align: center;
  position: absolute;
  bottom: 10px;
  width: 100%;
}
.dot {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin: 0 5px;
  background-color: var(--line-color);
  border-radius: 50%;
  cursor: pointer;
}
.dot.active {
  background-color: var(--main-color);
}
.fade {
  animation: fadeEffect 1s;
}
@keyframes fadeEffect {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ▼スクロール表示制御▼ */
.fade-in {
  opacity: 0;
  transform: translateY(20px); /* 下からスタート */
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.fade-in.topvisible {
  opacity: 1;
  transform: translateY(0); /* 元の位置に戻る */
}
.slide-in-left {
  opacity: 0;
  transform: translateX(-20px); /* 左からスタート */
  transition: opacity 1s ease-out, transform .5s ease-out;
}
.slide-in-left.leftvisible {
  opacity: 1;
  transform: translateX(0); /* 元の位置に戻る */
}
/* ▲スクロール表示制御▲ */
/* ロゴ一覧 */
.sec-logo {
  text-align: center;
}
.sec-logo h2 {
  margin: 0 0 16px;
  font-size: 20px;
}
.wrap-logo {
  margin: 24px 0;
}
.wrap-logo li {
  display: inline-block;
  vertical-align: middle;
  width: 8%;
  min-width: 120px;
  margin: 16px 24px;
}
.wrap-logo img {
  width: 100%;
}
.wrap-appeal {
  display: flex;
  align-items: center;
}
.capt-top {
  font-size: clamp(24px, 5vw, 80px);
  line-height: 1em;
  color: var(--main-color);
  font-weight: 900;
}
.content-appeal-txt > div {
  background-color: var(--white);
}
.content-appeal-txt .cmn-btn {
  margin: 0 0 32px 32px;
}
.sec-customer h2 {
  margin: 0 0 16px;
}
.sec-discussion > div {
  width: 100%;
  position: relative;
}
.wrap-img-discussion {
  width: 100%;
}
.wrap-img-discussion img {
  width: 100%;
  object-fit: contain ;
}
.sec-customer {
  background-color: var(--white);
}
.sec-customer .wrap-content {
  display: flex;
  justify-content: space-between;
}
.bg-txtanime {
  width: 100%;
  position: absolute;
  text-align: right;
  bottom: 0;
}
.bg-txtanime .wrap-txtanime {
  position: relative;
  display: inline-block;
  margin-top: 5px;
  padding: 8px;
}
.bg-txtanime .wrap-txtanime::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--main-color);
  transform-origin: left center;
  opacity: 0; /* 初期状態で非表示 */
  transform: scaleX(0) translateX(-5%);
  transition: opacity 0.3s ease;

}
.bg-txtanime .wrap-txtanime .txtanime-inn {
  color: #fff;
  display: inline-block;
  font-size: 4vw;
  font-weight: bold;
  padding: 5px 15px;
  position: relative;
  z-index: 1;
}
.bg-txtanime.is-txtanime .wrap-txtanime::before {
  animation: bg 2.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 1; /* アニメーション時に表示 */
}

@keyframes bg {
  0% {
    opacity: 0;
    transform: scaleX(0) translateX(-5%);
  }
  30% {
    transform: scaleX(1) translateX(0);
  }
  100% {
    transform: scaleX(1) translateX(0);
  }
  30%, 100% {
    opacity: 1;
  }
}

.sec-news .wrap-content {
  display: flex;
  align-items: center;
  background-color: var(--white);
}
.capt-news-top {
  width: 32%;
  min-width: 240px;
  background-color: var(--white);
}
.capt-news-top h2 {
  justify-content: flex-end;
  font-size: 42px;
  margin-bottom: 0;
}
.capt-news-top > div {
  height: auto;
}
.sec-news .wrap-content ul {
  flex-grow: 1;
  padding-left: 16px;
  background-color: var(--bkg-color);
}
.sec-news ul li {
  align-items: center;
  padding: 8px;
  border-bottom: 1px dotted var(--line-color);
}
.sec-news ul li > div:first-of-type {
  font-size: 12px;
  margin: 8px 0;
  color: var(--line-color);
}
.news-category {
  display: inline-block;
  margin: 0 8px;
  line-height: 20px;
  height: 20px;
  width: 64px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--black);
  border: 1px solid var(--line-color);
}
.btn-news {
  padding: 16px 0;
  text-align: right;
  font-weight: 700;
  color: var(--main-color);
}
.txt-newslist {
  width: 100%;
}
.cap-comment {
  margin: 24px 0 8px;
}
.wrap-comment {
  padding: 24px;
  text-align: left;
  border: 1px solid #d1d1d1;
  border-radius: 8px;
}
.wrap-comment ul {
  padding: 24px;
  list-style-type: disc;
}
.txt-bold {
  font-weight: 700;
}
.sec-inquiry {
  background-color: var(--white);
}
.wrap-btn-inpuiry {
  text-align: center;
}
.sec-inquiry .capt-cmn01 {
  margin: 0;
}
/*-----▼ sec-video ▼-----*/
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 5;
}
.modal-content {
  position: relative;
  height: 80%;
  text-align: center;
}
.close {
  position: absolute;
  top: 0;
  right: -36px;
  font-size: 36px;
  line-height: 36px;
  color: white;
  cursor: pointer;
}
video {
  width: 80vw;
}
.wrap-top-video {
  display: flex;
}
.wrap-video-thumb {
  width: 50%;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  margin: 0 8px;
  border-radius: 8px;
}
.wrap-video-thumb img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease-in-out;
}
.wrap-video-thumb p.capt-cmn03 {
  margin-bottom: 0;
  position: absolute;
  bottom: 8px;
  right: 8px;
  color: white;
  font-size: 24px;
  font-weight: bold;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}
.wrap-video-thumb:hover img {
  transform: scale(1.1);
}
/*-----▲ sec-video ▲-----*/
.content-customer-right {
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
}
.wrap-customer {
  width: 48%;
  padding: 8px;
  font-size: 13px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2)
}
.wrap-customer img {
  width: 100%;
}
.wrap-customer p {
  padding: 4px;
}
 /*=============================== ここからPC===============================*/
 @media screen and (min-width: 1024px) {
  .logo-tcicn, .logo-tci, .st0 {
    fill: white;
    transition: fill 0.2s ease;
  }
  .content-appeal-img img {
    height: 100%;
    max-height: 560px;
    object-fit: cover;
  }
  .content-appeal-img {
    width: 50%;
    text-align: center;
  }
  .content-appeal-txt {
    left: 40%;
    width: 60%;
    padding: 40px;
    position: absolute;
  }
  .content-appeal-txt p {
    padding: 24px 24px 24px 32px;
    margin: 24px 0;
  }
  .content-customer-right {
    width: 50%;
    align-items: center;
  }
  .wrap-customer {
    height: 160px;
    line-height: 1rem;
  }

  .content-customer-left {
    width: 50%;
  }
  .content-customer-left p {
    padding:  0 0 24px 32px;
  }
}

 /*=============================== ここからタブレット===============================*/
 @media screen and (max-width: 1023px) {
  section {
    margin: 0;
  }
  .slide-02 > div {
    background-position: right -240px center;
  }
  .slide-03 {
    background-size: 100% auto;
    background-position: right -80px;
  }
  .wrap-slide03-top {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-end;
  }
  .wrap-slide03-top > div {
    width: 100%;
    height: 32%;
    flex-direction: row;
    align-items: center
  }
  .btn-slide a {
    margin-bottom: 0;
  }
  .wrap-logo {
    flex-wrap: wrap;
  }
  .wrap-logo p {
    margin-bottom: 8px;
  }
  .wrap-appeal {
    flex-direction: column;
  }
  .content-appeal-txt .cmn-btn {
    margin: 0;
}
  .content-appeal-txt > div > div {
    margin: 40px 0;
    text-align: center;
  }
  .content-appeal-img {
    width: 100%;
    text-align: center;
  }
  .content-appeal-img img {
    width: 100%;
  }
  .content-appeal-txt > div {
    width: calc(100% - 48px);
    padding: 24px;
    margin: 0 auto;
  }
  .slide img {
    width: auto;
    height: 60%;
    object-fit: cover;
  }
  .capt-top {
    padding: 24px 0 48px;
  }
  .btn-b {
    margin-top: 40px;
  }
  .wrap-customer {
    margin-left: 0;
    line-height: 1rem;
  }
  .sec-customer .wrap-content {
    flex-direction: column;
  }
  .content-customer-right {
    margin: 40px 0 0;
    padding: 0;
  }
  .sec-news .wrap-content {
    flex-direction: column;
    align-items: center;
    background-color: var(--bkg-color);
  }
  .capt-news-top {
    width: 100%;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    background-color: var(--bkg-color);
  }
  section.sec-video {
    padding: 0 0 56px;
  }
  .wrap-top-video {
    flex-direction: column;
    align-items: center;
  }
  .wrap-video-thumb {
    width: 100%;
    margin: 16px 0;
  }
}

/*=============================== ここからスマホ ===============================*/
@media all and (max-width: 414px) {
  .wrap-video-thumb p.capt-cmn03 {
    bottom: 0;
    right: 4px;
    font-size: 14px;
  }
  .slideshow-container {
    height: 480px;
  }
  .slide-01 > a {
    background: url(img/img_top_nenga_sp.jpg) no-repeat center top;
    background-size: cover;
  }
  .slide-02 > div {
    background-position: right -360px center;
  }
  .slide-03 {
    background-position: right 0;
  }
  .slide-04 {
    background: url(img/top-image03_sp.jpg) no-repeat;
    background-size: cover;
  }
  .wrap-slide04-top > div {
    display: flex;
    align-items: center;
    width: 100%;
    height: 50%;
    flex-direction: column;
    justify-content: flex-start;
  }
}