html {
  font-size: 62.5%;
overflow-x: hidden;
}


/* 全体設定 */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

.mt-2{
    margin-top: 2rem;
}

.mb-2{
    margin-bottom: 3rem;
}



/* 画像コンテナ */
.image-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* 子要素を中央揃え */
    padding: 10px;
    text-align: center;
}

.image-container img {
    width: 600px;
    margin: 0 auto;
}

/* 各画像のラッパー */
.image-wrapper {
    width: 100%; /* スマホでの幅100%表示 */
    max-width: 600px; /* デスクトップでの最大幅 */
    overflow: hidden; /* 角丸を反映するために追加 */
    font-size: 0;
}

footer p {
    text-align: center;
    background-color: #ededed;
    margin: 0;
}



.head_bar{
    background: #f7f2e9;
    font-size: 2rem;
    text-align: left;
    padding-left: 2rem;
}

.main_txt p{
    font-size: 3rem;
    text-align: left;
    font-weight: bold;
    
}

.nomal_txt p{
    font-size: 2rem;
    text-align: left;
}

.bold_txt{
    font-weight: bold;
    text-align: left;
}

.big_txt{
    font-size: 3rem!important;
    font-weight: bold;
    text-align: left;
    
}


.txt_berge{
    color: #7f4f21;
    font-weight: bold;
}

.txt_red{
    color: #c7000b;
    font-size: 3rem;
}

.midashi_txt{
    background-color: #c4b5ae;
}

.midashi_txt h2{
    text-align: left;
    margin-left: 2rem;
    font-weight: bold;
    font-size: 2rem;
    color: white;
}

.marker {
  background: linear-gradient(transparent 60%, #fff100 60%);
}





.button-container {
    text-align: center;
    padding: 5rem;
}

.rounded-button {
    display: inline-block;
    background: linear-gradient(to right, #9BC74B, #F6DB5A, #F0DC55);
    color: black;
    text-decoration: none;
    font-size: 30px;
    font-weight: bold;
    padding: 3rem;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 550px;
    position: relative;
    overflow: hidden; /* はみ出る部分を隠す */
}

.rounded-button::before {
    content: "";
    position: absolute;
    display: block;
    top: 6px;
    bottom: 6px;
    left: 6px;
    right: 6px;
    border: 2px solid white;
    border-radius: 50px;
}

.rounded-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 70%);
    transform: skewX(-20deg);
    animation: shine 2s infinite linear;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}



.button-container2 {
    text-align: center;
    padding-bottom: 5rem;
    background: #ffffff;
    padding: 5rem 0 5rem 0;
}

.rounded-button2 {
    display: inline-block;
    background: linear-gradient(to right, #9BC74B, #F6DB5A, #F0DC55);
    color: black;
    text-decoration: none;
    font-size: 30px;
    font-weight: bold;
    padding: 2.54rem;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3sease, transform 0.2sease;
    width: 550px;
    position: relative;
    overflow: hidden;
}












.red{
    color: red;
}

.text{
  text-align: left; /* 左揃え */
  margin: 0 auto; /* 親要素の中央に配置 */
  width: fit-content; /* テキストの幅に合わせる */
  font-size: 1.3rem;
margin-bottom: 5rem;
}

.button-container_last{
  padding-bottom: 1rem;

}



.rounded-button:hover {
    background-color: #E85F5C;
    transform: scale(1.05);
}

.rounded-button:active {
    background-color: #D94E4B;
}


.sp{
    display: none;
}

    .big{
    font-size: 40px;
    display: inline-block;
    }

@media screen and (max-width:768px){
    
    
.main_txt p{
    font-size: 2rem;
    text-align: left;
    font-weight: bold;
    
}

.nomal_txt p{
    font-size: 1.5rem;
    text-align: left;
}
    
    
    
    .sp{
    display: block;
}
    
    .image-wrapper {
    width: 95%; /* スマホでの幅100%表示 */
    overflow: hidden; /* 角丸を反映するために追加 */
}
    
.image-container img {
    width: 100%;
    margin: 0 auto;
}
    
    .image-container {
    padding: 0;
}
    .button-container {
    text-align: center;
    padding: 2rem;
    width: 90%;
}
    
    .rounded-button {
        display: inline-block;
        background: linear-gradient(to right, #9BC74B, #F6DB5A, #F0DC55);
        color: black;
        text-decoration: none;
        font-size: 22px;
        font-weight: bold;
        padding: 2rem;
        border-radius: 50px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: background-color 0.3sease, transform 0.2sease;
        width: 90%;
    }
    .text {
    text-align: left;
    margin: 0 auto;
    width: fit-content;
    font-size: 1.3rem;
    margin-bottom: 5rem;
    width: 90%;
}
    
    .big{
    font-size: 30px;
    display: inline-block;
    }
    .txt_red {
    color: #c7000b;
    font-size: 3rem;
    text-align: center;
}
}




