@charset "utf-8";

/* index */

.page-header {
    padding: 25vh 0;
}

.index-hero {
    background-image: url(../images/hero.png);
}

.intro-area {
    max-width: 1000px;
    margin: 0 auto 5rem;
}

.news-list {
    padding-left: 1.5rem;
    margin-bottom: 0;
    text-align: justify;
}

.news-list__item:not(:last-child) {
    margin-bottom: 1.25rem;
}

/* question */
.accordion {
	margin: 4rem auto;
	max-width: 80%;
}

.toggle {
	display: none;
}

.faq {
	position: relative;
	margin-bottom: 1rem;
}

.question,.anser {
	transform: translateZ(0);
	transition: all 0.3s;
}

.question {
	border: solid 1px #999;
	padding: 1rem 2.2rem 1rem 1rem;
	display: block;
	color: #333;
}

.question span,.anser span {
    font-size: 160%;
    padding-right: 0.6rem;
    color: #c30a01;
    line-height: 0;
}

.question:after,.question:before {
	content: "";
	position: absolute;
	right: 1.25rem;
	top: 0;
  bottom: 0;
  margin: auto;
	width: 2px;
	height: 0.75rem;
	background-color: #999;
	transition: all 0.3s;
}

.question:after {
	transform: rotate(90deg);
}

.anser {
	max-height: 0;
	overflow: hidden;
}

.anser div {
	margin: 0;
	padding: 2rem 1rem 2rem;
	line-height: 1.8;
}

.toggle:checked + .question + .anser {
	max-height: 500px;
	transition: all 1.5s;
}

.toggle:checked + .question:before {
	transform: rotate(90deg) !important;
}


/* about */
.about-hero {
    background-image: url(../images/about-hero.png);
}

.about-txt {
    text-align: center;
    margin: 0;
    padding-bottom: 2rem;
}

.slider { /*スライダーを画面幅いっぱいに表示*/
    display: flex; 
    width:100vw; 
}

.slider_inner { /*インナーも画面幅いっぱいに表示させる。flexbox指定でインナーを横並びにする*/
    min-width: 100vw; 
    display: flex; 
}

.slider_inner:first-of-type { /*インナーを横に動かすアニメーションを指定*/
    animation: reverse-loop 50s -25s linear infinite; 
}

.slider_inner:last-of-type { 
    animation: reverse-loop2 50s linear infinite;
}

@keyframes reverse-loop {
    0% { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}
@keyframes reverse-loop2 {
    0% { transform: translateX(0%); }/*1つ目のインナーに続けて動かす*/
    to { transform: translateX(-200%); }
}

/* items */

.menu-hero {
    background-image: url(../images/item-hero.png);
}

.menu-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5em;
    padding-left: 0;
    font-family: "Zen Maru Gothic", serif;
    font-size: 0.9em;
    list-style-type: none;
    margin: 0;
}

.menu-title,
.menu-price {
    display: block;
}

.menu-title {
    padding-top: 0.5em;
    text-align: center;
}

.protein {
    font-size: 0.85rem;
    list-style-type: none;
    text-align:left;
    padding: 0.2rem;
}

/* 　アコーディオン　 */

.ac-box{
    width: auto;
    margin: 30px auto 5px;
    }
    
    .ac-box label{
    max-width: 385px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    background: #d00000;
    margin: auto;
    line-height: 50px;
    position: relative;
    display: block;
    height: 50px;
    border-radius: 8px;
    cursor: pointer;
    color: #ffffff;
    transition: all 0.5s;
    }
    
    .ac-box label:hover{
    background: #f8990b;
    -webkit-transition: all .3s;
    transition: all .3s;
    }
    
    .ac-box input{
    display: none;
    }
    
    .ac-box div{
    height: 0px;
    padding: 0px;
    overflow: hidden;
    opacity: 0;
    transition: 0.5s;
    }
    
    .ac-box input:checked ~ div{
    height: auto;
    padding: 5px;
    background: #f9f2f2;
    opacity: 1;
    }
    
    .ac-box div p{
    color: #777777;
    line-height: 23px;
    font-size: 14px;
    padding: 20px;
    text-align: justify;
    }
    
    .ac-small p{
    margin-bottom: 0px;
    }


/* contact */

.contact-hero {
    background-image: url(../images/contact-hero.jpg);
}

.contact-area {
    padding: 2.5rem;
}

.form-dlist {
    display: flex;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto 4em;
}

.form-dlist__term {
    width: 18rem;
}

.form-dlist__desc {
    box-sizing: border-box;
    width: calc(100% - 18rem);
    padding-left: 1.5em;
    margin-left: 0;
}

.form-dlist__term:not(:nth-last-of-type(1)),
.form-dlist__desc:not(:nth-last-of-type(1)) {
    margin-bottom: 2em;
}

.form-dlist__desc:last-child {
    height: 10em;
}

select,
input[type="text"],
textarea {
    box-sizing: border-box;
    width: 100%;
}

select {
    padding: 0.25em;
}

input[type="text"],
textarea {
    padding: 0.5em;
}

textarea {
    height: 100%;
}

select:focus,
input:focus,
textarea:focus {
    outline-color: #f07d34;
    background-color: #f1f1f1;
}

.submit-btn {
    text-align: center;
}

input[type="submit"] {
    padding: 0.75em 2.5em;
    border: none;
    border-radius: 0.4em;
    background-color: #253958;
    color: #ffffff;
    font-weight: bold;
}

input[type="submit"]:hover {
    background-color: #f07d34;
    cursor: pointer;
    transition: background-color 0.1s linear;
}


/* sponcers */

.sponcers-hero {
    background-image:url(../images/sponcers-hero.jpg);
}

.body-list {
    display: grid;
    justify-items: center;
    align-items: center;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5em;
    padding: 2rem 0;
    font-family: 'Zen Maru Gothic', serif;
    font-size: 1.2rem;
    list-style-type: none;
    margin: 0;
    text-align: center;

}  

.body-txt, .hairmake-txt {
    font-size: 1.3vw;
}

.hairmake-list {
    display: grid;
    justify-items: center;
    align-items: center;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5em;
    padding: 2rem 0;
    font-family: 'Zen Maru Gothic', serif;
    font-size: 1.2rem;
    list-style-type: none;
    margin: 0;
}

.sponcers-intro {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.sponcers-txt {
    padding: 1rem;
    font-size: 1rem;
}


