@charset "UTF-8";

/* reset */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul, li {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

/* body */
body {
    color: #333;
    font-size: 16px;
    font-family: 'IBM Plex Sans JP', sans-serif;
    line-height: 1.0;
}

/* header */
.header h1 {
    display: none;
}

.header img {
    width: 15%;
}

@media (max-width:640px) {
    .header img {
        width: 30%;
    }
}

.button2 {
    display: block;
    background: #2429F4;
    color: #fff;
    line-height: 1.4;
    border-radius: 10px;
    /* color: #fff; */
    width: 160px;
    /* margin: 0 auto; */
    margin-left: 20px;
    padding: 10px;
    transition: 0.5s;
    text-align: center;
    /* cursor: pointer; */
}

/* ホバるならこれでいきませう */
/* .button2:hover {
	color: #2429F4;
	background: #fff;
} */

@media (max-width:640px) {
    .button2 {
        width: 100px;
        margin-left: 10px;
        font-size: 14px;
    }
}



#burger {
    position: fixed;
    z-index: 3;
    width: 100px;
    height: 80px;
    background-color: #fff;
    background-color: #e6e7e899;
    right: 5%;
    /* right: 30px; */
    top: 30px;
    transition: 0.3s;
    cursor: pointer;
}

@media (max-width:640px) {
    #burger {
        width: 70px;
        height: 56px; 
        top: 20px;
    }
}


#burger span {
    display: block;
    position: absolute;
    width: 80%;
    height: 4%;
    background-color: #000;
    inset: 0;
    margin: auto;
    transition: 0.3s;
}

#burger span:nth-child(1){
    background-color: #000;
    top: -35%;
}
#burger span:nth-child(3){
    background-color: #000;
    top: 35%;
}

#burger p {
    margin-top: 65%;
    text-align: center;
}

#burger:after {
    display: block;
    content: "menu";
    width: 50px;
    margin-top: 66%;
    margin-left: 34%;
    font-size: 12px;
}

@media (max-width:640px) {
    #burger:after {
        width: 50px;
        margin-top: 64%;
        margin-left: 32%;
        font-size: 10px;
    }
}

/* burger-setting */
/* bgrはここがメンドいよね */
#burger.active {
    background-color: #e6e7e899;
}
#burger.active span:nth-child(1) {
    top: 0;
    transform: rotate(45deg);
    width: 60%;
}
#burger.active span:nth-child(2) {
    opacity: 0;
}
#burger.active span:nth-child(3) {
    top:0;
    transform: rotate(-45deg);
    width: 60%;
}

/* ナビゲーション画面セッティング */

#g_nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* padding-top: 100 px; */
    background-color: #fff;
    z-index: 2;
    display: none;
}

/* 二列にしたかったらこれ使って♪ */
/* ただこの表記はよくないらしいけん、使うなら、後でよく考えましょう */
/* ul .nav_menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
} */

#g_nav ul {
    display: grid;

}

#g_nav .nav_logo_sp img {
    width: 8%;
    display: block;
    margin: 0 auto;
}

@media (max-width:640px) {
    #g_nav .nav_logo_sp img {
    width: 20%;
    display: block;
    margin: 0 auto;
}
}

#g_nav .nav_logo_sp a:hover {
    background-color: #fff;
}

#g_nav ul {
    font-size: 16px;
}


#g_nav a {
    display: block;
    line-height: 50px;
    text-align: center;
    color: #444;
    font-weight: bold;
    transition: 0.4s;
}

#g_nav a:hover {
    background-color: #FFF5F7;
}

.header_line {
    background: linear-gradient(-45deg, #FFFF97 2%, #78F7B1 100%);
    background-size: 800% 800%;
    margin-top: 50px;
    padding-top: 30px;
    padding-bottom: 30px;
    /* line-height: 1.4; */
    margin-bottom: 150px;
    animation: grad 15s linear infinite;
}
@keyframes grad {
    0% {
        background-position: 0 50%
    }
    50% {
        background-position: 100% 50%
    }
    100% {
        background-position: 0 50%
    }
}

@media (max-width:640px) {
    .header_line {
        margin-top: 30px;
        padding-top: 15px;
        padding-bottom: 15px;
        margin-bottom: 100px;
    }
}

.header_line h2 {
    text-align: center;
    font-size: 30px;
}

@media (max-width:640px) {
    .header_line h2 {
        font-size: 20px;
    }
}

/* main */

main {
    max-width: 960px;
    margin: 0 auto;
}

@media (max-width:640px) {
    main {
        padding: 0 15px;
    }
}

/* おすすめitems */
.osusume {
    margin-bottom: 100px;
    position: relative;
}

.osusume h3 {
    
    text-align: center;
    text-decoration-line: underline;
    font-size: 30px;
}
.items {
    margin-bottom: 200px;
}

@media (max-width:640px) {
    .osusume h3 {
        font-size: 24px;
    }
}

.osusume img {
    position: absolute;
    top: -80px;
    right: 220px;
    width: 20%;
    animation: img 10s ease-in infinite;
}
@keyframes img {
    0% {
        scale: 0.2
    }
    4% {
        scale: 1.2
    }
    5% {
        scal3: 0.7
    }
    6% {
        scale: 1
    }
}

@media (max-width:640px) {
    .osusume img {
        position: absolute;
        top: -44px;
        right: 0px;
        width: 30%;
    }
}

.sukinkea {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 100px;
}


/* うまくいかんかったので、却下案 */
/* .fukidashi1 {
    position: relative;
}

/* .fukidashi1 img {
    width: 5%;
} */

/* .fukidashi1 p {
    position: absolute;
    top: 20px;
    right: 40px;
} */


/*------------------------------------------
スクロールしと時のアニメーション
------------------------------------------*/
.scroll-trigger {
    transform: translateY(60px);
    opacity: 0;}
.scroll-trigger.is-active {
    transform: translateY(0);
    opacity: 1;
    transition: 1s;}
/* .pic {
    transform: rotate(-20deg);
    opacity: 0;
}
.pic.is-active {
    transform: rotate(0);
    opacity: 1;
    transition: 1s;
} */



.syanpu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* つまり逆方向があるパターンは脳筋dfパターンが良いね！！ */
    /* 大事：逆方向の横並びはflex-directionを使えば良 */
    flex-direction: row-reverse;
    margin-bottom: 130px;
}

.inotinosu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10%;
    margin-bottom: 130px;
}

/* スマホ版で表示させる */
.sp {
    display: none;
}

@media (max-width:640px) {
    /* 横並び解除 */
    .sukinkea, .syanpu, .inotinosu {
        display: block;
    }
  
    /* pc版非表示 */
    .pc {
        display: none;
    }
    /* sp版表示 */
    .sp {
        display: block;
        text-align: center;
        font-weight: bold;
        margin-top: 20px;
    }
    /* 個別設定 */
    .sp span {
        color: red;
    }
    .inotinosu p {
        text-align: center;
    }
    .inotinosu img {
        width: 40%;
        margin-bottom: 10px;
    }
    .items p {
        line-height: 1.4;
    }
    
}

/* [商品リスト] */
/* スキンケア：上と被るので、sukinkea01表記にしております */


.sukinkea01 .line1, .heakea .line1, .meikuup .line1, .bodykea .line1, .dentalkea .line1, .healthfood .line1, .ohters .line1, .special-care .line1 {
    margin-bottom: 50px;
}

.sukinkea01 h3, .heakea h3, .meikuup h3, .bodykea h3, .dentalkea h3, .healthfood h3, .ohters h3, .special-care h3 {
    font-size: 30px;
    /* margin-left: 50px; */
}

@media (max-width:640px) {
    .sukinkea01 h3, .heakea h3, .meikuup h3, .bodykea h3, .dentalkea h3, .healthfood h3, .ohters h3 .special-care h3 {
        font-size: 24px;
        /* margin-left: 4%; */
    }
    .heakea .line1 {
        margin-bottom: 2px;
       
    }
    .sukinkea01 {
        padding-bottom: 80px;
    }
    .heakea {
        margin-bottom: 80px;
    }
    /* .heakea_items {
        padding-top: 18px;
        padding-bottom: 20px;
        background-image: url(../img/bg-green.jpg);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: 0 100;
        
    } */

}

/* 借りで作りせう */
.sukinkea01  {
    margin-bottom: 200px;
}

.heakea, .meikuup, .special-care, .bodykea, .dentalkea, .healthfood {
    margin-bottom: 100px;
}

/* 複数指定はこれで良 */
.sukinkea01_items, .heakea_items, .meikuup_items, .special-care_items, .bodykea_items, .dentalkea_items, .healthfood_items, .others_items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* align-items: flex-start; */
    gap: 2% 10%;
}

@media (max-width:640px) {
    .sukinkea01_items, .heakea_items, .meikuup_items, .special-care_items,.bodykea_items, .dentalkea_items, .healthfood_items, .others_items {
        grid-template-columns: repeat(2, 1fr);
        gap: 2% 2%;
    }
    .healthfood_items {
        margin-bottom: 200px;
    }
 
}

.sukinkea01_items p, .heakea p, .meikuup p, .special-care p, .bodykea p, .dentalkea p, .healthfood p, .ohters p {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.button {
    display: block;
    background: linear-gradient(90deg, #FFFF97 2%, #78F7B1 100%);
    border-radius: 30px;
    /* color: #fff; */
    width: 160px;
    margin: 0 auto;
    padding: 3px;
    text-align: center;
}

.button:hover {
    color: #fff;
  }

/* 個別調整 */
/* sekkenn */
/* .sekkenn img, .kuri-muzukuri-mu img, .inner-cl8 img, .hanie img, .a2470 img, .a2470-soup img, .solt img, .senzu img, .houjoumai img, .rirakuton img, .mineral img, .masuku img {
padding-bottom: 64px;
} */
.inner-cl8 .try {
    aspect-ratio: 1/1;
}
.inner-cl8 .try img {
    object-fit: cover;
    width: 90%;
    height: 90%;
    padding-top: 20%;
}
.sekkenn .try {
    aspect-ratio: 1/1;
}
.sekkenn .try img {
    object-fit: cover;
    width: 90%;
    height: 90%;
    padding-top: 20%;
}
.kuri-muzukuri-mu .try {
    aspect-ratio: 1/1;
}
.kuri-muzukuri-mu .try img {
    object-fit: cover;
    width: 90%;
    height: 90%;
    padding-top: 20%;
}


@media (max-width:640px) {
    .sekkenn img, .kuri-muzukuri-mu img, .inner-cl8 img, .hanie img, .a2470 img, .a2470-soup img, .solt img, .senzu img, .houjoumai img, .rirakuton img, .mineral img, .masuku img {
        padding-bottom: 39px;
        }
}

/* kousoekisu */
.kousoekisu img, .inotinomiki img {
    width: 50%;
}

/* footer */

/* footer p {
    text-align: center;

} */

footer .endmoji {
    text-align: center;
}

.icon {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10%;
    margin-top: 100px;
    margin-bottom: 50px;
}
footer .icon .button2 {
    margin-left: 0;
}
.footer_logo img {
  width: 65%;  
}

.line_icon img {
    width: 50%;
}

@media (max-width:640px) {

    .line_icon img {
        width: 50%;
    }
    footer .icon .button2{
        scale:80%
    }
}

.end_line {
    background: linear-gradient(90deg, #FFFF97 2%, #78F7B1 100%);
    margin-top: 50px;
    height: 30px;
    /* line-height: 1.4; */
    margin-bottom: 30px;
}

@media (max-width:640px) {
    .end_line {
        margin-top: 30px;
        margin-bottom: 30px;
    }
}

footer .footer_top {
    text-decoration-line: underline;
    font-size: 24px;
}

.footer_list {
    display: flex;
    justify-content: center;
    gap: 10%;
    align-items: center;
}


.footer_list img {
    width: 80%;
}

.footer_list li {
    font-size: 20px;
    line-height: 2.0;
}

.footer_list .footer_top, li {
    font-weight: bold;
}

footer .saigo {
    margin-top: 70px;
    margin-bottom: 20px;
}
.endmoji {
    margin-bottom: 100px;
}

@media (max-width:640px) {
    /* 第一案 */
    /* .footer_list {
        display: block;
    }
    .footer_list p {
        margin-bottom: 20px;
    }
    .footer_list img {
        width: 30%;
    }
    .footer_list li {
        text-align: center;
        line-height: 2.0;
    }
    footer .saigo {
        margin-top: 30px;
        margin-bottom: 10px;
    } */
    
    /* 第二案 */
    .footer_list {
        justify-content: center;
        gap: 4%;
    }
    .footer_list .footer_logo {
        width: 16%;
    }
    .footer_list img {
        width: 100%;
    }
    .footer_list .footer_top {
        /* text-align: center; */
        font-size: 14px;
    }
    .footer_list li {
        font-size: 10px;
    }
    footer .saigo {
        margin-top: 30px;
        margin-bottom: 10px;
    } 

    .endmoji {
      margin-top: 20px;
      margin-bottom: 20px;
      text-align: center;
      }

}
