/*
 Theme Name:   TIS Web3
 Theme URI:    http://example.com/tis-web3
 Description:  現サイトデザインをそのままWP化したオリジナルテーマ
 Author:       Saida
 Author URI:   http://example.com
 Version:      1.0.0
*/

@charset "UTF-8";

/* Base Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #231815;
    background: #080606;
    line-height: 1.6;
    word-break: break-all;
}

body {
    background: #fff;
    color: #231815;
    margin: 0;
    counter-reset: number 0;
    padding-top: 70px; /* Header height */
}

img {
    border: 0;
    margin: 0;
    vertical-align: top;
    max-width: 100%;
}

p {
    margin: 0;
    padding: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
    text-align: justify;
    text-justify: inter-ideograph;
}

input,
select,
textarea,
button {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    outline: none;
    appearance: none;
}

ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    padding: 0;
}

a {
    color: #000;
    text-decoration: none;
}

/* Common Classes */
.section-container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.title-base {
    font-size: 30px;
    font-weight: 700;
    border-bottom: 3px solid #12b3c7;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 10px;
    text-align: center;
    margin-bottom: 40px;
}

.anchor {
    display: block;
    padding-top: 70px;
    margin-top: -70px;
}

.inner-lg {
    width: 1200px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}

.header-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.header-logo img {
    height: 40px;
    width: auto;
}

.gnav-list {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gnav-list-item a {
    color: #231815;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.gnav-list-item a:hover {
    color: #007cba;
}

.gnav-list-item.lang a {
    color: #757575;
}

.header-list {
    width: 142px;
    margin-top: 0px;
    margin-left: 0px;
}

.header-list img {
    height: 30px;
    width: auto;
}

.icon {
    padding-left: 40px;
    line-height: 30px;
    background: url("img/icon-en.png") no-repeat;
}

/* Main Visual */
.mv {
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #F5F5F5;
    position: relative;
}

.mv-img {
    height: 410px;
    position: relative;
}

.mv-img img {
    object-fit: cover;
    object-position: 100% 50%;
    height: 100%;
    width: 100%;
}

.mv__txt {
    position: absolute;
    top: 30%;
    width: 100%;
    z-index: 2;
}

.mv__txt__bottom {
    width: 136rem;
    max-width: 90%;
    margin: 2rem auto 0;
}

.mv__txt__bottom__inner {
    width: 55rem;
    max-width: 100%;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
}

.top-txt {
    color: #000;
    font-size: 4rem;
    font-weight: bold;
    margin: 0;
    padding: 0;
    background-color: white;
    text-align: center;
    line-height: 230%;
}

.mini {
    color: #454545;
    font-size: 2.4rem;
    font-weight: normal;
    line-height: normal;
    margin: 0;
    padding: 0;
}

.pink {
    color: deeppink;
}

.blue {
    color: dodgerblue;
}

.mv-cta {
    color: #000;
    font-size: 1.8rem;
    line-height: normal;
    font-weight: normal;
    margin: 0;
    padding: 0;
    display: flex;
    width: 240px;
    gap: 20px;
}

.mv_contact {
    width: 96%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

/* About Section */
.about {
    margin-top: 40px;
    text-align: center;
}

.about__img {
    width: 50%;
    min-width: 400px;
    text-align: center;
    margin: 0 auto;
}

.about__title {
    font-size: 5rem;
    font-weight: bold;
    margin-bottom: 6px;
    text-align: center;
}

.about__title-web3 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 6px;
}

.about__txt01 {
    max-width: 1200px;
    font-size: 1.6rem;
    margin-top: 16px;
    text-align: left;
    margin: 0 auto;
}

/* Web3 Section */
.web3 {
    margin-top: 90px;
    position: relative;
}

.web3-img02 {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.web3-img02 img {
    width: 18%;
    opacity: 0.5;
    min-width: 300px;
}

.web3__txt01 {
    margin-top: 30px;
}

.web3__section-title02 {
    font-size: 25px;
    font-weight: bold;
    margin-top: 50px;
}

.web3__section-logo {
    text-align: center;
}

.web3_logo-img {
    width: 160px;
    padding: 15px;
}

/* Works Section */
.works-bg {
    background-color: #F5F5F5;
    padding-top: 50px;
    margin-top: 150px;
    padding-bottom: 50px;
}

.works__title {
    margin-bottom: 60px;
}

.works__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.works__item {
    display: flex;
    margin-top: 50px;
}

.works__item:first-child {
    margin-top: 0;
}

.works__thumb {
    width: 32.6%;
    margin-right: 24px;
    margin-left: 30px;
    flex-shrink: 0;
}

.works__body {
    flex: 1;
}

.works__sub-title {
    font-size: 2rem;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 700;
}

.under {
    text-decoration: underline;
}

.works__txt {
    font-size: 1.4rem;
    line-height: 1.6;
}

.textCenter {
    text-align: center;
    font-size: 110%;
    margin-top: 25px;
}

/* DX Section */
.dx {
    margin-top: 50px;
    padding-top: 100px;
}

.dx__img {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 50px;
    height: 380px;
    position: relative;
}

.dx__img img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.dx__img-text {
    position: absolute;
    top: 115px;
    right: 0;
    width: 100%;
    font-size: 2.5rem;
}

.dx__img-text__inner {
    margin-left: auto;
    width: fit-content;
}

.dxContent {
    margin-top: 100px;
}

.dxContent__list {
    margin-top: 40px;
}

.dxContent__item {
    margin-top: 25px;
}

.dxContent__subTitle {
    padding-left: 28px;
    font-size: 2rem;
    margin-bottom: 5px;
    font-weight: 700;
    position: relative;
}

.dxContent__subTitle::before {
    position: absolute;
    counter-increment: number 1;
    content: counter(number);
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    background: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    padding: 5px 8px;
    line-height: 1;
}

.dxContent__description {
    font-size: 1.4rem;
    line-height: 1.6;
}

/* News Section */
.news {
    margin-top: 30px;
    margin-bottom: 100px;
    text-align: center;
}

.news__list {
    margin-top: 50px;
    text-align: left;
}

.news__ttl {
    font-size: 30px;
    font-weight: 700;
    border-bottom: 3px solid #12b3c7;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 10px;
}

.news__item {
    border-bottom: 0.5px solid #000;
    padding-bottom: 10px;
    font-size: 16px;
}

.news__item a {
    display: flex;
    align-items: center;
    margin-top: 10px;
    flex-wrap: wrap;
}

.news__item time {
    margin-right: 10px;
    width: 100px;
    margin-top: 10px;
}

.news__category {
    color: #fff;
    border-radius: 2px;
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 10px;
}

.news__category.blue {
    background-color: #12b3c7;
    padding-left: 22px;
    padding-right: 22px;
}

.news__category.green {
    background-color: #A9D06B;
}

.news__title {
    margin-top: 10px;
    margin-left: 15px;
    width: 750px;
    font-weight: bold;
    word-wrap: break-word;
}

.news__txt {
    margin-left: 219px;
    margin-top: 10px;
}

/* Contact Buttons */
.contact {
    width: 96%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-left: 15px;
}

.footer_btn {
    text-align: center;
    margin-top: 30px;
}

.footer_btn a {
    display: inline-block;
    margin: 10px;
}

/* Download Section */
.download {
    margin: 16px auto;
    text-align: center;
    display: block;
}

.download .text {
    text-align: left;
    display: inline-block;
    padding: 0 15px;
}

/* Footer */
.footer {
    margin-top: 200px;
    padding-top: 50px;
    padding-bottom: 30px;
    background-color: #3D4156;
}

.footer__list {
    display: flex;
    align-items: center;
    gap: 35px;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer__item {
    white-space: nowrap;
}

.footer__item a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.footer__item a:hover {
    text-decoration: underline;
}

.footer__logo {
    margin-top: 100px;
    text-align: left;
}

.footer__logo img {
    width: 90%;
    max-width: 160px;
}

.footer__copy {
    color: #fff;
    text-align: right;
    padding-right: 10%;
    margin-top: 30px;
    font-size: 14px;
}

/* Responsive Styles */
@media screen and (max-width: 1250px) {
    .mini {
        font-size: 2rem;
    }
}

@media screen and (max-width: 979px) {
    .header-container {
        padding: 0 15px;
    }
    
    .gnav-list {
        gap: 15px;
    }
    
    .gnav-list-item {
        font-size: 14px;
    }
    
    .header-list img {
        height: 25px;
    }

    .mv-img {
        height: 70vw;
        max-height: 350px;
    }

    .mv-img img {
        object-position: 80% 50%;
    }

    .top-txt {
        font-size: 3.4rem;
        margin: 2% 0 0 0;
    }

    .mini {
        font-size: 1.6rem;
    }

    .mv-cta {
        width: 240px;
    }

    .contact {
        margin-left: 20px;
        max-width: 230px;
    }

    .dx__img-text {
        right: 57px;
        font-size: 2.0rem;
    }

    .news__title {
        width: 480px;
    }

    #news.anchor {
        padding-top: 30px;
    }

    .news__ttl {
        padding-bottom: 0px;
    }
}

@media screen and (max-width: 767px) {
    .header {
        height: 60px;
    }
    
    body {
        padding-top: 60px;
    }
    
    .gnav-list {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .gnav-list-item {
        font-size: 12px;
    }
    
    .header-list {
        margin-top: 5px;
    }
    
    .header-list img {
        height: 20px;
    }

    .mv {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .mv-img img {
        object-position: 90% 50%;
    }

    .top-txt {
        font-size: 2.5rem;
        margin: 3% 0 0 0;
    }

    .mini {
        font-size: 1.6rem;
    }

    .about {
        margin-top: 0px;
    }

    .about__img {
        width: 80%;
        min-width: auto;
    }

    #web3-creation img {
        margin: 7rem auto 7rem !important;
    }

    .about__title {
        font-size: min(5vw, 2.4rem);
    }

    .about__title-web3 {
        font-size: min(5vw, 2.4rem);
    }

    .about__txt01 {
        font-size: 1.4rem;
    }

    .works-bg {
        margin-top: 50px;
        padding-bottom: 50px;
    }

    .works__item {
        flex-direction: column;
    }

    .works__thumb {
        margin-left: 0;
        margin-bottom: 20px;
        width: 100%;
    }

    .dx {
        margin-top: 0px;
    }

    .dxContent {
        margin-top: 50px;
    }

    .web3 {
        margin-top: 60px;
    }

    .web3-img02 img {
        min-width: 160px;
    }

    .news {
        margin-top: 25px;
        margin-bottom: 50px;
    }

    .news__txt {
        margin-left: 0px;
    }

    .footer__list {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer__item {
        margin-top: 20px;
    }
}

@media screen and (max-width: 577px) {
    .mv-img img {
        object-position: 70% 50%;
    }

    .mv__txt {
        top: 25%;
    }

    .mv__txt__bottom {
        margin: 5rem auto 0;
    }

    .top-txt {
        font-size: 1.4rem;
        line-height: 220%;
    }

    .mini {
        font-size: 1.4rem;
        line-height: 115%;
    }

    .mv-cta {
        width: 190px;
    }

    .mv_contact {
        margin: 10px;
        width: 80%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .mv-cta {
        display: flex;
        width: 100%;
        margin: 30px auto 0;
    }
}

@media screen and (max-width: 470px) {
    .dx {
        margin-top: 25px;
        padding-top: 50px;
    }

    .dx__img {
        margin-top: 25px;
        height: 280px;
    }

    .dx__img-text {
        font-size: 1.6rem;
        right: 15px;
    }
}

@media screen and (max-width: 680px) {
    .web3__section-logo {
        text-align: center;
    }
    
    .web3_logo-img {
        padding: 20px;
    }
}

/* Works セクション用の追加スタイル */
.works__case-type {
    color: #0066cc;
    font-size: 0.9em;
    margin-bottom: 0.5em;
    font-weight: bold;
}

.works__partner {
    color: #333;
    font-weight: bold;
    margin-bottom: 0.5em;
    font-size: 1.1em;
}

.works__tags {
    margin-bottom: 1em;
}

.works__tag {
    display: inline-block;
    background-color: #e8f4f8;
    color: #0066cc;
    padding: 0.2em 0.6em;
    border-radius: 12px;
    font-size: 0.8em;
    margin-right: 0.5em;
    margin-bottom: 0.3em;
    border: 1px solid #b3d9ff;
}

.works__content {
    margin-bottom: 1em;
}

.works__txt {
    margin-bottom: 0.8em;
    line-height: 1.6;
}

.works__note {
    font-size: 0.9em;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0.5em;
}

.works__link {
    text-align: right;
}

.works__link a {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
}

.works__link a:hover {
    text-decoration: underline;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .works__tag {
        font-size: 0.7em;
        padding: 0.1em 0.4em;
    }
    
    .works__partner {
        font-size: 1em;
    }
}

/* Works セクション用の追加スタイル - リスト形式 */
.works__case-list {
  list-style: none;
  padding: 0;
  margin: 2em 0;
}

.works__case-item {
  position: relative;
  margin-bottom: 2.5em;
  padding-left: 1.5em;
  border-left: 2px solid #e0e0e0;
}

.works__case-item:before {
  content: "●";
  position: absolute;
  left: -0.6em;
  top: 0.2em;
  background: #fff;
  color: #0066cc;
  font-size: 1.2em;
  font-weight: bold;
}

.works__case-marker {
  margin-bottom: 0.8em;
}

.works__case-type {
  display: inline-block;
  background-color: #0066cc;
  color: white;
  padding: 0.4em 1em;
  font-size: 0.9em;
  font-weight: bold;
  border-radius: 4px;
  margin-bottom: 0.5em;
}

.works__case-content {
  padding-left: 0.5em;
}

.works__partner {
  color: #333;
  font-weight: bold;
  margin-bottom: 0.8em;
  font-size: 1.2em;
  line-height: 1.4;
}

.works__tags {
  margin-bottom: 1em;
}

.works__tag {
  display: inline-block;
  background-color: #333;
  color: white;
  padding: 0.3em 0.8em;
  font-size: 0.85em;
  font-weight: bold;
  border-radius: 3px;
  margin-right: 0.6em;
  margin-bottom: 0.4em;
}

.works__sub-title {
  color: #333;
  font-weight: bold;
  margin-bottom: 1em;
  font-size: 1.1em;
  line-height: 1.5;
}

.works__description {
  margin-bottom: 1.2em;
}

.works__txt {
  margin-bottom: 0.8em;
  line-height: 1.6;
  color: #555;
}

.works__note {
  font-size: 0.9em;
  color: #666;
  line-height: 1.5;
  margin-bottom: 0.5em;
}

.works__link {
  text-align: left;
  margin-top: 1em;
}

.works__link a {
  color: #0066cc;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
}

.works__link a:hover {
  text-decoration: underline;
}

/* 特定の事例タイプの色分け */
.works__case-type.new-business {
  background-color: #0066cc;
}

.works__case-type.experiment {
  background-color: #ff6b35;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .works__case-item {
    padding-left: 1.2em;
  }
  
  .works__case-item:before {
    left: -0.5em;
    font-size: 1em;
  }
  
  .works__tag {
    font-size: 0.75em;
    padding: 0.2em 0.6em;
    margin-right: 0.4em;
  }
  
  .works__partner {
    font-size: 1.1em;
  }
  
  .works__sub-title {
    font-size: 1em;
  }
  
  .works__case-content {
    padding-left: 0.2em;
  }
}

/* ダークモード対応（必要に応じて） */
@media (prefers-color-scheme: dark) {
  .works__case-item {
    border-left-color: #555;
  }
  
  .works__case-item:before {
    background: #222;
    color: #66a3ff;
  }
  
  .works__partner {
    color: #e0e0e0;
  }
  
  .works__sub-title {
    color: #e0e0e0;
  }
  
  .works__txt {
    color: #ccc;
  }
  
  .works__note {
    color: #aaa;
  }
}




