
/* ---------------------------------
------------------------ mb --------
------------------------------------ */

@media (max-width:600px){

/******************************/
/************** .main_visual **/
/******************************/
.main_visual{
  width: 100%;
  height: auto;
}
.main_top img{
  width: 100%;
  height: auto;
  position: relative;
}
.cp_banner{
  margin: 0 auto;
  width: 90%;
  height: auto;
  padding: 1rem 0;
}
.mb_banner img{
  width: 100%;
  height: auto;
}
.copy1,
.copy2{
  position: absolute;
  top: 0;
  font-size: 1.8rem;
  color: #84BF84;
  -webkit-text-stroke: 2px var(--mainWhite);
  text-shadow: 0px 0px 3px var(--mainWhite);
  paint-order: stroke fill;
}
.copy1{
    top: 19rem;
    left: 1.8rem;
}
.copy2{
  top: 22rem;
  left: 6rem;
}
.pc_banner{
  display: none;
}



/*******************************/
/**************** #about_area **/
/*******************************/

.about_inner{
  padding: 0 16px;
}

#about_area{
  position: static;
  width: auto;
  margin: 0;
  left: auto;
  right: auto;
}
/* .about-title{
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    height: 56px;
    background: #C8E6C9;
    color: #fff;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
  } */
#about_area h2 {
height: 80px;              
background-color:  var(--accentColor);       
color: #fff;
display: flex;
justify-content: center;   
align-items: center;      
margin: 0 0 40px;          
font-size: 16px;
font-weight: 700;
width: 100vw;
margin-left: calc(50% - 50vw);
margin-right: calc(50% - 50vw);
margin-top: 0;
margin-bottom: 40px;
}

.about_item {
position: relative;
display: flex;
 margin-bottom: 28px;
align-items: flex-start;
gap: 12px;


}

/* チェックの背景（□部分） */
.about_item .icon_box {
width: 18px;
height: 18px;
border: 1px solid #333; 
box-sizing: border-box;
margin-top: 4px;
flex-shrink: 0;
}

/* チェックマーク */
.about_item .icon_check {
position: absolute;
left: 3px;
top: 6px;
width: 10px;
height: 6px;
border-left: 3px solid #17a2a6;
border-bottom: 3px solid #17a2a6;
transform: rotate(-45deg);
}

/* テキスト */
.about_item p {
margin: 0;
font-size: 14px;
line-height: 1.9;
color: #333;
}

/* =========================
 　　お知らせ
========================= */

 .info-area{
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 40px auto 0;
    padding: 0 16px;
  }

  /* 白いカード本体 */
  .news{
    width: 100%;
    max-width: 520px;
    text-align: center;
    margin: 0 auto;
    padding: 18px 16px;
    background: #fff;
    border: none;
    border-radius: 14px;
    box-sizing: border-box;
  }

  /* 見出し */
  .info-title{
    margin: 0 0 14px;
    padding: 0;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
  }

  /* 各お知らせ行 */
  .news-item{
    text-align: center;
    padding: 14px 0;
  }

  /* 区切り線 */
  .news-item::after{
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: #cfe8cf;
    margin-top: 12px;
  }

  /* 日付 */
  .news-item time{
    font-size: 13px;
    color: #666;
  }

  /* ラベル */
  .news-item .label{
    display: inline-block;
    margin-left: 8px;
    padding: 2px 10px;
    font-size: 11px;
    color: #6bbf9b;
    border: 1px solid #cfe8cf;
    border-radius: 20px;
    vertical-align: middle;
  }
/* ----------- */

  /* タイトル文 */
  .news-item p{
    margin: 6px 0 0;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
  }

  /* 一覧ボタン */
  .news-button{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 22px;
    background: #cfe8cf;
    border-radius: 20px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    margin: 24px auto 60px; 
  }


/* =========================
 Schedule
========================= */

.schedule {
width: 100%;
max-width: 520px;
margin: 60px 0;
}

.schedule-box {
border: 3px solid #cfe8cf;
border-radius: 30px;
padding: 28px 24px;
margin: 30px auto 0;  
box-sizing: border-box;

}

.schedule table {
width: 100%;
border-collapse: collapse;
font-size: 14px;
}

.schedule th,
.schedule td {
padding: 14px 8px;
text-align: center;
color: #666;
font-weight: normal;
}

.schedule th:first-child,
.schedule td:first-child {
text-align: left;
padding-left: 50px;    
}

.schedule thead tr {
border-bottom: 1px solid #777;
}

.schedule tbody tr {
border-top: 1px solid #777;
}

.circle {
display: inline-block;
width: 12px;
height: 12px;
background: #1aa6a6;
border-radius: 50%;
}

.schedule .note {
border-top: 1px solid #777;
padding-top: 12px;
font-size: 13px;
color: #666;
text-align: center;
}



/* =========================
 処方せん受付の流れ
========================= */

.flow {
padding: 60px 16px;
background: #fff;
}

.flow-inner {
max-width: 100%;
margin: 0 auto;
text-align: center;
}

.flow-title {
font-size: 20px;
font-weight: 700;
margin: 0;
}

.flow-line {
display: block;
width: 36px;
height: 3px;
background: #bfe4c6;
margin: 14px auto 18px;
border-radius: 2px;
}

.flow-text {
font-size: 13px;
font-weight: 600;
margin-bottom: 60px;
color: #111;
}

/* アイコンエリア */
.flow-items {
display: column;
justify-content: center;
margin: 40px 0;
}

.flow-item {
text-align: center;
width: 300px;
}
/* アイコン共通の入れ物 */
.flow-item img {
width: 100px;     
height: 100px;    
object-fit: contain; 
display: block;
margin: 0 auto 18px;
}


.flow-item p {
font-size: 14px;
font-weight: 700;
margin: 0;
margin-bottom: 30px;
color: #111;
transition: 0.5s;
}
/* ----------- */
#panel_inner1,
#panel_inner2{
  scroll-margin-top: 100px;
}
.flow-item:hover p{
  color: var(--accentColor);
}


/* =========================
薬局窓口 アプリ
========================= */

/* ===== 全体 ===== */
.two-panels{
padding: 40px 20px 60px;
background:#fff;
}

.two-panels__inner{
max-width: 920px;
margin: 0 auto;
}

/* ===== 囲み（画像の薄い青枠） ===== */
.panel{
  width: 70%;
  margin: 0 auto;
  border: 1px solid #bfe4c6;
  padding: 1rem 0;
}

.panel__title{
text-align:center;
font-size: 16px;
font-weight: 700;
margin: 1rem 0 2rem;
}

#panel_inner2{
  margin-top: 3rem;
}

/* ===== 3カラム ===== */
.panel__grid{
display: grid;
grid-template-columns:1fr;
gap: 18px;
}

/* ===== 各カード ===== */
.card{
text-align: center;
max-width: 260px;   
margin: 0 auto;
}

.card__thumb{
width: 130px;
height: 130px;
margin: 0 auto 10px;
border-radius: 50%;
overflow: hidden;
background: #f3f3f3;
}

.card__thumb img{
width: 100%;
height: 100%;
object-fit: cover; /* 丸にきれいに収める */
display: block;
}

.card__text{
margin: 0;
font-size: 11px;
line-height: 1.6;
color:#333;
}
.card__sub{
margin: 6px 0 10px;
font-size: 12px;
font-weight: 700;
line-height: 1.4;
color: #111;
}



  /* =========================
     お知らせ + 受付時間（右スクショ：縦並び）
  ========================= */
  .info-area{
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin: 40px auto 0;
    padding: 0 var(--gutter);
    align-items: stretch;
  }

  .news,
  .schedule{
    width: 100%;
  }

  .info-title{
    padding: 0 0 8px 0;  /* ←30pxを消す（右みたいにスッキリ） */
    font-size: 16px;
  }

  .news-item{
    padding: 12px 0;
    align-items: center;
  }

  .news-item::after{
    width: 80%;
    margin-top: 10px;
    margin: 10px auto 0; 
  }

  /* ボタン：left固定をやめて中央へ */
  .news-button{
    position: static;        /* ← left を殺す */
    margin: 14px 0 0;
    display: inline-flex;
    justify-content: center;
  }

  /* schedule：はみ出しの原因を消す */
  .schedule-box{
    border: 2px solid #cfe8cf; 
    margin-left: 0;
    margin-right: 0;
    padding: 16px 14px;
    border-radius: 18px;
    margin: 20px 25px 0;        /* ← 左右に余白を作るポイント */
   box-sizing: border-box;
  }

  .schedule table{
    font-size: 12px;
  }

  .schedule th,
  .schedule td{
    padding: 10px 4px;
  }

  .schedule th:first-child,
  .schedule td:first-child{
    padding-left: 6px;
  }

  .schedule .note{
    font-size: 12px;
  }
  

  /* =========================
     処方せん受付の流れ（右：縦並び）
  ========================= */
  .flow{
    padding: 50px var(--gutter);
  }

  .flow-inner{
    max-width: 100%;
  }

  .flow-title{
    font-size: 16px;
  }

  .flow-text{
    font-size: 12px;
    margin-bottom: 30px;
  }

  /* ← display:column はNG。flexで縦並び */
  .flow-items{
    display: flex;
    /* flex-direction: column; */
    align-items: center;
  }
 
  .flow-item{
    width: 100%;
    max-width: 320px;
  }

  .flow-item img{
    width: 80px;
    height: 80px;
  }

  .flow-item p{
    font-size: 13px;
  }

  /* ----------- */
#panel_inner1,
#panel_inner2{
  scroll-margin-top: 100px;
}



/* =========================
　お店のロゴ　地図
========================= */

/* ===== アクセス ===== */
.access {
padding: 80px 20px 90px;
background: #fff;
}

.access-inner {
width: 90%;
margin: 0 auto;
}

.section-title {
text-align: center;
font-size: 16px;
font-weight: 700;
margin: 0;
}

.section-line {
display: block;
width: 36px;
height: 3px;
background: #bfe4c6;
margin: 14px auto 40px;
border-radius: 2px;
}

/* 縦並び */
.access-content {
display: flex;
flex-direction: column;
gap: 30px;
}
.access-text {
  border-left: 3px solid #d7d7d7;
  padding-left: 16px;
  text-align: left;          
}
/* 左側 */
.access-info,
.access-map {
max-width: 100%;
}
.access-info{
  display: flex;
  order: 2;
}
.access-logo {
  display: none;
}

.access-name {
font-size: 16px;
font-weight: 700;
margin-bottom: 10px;
}

.access-address {
font-size: 13px;
line-height: 1.7;
margin-bottom: 10px;
color: #333;
}

.access-note {
font-size: 12px;
color: #666;
}

/* 右側マップ */
.access-map {
height: 280px;
border-radius: 12px;
overflow: hidden;
order: 1;
}



}


/* ---------------------------------
------------------------ pc --------
------------------------------------ */

@media (min-width:600px){
  /******************************/
/***************** main_area **/
/******************************/
#main_area{
  margin-left: var(--headerWidth);
}


/******************************/
/************** .main_visual **/
/******************************/
.main_visual{
  width: 100%;
  height: 100vh;
}
.main_top{
  width: 100%;
  height: calc(100vh - 200px);
  position: relative;
}
.main_top img{
  width: 100%;
  height: 100vh;
  object-fit: cover;
}
.copy1,
.copy2{
  position: absolute;
  top: 0;
  font-size: 3.5rem;
  color: #84BF84;
  -webkit-text-stroke: 2px var(--mainWhite);
  text-shadow: 0px 0px 5px var(--mainWhite);
  paint-order: stroke fill;
}
.copy1{
    top: 3rem;
    left: 5rem;
}
.copy2{
  top: 24rem;
  right: 3rem;
}
.pc_banner{
  position: relative;
  width: 100%;
  height: auto;
}
.mb_banner{
  display: none;
}


/******************************/
/**************** #**/
/********私たちについて**********************/
#about_area h2 {
height: 80px;              
background-color: var(--accentColor);       
color: #fff;
display: flex;
justify-content: center;   
align-items: center;      
margin-bottom: 40px;  
font-size: 18px;
font-weight: 600;
/* width: 100vw;
margin: 0 0 40px; 
margin-left: calc(50% - 50vw);
margin-right: calc(50% - 50vw);
margin-top: 0;
 */
}

.about_item {
position: relative;
display: flex;
 margin-bottom: 28px;
align-items: flex-start;
gap: 12px;
margin-bottom: 28px;
margin-left: 100px;

}

/* チェックの背景（□部分） */
.about_item .icon_box {
width: 18px;
height: 18px;
border: 1px solid #333; 
box-sizing: border-box;
margin-top: 4px;
flex-shrink: 0;
}

/* チェックマーク */
.about_item .icon_check {
position: absolute;
left: 3px;
top: 6px;
width: 10px;
height: 6px;
border-left: 3px solid #17a2a6;
border-bottom: 3px solid #17a2a6;
transform: rotate(-45deg);
}

/* テキスト */
.about_item p {
margin: 0;
font-size: 14px;
line-height: 1.9;
color: #333;
}

/* =========================
 　　お知らせ
========================= */

.info-area{
margin:100px auto 0;           
display: flex;           
justify-content: center;
align-items: flex-start;
margin-top: 100px;
gap: 40px;
}
.info-title{
  font-weight: 600;
  padding:0 0 10px 20px;
}
.news {
width: 35%;
margin-left: 0;
position: relative;
}

.news-item {
 padding: 14px 0 14px 24px; 
  border-bottom: none;


}
.news-item::after{
content: "";
display: block;
width: 80%;                 /* ← 線の長さ（ここ調整） */
height: 1px;
background: #cfe8cf;
margin-top: 12px;
}

.news-item time {
font-size: 13px;
color: #666;
}

.news-item .label {
display: inline-block;
font-size: 11px;
margin-left: 10px;
padding: 2px 10px;
border: 1px solid #cfe8cf;
border-radius: 20px;
color: #6bbf9b;
}

.news-item p {
margin: 6px 0 0;
font-size: 14px;
}

/* button */
.news-button {
  display: inline-flex;
  align-items: center;
  margin-top: 30px;
  margin-left: 42px;   /* ← ここで左位置を調整 */
  padding: 10px 22px;
  background: #cfe8cf;
  border-radius: 20px;
  font-size: 14px;
  color: #333;
  transition: all 0.3s ease;
}
.news-button:hover{
  background:#0FABB5;     /* 少し濃い緑 */
  transform: translateY(-2px); /* ふわっと浮く */
  box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}


/* =========================
 Schedule
========================= */

.schedule {
width: 50%;
}

.schedule-box {
border: 3px solid #cfe8cf;
border-radius: 30px;
padding: 30px 50px 20px;
margin-top: 30px;
margin-left: -20px;
margin-right: auto;
}

.schedule table {
width: 100%;
border-collapse: collapse;
font-size: 14px;
}

.schedule th,
.schedule td {
padding: 14px 8px;
text-align: center;
color: #666;
font-weight: normal;
}

.schedule th:first-child,
.schedule td:first-child {
text-align: left;
padding-left: 50px;    
}

.schedule thead tr {
border-bottom: 1px solid #777;
}

.schedule tbody tr {
border-top: 1px solid #777;
}

.circle {
display: inline-block;
width: 12px;
height: 12px;
background: #1aa6a6;
border-radius: 50%;
}

.schedule .note {
border-top: 1px solid #777;
padding-top: 12px;
font-size: 13px;
color: #666;
text-align: center;
}



/* =========================
 処方せん受付の流れ
========================= */

.flow {
padding: 100px 80px 100px 90px;
background: #fff;
}

.flow-inner {
max-width: 1000px;
margin: 0 auto;
text-align: center;
}

.flow-title {
font-size: 20px;
font-weight: 700;
margin: 0;
}

.flow-line {
display: block;
width: 36px;
height: 3px;
background: #bfe4c6;
margin: 14px auto 18px;
border-radius: 2px;
}

.flow-text {
font-size: 13px;
font-weight: 600;
margin-bottom: 60px;
color: #111;
}

/* アイコンエリア */
.flow-items {
display: flex;
justify-content: center;
gap: 140px;
}

.flow-item {
text-align: center;
width: 300px;
 gap: 100px;
}
/* アイコン共通の入れ物 */
.flow-item img {
width: 100px;     
height: 100px;    
object-fit: contain; 
display: block;
margin: 0 auto 18px;
}


.flow-item p {
font-size: 16px;
font-weight: 700;
margin: 0;
color: #111;
transition: 0.5s;
}

.flow-item:hover p{
  color: var(--accentColor);
}

#panel_inner1,
#panel_inner2{
  scroll-margin-top: 2rem;
}

/* =========================
薬局窓口 アプリ
========================= */

/* ===== 全体 ===== */
.two-panels{
padding: 40px 20px 60px;
background:#fff;
}

.two-panels__inner{
max-width: 920px;
margin: 0 auto;
}
/* ===== 囲み（画像の薄い青枠） ===== */
.panel{
border: 2px solid #C8E6C9;   /* 画像に近い青緑 */
padding: 32px 50px 36px;
margin-bottom: 80px;
background: #fff;
}

.panel__title{
text-align:center;
font-size: 16px;
font-weight: 700;
margin: 0 0 1.5rem;
color:#333;
}

/* ===== 3カラム ===== */
.panel__grid{
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 100px;
}

/* ===== 各カード ===== */
.card{
text-align: center;
max-width: 260px;   
margin: 0 auto;
}

.card__thumb{
width: 130px;
height: 130px;
margin: 0 auto 10px;
border-radius: 50%;
overflow: hidden;
background: #f3f3f3;
}

.card__thumb img{
width: 100%;
height: 100%;
object-fit: cover; /* 丸にきれいに収める */
display: block;
}

.card__text{
margin: 0;
font-size: 11px;
line-height: 1.6;
color:#333;
}
.card__sub{
margin: 6px 0 10px;
font-size: 12px;
font-weight: 700;
line-height: 1.4;
color: #111;
}


/* =========================
  アクセス（ロゴ＋店舗情報＋地図）
========================= */

.access {
  padding: 80px 20px 90px;
  background: #fff;
}

.access-inner{
  max-width: 1100px;
  margin: 0 auto;
}

/* 横並び（本体） */
.access-content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 48px;                 /* 理想画像に近い余白 */
}

/* 左側（お店情報） */
.access-info {
  width: 320px;              
}

/* ロゴ：少し透け感＋中央 */
.access-logo {
    max-width: 140px;
  display: block;
  margin: 0 0 18px 0;  
  
}

  


/* テキストの箱：縦線のカードにする */
.access-text {
  border-left: 3px solid #d7d7d7;
  padding-left: 16px;
  text-align: left;          
}

.access-name {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
}

.access-address,
.access-note {
  font-size: 12px;
  line-height: 1.9;
  color: #333;
  margin: 0;
}

.access-note {
  margin-top: 10px;
  color: #555;
}

/* 右側（地図） */
.access-map {
  width: 640px;              
  max-width: 740px;
  height: 300px;
  border-radius: 18px;
  overflow: hidden;
}

.access-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* 見出し */
.section-title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.section-line {
  display: block;
  width: 36px;
  height: 3px;
  background: #bfe4c6;
  margin: 14px auto 40px;
  border-radius: 2px;
}

}