@charset "UTF-8";

html {
    scroll-behavior: smooth;
  }
.logo-atelier {
  max-width: 400px;
}
  /************************************ ローディングアニメーション　 ************************************/
/* ===== ローディングアニメーション ===== */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s;
  }
  
  #loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
  }
  
  .loader {
    border: 8px solid #ccc;
    border-top: 8px solid #E9BC00;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
  }
  .panel-link {
    display: block;
    text-decoration: none;
    color: inherit;
  }
  
  @keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  /************************************ ローディングアニメーション　fin　 ************************************/
/************************************ オープニングデザイン　 ************************************/
/* シャッターの親（全体カバー） */
.shutter {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    pointer-events: none;
    overflow: hidden;
  }
  
  /* 上下シャッター */
  .shutter-top,
  .shutter-bottom {
    position: absolute;
    width: 100%;
    height: 50%;
    background-color: #000; /* ← 好きな色に変更可能 */
    transition: transform 1s ease-in-out;
  }
  
  /* 初期位置：ぴったり中央で閉じている */
  .shutter-top {
    top: 0;
    transform: translateY(0);
  }
  .shutter-bottom {
    bottom: 0;
    transform: translateY(0);
  }
  
  /* 開いたとき：上へ・下へスライド */
  .shutter.open .shutter-top {
    transform: translateY(-100%);
  }
  .shutter.open .shutter-bottom {
    transform: translateY(100%);
  }
/************************************ オープニングデザイン　fin ************************************/

/************************************ TOPページデザイン ************************************/
/* ベース設定 */
body {
    margin: 0;
    background-color: #595455;
    font-family: sans-serif;
    color: #FFF;
    overflow-x: hidden;
  }
  
  /* セクションは全画面 */
  .panel {
    height: 100vh;
    position: relative;
  }
  
  /* 固定タイトル表示 */
  .center-title {
    position: fixed;
    top: 50%;
    left: 10vw;
    transform: translateY(-50%);
    z-index: 100;
    pointer-events: none;
    perspective: 1000px;
  }
  
  .center-title h1 {
    font-size: 4vw;
    font-weight: bold;
    opacity: 1;
    transform: rotateX(0deg);
    transition: all 0.8s ease;
    transform-style: preserve-3d;
  }
  .center-title p {
    font-size: 1.2vw;
    margin-top: 1vh;
    color: #ccc;
    opacity: 1;
    transform: rotateX(0deg);
    transition: all 0.8s ease;
    transform-style: preserve-3d;
  }
  

  /* 背景イラスト */
  .art-bg {
    position: fixed;
    right: 0;
    top: 0;
    width: 50vw;
    height: 100vh;
    background-image: url('your-art-image.png'); /* ここに画像パスを入れてください */
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right center;
    opacity: 0.2;
    pointer-events: none;
    z-index: 1;
  }
  
  /* フッター */
  .footer {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #ccc;
    z-index: 10;
  }
/************************************ TOPページデザイン  fin ************************************/

/************************************ スクロールインジケーター   ************************************/
/* スクロールインジケーターの位置指定 */
  /* 本体レイアウト */
.scroll-indicator {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
  }
  
  /* 縦棒 */
  .scroll-indicator .line {
    width: 6px;
    height: 80px;
    background-color: #E9BC00; /* お好きな色に */
    position: relative;
  }
  
  /* 丸 */
  .scroll-indicator .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #E9BC00;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    animation: dropFade 2s infinite ease-in-out;
  }
  @keyframes dropFade {
    0%   { top: 0; opacity: 1; }
    80%  { top: 68px; opacity: 1; }   /* ← 80px（棒の長さ）− 12px（丸の高さ） */
    90%  { top: 68px; opacity: 0; }
    100% { top: 0; opacity: 0; }
    10%  { top: 0; opacity: 1; }
  }
  
/************************************ スクロールインジケーター  fin ************************************/

/************************************ ハンバーガーメニュー   ************************************/
/* ハンバーガー（スマホで表示） */
.hamburger {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1002;
    cursor: pointer;
  }
  
  .hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px;
    background: #D3D3D3;
  }

  /* モバイルメニュー */
  .mobile-menu {
    position: fixed;
    top: 0;
    right: -100%; /* ← 初期は画面外 */
    width: 100%;
    height: 100vh;
    background: #595455;
    color: #D3D3D3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s ease-in-out;
    z-index: 1001;
  }
  
  /* スライド表示 */
  .mobile-menu.active {
    right: 0;
  }
  
  /* メニュー内のヘッダー（ロゴ + ✕） */
  .mobile-menu-header {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    font-size: 18px;
    font-weight: bold;
  }
  
  .close-btn {
    font-size: 30px;
    cursor: pointer;
  }
  
  /* メニューリスト */
  .mobile-menu-list {
    list-style: none;
    padding: 0;
    text-align: center;
  }
  
  .mobile-menu-list li {
    margin: 20px 0;
    font-size: 22px;
    position: relative;
  }
  
  .mobile-menu-list li a {
    color: #D3D3D3;                /* 文字色を白に */
    text-decoration: none;       /* デフォルトの下線を消す */
    font-weight: bold;           /* 太字に */
    font-size: 2rem;             /* 少し大きめに */
  }
  
  .mobile-menu-list li::after {
    content: "";
    display: block;
    width: 80%;
    height: 4px;
    background-color: #E9BC00;
    margin: 12px auto 0;
    border-radius: 2px;
  }
  .hamburger {
    display: none; /* ← まず非表示に */
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1002;
    cursor: pointer;
  }

  .mobile-menu-list li a:visited,
.mobile-menu-list li a:active,
.mobile-menu-list li a:hover {
  color: #D3D3D3;  /* 常に白（もしくはライトグレー） */
}

#mobileMenu {
    display: none;
  }
  /************************************ ハンバーガーメニュー  fin ************************************/

    /********************************************** about us   *******************************************/

    .about-body {
        margin: 0;
        font-family: sans-serif;
        background: #fff;
      }

      .about-text {
        color: #595455;
    }
      
      .about-header {
        text-align: center;
        padding: 60px 20px 30px;
        background: #fff;
      }
      
      .about-title {
        font-size: 3rem;
        color: #595455;
        border-bottom: 4px solid #202F55;
        display: inline-block;
      }
      
      .about-container {
        display: flex;
        min-height: 100vh;
      }
      
      .about-sidebar {
        width: 220px;
        background: #fff;
        color: #595455;
        padding: 80px 20px;
        position: sticky;
        top: 0;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        box-sizing: border-box;
      }
      
      .about-nav {
        list-style: none;
        padding: 0;
        width: 100%;
      }
      .about-nav a {
        text-decoration: none;
        color: #595455;
        display: block;
    }
      
      .about-nav li {
        margin: 40px 0; /* ← 上下ともに余白を確保する指定に変更 */
        font-size: 1.4rem;  /* ← 必要に応じてフォントサイズも少し大きく */
        font-size: 1.3rem;
        font-weight: bold;
        text-align: left;
        padding-left: 10px;
        line-height: 1.4;
      }

      .about-nav li a:hover {
        opacity: 0.8;
        color: #a9a9a9;
      }
      
      .about-main {
        flex: 1;
        padding: 40px 20px;
        background: #fff;
        max-width: 1000px;
        margin: 0 auto;
        box-sizing: border-box;
      }
      
      .about-section {
        margin-bottom: 80px;
      }
      
      .about-section h2, h3 {
        color: #202F55;
        margin-bottom: 16px;
      }
      
      .about-box {
        background: #595455;
        color: #fff;
        padding: 30px;
        border-radius: 12px;
        max-width: 100%;
        box-sizing: border-box;
        margin-right: 120px;
      }

      .about-box h3 {
        margin-top: 20px;
        color: #ffffff; /* すでに白ならOK、他色ならこれに修正 */
        font-weight: bold; /* 必要に応じて強調 */
        }
      
      .about-box ul {
        list-style: disc;
        padding-left: 20px;
        margin-bottom: 20px;
      }

      .about-button-wrapper {
        text-align: center; /* 横中央に配置するためのキー */
        margin-top: 30px;
      }      
      
      .about-button {
        display: inline-block;
        background: #E9BC00;
        color: #000;
        font-weight: bold;
        text-decoration: none;
        padding: 16px 40px;
        border-radius: 4px;
      }
      
      .about-table {
        width: 100%;
        border-collapse: collapse;
      }
      
      .about-table th, .about-table td {
        padding: 10px;
        border-bottom: 2px solid #202F55;
        text-align: left;
        color: #595455;
      }
      
      .about-team {
        display: flex;
        gap: 80px;
        justify-content: center;
        margin-top: 40px;
        flex-wrap: wrap;
      }
      
      .team-member {
        text-align: center;
        width: 140px;
      }
      
      .img-placeholder {
        width: 100%;
        aspect-ratio: 1/1;
        background: #ccc;
        margin: 0 auto 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
      }
      
      /* 画像下テキストの調整 */
    .team-member .name {
    font-weight: bold;
    margin-top: 5px;
    color: #595455;
    }


    .profile-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,0.6);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
        transition: opacity 0.3s ease;
      }
      
      .modal-content {
        background: #FFF;
        padding: 40px;
        border-radius: 8px;
        max-width: 500px;
        width: 90%;
        text-align: center;
        color: #595455;
      }
      
      .modal-close {
        position: absolute;
        top: 20px;
        right: 30px;
        font-size: 30px;
        cursor: pointer;
      }
      
      .hidden {
        display: none;
      }

    .img-placeholder {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
      }
      
      .team-member:hover .img-placeholder {
        transform: scale(1.05);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        cursor: pointer;
      }
      .modal-position {
        font-style: italic;
        margin-bottom: 10px;
      }
      
      .modal-skill {
        font-weight: bold;
        margin-top: 15px;
      }
      
      .modal-email {
        display: inline-block;
        margin-top: 10px;
        color: #202F55;
        text-decoration: underline;
      }

      .team-photo {
        width: 100%;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* ← ここが影をつけるポイント！ */
        transition: transform 0.3s ease, box-shadow 0.3s ease;
      }
      
      .team-photo:hover {
        transform: scale(1.05);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
        cursor: pointer;
      }


      
      /* フェードアップアニメーション */
      .fade-up {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
      }
      
      .fade-up.visible {
        opacity: 1;
        transform: translateY(0);
      }
  
/********************************************** about us  fin  *******************************************/

/********************************************** works    *******************************************/


.works-main {
    background-color: #ffffff;
    padding: 40px 20px;
    font-family: 'Helvetica Neue', sans-serif;
  }
  
  .works-header {
    text-align: center;
    margin-bottom: 40px;
  }
  
  .works-title {
    font-size: 3rem;
    font-weight: bold;
    color: #595455;
    border-bottom: 4px solid #202F55;
    display: inline-block;
    padding-bottom: 8px;
  }

  .works-title-section {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .works-count {
    font-size: 1.5rem;
    color: #595455;
    margin-top: 12px;
    line-height: 1.6;
    font-weight: 500;
  }

  .counter {
    font-size: 2.5rem;
    font-weight: bold;
    color: #202F55;
    display: block;
    margin-top: 5px;
  }

  .works-table {
    background-color: #202F55;
    color: #ffffff;
    max-width: 1000px;
    margin: 60px auto;     /* 上下マージン拡大 */
    padding: 40px 20px;     /* テーブル内部に余白を追加 */
    border-radius: 8px;     /* 角を少し丸めると高級感UP */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* 軽く影をつける */
  }
  
  .works-table-header,
  .works-table-row {
    display: grid;
    grid-template-columns:
  minmax(150px, 1.2fr)
  minmax(120px, 1fr)
  minmax(150px, 1.5fr)
  minmax(100px, 1fr)
  minmax(100px, 1fr)
  minmax(200px, 2fr);
    padding: 20px;
  }

  .works-table-header > div,
.works-table-row > div {
  word-break: break-word;
}
  
  .works-table-header {
    font-weight: bold;
    border-bottom: 1px solid #E9BC00;
  }
  
  .works-table-row {
    border-top: 6px solid #E9BC00;
    line-height: 1.6;
  }
  
  .works-table-row div {
    padding-top: 8px;
  }

  /* ------------------------------
  実績スライダー表示用スタイル
------------------------------ */
.works-slider {
    text-align: center;
    margin: 40px 0;
    position: relative;
    height: 200px; /* 高さを固定 */
  }
  
  .works-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
  }
  
  .works-slide.active {
    opacity: 1;
    pointer-events: auto;
  }
  
  .works-label {
    font-size: 1.5rem;
    color: #595455;
    margin-bottom: 8px;
  }
  
  .counter {
    font-size: 4.5rem;
    font-weight: bold;
    color: #202F55;
  }
  
  .works-unit {
    margin-top: 5px;
    color: #595455;
  }


/********************************************** works  fin  *******************************************/

/********************************************** contact    *******************************************/

/* ------------------------
    お問い合わせページ
------------------------ */
.contact-main {
    background-color: #fff;
    padding: 40px 20px;
    font-family: sans-serif;
  }
  
  .contact-title {
    font-size: 3rem;
    color: #595455;
    text-align: center;
    border-bottom: 4px solid #202F55;
    display: inline-block;
    padding-bottom: 8px;
    margin: 0 auto;       /* ブロック要素の中央寄せ */
  }

  .contact-intro {
    text-align: center; /* タイトルと本文を中央に */
  }
  
  .contact-text {
    text-align: center;
    color: #595455;
    margin-top: 16px;
    line-height: 1.8;
    font-size: 0.95rem;
  }
  
  .contact-form-section {
    background-color: #202F55;
    color: #fff;
    padding: 40px 20px;
    margin-top: 40px;
  }
  
  .contact-required {
    font-size: 0.85rem;
    margin-bottom: 16px;
  }
  
  .contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .contact-form label {
    font-weight: bold;
    margin-bottom: 8px;
    display: block;
  }
  
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    width: 100%;
    padding: 10px;
    border: none;
    border-bottom: 1px solid #ccc;
    background: transparent;
    color: white;
    font-size: 1rem;
  }
  
  .contact-form textarea {
    min-height: 100px;
    resize: vertical;
  }
  
  .contact-double {
    display: flex;
    gap: 20px;
  }
  
  .contact-double > div {
    flex: 1;
  }
  
  .contact-privacy {
    display: flex;
    align-items: flex-start;
    margin-left: 0;             /* 左揃えに */
    gap: 5cm;                   /* チェックボックスと文の距離を明確に */
    white-space: nowrap;        /* 折り返しを防止（必要に応じて） */
  }
  
  .contact-privacy a {
    color: #E9BC00;
    text-decoration: underline;
  }

/********************************************** contact  fin  *******************************************/



/************************************ レスポンシブデザイン ************************************/
  @media screen and (max-width: 768px) {
    /********************** トップデザイン ***********************/
    .center-title {
      top: 70%;
      left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
      width: 90vw;
    }
  
    .center-title h1 {
      font-size: 8vw;
    }
  
    .center-title p {
      font-size: 4vw;
    }

      /* クラク画像の配置調整 */
  .art-bg {
    left: 50%;
    top: 5%;
    transform: translateX(-60%);
    width: 80vw;
    height: auto;
    background-size: contain;
    background-position: center top;
    opacity: 0.2;
  }
    /********************** トップデザイン　fin ***********************/
    /********************** ハンバーガーメニュー ***********************/
    .hamburger {
        display: block; /* ← スマホだけ表示 */
      }
      /********************** ハンバーガーメニュー　fin ***********************/
          /********************** フッター ***********************/
          .footer {
            font-size: 10px; /* ← 少し小さくする（調整可） */
            line-height: 1.4; /* ← 読みやすさを保つなら追加もOK */
          }
      /********************** フッター　fin ***********************/

      #hamburger {
        display: block;
      }
    
      #mobileMenu.active {
        display: block;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: #595455;
        padding: 20px;
        z-index: 10;
      }
    
      .nav-menu {
        display: none;
      }

       /********************** about usページ　 ***********************/
      .about-body {
        font-size: 14px;
      }
    
      .about-header {
        padding: 20px;
        text-align: center;
      }
    
      .about-title {
        font-size: 2rem;
      }
    
      .about-container {
        flex-direction: column;
        padding: 0 16px;
      }
    
      .about-sidebar {
        display: none; /* スマホではサイドナビ非表示 */
      }
    
      .about-main {
        width: 100%;
      }
    
      .about-section {
        margin-bottom: 40px;
      }
    
      .about-box {
        padding: 20px;
        font-size: 14px;
        margin-right: 0;
      }
    
      .about-table {
        width: 100%;
        font-size: 14px;
      }
    
      .about-table th,
      .about-table td {
        display: block;
        width: 100%;
        text-align: left;
        padding: 8px 0;
        border-bottom: 1px solid #ccc;
      }
    
      .about-team {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
      }
    
      .team-member {
        width: 100%;
        max-width: 240px;
      }
    
      .img-placeholder {
        width: 100%;
        aspect-ratio: 1 / 1;
        background-color: #e0e0e0;
        display: flex;
        justify-content: center;
        align-items: center;
      }


        /* PC版のテーブルはスマホでは非表示 */
  .company-table {
    display: none;
  }

  /* スマホ版ボックススタイル */
  .company-box-sp {
    border: 1px solid #333;
    padding: 40px 20px;
    max-width: 360px;
    margin: 0 auto;
    background-color: #fff;
  }

  .company-row {
    margin-bottom: 24px;
    text-align: center;
  }

  .company-row h4 {
    font-weight: bold;
    font-size: 1rem;
    border-bottom: 3px solid #202F55;
    display: inline-block;
    padding-bottom: 4px;
    margin-bottom: 10px;
    color: #333;
  }

  .company-row p {
    font-size: 0.95rem;
    color: #595455;
    margin: 0;
  }
      /********************** about usページ　fin ***********************/

      /********************** worksページ　 ***********************/

      .works-table-scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
      }
    
      .works-table {
        min-width: 1000px; /* スクロール可能にするための横幅 */
      }



      /********************** worksページ　fin ***********************/


      /************************ contact    ******************************/

      .contact-title {
        font-size: 2rem;
      }
    
      .contact-text {
        font-size: 0.9rem;
      }
    
      .contact-double {
        flex-direction: column;
      }
    
      .about-button-wrapper {
        text-align: center;
      }
    
      .about-button {
        width: 100%;
        max-width: 190px;
      }

      .contact-privacy {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        white-space: normal; /* モバイルでは折り返しOKに */
      }
    


      /************************ contact  fin  ******************************/


  }

  @media screen and (min-width: 769px) {

  .company-box-sp {
    display: none;
}
}
/************************************ レスポンシブデザイン　fin  ************************************/