@charset "utf-8";

.inner {
  width: 70%;
  margin: 0 auto;
  padding: 45px 2%;
}

.title {
  height: 310px;
  background-image: url(../images/works/ellycollection086.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #000000;
}

.title h1 {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: bold;
}

.title p {
  font-size: 14px;
  margin-top: 15px;
}

/*タブ切り替え全体のスタイル*/
.tabs {
  margin-top: 50px;
  padding-bottom: 40px;
  width: 70%;
  margin: 50px auto;
}

/*タブのスタイル*/
.tab_item {
  width: calc(100% / 3);
  height: 50px;
  line-height: 50px;
  font-size: 16px;
  text-align: center;
  color: #565656;
  font-size: 1.3rem;
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
}
.tab_item:hover {
  opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name='tab_item'] {
  display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
  display: none;
  padding: 40px 40px 0;
  clear: both;
  overflow: hidden;
}

/*選択されているタブのコンテンツのみを表示*/
#all:checked ~ #all_content,
#programming:checked ~ #programming_content,
#design:checked ~ #design_content {
  display: block;
}

/*選択されているタブのスタイルを変える*/
.tabs input:checked + .tab_item {
  color: #000;
  font-size: 1.3rem;
}

.tabs input:checked + .tab_item::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: #000;
  margin: 0 auto;
}

.banner-list {
  margin: 50px auto 30px;
  text-align: center;
}

.container1 {
  display: flex;
  column-gap: 13px;
  row-gap: 25px;
  margin-top: 30px;
  margin-bottom: 60px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.container3 {
  margin-bottom: 60px;
}
.container4 {
  margin-top: 30px;
}

.syuukyakyu25 img {
  width: 1200px;
}

.syuukyakyu25 {
  width: 49%;
}

.syuukyakyu24 img {
  width: 1200px;
}

.syuukyakyu13 {
  width: 32%;
}

.syuukyakyu17 {
  width: 32%;
}

.syuukyakyu18 {
  width: 32%;
}

.syuukyakyu22 {
  margin: 0 auto;
}

.syuukyakyu23 {
  margin: 0 auto;
}

/* .container2 {
  display: flex;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 60px;
  column-gap: 13px;
  row-gap: 25px;
  flex-wrap: wrap;
} */

.grid {
  column-count: 2;
  height: auto !important;
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 60px;
}

.grid > div {
  height: auto !important;
  break-inside: avoid;
}

.kyuujin1 {
  margin-bottom: 30px;
}

.kyuujin3 {
  margin: 0 auto;
}

.kyuujin5,
.kyuujin6,
.kyuujin7,
.kyuujin8 {
  width: 49%;
}

.container3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  column-gap: 13px;
  row-gap: 25px;
  margin-top: 30px;
}

.container3 li {
  width: 32%;
}

.container4 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  column-gap: 13px;
  margin-top: 30px;
}

.container4 li {
  width: 49%;
}

.list-text {
  text-align: left;
  margin-top: 20px;
}

.text-anime {
  background-image: linear-gradient(to right, #54b3d6, #54b3d6 50%, #000 50%);
  background-size: 200% 100%;
  background-position: -100%;
  display: inline-block;
  padding: 5px 0;
  position: relative;
  font-size: 1.4rem;
  font-weight: bold;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease-in-out;
}

.text-anime:before {
  content: '';
  background: #54b3d6;
  display: block;
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 3px;
  transition: all 0.3s ease-in-out;
}

.text-anime:hover {
  background-position: 0;
}

.text-anime:hover::before {
  width: 100%;
}

.coding img:hover {
  opacity: 0.7;
}

.launch img:hover {
  opacity: 0.7;
}

.letter img:hover {
  opacity: 0.7;
}

.corporate img:hover {
  opacity: 0.7;
}

.main li img {
  transition: 0.5s;
}

.main li img:hover {
  transform: scale(1.08, 1.08);
}

.launch li span:hover {
  border-bottom: solid 2px #000;
  padding-bottom: 5px;
}

.footer {
  margin-top: 100px;
}

/* ------------------------
ページトップボタン
------------------------ */
#page-top {
  width: 80px;
  height: 80px;
  position: fixed;
  z-index: 999;
  right: 3%;
  bottom: 60px;
  border-radius: 50%;
}

@media screen and (max-width: 767px) {
  .tabs {
    width: 100%;
    padding-bottom: 0;
    margin-bottom: 30px;
  }

  .tabs input:checked + .tab_item {
    font-size: 3.8vw;
  }

  .tab_item {
    font-size: 3.8vw;
  }

  .tab_content {
    padding: 20px 0px 0;
  }

  .banner-list {
    width: 100%;
    margin-top: 40px;
    margin-bottom: 0;
  }

  .icon1,
  .icon2,
  .icon3,
  .icon4,
  .icon5,
  .icon6,
  .icon7 {
    font-size: 30px;
  }

  .syuukyakyu13,
  .syuukyakyu17,
  .syuukyakyu18,
  .kyuujin5,
  .kyuujin6,
  .kyuujin7,
  .kyuujin8,
  .syuukyakyu25 {
    width: 100%;
  }

  .grid {
    display: flex;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 60px;
    column-gap: 13px;
    row-gap: 25px;
    flex-wrap: wrap;
  }

  .grid img {
    margin-bottom: 30px;
  }

  .container3 li {
    width: 100%;
  }

  .container4 li {
    width: 100%;
  }

  #pop li {
    margin-bottom: 30px;
  }

  .tab_content p {
    text-align: center;
  }

  .tab_content li {
    margin-bottom: 10px;
  }

  .text-anime {
    font-size: 1.2rem;
  }

  .list-text {
    text-align: center;
  }

  .corporate p {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .footer {
    margin-top: 0;
  }

  #page-top {
    filter: drop-shadow(1px 1px 0px);
  }
}
