@charset "UTF-8";
/* CSS Document */

body{
padding-top: calc(40px + 10vw);
}
/* 中身-モバイルファースト======================================================================================================== */

#article .box{
display: flex;
flex-wrap: wrap;
justify-content: space-between;
background-color: #fff;
box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.3);
padding: 10px;
}
#article .name{
width: 100%;
display: block;
font-size: 18px;
margin-bottom: 10px;
}
#article .photo{
width: 30%;
}
#article .photo img{
aspect-ratio: 3/2;
object-fit: contain;
}
#article .text{
width: 68%;
}
#article dl{
display: flex;
flex-wrap: wrap;
align-items: flex-start;
justify-content: space-between;
font-size: 12px;
}
#article dt{
width: 4em;
border: solid 1px #111;
text-align: center;
margin-top: 10px;
}
#article dd{
width: calc(100% - 4em - 5px);
margin-top: 10px;
}
#article dt:first-child,
#article dt:first-child + dd{
margin-top: 0;
}

#article .price{
width: 100%;
text-align: right;
font-weight: bold;
}
#article .price .n{
font-size: 30px;
}

#article input{
display: none;
}


/* PCのみ======================================================================================================== */
@media print, screen and (min-width: 751px){

body{
padding-top: calc(60px + 6vw);
}


#article .box{
padding: 40px;
display: grid;
grid-template-columns: 180px 1fr auto;
grid-template-rows: auto 1fr;
grid-column-gap: 20px;
grid-row-gap: 0px;
}
#article .name { grid-area: 1 / 2 / 2 / 3; }
#article .photo { grid-area: 1 / 1 / 3 / 2; }
#article .text { grid-area: 2 / 2 / 3 / 3; }
#article .price { grid-area: 1 / 3 / 3 / 4; align-self: end; }


#article .name{
font-size: 24px;
}
#article .photo{
width: 180px;
}
#article dl{
font-size: 14px;
}
#article .price{
font-size: 20px;
}
#article .price .n{
font-size: 40px;
}




}
/* ▼ PC用グローバルメニュー（ロゴ下に常時表示） */
#global_menu_desktop {
  margin-top: 1vw;
  padding: 0 2vw;
}

#global_menu_desktop ul {
  display: flex;
  gap: 2vw;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

#global_menu_desktop ul li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 0.5em 1em;
  transition: background-color 0.3s;
}

#global_menu_desktop ul li a:hover {
  background-color: #eee;
  border-radius: 4px;
}

/* モバイル用メニューはPCで非表示 */
@media screen and (min-width: 751px) {
  .pc_only {
    display: block;
  }
  .sp_only {
    display: none;
  }
}

/* モバイル用では逆にPCメニューを非表示 */
@media screen and (max-width: 750px) {
  .pc_only {
    display: none;
  }
  .sp_only {
    display: block;
  }
}
/* ====================  PC 用サイドメニュー  ==================== */
@media screen and (min-width: 751px) {

  /* ロゴブロック全体を縦並びにする */
  #header_logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* ↓ロゴとメニューの間隔を “12行＝約 12rem” 分確保 */
    gap: 12rem;        /* ここを調整すれば間隔の増減が簡単にできます */
  }


  /* メニュー自体の体裁 */
  #global_menu_desktop ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  #global_menu_desktop li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: opacity .3s;
  }
  #global_menu_desktop li a:hover {
    opacity: .6;
  }

  .sp_only { display: none; }
  .pc_only { display: block; }
}

/* スマホ側は従来通り */
@media screen and (max-width: 750px) {
  .pc_only { display: none; }
  .sp_only { display: block; }
}
