/*
Teame Name: tabiam
*/

* {
    margin: 0;
    padding: 0;    box-sizing: border-box;
}
:root {
    --primary-color: #0052CC;
    --secondary-color: #FF5630;
    --text-dark: #172B4D;
    --text-light: #6B778C;
    --bg-light: #F4F5F7;
    --white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #0052CC 0%, #5E7CE2 100%);
    --gradient-accent: linear-gradient(135deg, #FF5630 0%, #FF8F73 100%);
}
 body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans JP', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    min-height: 70px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    align-content: center;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 3.0rem;
    font-weight: 700;
    background: #1859FF;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    margin-left: 10%;
}
.logo span{
    font-size: 1.5rem;
}
.logo img{
    width: 250px;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.no-underline) {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:not(.no-underline)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:not(.no-underline):hover::after {
    width: 100%;
}

.nav-links a:not(.no-underline):hover {
    color: var(--primary-color);
}

.language-selector {
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    background: transparent;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.2rem;
}
.language-selector img{
    width: 19px;
    height: 19px;
}
.language-selector:hover {
    background: var(--primary-color);
    color: #FFFFFF;
    transform: translateY(-2px);
}
.language-selector:hover img{
    filter: brightness(0) saturate(100%) invert(98%) sepia(3%) saturate(922%) hue-rotate(223deg) brightness(119%) contrast(100%);
}

/* Hero Section */
.hero {
  width: 100%;
  max-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-top: 35px;
}

.hero .slider{
  width: 100%;
  position: relative;
}
.hero .slider li img{
  max-width: 100%;
}
@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(5deg); }
}

.hero-content {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  z-index: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 1.5rem;
    background: #FFFFFF;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease-out;
}

.hero .tagline {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: 195px;
}

.btn-primary span, .btn-secondary span{
    margin: auto;
}
.btn-primary {
    background: #1859FF;
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid #1859FF;
}

.btn-secondary:hover {
    background: #1859FF;
    color: var(--white);
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Section */
.services {
    padding: 5rem 5%;
    background: #FFFFFF;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #111111;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    width: 350px;
    padding: 2.5rem;
    box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.10);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.10);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #EFF4FF;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--white);
}
.service-icon img{
    width: 75%;
    margin: auto;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1859FF;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 1rem;
}

/* Mission Section */
.mission {
    padding: 5rem 5%;
    background-image: linear-gradient(0deg, #85ccff, #1855f2);    color: var(--white);
    position: relative;
    overflow: hidden;
}

.mission::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: linear-gradient(17deg, #85ccff, #1855f2 57%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.mission-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.mission h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
}

.mission p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* Company Info */
.company-info {
    padding: 5rem 5%;
    background: var(--bg-light);
}

.company-info .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 3rem auto 0;
}

.info-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.10);
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-item p {
    color: var(--text-dark);
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 5rem 5%;
    background: var(--white);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.6;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    text-align: center;
    width: 280px;
    gap: 0.5rem;
    padding: 1.2rem 2.5rem;
    background: #0C338A;
    color: var(--white);
    text-decoration: none;
    border-radius: 35px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 2rem;
    transition: all 0.3s ease;
}
.contact-btn span{
    margin: auto;
}
.contact-btn:hover {
    transform: translateY(-3px);
}

/*contact form*/
.contact_top{
  margin-top: 35px;
  padding: 7rem 5%;
  background-image: linear-gradient(0deg, #85ccff, #1855f2);    color: var(--white);
}
.input_area{
  width: 90%;
  max-width: 900px;
  margin: 50px auto;
}
.input_area p{
  width: 100%;
  margin: 20px auto;
}
.input_area p label{
  display: flex;
  justify-content: center;
}
.input_area p label .text{
  width: 200px;
  display: block;
}
.input_area p label .wpcf7-form-control-wrap input{
  width: 100%;
  min-width: 500px;
  height: 35px;
  padding: 5px;
  border-radius: 5px;
  border: solid 1px #111111;
  display: block;
}
.input_area p label .wpcf7-form-control-wrap textarea{
  width: 100%;
  min-width: 500px;
  padding: 10px;
  border-radius: 5px;
}
.input_area p .confirm_button{
  display: block;
  width: 283px;
  height: 65px;
  font-size: 1.1rem;
  border-radius: 30px;
  background-color: #0C338A;
  color: #FFFFFF;
  margin: 40px auto;
}

.confirm_area{
  width: 90%;
  max-width: 600px;
  margin: 50px auto;
 }
 .confirm_area p{
  width: 100%;
  margin: 30px auto;
}
.confirm_area div{
  width: 100%;
  margin: 50px auto;
}
.confirm_area div p{
  display: flex;
  align-items: center;
  gap: 10px;
}
.confirm_area div p .wpcf7-submit{
  display: block;
  width: 280px;
  height: 65px;
  font-size: 1.1rem;
  border-radius: 30px;
  background-color: #0C338A;
  color: #FFFFFF;
}
.confirm_area div p .back_button{
  display: block;
  width: 283px;
  height: 65px;
  font-size: 1.1rem;
  border-radius: 30px;
  background-color: #0C338A;
  color: #FFFFFF;
}

.thanks_area{
  width: 90%;
  max-width: 600px;
  margin: 70px auto 25vh auto;
}
.thanks_area h2{
  margin-bottom: 10px;
}
/* Footer */
footer {
    background: #2956C9;
    color: #FFFFFF;
    padding: 3rem 5%;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #FFFFFF;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.copyright {
    font-size: 0.9rem;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/*page*/
.page{
    width: 70%;
    max-width: 1200px;
    margin: 80px auto 80px auto;
}
h4{
    font-size: 48px;
    padding-left: 0.8rem;
    border-left: 6px solid #1859FF;
}
.policy{
    margin-top: 45px;
}
.policy p{
    line-height: 1.7;
}

.pc{
    display: block;
}
.smp{
    display: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    /*ハンバーガーメニュー*/
    nav{
        justify-content: center;
    }
    .logo img{
        width: 200px;
    }
    .menu {
        position: fixed;
        top: 0;
        right: -100%; /* 初期状態では画面の外に隠れている */
        width: 100%;
        height: auto;
        background-color: #1859FF;
        color: #FFFFFF;
        transition: right 0.3s ease; /* スライドインのアニメーション */
        padding: 20px;
        box-sizing: border-box;
        z-index: 999;
    }
    /* メニューが開いているとき */
    .menu.open {
        right: 0;
    }
    /* ボタンのスタイル */
    .hamburger {
        position: fixed;
        top: 20px;
        right: 20px;
        width: 30px;
        cursor: pointer;
        z-index: 20;
    }
    .hamburger span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: #333;
        margin: 5px 0;
        transition: 0.4s;
    }
    /* バツ印に変化するスタイル */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        background-color: #FFFFFF;
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
        background-color: #FFFFFF;
    }
    /* メニューリストのスタイル */
    .menu ul {
        list-style-type: none;
        padding: 0;
        margin-bottom: 60px;
    }
    .menu li {
        padding: 15px 0;
    }
    .menu ul .hm_logo{
        display: flex;
        width: 40%;
        max-width: 200px;
        margin-top: -10px;
        margin-bottom:40px;
        justify-content: center;
    }
    .menu li a {
        color: #FFFFFF;
        text-decoration: none;
        text-align: center;
        font-size: 20px;
        font-weight: 600;
        display: block;
    }
    .language-selector {
        padding: 0.5rem 1rem;
        border: 2px solid #1859FF;
        border-radius: 25px;
        background: transparent;
        color: #1859FF;
        cursor: pointer;
        background-color: #FFFFFF;
        transition: all 0.3s ease;
        font-weight: 600;
        font-size: 1.2rem;
    }
    .language-selector:hover {
        background: var(--primary-color);
        color: #FFFFFF;
        transform: translateY(-2px);
    }
    .nav-links {
        display: none;
    }

    /*hero*/
    .hero{
        margin-top: 10px;
    }
    .hero h1 {
        font-size: 2.5rem;
    }

    /*service slick*/
    .slick-track {
        display: flex;
    }
    .service-card{
        height: 400px!important;
        margin: 10px;
    }

    .slick_parts{
        width: 300px;
        display: flex;
        align-items: center;
        justify-items: center;
        margin: 20px auto;
    }
    .prev-arrow,
    .next-arrow {
        display: block;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        transition: all .3s ease;
        cursor: pointer;
        position:relative;
    }
    .prev-arrow {
        transform: rotate(180deg);
        margin-right: 20px;
    }

    .prev-arrow::before,
    .next-arrow::before{
        position:absolute;
        content: "";
        width:15px;
        height:15px;
        border-right: 2px solid #1859FF;
        border-top: 2px solid #1859FF;
        top:0;
        bottom:0;
        left:0;
        right:0;
        margin:auto;
        transform:rotate(45deg);
    }

    .dots-box{
        width: 200px;
        margin-bottom: 25px;
    }
    .dots-class button {
        display: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        outline: none;
        padding: 0;
        border: none;
        background-color: transparent;
    }
    .dots-class {
        display: flex;
        justify-content: center;
        margin-top: 30px;
    }
    .dots-class li {
        width: 20px;
        height: 20px;
        background-color: #fff;
        border: 1px solid #1859FF;
        border-radius: 50%;
        margin-right: 10px;
        cursor: pointer;
        transition: background-color .5s ease;
        list-style: none;
    }
    .dots-class li.slick-active {
        background-color: #1859FF;
    }
    .dots-class li:hover {
        background-color: #1859FF;
    }
    .dots-class li:last-child {
        margin-right: 0;
    }

    /*company*/
    .info-grid {
        grid-template-columns: 1fr;
    }
    .company-info .info-grid{
        display: none;
    }

    /*content*/
    .contact_top{
        margin-top: 25px;
    }
    .input_area p label .text{
        width: 100px;
        display: block;
    }
    .input_area p label .wpcf7-form-control-wrap input{
        width: 100%;
        min-width: 200px;
        height: 35px;
        padding: 5px;
        border-radius: 5px;
        border: solid 1px #111111;
        display: block;
    }
    .input_area p label .wpcf7-form-control-wrap textarea{
        width: 100%;
        min-width: 200px;
        padding: 10px;
        border-radius: 5px;
    }
    .wpcf7-spinner{
        margin: 0;
    }

    /*page*/
    .page{
        width: 90%;
        margin: 50px auto 50px auto;
    }
    h4{
        font-size: 24px;
        text-align: center;
        border-left: none;
        position: relative;
        margin-bottom: 50px;
    }
    h4:before {
        content: '';
        position: absolute;
        left: 50%;
        bottom: -25px;/*線の上下位置*/
        display: inline-block;
        width: 62px;/*線の長さ*/
        height: 6px;/*線の太さ*/
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);/*位置調整*/
        background-color: #1859FF;/*線の色*/
}
    .policy{
        margin-top: 20px;
    }

    .pc{
        display: none;
    }
    .smp{
        display: block;
    }
}
