@charset "utf-8";

  .container {
    display: flex;
    flex-direction: column;
  }

  .slider {
    width: 100%;
    height: 100%;
    position: relative;
  }

  .swiper {
    width: 100%;
    height: 100%;
  }

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

  /* スライダー切り替え */
  .pc-slider {
    display: none;
  }

  .sp-slider {
    display: block;
    position: relative;
  }

  .front-text {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    text-align: center;
    z-index: 3;
    letter-spacing: 0.1em;
  }
  .main-title, .sub-title {
    transform: translateY(50px);
    animation: fadeInText 1s ease-in-out forwards;
  }

  .main-title {
    /* font-size: 3rem; */
    font-size: clamp(3.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 0.8;
    white-space: nowrap;
  }
  .main-title__subtext {
    font-size: 1.1rem;
  }
  .sub-title {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
    margin-top:30px;
  }

  @keyframes fadeInText {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
  }

  /* SP表示用（下に出すニュース・コンテンツ） */

  .news-bg {
    color: #fff;
    background: #222;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    font-size: 1.2rem;
    padding: 15px;
  }

  .news-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
    font-size: 1.3rem;
    font-weight: 600;
    padding: 4px 20px 6px;
    margin-bottom: 10px;
    height: 1.8em;  /* 文字の高さ＋若干余裕 */
  }
  .news-article {
    margin-left: 20px;
    font-size: 1.2rem;
    transform: translateY(50px);
    animation: fadeInText 1s ease-in-out forwards;
    animation-delay: 0.4s;
    }

  .news-article a {
    color: #fff;
    text-decoration: none;
  }

  .content {
    padding: 80px 30px;
    line-height: 2;
    letter-spacing: 0.1em;
  }

  @keyframes fadeInText {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
  }

  /* PC用ニュース・コンテンツオーバーレイはSPでは非表示 */
  .overlay {
    display: none;
  }

  .right-section {
    display: none;
  }
  
  .menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background: #fff;
  }
  /* a {
    display: block;
    width: 100%;
  } */

  button {
    border:0;
  }

  .salon-button {
    position: relative;
    width: 50%;
    height: 100px;
    background-color: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    border-bottom: 1px solid #fff;
  }
  .salon-button:nth-child(odd) {
      border-right: 1px solid #fff;
  }
    /* 最終行の2つには下線を消す */
  .salon-button:nth-last-child(-n+2) {
      border-bottom: none;
  }
  .bg-fit {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: opacity 0.5s ease-in-out;
  }
  .logo01 {
    position: absolute;
    width: 45%;
    height: 60%;
    background-image: url('../img/logo_luck.png');
  }
  .logo02 {
    position: absolute;
    width: 70%;
    height: 60%;
    background-image: url('../img/logo_2nd.png');
  }
  .logo03 {
    position: absolute;
    width: 60%;
    height: 60%;
    background-image: url('../img/logo_rouis.png');
  }
  .logo04 {
    position: absolute;
    width: 60%;
    height: 55%;
    background-image: url('../img/logo_funabashi.png');
  }
  .logo05 {
    position: absolute;
    width: 50%;
    height: 60%;
    background-image: url('../img/logo_attract.png');
  }
  .logo06 {
    position: absolute;
    width: 65%;
    height: 60%;
    background-image: url('../img/logo_tokyo.png');
  }
  .logo07 {
    position: absolute;
    width: 40%;
    height: 60%;
    background-image: url('../img/logo_loute.png');
  }

  .recruit-button {
    position: relative;
    width: 80%;
    max-width: 400px; /* 広がり防止 */
    height: auto;
    aspect-ratio: 3 / 2; /* 高さをvwではなくアスペクト比で管理 */
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    transition: background 0.5s ease-in-out;
    margin: 0 auto;
    border: 1px solid #bbbbbb;
    padding: 10px;
  }
  .recruit-button img {
    max-width: 100%;
  }
  .recruit-button__text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 2rem;
    line-height: 1;
  }
  .recruit-button__subtext {
    display: block;
    font-size: 1.2rem;
    text-align: center;
    line-height: 3;
    font-weight: 400;
  }

  /* ==== PC用レイアウト ==== */
  @media screen and (min-width: 768px) {

    body {
      font-size: 1.1rem;
    }

    /* スライダー表示切替 */
    .pc-slider {
      display: block;
      filter: brightness(0.8);
    }
    .slider {
      width: 100%;
      height: 100%;
    }

    .sp-slider {
      display: none;
    }

    /* SP用ブロックを隠す */
    .news-bg, .menu, .content {
      display: none;
    }

    .container {
      flex-direction: row;
      height: 100vh;
    }

    .left-section {
      width: 75%;
      height: 100%;
      position: relative;
    }

    .overlay {
      position: absolute;
      top: 0;
      left: 0;
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      width: 100%;
      height: 100%;
      /* padding: 40px; */
      z-index: 10;
    }

    .left-content, .right-news {
      color: #fff;
      padding: 20px;
      overflow-y: auto;
      opacity: 0;
      transform: translateY(50px);
      animation: fadeUp 1s ease-out forwards;
    }
    .left-content {
      width: 70%;
      animation-delay: 0.2s;
    }
    .right-news {
      width: 30%;
      padding-bottom: 40px;
      animation-delay: 0.4s;
    }

    @keyframes fadeUp {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .main-title {
      font-size: 3rem;
      font-weight: 800;
      line-height: 1;
    }
    .main-title__subtext {
      font-size: 0.9rem;
      margin-left: 10px;
    }
    .sub-title {
      font-size: 1.8rem;
      font-weight: 600;
      line-height: 3;
    }

    .news-title {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid #fff;
      font-size: 1.3rem;
      font-weight: 600;
      padding: 4px 20px;
      margin-bottom: 10px;
      height: 1.8em;  /* 文字の高さ＋若干余裕 */
    }

    .news a.link {
      position: relative;
      display: inline-block;
      text-decoration: none;
      color: #fff;
    }
    
    .news a.link::after {
      content: "";
      position: absolute;
      left: 50%;
      bottom: 0;
      transform: translateX(-50%);
      width: 0;
      height: 1px;
      background: currentColor;
      transition: width 0.3s ease;
    }
    
    .news a.link:hover::after {
      width: 100%;
    }

    .right-section {
      display: flex;
      width: 30%;
      background: #fff;
      flex-direction: column;
      justify-content:flex-start;
      align-items: center;
      gap: 0;
    }

    .salon-button {
      width: 100%;
      height: 100px;
      background-color: #fff;
      border-bottom: 0;
    }
    .salon-button:nth-child(odd) {
        border-right: 0;
    }

    .logo01 {
      width: 45%;
      height: 50%;
    }
    .logo02 {
      width: 70%;
      height: 60%;
    }
    .logo03 {
      width: 60%;
      height: 60%;
    }
    .logo04 {
      width: 60%;
      height: 55%;
    }
    .logo05 {
      width: 45%;
      height: 60%;
    }
    .logo06 {
      width: 65%;
      height: 60%;
    }
    .logo07 {
      width: 40%;
      height: 70%;
    }

    /* ロゴ表示部分 */
    /* .salon-button__logo {
      width: 120px;
      height: 120px;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
    } */

    /* テキスト表示部分 */
    .salon-button__text {
      position: absolute;
      inset: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 1rem;
      text-align: center;
      /* background: rgba(224, 224, 224, 0.9); */
      background: rgba(225, 225, 225, 0.9);
      opacity: 0;
      transition: opacity 0.5s ease;
      z-index: 2;
    }

    .salon-button__text-inner {
      font-weight: bold;
      line-height: 1.4;
      font-size: 1.3rem;
    }

    .salon-button__subtext {
      display: block;
      font-size: 0.8rem;
      margin-bottom: 0.5em;
      text-align: left;
      color: #555;
    }

    /* ホバー時の切り替え */
    .salon-button:hover .salon-button__text {
      opacity: 1;
    }
    .recruit-button {
      position: relative;
      border: 1px solid #bbb;
      overflow: hidden;
      cursor: pointer;
      background-color: #fff;
      margin: 0 auto;
      margin-top:40px;
      margin-bottom: 40px;
    }
    
    .recruit-button__logo,
    .recruit-button__text {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      transition: opacity 0.5s ease;
      padding: 1rem;
      text-align: center;
    }
    
    .recruit-button__logo {
      background-image: url('../img/recruit_button.png');
      background-size: contain;
      background-position: center;
      background-repeat: no-repeat;
      z-index: 1;
      opacity: 1;
    }
    
    .recruit-button__text {
      z-index: 2;
      opacity: 0;
      font-size: 2rem;
      font-weight: bold;
      color: #fff;
      line-height: 1.5;
    }
    
    .recruit-button__text img {
      max-width: 90%;
      margin-bottom: 8px;
    }
    
    .recruit-button__subtext {
      font-size: 1.1rem;
      font-weight: 400;
    }
    
    .recruit-button:hover .recruit-button__logo {
      opacity: 0;
    }
    
    .recruit-button:hover .recruit-button__text {
      opacity: 1;
      background: #222;
    }
    
  }