@charset "utf-8";
/* ===================================================================
CSS information

 file name  :top.css
 author     :PCBrain
 style info :top用
=================================================================== */
/* ---------- メインイメージ ---------- */
div#main_img {
    width: 844px;
    margin-left:auto;    /* 左側マージンを自動的に空ける */
    margin-right:auto;   /* 右側マージンを自動的に空ける */
}

div#top_area {
    width: 844px;
    margin-left:auto;    /* 左側マージンを自動的に空ける */
    margin-right:auto;   /* 右側マージンを自動的に空ける */
}

/* ---------- top ---------- */
div#main h1 {
    background-image: url(../topimg/open.gif);
    background-repeat: no-repeat;
    background-position: center;
    height: 27px;
    padding: 0px;
    margin-top: 35px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
}

div#top_read {
    text-align: right;
    margin: 0px;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
}

/* ---------- menu ---------- */
div#menu_area {
    float: right;
    width: 380px;
    /*height: 305px;*/
    height: auto;
    display: none;
}

#menu_area ul{
    list-style: none;
}

#menu_area ul li{
    margin-bottom:6px;
}

/* ---------- info ---------- */
div#info_area {
    float: left;
    width: 840px;
    margin: 0 0 30px 0;
    padding: 0px;
}

div#info_area_base {
    width: 434px;
    font-size: 12px;
    line-height: 150%;
    margin: 0px;
    padding: 0px;
}

div#info_area_base td {
    margin: 0px;
    padding-top: 10px;
    padding-right: 0px;
    padding-bottom: 10px;
    padding-left: 0px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #dcdbdc;
}

div#info_area_base h6 {
    margin: 0px;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 3px;
    padding-left: 10px;
    color: #85847b;
    font-size: 12px;
}
div#info_area_base p {
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 10px;
    color: #746f9a;
    font-size: 12px;
    margin: 0px;
}

#news{
    text-align: left;
}

#news h2{
    margin-bottom: 0;
}

#news li{
    border-bottom:dotted 1px #ccc;
    box-sizing: border-box;
    /*height:62px;*/
    padding-top:10px;
    padding-bottom:10px;
}

#news li .pLabel{
    margin-left:10px;
    background-color:#c17180;
    color:#fff;
    font-size:9px;
    padding:1px 10px;
    border-radius: 5px;
}

#news li .sale{
    background-color:#ed7800;
}

.works_area{
    text-align: left;
    margin-bottom:50px;
}

.works_area ul{
    overflow: hidden;
}

.works_area > ul > li{
    float: left;
    width:200px;
    margin-right:14px;
}

.works_area > ul > li:last-child{
    margin-right:0;
}

.works_area .dot{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.works_area .works_tax_list li,
.works_area .tag{
    display: inline-block;
}

.works_area .works_tax_list .workstax,
.works_area .tag a{
    display: block;
    font-size: 10px;
    color:#fff;
    background-color: #c17180;
    margin:0 5px 5px 0;
    border-radius: 5px;
    padding:4px 6px;
    line-height:1;
    font-weight: normal;
    text-decoration: none;
}

.works_area .works_tax_list .workstax:hover{
    opacity: 0.7;
}

.works_area .photo{
    margin-bottom:10px;
}

/* ---------- footer ---------- */
div#footer_area{
    clear:both;
}
div#footer_area p.ml10{
    float: left;
    margin-top: 25px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 10px;
}

.think{
    width: 100%;
    margin-top: 40px;
    margin-bottom: 40px;
    display: block;
}
.think img{
    width: 100%;
}

#news ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#news ul li{
    width: 408px;
}

.linkarea{
    margin: 30px 0px 60px 0px;
}

.linkarea a{
    width: 840px;
    margin: 25px 0px;
    display: block;
}

.linkarea a img{
    width: 100%;
}

/* =====================================================
    LINE バナー（トップページ用）
===================================================== */

/* 全体 */
#top_area .line-banner{
    border: 6px solid #56d88b;
    background: url("/topimg/bg_nami.png") repeat-x bottom center, #ebfff3;
    position: relative;
    overflow: hidden;
    margin: 20px 0;
}

/* 中身レイアウト */
#top_area .line-banner__inner{
    max-width: 980px;
    margin: 0 auto;
    padding: 22px 70px;
    display: flex;
    gap: 20px;
    align-items: center;
}

/* 左スマホ画像 */
#top_area .line-banner__phone img{
    width: 98px;
    height: auto;
    display: block;
}

/* 右側 */
#top_area .line-banner__content{
    flex: 1;
}

/* タイトル */
#top_area .line-banner__title{
    margin: 0 0 10px;
    text-align: center;
    font-weight: bold;
    letter-spacing: 0.08em;
    font-size: 28px;
    color: #23c063;
    border: none;
    background: none;
}

/* QRエリア（PC表示） */
#top_area .line-qrGrid{
    display: flex;
    justify-content: center;
    gap: 34px;
}

#top_area .line-qrCard{
    width: 140px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #333;
}

/* 店舗名ラベル */
#top_area .line-chip{
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: #3bc570;
    color: #fff;
    font-weight: bold;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
}

/* QR枠 */
#top_area .line-qrFrame{
    display: flex;
    align-items: center;
    justify-content: center;
}

#top_area .line-qrFrame img{
    width: 100px;
    height: 100px;
}

/* SP用ボタン（PCでは非表示） */
#top_area .line-btnGrid{
    display: none;
    gap: 12px;
}

#top_area .line-btn{
    display: block;
    padding: 14px;
    text-align: center;
    background: #1fb56a;
    color: #fff;
    font-weight: bold;
    border-radius: 10px;
    text-decoration: none;
}

/* =====================================================
    LINE バナー：スマホだけ QR→ボタン切替（viewport無しでも効かせる）
===================================================== */

/* PCはQR表示・ボタン非表示（念のため固定） */
#top_area .line-qrGrid{ display: flex; }
#top_area .line-btnGrid{ display: none; }

/* スマホ判定は max-width ではなく max-device-width を使う */
@media screen and (max-device-width: 768px){

  /* QRを消す */
    #top_area .line-qrGrid{
    display: none !important;
    }

  /* ボタンを出す */
    #top_area .line-btnGrid{
    display: grid !important;
    gap: 12px;
    }

  /* ついでにLINE枠内だけ見やすく（全体には触らない） */
    #top_area .line-banner__inner{
    padding: 18px 14px;
    }
    #top_area .line-banner__phone{
    display: none;
    }
}