/* ここから全体設定 */

/* 目次位置の調整 */
html{
    scroll-padding-top: 180px;
    scroll-behavior: smooth;
}
/* すべての要素のパディングとマージンをリセット */
*{
    padding:0;
    margin:0;
    box-sizing: border-box;
}
/* すべてのリンクの下線を消す */
a{
    text-decoration: none;
}
/* リスト装飾を消す */
li{
    list-style: none;
}
li a:hover{
    color: #000000;
}

/* ページ全体の横幅を制限して中央寄せにする */
.wrapper{
    width:1000px;
    margin:0 auto;
}
/* オレンジ背景のセクション共通スタイル */
.bg_oran_wrapper{
    width:100%;
    background-color: #ff9900;
    overflow: hidden;
    padding:30px 0; 
}
/* 白背景のセクションの共通スタイル */
.bg_white_wrapper{
    margin:30px auto;
    border: #ff9900 3px solid;
    padding:30px;
}

/* リンクボタンの共通レイアウト */
.btn{
    display: inline-block;
    margin-top: 30px;
    margin-bottom: 30px;    
}
.btn a{
    display: inline-block;
    padding: 10px 50px;
    background-color: #ff9900;
    border-radius: 5px;
    color: #ffffff;
    font-size: 20px;
    text-decoration: none;
}
/* リンクボタンのホバー時の透明度調整 */
.btn a:hover{
    opacity: 0.5;
}

/* ここからヘッダー */
.header_wrapper{
    position: fixed;
    padding:10px;
    width:80%;
    margin:50px auto 0;
    background-color: #ffffff;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.44);
    border-radius: 15px;
    transform: translateX(-50%);
    left:50%;
    z-index: 100;
}
.header_wrapper a img{
    display: inline-block;
    width:150px;
    align-content: center;
}
.header_box{
    display: flex;
}
.header_box a img:hover{
    opacity: 0.5;
}
.main_menu{
    margin-left:30px ;
    display: flex;
    gap:30px;
    align-items: center;
}

/* メインメニューのリンクテキスト */
.main_menu a{
    color:#000000;
    margin-right:20px;
    transition: 0.3s;
}
.main_menu a:hover{
    color: #ff9900;
    text-decoration: underline;
}

/* ハンバーガーメニューはパソコンでは非表示 */
.hamburger_btn{
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 5px;
}

/* ハンバーガーメニュー */
.hamburger_btn span{
    display: block;
    width: 25px;
    height: 3px;
    background-color: #000000;
    transition: 0.3s;
    border-radius: 2px;
    transform-origin: center;
}

.hamburger_btn.active span:nth-child(1){
    transform: rotate(45deg) translate(5px, 7px);
}

.hamburger_btn.active span:nth-child(2){
    opacity: 0;
}

.hamburger_btn.active span:nth-child(3){
    transform: rotate(-45deg) translate(4px, -7px);
}

/* セクションのタイトルの共通スタイル */
.title{
    text-align: center;
    color: #ffffff;
}
.title h2{
    margin: 0 auto;
    width: fit-content;
    font-size: 40px;
    border-bottom: #ffffff 3px solid;
    padding-bottom: 10px;
}
.bg_white_title{
    text-align: center;
    color: #ff9900;
}
.bg_white_title h2{
 border-color: #ff9900;
}
.title p{
    padding:10px;
    font-size: 30px;
}

/* ここから第一セクション（トップ画像） */
.topimage_container{
    width:100%;
    height:1280px;
    background-size: cover;
    content: "";
    background-image: url('../img/topgazo.jpg');
    position: relative;
}
/* トップ画像の上に配置するキャッチコピー */
.topimage_catch{
    position: absolute;
    left:10px;
    transform: translateY(-50%);
    top:50%;
}
.topimage_catch h1{
  font-size: 90px;
  font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  color: rgb(255, 255, 255);
  text-shadow: 0px 0px 10.01px rgba(255, 48, 0, 0.96);
  line-height: 1.2;
  text-align: left;
  z-index: 20;
}

/* ここから第二セクション（ABOUT） */
.about_container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}
/* スライダーコンテナ */
.slider{
    width: 100%;
    max-width: 100%;
    position: relative;
}
/* スライド全体 */
.slides{
    display: flex;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
    border-radius: 20px;
    align-items: center;
}
/* 個別のスライド */
.slide{
    max-width: 33.3%;
    min-width: 260px;
    transition: opacity 0.3s ease;
    opacity: 0.8;
}
/* アクティブなスライド */
.slide.active{
    opacity: 1;
}
.slide img{
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}
/* スライダーボタン */
.slider_btn{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 153, 0, 0.9);
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
}
.slider_btn:hover{
    background-color: #ffffff;
    color: #ff9900;
}

.slider_btn.prev{
    left: calc(32% - 28px);
}
.slider_btn.next{
    right: calc(32% - 28px);
}

/* スライダーの下部ドット */
.slider_dots{
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}
.dot{
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.65);
    cursor: pointer;
}
/* アクティブなドット */
.dot.active{
    background-color: #ffffff;
}

/* ABOUTのテキスト */
.about_text{
    width: 680px;
    max-width: 100%;
    margin: 0 auto;
    border: 3px solid #ffffff;
    font-size: 34px;
    color:#ffffff;
    padding: 28px;
    line-height: 1.5;
}
.about_text span{
    font-size: 58px;
    padding-right: 20px;
}
/* ここから第三セクション（PRICE） */
.price_wrapper{
    text-align: center;
}
.price_txt{
    margin: 30px auto 0;
    width: 400px;
}
.price_txt h3{
    font-size: 30px;
    padding: 20px 0;
}
.price_txt h3 span{
    padding:0 20px;
    font-size: 50px;
    color: #ff0000;
}

/* ここから第四セクション（FAQ） */
.faq_container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width:1000px;
    border: #ffffff 3px solid;
    margin:30px auto;
    color: #ffffff;
    padding:30px 0;
}
/* FAQ回答スタイル */
.faq_answer{
    display: flex;
    align-items: center;
    font-size: 20px;
}

.big_fnt{
    padding:0 20px;
    font-size: 50px;
}
.faq_txt h2{
    font-size: 30px;
    padding: 20px 0;
}

/* ここから第五セクション（ACCESS） */
.access_container{
    padding-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap:30px;
}
.access_txt{
    display: flex;
    flex-direction: column;
}
.access_txt p{
    font-size: 20px;
    font-weight: bold;
}
.access_phone span{
    font-size: 30px;
    color: #ff0000;
    font-weight: bolder;
}
/* お問い合わせボタン */
.mail_btn{
    position: relative;
}
.mail_btn a{
    padding-left:60px;
}
.mail_btn img{
    display: block;
    margin: 0 auto 20px;
}

/* ここから最終画像セクション */
.lastimage_container{
    width:100%;
    background-size: cover;
    height:700px;
    background-position: center;
    background-image: url('../img/last_image.png');
    position: relative;
}
/* 最終画像のキャッチコピー */
.lastimage_catch{
    padding: 20px 100px;
    color:#ffffff;
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 50px;
    position: absolute;
    right:10px;
    transform: translateY(-50%);
    top:50%;
    background-color: rgb(255, 153, 0,0.5);
}
/* ここからフッター */
.footer_container{
    text-align: center;
    padding: 30px 0;
    color: #ffffff;
}

/* ---------------------------------------------
   ここからお問い合わせページ
--------------------------------------------- */
.contact_form{
    max-width: 600px;
    margin: 30px auto;
}

.form_group{
    margin-bottom: 25px;
}

.form_group label{
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.required{
    color: #ff0000;
    margin-left: 5px;
}
/* フォーム全体 */
.form_group input,
.form_group textarea,
.form_group select{
    width: 100%;
    padding: 12px;
    border: 2px solid #ff9900;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
}
/* フォーム全体でフォーカス時に色を変更 */
.form_group input:focus,
.form_group textarea:focus,
.form_group select:focus{
    outline: none;
    border-color: #ff6600;
    box-shadow: 0 0 5px rgba(255, 102, 0, 0.3);
}

.form_group textarea{
    min-height: 150px;
}

/* お問い合わせページのタイトル */
.contact_title{
    text-align: center;
    color: #ff9900;
    margin-bottom: 30px;
}
.contact_title h1{
    font-size: 40px;
    border-bottom: #ff9900 3px solid;
    padding-bottom: 10px;
    width: fit-content;
    margin: 0 auto;
    margin-bottom: 30px;
}
.contact_title p{
    font-size: 20px;
}

/* パンくずリスト */
.breadcrumb{
    max-width: 1000px;
    margin: 20px auto 20px;
    padding: 20px 20px;
    font-size: 20px;
    color: #666;
}
.breadcrumb ul{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb li::after{
    content: ">";
    margin: 0 8px;
    color: #999;
}

.breadcrumb li:last-child::after{
    content: "";
}

.breadcrumb a{
    color: #ff9900;
}

.breadcrumb a:hover{
    text-decoration: underline;
}

/* チェックボックス */
.checkbox{
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox input{
    width: auto;
    margin-right: 10px;
    cursor: pointer;
}

.checkbox span{
    font-size: 14px;
    color: #333;
}
/* 送信ボタン */
.submit_btn{
    padding: 12px 50px;
    background-color: #ff9900;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s;
}
.submit_btn:hover{
    opacity: 0.7;
}


/* お問い合わせ方法(その他） */

.contact_method{
    min-width: 250px;
    text-align: center;
    color: #ffffff;
    padding: 20px;
}
.contact_method h3{
    font-size: 24px;
    margin-bottom: 15px;
}
.contact_number{
    font-size: 30px;
    margin-bottom: 10px;
    font-weight: bolder;
}
.contact_method p{
    margin-bottom: 10px;
}
.contact_method a{
    color: #ffffff;
    text-decoration: underline;
    transition: opacity 0.3s;
}

.contact_method a:hover{
    opacity: 0.8;
}

/* お問い合わせ時間 */
.contact_time{
    font-size: 14px;
    opacity: 0.9;
}
/* ---------------------------------------------
   レスポンシブスタイル
--------------------------------------------- */
@media screen and (max-width: 1024px) {
    .topimage_container{
        background-position: center;
        height: 800px;
    }
    .topimage_catch{
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        width: calc(100% - 40px);
    }
    .wrapper {
        width: auto;
        padding: 0 20px;
    }

    .bg_white_wrapper {
        padding-top: 20px;
        padding-bottom: 20px;
        margin: 20px;
    }

    .bg_oran_wrapper {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .header_wrapper {
        width: calc(100% - 40px);
        padding: 12px 20px;
    }

    .header_wrapper a img {
        width: 120px;
    }

    .main_menu {
        margin-left: 20px;
        gap: 20px;
        font-size: 14px;
    }

    .title h2 {
        font-size: 32px;
    }

    .title p {
        font-size: 22px;
    }
    .price_txt {
        width: 100%;
    }

    .about_text {
        width: 100%;
        font-size: 22px;
    }

    .slider {
        max-width: 100%;
    }

    .slides {
        position: relative;
        display: block;
        min-height: 360px;
    }

    .slide {
        position: absolute;
        inset: 0;
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
    }

    .slide.active {
        position: relative;
        opacity: 1;
        visibility: visible;
    }

    .slider_btn {
        top: calc(50% - 28px);
        transform: none;
    }

    .slider_btn.prev {
        left: 12px;
    }

    .slider_btn.next {
        right: 12px;
    }

    .slider_dots {
        margin-top: 8px;
    }
    .access_container {
        gap: 20px;
    }
    .contact_title h1 {
        font-size: 32px;
    }

    .contact_form {
        max-width: 100%;
    }
    .contact_methods {
        gap: 20px;
    }

}

@media screen and (max-width: 960px) {
    html {
        scroll-padding-top: 100px;
    }
    .pc_only {
        display: none;
    }

    .header_box {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }

    .hamburger_btn {
        display: flex;
    }

    .header_wrapper {
        width: calc(100% - 20px);
        padding: 10px;
        margin: 10px auto 0;
    }

    .main_menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        width: 100%;
        background-color: #ffffff;
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 99;
    }

    .main_menu.active {
        max-height: 300px;
    }

    .main_menu li {
        border-bottom: 1px solid #eee;
    }

    .main_menu a {
        display: block;
        padding: 12px 20px;
        margin: 0;
        font-size: 14px;
        text-align: center;
    }

    .topimage_container {
        height: 400px;
    }

    .topimage_catch {
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        width: calc(100% - 40px);
    }

    .topimage_catch h1 {
        font-size: 45px;
        line-height: 1.1;
    }

    .title h2 {
        font-size: 28px;
    }

    .title p {
        font-size: 18px;
    }

    .contact_title h1 {
        font-size: 28px;
    }

    .contact_title p {
        font-size: 16px;
    }

    .about_container {
        flex-direction: column;
        gap: 15px;
    }

    .about_text {
        font-size: 18px;
        padding: 16px;
        width: 100%;
    }

    .about_text span {
        font-size: 36px;
    }

    .slider_btn {
        top: 50%;
        transform: translateY(-50%);
    }

    .slider_dots {
        margin-top: 8px;
    }

    .price_txt h3 {
        font-size: 22px;
    }

    .price_txt h3 span {
        font-size: 40px;
    }

    .contact_form {
        margin: 20px auto;
    }

    .form_group label {
        font-size: 15px;
    }

    .form_group input,
    .form_group textarea,
    .form_group select {
        padding: 10px;
        font-size: 15px;
    }

    .submit_btn {
        padding: 12px 40px;
        font-size: 16px;
        width: 100%;
    }

    .btn a {
        width: 100%;
        padding: 12px 20px;
        font-size: 16px;
        text-align: center;
    }

    .contact_method {
        min-width: 100%;
        flex: none;
    }

    .contact_method h3 {
        font-size: 20px;
    }
    .access_container {
        flex-direction: column;
        gap: 20px;
    }

    .mail_btn a {
        padding-left: 50px;
    }

    .faq_container {
        width: auto;
        padding: 20px 10px;
    }

    .faq_txt h2 {
        font-size: 20px;
    }

    .big_fnt {
        font-size: 36px;
        padding: 0 12px;
    }

    .faq_answer {
        font-size: 16px;
    }

    .lastimage_container {
        height: 500px;
    }

    .lastimage_catch {
        padding: 30px 60px;
        font-size: 30px;
        right: 0;
        background-color: rgba(255, 153, 0, 0.8);
        text-align: center;
    }

    .breadcrumb {
        padding: 15px 10px;
        margin: 10px auto;
        font-size: 13px;
    }

    .breadcrumb ul {
        gap: 6px;
    }

    .footer_container {
        padding: 20px 0;
    }

    .footer_container img {
        max-width: 100px;
    }
}

/* スマートフォン */
@media screen and (max-width: 480px) {
    .wrapper {
        padding-right: 10px;
        padding-left: 10px;
    }
    iframe {
        width: 100%;
        height: 200px;
    }
    .header_wrapper {
        width: calc(100% - 16px);
        padding: 8px;
        margin: 8px auto 0;
    }

    .header_wrapper a img {
        width: 100px;
    }

    .main_menu {
        top: 70px;
        max-height: 0;
    }

    .main_menu.active {
        max-height: 250px;
    }

    .main_menu a {
        padding: 10px 16px;
        font-size: 13px;
        margin-right: 0;
    }

    .topimage_catch h1 {
        font-size: 32px;
    }

    .title h2 {
        font-size: 24px;
    }

    .title p {
        font-size: 16px;
    }

    .contact_title h1 {
        font-size: 24px;
    }

    .contact_title p {
        font-size: 14px;
    }

    .contact_form {
        margin: 15px auto;
        padding: 0;
    }

    .form_group {
        margin-bottom: 18px;
    }

    .form_group label {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .form_group input,
    .form_group textarea,
    .form_group select {
        padding: 10px 8px;
        font-size: 14px;
    }

    .form_group textarea {
        min-height: 120px;
    }

    .checkbox span {
        font-size: 13px;
    }

    .submit_btn {
        width: 100%;
        padding: 12px 16px;
        font-size: 15px;
    }

    .btn,
    .btn a {
        width: 100%;
        margin: 15px 0;
        padding: 10px 16px;
    }

    .contact_method {
        padding: 15px;
    }

    .contact_method h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .contact_number{
        font-size: 20px;
    }
    .contact_time {
        font-size: 12px;
    }

    .slider_dots {
        margin-top: 8px;
    }

    .slides {
        min-height: auto;
    }

    .access_txt {
        align-items: center;
    }

    .access_txt p {
        font-size: 14px;
        text-align: center;
    }
    .access_phone span {
        font-size: 20px;
    }

    .faq_container {
        width: auto;
        padding: 15px 0;
        border-width: 2px;
    }

    .faq_txt h2 {
        font-size: 16px;
        padding: 12px 0;
    }
    .mail_btn{
        padding: 0;
        font-size: 14px;
    }
    .lastimage_container {
        height: 400px;
        background-size:cover;
    }
    .big_fnt {
        font-size: 28px;
        padding: 0 8px;
    }

    .faq_answer {
        font-size: 14px;
    }

    .lastimage_catch {
        padding: 20px 12px;
        font-size: 20px;
        line-height: 1.3;
    }

    .breadcrumb {
        padding: 10px 8px;
        margin: 8px auto;
        font-size: 12px;
    }

    .breadcrumb li::after {
        margin: 0 4px;
    }

    .breadcrumb ul {
        gap: 4px;
    }
}
