@charset "UTF-8";

h2 {
    /* transition: t;  ←エラーのため削除 */
}
h2{
    display: inline-block;

    padding: 0.4em 3em;
  
    font-weight: bold;
    color:#ff7152;/*文字色*/
    background: #ffffff00;
    border: solid 3px #24d7e9;/*線*/
    border-radius: 50px;/*角の丸み*/


    position: relative;
    font-weight: bold;
    font-size: 26px;
    text-align: center;

    position: relative;
    font-weight: bold;
    font-size: 26px;


    text-align: center;

    
}





h2, h3 {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 700;
    
    
}

p, h3, h4, h5 {
    color: #ffffff;
    font-family: "ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";
}

/* --- ローディング全体 --- */
/* ==========================================================================
   新しいローディング演出（ロゴが中央でふわっと消える完全版）
   ========================================================================== */

/* 1. ローディング画面を画面全体に広げ、一番手前に持ってくる */
#loading {
    position: fixed;       /* 💡 画面の定位置に固定 */
    top: 0;
    left: 0;
    width: 100vw;          /* 💡 画面の横幅いっぱいに広げる */
    height: 100vh;         /* 💡 画面の縦幅いっぱいに広げる */
    background-color: #ffffff; /* 背景色（真っ白） */
    z-index: 9999;         /* 💡 ヘッダーなどの他の要素よりも絶対に手前に出す */
    display: flex;         /* 💡 中のロゴを真ん中に寄せる設定 */
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 1.0s ease, visibility 1.0s ease; /* 💡 1秒かけてふわっと消える */
}

/* 2. JavaScriptで「loaded」クラスがついたら、透明にして非表示にする */
#loading.loaded {
    opacity: 0;
    visibility: hidden;
}

/* 3. ロゴ画像を中央に配置し、適切なサイズに調整 */
#loading-icons {
    width: 250px;          /* 💡 ロゴの大きさ（ここでお好みのサイズに調整してね！） */
    height: auto;
    text-align: center;
}

#loading-icons img {
    width: 100%;
    height: auto;
    display: block;
    animation: none !important; /* 回転アニメーションを強制ストップ */
}

/* --- トップベース --- */
/* --- トップベース --- */
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #ffe254;
    overflow-x: hidden; /* 横揺れ・はみ出しを強制防衛 */
    overflow-y: auto;
    width: 100%;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 500;
    width: 100%;
    display: flex;
    flex-direction: row; /* スマホでも最初からPCと同じ「横並び」にする */
    justify-content: space-between; /* ロゴとナビを両端に離す */
    align-items: center;
    padding: 10px 20px; /* スマホ用に上下の余白を少し狭く */
    box-sizing: border-box;
}

header h1 {
    margin: 0;
    flex-shrink: 0; /* 画面が狭くなってもロゴが潰れすぎないようにする */
}

header h1 img {
    width: 100%; /* 画面の横幅（vw）に合わせて、ロゴが自動で小さくなる魔法 */
    max-width: 100px; /* パソコン画面でも300pxよりは大きくならない */
    min-width: 100px; /* スマホでも小さくなりすぎない限界値 */
    height: auto;
    display: block;
}

header nav {
    flex-grow: 1;
}

header nav .navbar-nav {
    display: flex;
    flex-direction: column; /* スマホでは縦並び */
    background-color: rgba(89, 181, 241, 0.95); /* チョコレート色（不透明）の背景をつける */
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
    gap: 10px;
}

header nav ul li a {
    color: #ffe254!important; /* 文字を黄色に */
    text-decoration: none;
    font-family: "Kosugi Maru", "Zen Maru Gothic", sans-serif;

    font-weight: bold;
    display: block;
    padding: 10px 0;
}

/* 先ほど追加した区切り線（li+li）はスマホでは不要なので、一旦クリア */
header nav ul li + li {
    border-left: none;
}
header nav ul li a:hover {
    color: #f29f8d !important;
}
li+li{
    border-left:1px solid #333;
    
}
section {
    padding: 80px 0; /* スマホの余白を縮小 */
}

/* カルーセル */
.main-visual {
    width: 100%;
    height: auto;
    overflow: hidden;
    z-index: 1;
}
.main-visual .carousel-inner,
.main-visual .carousel-item {
    width: 100%;
    height: auto; /* コロンの重複を修正 */
}
.main-visual img {
    width: 100%;
    height: auto;
    object-fit: contain;
    clip-path: ellipse(120% 100% at 50% 0%);
}

/* --- コンセプト --- */
#concept {
    text-align: center;
    padding: 100px 20px; /* スマホ用に調整 */
    color: #ff7152;
    position: relative;
    overflow: hidden;
}
.gummy-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 1;
}
.gummy-decoration img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.gummy-deco{
    width: 85%;
    height: auto;
}
#concept h2, #concept p {
    position: relative;
    z-index: 10;
}
#concept h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

/* 見出しコンセプトの小見出し */
h2 {
    position: relative;
    margin-bottom: 5rem;
    font-weight: bold;
    font-size: 26px;
    text-align: center;
}
h2::before, h2::after {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
h2::before {
    bottom: -40px;
    color: #66c5dd;
    font-size: 12px;
    text-transform: uppercase;
    content: attr(data-en);
}
h2::after {
    bottom: -35px;
    width: 150px;
    height: 2px;
    background-image: linear-gradient(90deg, #66c5dd 10px, transparent 10px calc(100% - 10px), #66c5dd calc(100% - 10px));
    content: '';
}

#concept p {
    line-height: 2.0;
    color: #ffffff;
}
.gummy-deco div {
    position: absolute;
    z-index: 1;
}
.gummy-deco img {
    width: 100%;
    height: auto;
}

/* 装飾グミ（スマホでは画面外に出やすいのでサイズを縮小） */
.gummy-01-right { top: 10%; right: 3%; width: 20vw; transform: rotate(-80deg); }
.gummy-01-left  { top: 12%; left: 3%; width: 25vw; transform: rotate(180deg); }
.gummy-02-left  { top: 38%; left: 5%; width: 15vw; transform: rotate(-90deg); }
.gummy-02-right { bottom: 15%; right: 5%; width: 15vw; transform: rotate(-30deg); }
.gummy-03-left  { bottom: 32%; left: 1%; width: 25vw; transform: rotate(-10deg); }
.gummy-03-right { bottom: 24%; right: 8%; width: 20vw; transform: rotate(-90deg); }
.gummy-04       { bottom: 18%; left: 10%; width: 15vw; transform: rotate(25deg); }
.gummy-04-right { top: 40%; right: 15%; width: 20vw; transform: rotate(-25deg); }

/* --- 商品について --- */
#shouhin {
    background-color: #fac970;
    padding: 80px 20px;
    text-align: center;
    clip-path: ellipse(150% 50% at 50% 50%);
}
#shouhin h2 {
    font-size: 36px;
    margin-bottom: 60px;
    color: #ff7152;
}
.shouhin-list {
    max-width: 1000px;
    margin: auto;
}
.shouhin-item {
    display: flex;
    flex-direction: column; /* スマホでは縦並び */
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
}

/* 商品写真のスタイル（スマホでは画面幅に合わせて伸縮） */
.shouhin-photo img {
    width: 100%;
    max-width: 300px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    clip-path: circle(50% at 50% 50%);
}
.shouhin-text {
    font-size: medium;
    padding-left: 0;
}
.shouhin-text h3 {
    padding-bottom: 20px;
}

/* --- ラインナップ --- */
#online {
    text-align: center;
    padding: 60px 20px;
    display: block;
    background-color: #ffe14e;
    border-radius: 40px;
}

#online a{
    text-decoration: none;
    color: inherit;
    display: block;
}

#online h2 {
    display: inline-block;
    font-size: 36px;
    color: #ff7152;
    margin-bottom: 40px;
    
}
.online-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px 2%;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
}
.online-item {
    width: 100%; /* スマホでは1列いっぱいに表示 */
    padding: 15px;
    text-align: center;
    box-sizing: border-box;
}
.online-photo {
    background-color: rgba(229 170 38 / 40%);
    padding: 10px;
    border-radius: 15px;
    display: inline-block;
    line-height: 0;
    width: 100%;
    max-width: 250px; /* 画像が大きくなりすぎないよう制限 */
    box-sizing: border-box;
}
.online-photo img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-sizing: border-box;
    background-color: #f2f2f2;
}
.online-text h4 {
    padding-top: 15px;
    padding-bottom: 10px;
    font-size: 20px;
    font-weight: 700;
}
.online-text h5 {
    padding-bottom: 10px;
    font-weight: 700;
    padding-top: 10px;
}
.online-text p {
    font-size:12px;
    line-height:0.5em;
}


/* 診断チャート */
#shindan-container {
    text-align: center;
    padding: 60px 20px;
    display: block;
    background-color: #fac970;
}
.img-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: none;
    width: 100%;
    max-width: 300px;
}
.img-btn img {
    width: 100%;
    height: auto;
}
#shindan-photo img {
    width: 100%;
    height: auto;
}

/*診断チャートボタンデザイン*/
#shindan-container .box button{
    background: #24d7e9;
  color: white;
  border: none;
  padding: 14px 36px;
  font-size: 16px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 6px 0 #ffb52c, 0 8px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.1s ease;
  position: relative;
  top: 0;
  margin: 10px;
}

#shindan-container h3{
    color:#ff7152;
}

.btn-3d-shadow:hover {
  background: #ff5252;
}

.btn-3d-shadow:active {
  top: 4px;
  box-shadow: 0 2px 0 #c92a2a, 0 4px 6px rgba(0, 0, 0, 0.2);
}



/*診断チャートボタンデザインここまで*/

/* --- 店舗情報 --- */
#shop {
    padding: 60px 20px;
    color: #61350a;
    text-align: center;
}
#shop h3 {
    text-align: center;
    display: block;
    margin-bottom: 40px;
}
#shop h2{
    font-size:25px;
    color:#ff7152;
}
.shop-table table {
    margin: 40px 0 auto 0 !important;
    border-collapse: collapse;
    width: 100%;
}
.last-row td {
    padding-bottom: 30px;
}
.divider th {
    border-top: 2px solid white;
    padding-top: 30px !important;
}
.shop-table th,
.shop-table td {
    padding: 10px;
    text-align: left;
    font-size: 14px;
}

/* --- フッター --- */
footer {
    background-color: #fac970;
    padding-top: 60px;
    padding-bottom: 40px;
    color: #61350a;
}
footer h2 {
    text-align: center;
}
.foooter {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
.foooter img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s;
    margin-left:40px;
}
.foooter img:hover {
    transform: translateY(-5px);
}

img {
    max-width: 100%;
    height: auto;
}
div#sideber {
    width: 100%;
}

footer p {
    text-align:center;
    margin-top:30px;
}

/* ==========================================================================
   タブレット・PC用のメディアクエリ（画面が広くなったときの指定）
   ========================================================================== */

/* 画面サイズ（横幅）が 768px 以上の場合（タブレットサイズ〜） */
@media screen and (min-width: 768px) {
    header {
        flex-direction: row;
        justify-content: space-between;
        padding: 20px 40px;
    }
    header nav .navbar-nav {
        flex-direction: row;
        background-color: transparent;
        padding: 0;
        margin-top: 0;
        gap: 0;
    }
    header nav ul li {
        padding: 0 15px;
    }
    header nav ul li + li {
        border-left: 1px solid #f2de79;
    }
    header h1 img {
        width: 300px;
    }
    header nav ul {
        margin: 0;
        gap: 20px;
    }
    header nav ul li {
        font-size: 24px;
    }
    
    .shouhin-item {
        flex-direction: row;
        gap: 60px;
    }
    .shouhin-item:nth-child(even) {
        flex-direction: row-reverse;
    }
    .shouhin-photo img {
        max-width: 500px;
    }
    .shouhin-text {
        font-size: large;
        text-align: left;
    }
    
    .online-item {
        width: 48%; /* 2列で並べる */
    }
    
    .shop-table table {
        width: 70%;
    }
    .shop-table th, .shop-table td {
        font-size: 16px;
        padding: 15px 20px;
    }

    
    #online a {
        width: 48%;        /* aタグ自体を2列の幅にする */
    }
    #online .online-item {
        width: 100%;       /* 中身のアイテムはaタグいっぱいに広げる */
    }

    }
    /* 装飾グミのサイズをPC用に大きく戻す */
    .gummy-01-right { width: 200px; }
    .gummy-01-left  { width: 180px; }
    .gummy-02-left  { width: 100px; }
    .gummy-02-right { width: 160px; }
    .gummy-03-left  { width: 200px; }
    .gummy-03-right { width: 150px; }
    .gummy-04       { width: 100px; }
    .gummy-04-right { width: 200px; }
}
h2{

display: inline-block;

    padding: 0.4em 3em;
  
    font-weight: bold;
    color: #ff7152;/*文字色*/
    background: #ffffff00;
    border: solid 3px #24d7e9;/*線*/
    border-radius: 50px;/*角の丸み*/


    position: relative;
    font-weight: bold;
    font-size: 26px;
    text-align: center;

    font-size:18px;
    padding:0.4em 0.8em;
    border-radius:50px;

    margin-top:1.5em;
    margin-bottom:30px;
}

/* 画面サイズ（横幅）が 960px 以上の場合（デスクトップPCサイズ） */
@media screen and (min-width: 960px) {
    section {
        padding: 150px 0;
    }
    #concept {
        padding: 300px 0;
    }
    #concept h2 {
        font-size: 50px;
    }
    #shouhin h2, #online h2 {
        font-size: 50px;
    }
    header nav ul li {
        font-size: 30px;
    }
    .online-item {
        width: 31%; /* 3列で並べる */
    }
    div#sideber {
        width: 25%;
    }
    .resizeimage img {
        width: 75%;
    }
    #online a {
        width: 31%;        /* PCではaタグ自体を3列の幅にする */
    }
}

/* 画面サイズ（横幅）が 1200px 以上の場合 */
@media screen and (min-width: 1200px) {
    div#sideber {
        width: 300px;
    }
    .resizeimage img {
        width: 75%;
    }
}

/* これをCSSの一番下に追加 */
section p:first-of-type {
    margin-top: 50px !important; /* これでh2の下にある最初のpタグが下に下がります */
}