/* 
-----------検証用↓----------
body {
  overflow-x: hidden;
}
* {
  outline: 1px solid red;
}
----------↑↑↑-------------- */



body {
  font-family: "Montserrat", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: .8px;
  color: #333;
  background-color: #fff;
}

a {
  transition: opacity .3s;
  text-decoration: none;
  color: #1ca9e3;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  border-style: none;
}

ul,
li {
  list-style: none;
}

.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

/*--------------------------------
 レイアウト
---------------------------------*/


.inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 40px;
}


/*--------------------------------
ヘッダー
---------------------------------*/
.header {
  position: fixed;
  top: 0;
  z-index: 1;
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: end;
  padding: 20px 30px;
}

.header-logo {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.2;
  margin-right: 20px;
  letter-spacing: .05em;
}

.header-logo a {
  color: #333;
}

.header-nav-list {
  display: flex;
  justify-content: space-between;
}

.header-nav-item:not(:last-child) {
  margin-right: 20px;
}

.header-nav-item a {
  font-size: 13px;
  font-weight: bold;
  padding: 5px 0;
  letter-spacing: .05em;
  color: #333;
}

.header-nav-item a:hover {
  opacity: .8;
}

/*--------------------------------
 スプリット
---------------------------------*/
.split {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 60px;
}

.split-body {
  width: 50%;
  padding-right: 20px;
  padding-left: 20px;
  padding-top: 25px;
  text-align: center;
}

.split-img {
  width: 50%;
  aspect-ratio: 1 / 1;
  background-image: url(../img/icon_pixcel.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.split-title {
  font-family: "DotGothic16", sans-serif;
  font-size: clamp(28px, 6vw, 75px);
  font-weight: bold;
  letter-spacing: clamp(4px, 1.5vw, 19px);
  white-space: nowrap;
}

.sub_title {
  font-family: "DotGothic16", sans-serif;
  font-size: clamp(14px, 3vw, 33px);
  font-weight: bold;
  letter-spacing: clamp(3px, 1.2vw, 19px);
  white-space: nowrap;
}


/*--------------------------------
 誘導矢印　↓↓↓↓
---------------------------------*/
.arrows-wrapper {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0 auto px auto;
}

.arrows {
  margin: 5px auto 0;
  position: relative;
  display: flex;
  width: 18px;
  height: 60px;
  justify-content: center;
  align-items: center;
  /* overflow: hidden; */
}

.arrows .arrow {
  position: absolute;
  left: 50%;
  top: 0%;
  transform: translateX(-50%);
  width: 10px;
  height: 60px;
  opacity: 0;
}

/* アニメーションタイミングずらして表示 */
.arrows .arrow:nth-child(1) {
  animation: arrow-move-vertical 2s 0s ease-in-out infinite;
}

.arrows .arrow:nth-child(2) {
  animation: arrow-move-vertical 2s 0.5s ease-in-out infinite;
}

.arrows .arrow:nth-child(3) {
  animation: arrow-move-vertical 2s 1s ease-in-out infinite;
}

/* 矢印のパーツ */
.arrows .arrow:before,
.arrows .arrow:after {
  position: absolute;
  content: '';
  left: 0;
  width: 5px;
  height: 20px;
  background: #4f4f4f;
}

.arrows .arrow:before {
  left: -3px;
  top: 0;
  transform: rotate(-45deg);
}

.arrows .arrow:after {
  left: 9px;
  top: 0;
  transform: rotate(45deg);
}

/* 上から下に流れるアニメーション */
@keyframes arrow-move-vertical {
  0% {
    opacity: 0;
    top: 0%;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    top: 100%;
  }
}


.home .section {
  padding: 80px 0;
}

.home .section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
  letter-spacing: 0.08em;
}

.home .section-title .en {
  font-weight: bold;
  color: #5aa6c8;
}

.home .section-title .jp {
  color: #666;
}

/*--------------------------------
 Works
---------------------------------*/
.works {
  background: #fff;
}

.works-list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: -40px;
}

.works-item {
  width: 31.74603%;
  margin-right: 1.58730%;
  margin-bottom: 40px;
color: #333;
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.works-item:hover {
  opacity: .9;
}

.works-item:nth-of-type(3n) {
  margin-right: 0;
}

.works-img img {
  border: 1px solid #e6e6e6;
}

.works-name {
  font-size: 12px;
  font-weight: bold;
  margin-top: 8px;
}

.works-info {
  font-size: 10px;
}

/*--------------------------------
 Skill
---------------------------------*/

.skill {
  text-align: center;
  background: #f4f7fb;
}

.skill-list {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px; /* 縦 横 */
}

.skill-item {
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  padding: 20px 22px;
  border-radius: 16px;
  margin-bottom: 0px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  text-align: left;
}

.skill-icon {
  width: 80px;
  height: 80px;
  background: #e6f2f8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.skill-icon img {
  width: 40px;
}

.skill-text h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}

.skill-text p {
  font-size: 14px;
  line-height: 1.7;
  color: #666;
}

/*--------------------------------
 Contact
---------------------------------*/
.contact {
  background: #ffffff;
}

.contact-item:not(:last-child) {
  margin-right: 10px;
}

.contact-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-list p {
  font-size: 1rem;
}

.contact-list p a {
  font-size: 1.17rem;
  font-weight: bold;
}

/*--------------------------------
 フッター
---------------------------------*/
.footer {
  padding: 30px;
  background-color: #333;
}

.copyright {
  font-size: 10px;
  text-align: center;
  color: #797979;
}

/*==========================================
 下層：Works_tomovuページ
 ==========================================*/

body.work_tomovu {
  color: #1c1c1c;
  font-family: "Zen Kaku Gothic New", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
}

#main {
  background-color: #fff;
}

/* ---------➀ファーストビュー&サイト概要------------- */

.work_top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 38px 23px 44px 23px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 46px;
  align-items: center;
}

.work_top_img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

.work_top_text {
  padding: 15px 0 15px 0;
}

.work_top_text h1 {
  font-size: clamp(24px, 3vw, 35px);
  line-height: 1.4;
  margin: 15px 0 16px 0;
  font-weight: 700;
  letter-spacing: 0.27px;
}

.work_top_text dl {
  display: flex;
  flex-direction: column;
  gap: 2px;

}

.work_top_text span.mark {
  font-size: clamp(11px, 0.9vw, 14px);
  padding: 3px 8px;
  border: 1px solid #333;
  color: #333;
  background: transparent;
  border-radius: 3px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.work_top_text dl {
  gap: 5px;
}

dt {
  font-size: 14px;
  font-weight: 600;
  padding-top: 0;
  letter-spacing: 0.03em;
  color: #272727;
}

dd {
  font-size: 15px;
  line-height: 1.8;
  padding-bottom: 6px;
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .work_top {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 20px;
  }
}

body.work_tomovu .wrapper {
  background-color: #F7F5EF
}

/* ---------➁目次------------- */
.table_of_contents {
  width: 100%;
  margin: 0;
  padding: 24px 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.toc_list {
  display: flex;
   overflow-x: auto;   
  justify-content: flex-start;
  white-space: nowrap;
}

.toc_list li {
  flex: 0 0 auto;
  padding: 0 24px;
}

.toc_list a {
  color: #777;
  font-weight: 400;
  transition: color .3s ease;
}

.toc_list a:hover {
  color: #333;
}

.toc_list li {
  padding: 0 40px;
}

.toc_list li:not(:last-child) {
  border-right: 1px solid rgba(39, 39, 39, 0.15);
}

#toc {
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
  position: sticky;
  top: 0;
  background: white;
  z-index: 100;
  margin-top: 30px;
  margin-bottom: 48px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

#toc ul {
  display: flex;
  justify-content: center;
}

.toc_list a.active {
  color: #111;
  font-weight: 600;
}

.work_problem_definition,
.work_information_architecture,
.work_process,
.work_design_intent,
.work_implementation {
  padding: 56px 50px;
  scroll-margin-top: 90px;
  margin: 0 auto 56px;
  border-radius: 12px;
  background-color: #fff;
  max-width: 1020px;
}

.work_tomovu div.inner h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.3px;
  line-height: 1.3;
  margin-bottom: 4px;
}

.work_tomovu div.inner h2::after {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: #bbb;
  margin-top: 10px;
}

.section_lead {
  font-size: 13.5px;
  color: #666;
  letter-spacing: 0.05em;
  line-height: 1.8;
  margin: 7px 0 32px;
}

section.work_information_architecture div.block,
section.work_process ol.process_list li {
  padding: 10px 0 17px 0;
}

.work_tomovu .inner h3 {
  font-size: 16px;
  margin-bottom: 20px;
  padding-left: 12px;
  position: relative;
  line-height: 1.4;
}

.work_tomovu .inner h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background-color: #333;
  display: block !important;
}

/* ---------➃情報設計------------- */
.sub_target {
  padding-top: 8px;
}

.funnel_intro {
  margin: 10px;
}

.funnel_list {
  margin: 10px;
}

.funnel_outro {
  margin: 10px;
}

.analysis_table {
  width: 100%;
  border-collapse: collapse;
  margin: 9px 0 20px;
  table-layout: fixed;
}

.analysis_table th {
  padding: 12px 10px 11px;
  border-bottom: 1px solid #eee;
  text-align: left;
  vertical-align: middle;
  background-color: #f9f9f9;
  font-weight: bold;
  border-top: 1px solid #333;
  color: #333;
  font-size: 13px;
}

.analysis_table td {
  padding: 12px 10px 11px;
  border-bottom: 1px solid #eee;
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
  font-size: 13px;
}

.analysis_table th:nth-child(1),
.analysis_table td:nth-child(1) {
  width: 110px;
  font-weight: 600;
}

.analysis_table th:nth-child(2),
.analysis_table td:nth-child(2) {
  width: 42.5%;
}

.analysis_table th:nth-child(3),
.analysis_table td:nth-child(3) {
  width: 42.5%;
}

.analysis_table+p {
  font-size: 13px;
  color: #666;
  margin-top: 10px;
  padding-left: 5px;
}

.analysis_table_p {
  font-size: 13px;
  color: #666;
  margin-top: 8px;
  padding-left: 4px;
  line-height: 1.6;
}

/* ---------➇TOPに戻るボタン------------- */
.button_top {
  background-color: #353535;
  color: white;
  font-size: 16px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: fixed;
  right: 40px;
  bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}

.button_top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.button_top::before {
  content: "";
  display: block;

  width: 10px;
  height: 10px;

  border-top: 2px solid white;
  border-right: 2px solid white;
  transform: rotate(-45deg);
}


/*media
--------------------------------------------------*/
@media screen and (max-width: 767px) {
  body {
    font-size: 13px;
    line-height: 1.7;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }

  .title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .inner {
    padding: 0 20px;
  }

  .header-inner {
    padding: 20px;
  }

  .header-logo {
    font-size: 16px;
  }

  .header-nav-item:not(:last-child) {
    margin-right: 10px;
  }

  .header-nav-item a {
    font-size: 11px;
  }

  /* スプリットスクリーン */
  .split {
    flex-direction: column-reverse;
  }

  .split-body {
    width: 100%;
    padding-right: 3%;
    padding-left: 8%;
  }

  .split-img {
    width: 100%;
    margin-bottom: 5px;
    background-image: url(../img/icon_pixcel.png);
  }

  .split-title {
    font-size: 32px;
  }

  .works-name {
    font-size: 10px;
  }

  .works-list {
    justify-content: space-between;
  }

  .works-item {
    flex: 0 0 48%;
    margin-right: 0;
    margin-bottom: 30px;
  }

  .skill-list {
    display: block;
    margin-bottom: 0;
  }

  .skill-item {
    width: 100%;
    margin-bottom: 35px;
  }

  .skill-item:last-child {
    margin-bottom: 0;
  }

  .footer {
    padding: 20px;
  }
}

@media screen and (max-width: 767px) {
  .skill-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/*media下層ページ
--------------------------------------------------*/

@media (max-width: 768px) {
  #toc {
    margin-top: 16px;
    margin-bottom: 32px;
    padding: 16px 10px;
  }
}

@media (max-width: 768px) {
  .table_of_contents {
    max-width: 100%;
    padding: 24px 20px;
    margin: 48px 16px;
  }
}

@media screen and (max-width: 768px) {
  .analysis_table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
