@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1:wght@100..900&display=swap');

.header {
    font-family: "Noto Sans JP";
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    width: 1100px;
    height: 100px; 
    margin-left: auto;
    margin-right: auto;
    position: fixed; /* Makes the header stick to the top */
    top: 0; /* Positions the header at the top of the page */
    left: 0; /* Ensures the header spans the full width */
    right: 0; /* Ensures the header spans the full width */
    z-index: 1000; /* Ensures the header stays on top of other elements */
    background-color: white; /* Ensures the header has a background to cover content underneath */
}
.header-logo img {
    height: 88px; 
    cursor: pointer;
}
.header-buttons {
    display: flex;
    gap: 20px; 
}
.header-button-1, .header-button-2{
    font-size: 16px;
    font-weight: 700;
    line-height: 27.2px;
    padding: 10px 50px;
    border-radius: 5px;
    transition: opacity 0.3s;
}
.header-button-1:hover, .header-button-2:hover{
    opacity: 0.5;
}
.header-button-1{
    background-color: rgba(232, 95, 92, 1);
    color: white;
}
.header-button-2{
    color: rgba(232, 95, 92, 1);
    border: 2px solid rgba(232, 95, 92, 1);
}
.footer-div{
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 13px;
    font-weight: 400;
    line-height: 13px;
    color: rgba(189, 189, 189, 1);
    margin: 150px 0 60px 0;
}
.content-container{
    margin-top: 120px;
    font-family: "Noto Sans JP";
    width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
.slider-header{
    margin-left: auto;
    margin-right: auto;
    width: 820px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.site-name{
    font-size: 18px;
    font-weight: 700;
    color: rgba(148, 157, 106, 1);
    border: 1px solid rgba(148, 157, 106, 1);
    width: fit-content;
    padding: 2px 5px;
    margin: 20px 0;
}
.company{
    display: flex;
    flex-direction: column;
}
.company-name{
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.company-sub{
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgba(189, 189, 189, 1);
}
.nav-and-intro{
    margin-left: auto;
    margin-right: auto;
    width: 820px;
}
.navigator{
    margin: 30px 0;
    font-weight: 700;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.navigator-item{
    display: flex;
    align-items: center;
    gap: 7px;
}
.navigator-item:hover{
    cursor: pointer;
    color: rgba(51, 51, 51, 0.6);
}
.intro{
    margin: 80px 0;
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}
.intro-text{
    width: 416px;
}
.intro-picture{
    width: 378px;
}
.intro-title{
    font-size: 40px;
    font-weight: 700;
    line-height: 150%;
    letter-spacing: 0.04em;
}
.intro-p{
    line-height: 40px;
    letter-spacing: 0.04em;
    margin-top: 20px;
}
.intro-items {
    display: flex;
    justify-content: space-between;
    align-items: stretch; 
    width: 1050px;
    margin: auto;
}
.intro-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
    position: relative;
}
.intro-item-title {
    background-color: rgba(189, 189, 189, 1);
    padding: 5px 25px;
    border-radius: 40px;
    color: white;
    font-weight: 700;
    width: auto; 
    white-space: nowrap; 
    margin-bottom: 10px; 
}
.intro-item-text {
    font-size: 28px;
    font-weight: 700;
    line-height: 54px;
    flex-grow: 1; 
    display: flex;
    align-items: center; 
}
.intro-item-divider{
    display: none;
}
.intro-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background-color: rgba(189, 189, 189, 1);
}
.section-title{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 100px 0 50px 0;
}
.title{
    font-family: 'M PLUS 1';
    color: #949D6A;
    font-size: 48px;
    font-weight: 700;
    line-height: 64px;
    letter-spacing: 0.08em;
}
.sub-title{
    color: #BDBDBD;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 0.16em;
}
.about-content{
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}
.about-text{
    flex: 1;
}
.about-picture{
    flex: 1;
}
.about-title-1, .about-title-2{
    display: block;
    font-size: 36px;
    font-weight: 700;
    line-height: 150%;
    letter-spacing: 0.04em;
}
.about-title-1, .about-p-1{
    padding-left: 60px;
}
.about-title-2, .about-p-2{
    padding-right: 60px;
}
.about-p-1, .about-p-2{
    font-size: 16px;
    font-weight: 400;
    line-height: 27.2px;
    letter-spacing: 0.04em;
    margin-top: 40px;
}
.merit-items{
    display: flex;
    gap: 30px;
}
.merit-item{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0px 0px 5px 5px #f7f7f7;
    padding: 30px 20px;
}
.merit-title{
    font-size: 32px;
    font-weight: 700;
    line-height: 32px;
}
.merit-img{
    margin: 40px 0;
    height: 100px;
}

.merit-img-fw-wrapper{
    margin: 40px 0;
    position: relative;
    width: 100%;
    padding-top: 100%; /* Enforces 1:1 aspect ratio */
    overflow: hidden;
}
.merit-img-fw{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;     /* Ensures cropping and centering */
    object-position: center; /* Centers image inside square */
}
.merit-p{
    font-size: 15px;
    font-weight: 400;
    line-height: 25.5px;
    letter-spacing: 0.04em;
}
/* desktop only */
@media only screen and (min-width: 769px) {
  .message-content {
    /* default to 50% if not provided in style="" */
    --message-img-width: var(--message-img-width, 50%);
    display: flex;
    margin: auto;
  }

  .message-img-wrapper {
    /* make the wrapper exactly the % you set in PHP */
    flex: 0 0 var(--message-img-width, 50%);
    max-width: var(--message-img-width, 50%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .message-p {
    /* text takes the remaining percentage */
    flex: 0 0 calc(100% - var(--message-img-width, 50%));
    font-size: 16px;
    font-weight: 400;
    line-height: 27.2px;
    letter-spacing: 0.04em;
    padding-right: 50px;
  }
}
.message-img {
    width: 100%;
    height: auto;
    display: block;
}
.message-img-social-media{
    width: 64px;
}
.voice{
    width: 840px;
    margin: auto;
}
.voice-content {
    display: flex;
    justify-content: space-between;
    gap: 60px; 
}
.voice-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 0px 5px 5px #f1f1f1
}
.voice-item-image {
    flex: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.voice-item-image img {
    max-width: 100%;
    object-fit: cover;
}
.voice-sub-title{
    color: #BDBDBD;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 0.16em;
}
.voice-item-text {
    flex: 1;
    width: 100%;
    display: flex;
    padding: 30px;
    box-sizing: border-box;
    text-align: left;
    flex-direction: column;
}
.voice-item-name-kana{
    font-size: 14px;
    font-weight: 400;
    line-height: 14px; 
    margin-top: 20px;
}
.voice-item-name{
    font-size: 32px;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: 0.04em;
    margin-bottom: 20px;
}
.voice-item-p{
    font-size: 16px;
    font-weight: 400;
    line-height: 27.2px;
    letter-spacing: 0.04em;
}
.voice-mini-title{
    margin: 50px 0 30px 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 34px;
}
.voice-mini-p{
    font-size: 16px;
    font-weight: 400;
    line-height: 27.2px;
    letter-spacing: 0.04em;
}
.our-salon-content{
    display: flex;
    gap: 60px;
    margin-bottom: 50px;
}
.our-salon-content:last-child{
    margin-bottom: 0px;
}
.map-details{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.map-details-title{
    font-size: 20px;
    font-weight: 700;
    line-height: 34px;
    letter-spacing: 0.04em;
    margin-bottom: 15px;
}
.map-details-text{
    font-size: 16px;
    font-weight: 400;
    line-height: 27.2px;
}
.entry-container {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    justify-content: space-between;
    align-items: center;
}
.inner-div {
    padding: 20px;
    align-items: center;
    display: flex;
    flex-direction: column;
    background-color: rgba(252, 251, 245, 1);
    position: relative;
    width: 100%;
    height: 300px;
}
.divider{
    border-top: 1px solid #bbb;
    margin: 0 15px;
    width: 10%;
}
.step{
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
    color:#949D6A;
}
.step-number{
    font-size: 36px;
    font-weight: 700;
    line-height: 36px;
    letter-spacing: 0.08em;
    color:#949D6A;
}
.step-title{
    font-size: 24px;
    font-weight: 700;
    line-height: 40.8px;
    letter-spacing: 0.08em;
}
.step-icon{
    margin: 30px 0 40px 0;
    height: 50px;
}
.entry-green-button, .entry-white-button {
    font-size: 24px;
    font-weight: 700;
    line-height: 40.8px;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    gap: 30px;
    color: black;
    transition: opacity 0.3s;
}
.entry-green-button {
    background-color: rgba(7, 181, 59, 1);
    color: white;
    margin: 80px 0 50px 0;
}
.entry-green-button:hover, .entry-white-button:hover {
    cursor: pointer; 
    opacity: 0.5; 
}
.entry-white-button {
    background-color: white;
    border: 2px solid rgb(202, 202, 202);
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.text-and-icon {
    display: flex;
    align-items: center;
    gap: 10px;
}
.entry-white-button span {
    font-size: 16px;
    font-weight: 500;
    line-height: 27.2px;
}
.q-and-a-item{
    margin-bottom: 70px;
}
.question{
    font-size: 18px;
    font-weight: 700;
    line-height: 30.6px;
    letter-spacing: 0.04em;
    border-bottom: 2px dotted #b5b5b5;
    padding-bottom: 5px;
    margin-bottom: 30px;
}
.answer{
    display: flex;
    font-size: 16px;
    font-weight: 400;
    line-height: 27.2px;
    letter-spacing: 0.04em;
    padding: 0 0 0 10px;
}
.q-and-a-initial{
    margin-right: 10px;
}
.bottom-fixed {
    font-family: "Noto Sans JP";
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    padding: 10px;
    text-align: center;
    z-index: 1000;
}




.mobile-flex{
    display: none;
}

/* フォーム全体を枠で囲むスタイル */
.entry-form-container {
    border: 1px solid #ccc;
    padding: 20px;
    margin-top: 30px;
	    margin-bottom: 30px;
    border-radius: 10px;
    background-color: #f9f9f9;
}

/* Web応募タイトル */
.entry-form-container h3 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: bold;
}

/* フォームのスタイル */
.entry-form {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

.form-group input{
    background-color: white;
}

.form-control {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

/* フォームボタンを中央寄せにする */
.form-button-container {
    text-align: center;
}

.form-button {
    background-color: #008CBA; /* ブルー */
    color: white;
    padding: 15px;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    font-size: 18px;
    font-weight: bold;
    border: none;
    transition: background-color 0.3s ease;
}

.form-button:hover {
    background-color: #007BB5;
}

/* 公式LINEボタンとのスタイルの違いを明確にする */
.entry-green-button2 {
    background-color: #4CAF50;
    color: white;
    padding: 15px;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.entry-green-button2 img {
    margin-left: 10px;
    vertical-align: middle;
}

.entry-green-button2:hover {
    background-color: #45a049;
}