@charset "UTF-8";

/* common */
.main {
    padding: 0 24px;
    overflow: hidden;
}

.storeName__txt .subTitle {
    font-family: "Zen Old Mincho";
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
}

.subTitle {
    font-family: "Zen Old Mincho";
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
}

.border {
    width: 1px;
    height: 24px;
    background-color: var(--primary-yellow);
    margin: auto;
    display: block;
}

@media screen and (min-width:769px) and ( max-width:1200px) {
    .sectionTitle {
        writing-mode: vertical-rl;
        font-size: 2.8rem;
        font-weight: 500;
        padding: 0;
        align-self: self-start;
        letter-spacing: 8px;
    }
}

@media screen and (min-width:1201px) {
    .sectionTitle {
        font-size: 3.2rem;
        font-weight: 500;
        writing-mode: vertical-rl;
        font-size: 2.8rem;
        align-self: self-start;
        letter-spacing: 8px;
    }
}

/* === common pc 769px === */
@media screen and (min-width:769px) {
    main{
        max-width: 1540px;
        margin: auto;
    }

    .subTitle {
        font-size: 2.8rem;
        font-weight: 500;
        line-height: 2;
        width: fit-content;
    }

    .border {
        display: none;
    }

}
/* === common pc 769px end  === */

/* part */
.page__title {
    padding: 32px;
    text-align: center;
    font-family: "Zen Old Mincho";
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1.25;
}

.main__image {
    width: 74%;
    height: auto;

    display: block;
    margin: auto;
}

.page__txt {
    font-family: "Zen Old Mincho";
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 2;
    text-align: center;
    margin-top: 32px;
}

/* ===  pc 769px  ==== */
@media screen and (min-width:769px) {
    .main__image {
        width: 50%;
    }

    .page__title {
        padding: 48px;
        font-size: 3.2rem;
    }
    
    .page__txt {
        font-size: 2.4rem;
        line-height: 1.6;
        margin-top: 40px;
    }
}
/* ===  pc 769px end ==== */

/* 年表 */
.history{
    touch-action: pan-y;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-tap-highlight-color:rgba(0 ,0 ,0,0);
    margin-top: 56px;
}

.history__box {
    display: flex;
    position: relative;
}

.history__content{
    margin: 32px 24px 24px 24px;
    display: flex;
    cursor: grab;
    overflow-x: auto;
}

.history__content::-webkit-scrollbar {
    height: 1px; /* スクロールバーの高さ */
  }
   
  .history__content::-webkit-scrollbar-thumb {
    background: rgba(var(--primary-yellowR),0); /* ツマミの色 */
  }
   
  .history__content::-webkit-scrollbar-track {
    background: rgba(var(--primary-yellowR),0); /* バーの色 */
  }

.history__item{
    flex: 1 0 180px;
    width: 180px;
    height: 170px;
}

.history__dot {
    margin-top: 30px;
    position: relative;
}

.history__dot:before{
    display: block;
    content: " ";
    width: 200px;
    height: 1px;
    background-color: #E8E8E8;
}

.history__dotLast::before{
    width: 160px;
}

.history__dotInner:before{
    content: " ";
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--primary-lightGray);
    position: absolute;
    top: -12px;
}

.date{
    color: var(--primary-black, #2E2E2E);
    font-family: "Zen Old Mincho";
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.3px;
}

.date__txt {
    font-size: 1.2rem;
    margin-top: 32px;
    width: 140px;
}

/* .history__vectorLeft {
    display: inline-block;
    vertical-align: middle;
    color: var(--primary-lightGray);
    line-height: 1;
    width: 0.5em;
    height: 0.5em;
    border: 0.1em solid currentColor;
    border-left: 0;
    border-bottom: 0;
    box-sizing: border-box;
    transform: translateX(25%) rotate(-135deg);
    position: absolute;
    top: 32%;
} */

.history__vectorRight{
    display: inline-block;
    vertical-align: middle;
    color: var(--primary-lightGray);
    line-height: 1;
    width: 0.5em;
    height: 0.5em;
    border: 0.1em solid currentColor;
    border-left: 0;
    border-bottom: 0;
    box-sizing: border-box;
    transform: translateX(-25%) rotate(45deg);
    position: absolute;
    right: 0%;
    top: 32%;

}

.history__container {
    display: flex;
}




/* pc 769px */
@media screen and (min-width:769px) {
    .history {
        display: flex;
        padding:48px var(--contentPaddingPc);
    }
    
    .history__box{
        max-width: 1440px;
        width: 96%;
    }

    .history__item{
        flex: 1 0 200px;
        height: 190px;
    }

    .history__content{
        margin-left: 12%;
    }

    .history__dot:before :first-child{
        width: 190px;
    }

    .history__vectorLeft{
        display: none;
    }

    .date{
        font-size: 2rem;
    }

    .date__txt{
        font-size: 1.4rem;
        width: 170px;
    }

    .history__vectorRight{
        width: 1em;
        height: 1em;
        border: 2px solid currentColor;
        border-left: 0;
        border-bottom: 0;
        box-sizing: border-box;
        transform: translateX(-25%) rotate(45deg);
        position: absolute;
        right: -3%;
        top: 32%;
    }

}

/* 一番喜龍に込められた想い */
.storeName{
    padding:0 0 40px 0 ;
    padding: 40px 0;
    display: grid;
    gap: 16px;
}

.logo__img {
    width: 136px;
    height: auto;
    display: block;
    margin: auto;
    object-fit: contain;
}

.storeName__txt {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.storeName__txt,
.commitment__box{
    max-width: 500px;
    margin: auto;
}

/* ===  storeName pc 769px  ==== */
@media screen and (min-width:769px) {
    .storeName {
        display: flex;
        padding: 40px 80px;
        justify-content: center;
    }
    
    .logo__img {
        max-width: 230px;
        width: 24%;
        height: auto;
        margin: 0;
    }
    
    .storeName .subTitle {
        text-align: start;
    }
    
    .storeName__txt {
        margin-left: 6%;
    }

    .storeName__txt,
    .commitment__box{
    margin: 0 0 0 6%;
}
}
/* ===  storeName pc 769px end  ==== */

/* ===  commitment tab  ==== */
@media screen and (min-width:769px) and ( max-width:1200px) {
    .storeName .subTitle{
        font-size: 2.4rem;
    }
}

@media screen and (min-width:1201px) {
    .storeName .subTitle {
        font-size: 2.8rem;
    }
}
/* ===  commitment tab end  ==== */


/* commitment */
.commitment {
    padding: 40px 0;
    display: grid;
    gap: 16px;
}

.commitment__txtBox{
    display: grid;
    gap: 16px;
}

.commitment__txt {
    margin-top: 24px;
}

.commitment__imgBox{
    margin: auto;
}

.commitment__img {
    display: flex;
    justify-content: center;
    max-width: 300px;
    max-height: 300px;
    margin:auto;
}

.commitment__imgCombi{
    display: none;
}

.commitment__imgLeft {
    width: 50%;
    height: 70%;
    max-width: 160px;
    max-height: 220px;
}

.commitment__imgRight {
    width: 50%;
    height: 70%;
    max-width: 160px;
    max-height: 220px;
    margin: 22% 0 0 24px;
}

/* ===  commitment pc 769px  ==== */
@media screen and (min-width:769px) {
    .commitment {
        display: flex;
        padding: 96px 0 60px var(--contentPaddingPc);
        /* gap: 40px; */
    }

    .commitment__txtBox{
        display: flex;
    }

    .commitment__txt{
        max-width: 500px;
    }

    .subTitle {
        text-align: start;
        font-weight: 500;
    }

    .commitment__box {
        margin-left: 10%;
    }

    .commitment__img{
        margin-left: 20px;
        padding: 20px;
        max-width: 500px;
    }

    .commitment__imgBox{
        max-width: 50%;
    }

    .commitment__imgLeft {
        width: 50%;
        height: 50%;
        max-width: 400px;
        max-height: 400px;
        margin: 0;
    }
    
    .commitment__imgRight {
        width: 50%;
        height: 50%;
        max-width: 400px;
        max-height: 400px;
        margin: 130px 0 0 50px;
        box-sizing: border-box;
    }
    
}
/* ===  commitment pc 769px end  ==== */

/* ===  commitment tab  ==== */
@media screen and (min-width:769px) and ( max-width:1200px) {
    .subTitle{
        font-size: 2.4rem;
    }

    .commitment__img{
        /* margin-left: 80px; */
        max-width: 500px;
    }
}

@media screen and (min-width:1201px) {
    .sectionTitle {
        font-size: 3.2rem;
        writing-mode: vertical-rl;
        font-size: 2.8rem;
        align-self: self-start;
        letter-spacing: 8px;
    }
}
/* ===  commitment tab end  ==== */


/* Q&A */
.qa {
    padding: 40px 0 ;
    display: grid;
    gap: 16px;
    max-width: 540px;
    margin: auto;
}

.subTitle__qa {
    color: var(--primary-yellow, #C1A650);
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
}

.qaBox{
    max-width: 90%;
    margin: auto;
    display: grid;
    gap: 40px;
}

.question3{
    margin-top: 24px;
}

.question__icon,
.answer__icon {
    color: var(--yellow, #C1A650);
    font-family: "Zen Old Mincho";
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.3;
}

.question,
.answer {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    /* align-items: center; */
}

/* .qa__section:nth-of-type(3) {
    margin-top: 24px;
} */

.question__txt {
    font-family: "Zen Old Mincho";
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.3;
}



/* ===  QA pc 769px  ==== */
@media screen and (min-width:769px) {
    .qa {
        display: flex;
        padding: 0 var(--contentPaddingPc) 72px;
        max-width: 1440px;
        margin: 60px 0 0 0 ;
    }
    
    .qaBox {
        margin-left: 4.4%;
        /* gap: 0; */
    }
    
    .qa .subTitle {
        color: var(--primary-black, #2E2E2E) ;
        text-align: start;
        font-size: 2.8rem;
        font-weight: 500;
        line-height: 2;
    }

    
    .qa h4:nth-last-of-type(2) {
        margin-top: 0;
    }
        
     .question {
        margin-top: 32px;
        align-items: center;
    }
    .question__txt {
        font-size: 2.4rem;
        font-weight: 500;
        line-height: 2;
    }

    .question,
    .answer {
        gap: 40px;
    }
        
    .answer {
        margin-top: 8px;
    }
        
    .question__icon,
    .answer__icon {
        font-size: 2.4rem;
    }

    /* background-image */
    .background__l {
        position: relative;
    }

    .background__l::after{
        content: "";
        z-index: -1;
        display: inline-block;
        width: 400px;
        height: 400px;
        background-repeat: no-repeat;
        background-image: url(../images/backgroundimage.png);
        background-position: center;
        background-size: contain;
        position: absolute;
        top: 500px;
        left: 380%;
    }

    .background__m{
        position: relative;
    }

    .background__m::before {
        content: "";
        z-index: -1;
        display: inline-block;
        width: 250px;
        height: 250px;
        background-repeat: no-repeat;
        background-image: url(../images/backgroundimage.png);
        background-position: center;
        background-size: contain;
        position: absolute;
        top: -160px;
        right: 100%;
        /* overflow: visible; */
    }

    /* ===  QA pc 769px end  ==== */
    
    /* ===  QA tab  ==== */
@media screen and (min-width:769px) and ( max-width:1200px) {
    .qa .subTitle {
        font-size: 2.4rem;
        font-weight: 500;
    }

    .question__txt {
        font-size: 2.2rem;
    }

    .question {
        margin-top: 24px;
    }
}

@media screen and (min-width:1201px) {
    .qa .sectionTitle {
        font-size: 3.2rem;
        font-weight: 500;
        writing-mode: vertical-rl;
        font-size: 2.8rem;
        align-self: self-start;
        letter-spacing: 8px;
    }
}
/* ===  QA tab end  ==== */
