/* ==============================================
   基本設定・ユーティリティクラス
   ============================================== */

/* タイトルセクション */
.title_wrap {
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
    margin-bottom: 20px;
}

.title_wrap h2 {
    margin: 0;
    margin-bottom: 0;
}

.title_wrap p.fs12 {
    padding: 5px 0 0; 
}

/* ユーティリティクラス */
.tc {
    text-align: center;
}

.sp {
    display: none;
}

.sans {
    font-family: sans-serif;
}

.pb8 {
    padding-bottom: 8px;
}

.leftem {
    padding-left: 0.5em;
}

.engem {
    padding-left: 2em;
	padding-top: 2px;
}

.plemhart {
    /* 特定の段落用 */
}

.pasta_wrap .mb0 {
    margin-bottom: 0;
}

.highlight {
    background: linear-gradient(transparent 60%, #FFE4B5 60%);
    background-size: 100% 100%;
}

/* エモジ */
.title_wrap .material-symbols-outlined {
  font-size: 16px;       /* 周囲の文字サイズに合わせる */
  line-height: 1.2;
  vertical-align: -3px;  /* マイナスで下げる、プラスで上げる */
}
.title_wrap .material-symbols-outlined a{
	color: blue;
	text-decoration: none;
}

/* ==============================================
   セクション見出しリセット
   ============================================== */
.section-wrap h3 {
    background: none;
}

/* セクション上下の余白（左右は common.css など既存の指定のまま。スマホ幅は下の @media で15px） */
.section-wrap {
    padding-top: 20px;
    padding-bottom: 20px;
}

/* 2つ目のsection-wrap（直前に.section-wrapがあるもの）は上下5px。PC幅のみ（.pasta_wrapのpadding-topや.desert_wrapのpadding-bottomが別にあるため） */
@media (min-width: 769px) {
    .section-wrap + .section-wrap {
        padding-top: 5px;
        padding-bottom: 5px;
    }
}

/* ==============================================
   基本見出しスタイル
   ============================================== */
h3 {
    color: #58351b;
    font-size: 28px;
    padding: 0;
    text-align: left;
    font-weight: bold;
    font-family: serif;
    line-height: 1.3;
}

h3 .small {
    font-size: 14px;
}

h3 .sans {
    font-family: sans-serif;
}

h3 .middle {
    font-size: 18px;
}

h3 .info-text {
    font-size: 14px;
}

.course_color {
    padding: 0;
    margin-top: 0em;
}

.notice-box {
  font-size: 14px;
  text-align: center;
  margin-bottom: 15px;
  padding: 15px 15px 0;
}

.notice-box a.modal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #58351b;
  font-weight: 500;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 3px;
  border: 1px solid #d0c4b4;
  text-decoration: none;
  transition: background 0.3s ease;
}

.notice-box a.modal:hover {
  background: #FFE4B5;
}

.notice-title {
  /* 太字は<b>タグで指定されているのでCSSでは不要 */
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
}

.notice-text {
  line-height: 1.3;
  text-align: center;
  margin-bottom: 8px;
}

.notice-time {
  font-weight: bold;
  margin-bottom: 26px;
}

.time-highlight {
  color: red;
}

/* 価格改定案内(平日・土日祝のdl) */
.price-notice {
  position: relative;
  box-sizing: border-box;
  border: 1px solid #d0c4b4;
  border-radius: 4px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 25px;
  padding: 22px 24px 16px;
}

.price-notice dt {
  position: absolute;
  top: -0.8em;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 0 12px;
  font-weight: bold;
  color: #58351b;
  white-space: nowrap;
}

.price-notice dd {
  margin: 0;
}

.price-notice-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.price-notice-item {
  display: grid;
  grid-template-columns: 11em 8em 1.5em 8em;
  align-items: baseline;
  column-gap: 6px;
  margin-bottom: 8px;
  font-size: 15px;
}

.price-notice-item:last-child {
  margin-bottom: 0;
}

.price-notice-name {
  text-align: left;
  font-weight: bold;
}

.price-notice-before {
  text-align: left;
  color: #666;
}

.price-notice-arrow {
  text-align: center;
}

.price-notice-after {
  text-align: left;
  color: #c90a04;
  font-weight: bold;
  font-size: 110%;
}

@media (max-width: 480px) {
  .price-notice {
    width: 100%;
  }
  .price-notice-item {
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas:
      "name name name"
      "before arrow after";
  }
  .price-notice-name {
    grid-area: name;
    margin-bottom: 2px;
  }
  .price-notice-before {
    grid-area: before;
  }
  .price-notice-arrow {
    grid-area: arrow;
  }
  .price-notice-after {
    grid-area: after;
  }
}

/* ==============================================
   本日のパスタセクション
   ============================================== */
/* ドリンクがつきますwrap　*/   
.drink_info {
	text-align: center;
	margin-top: -15px;
	margin-bottom: 25px;
	line-height: 1.3;
}
   
.todaypasta_wrap {
    padding: 0 15px 15px;
    margin-bottom: 0px;
}

/* 「Today's PASTA」の題字：ページ内(h3#today)とモーダル内(.pasta-modal h3.today-ttl)で共通。
   題字の左右に二重線を置く。線の色は --today-line で切り替え */
h3#today,
.pasta-modal h3.today-ttl {
    --today-line: #707036;   /* 平日＝オリーブ */
    display: flex;
    align-items: center;   /* 線と題字を上下の中央で揃える */
    gap: 20px;             /* 題字と線の間隔 */
    padding: 10px 0;
    margin-bottom: 20px;
    background: none;
}

/* 題字の左右に二重線（残りの幅いっぱいに伸びる） */
h3#today::before,
h3#today::after,
.pasta-modal h3.today-ttl::before,
.pasta-modal h3.today-ttl::after {
    content: "";
    flex: 1;
    border-top: 6px double var(--today-line);
}

.today-ttl .title-center {
    display: block;
    flex: 0 1 auto;
    min-width: 0;          /* 画面が狭いとき、画像が縮めるように */
}

.today-ttl .title-center img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* 大盛・グルテンフリーの注意書き：ページ内(一覧の下)とモーダル内で共通。右寄せ */
.todaypasta_wrap .right_text,
.pasta-modal .right_text {
    display: flex;              /* 中の p を横並びにする */
    flex-wrap: wrap;            /* 入りきらないときは折り返す */
    justify-content: flex-end;  /* 右寄せ */
    gap: 6px 28px;              /* 縦6px・横28pxの間隔 */
    font-size: 13px;
    font-weight: normal;
    text-align: left;
    color: #58351b;
}

/* ページ内はセンター寄せ（モーダル内は右寄せのまま） */
.todaypasta_wrap .right_text {
    justify-content: center;
    margin-bottom: 10px;   /* 注意書きの下の余白 */
}

.todaypasta_wrap .right_text p,
.pasta-modal .right_text p {
    line-height: 1.2;
    margin: 0;
}

.todaypasta_wrap .right_text .small,
.pasta-modal .right_text .small {
    font-size: 12px;
}

.todaypasta_wrap .right_text .en,
.pasta-modal .right_text .en {
    font-size: 12px;
    font-weight: 400;
    padding: 3px 0 0;
    line-height: 1.0;
    color: #896060;
}

/* ==============================================
   メニューコンテナ
   ============================================== */
.menu_wrap_contents {
    margin: 0 auto 40px;
    padding-left: 0;
    padding-right: 0;
    text-align: left;
}

.menu_wrap_contents_mb20 {
    margin: 0 auto 20px;
}

.lotext {
	text-align: right;
	font-size: 14px;
	margin-top: -10px;
}
.lowrap {
	margin-top: -15px;
	margin-bottom: 10px;   /* スペシャルコースの下の余白（40pxを10pxに） */
}

.menu_container_lunch {
    margin: 20px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 16px;
}

.menu_container_lunch.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.menu_container_lunch .menu_item {
    width: auto;
    float: none;
    overflow: hidden;
    margin-bottom: 0;
}

/* 写真・日本語・英語の3段を、横に並んだカード同士で同じ高さにそろえる */
@supports (grid-template-rows: subgrid) {
    .menu_container_lunch .menu_item {
        display: grid;
        grid-row: span 3;
        grid-template-rows: subgrid;
        row-gap: 0;
    }
}


.menu_container_lunch .menu_item_photo img {
    width: 100%;
    display: block;
}

.menu_itemContent {
    display: flex;
    justify-content: space-between;
	padding:  10px 5px 0 10px;
	
}


.menu_itemContent ul li {
	margin-bottom: 7px;
}
.menu_itemContent ul li.mb12 {
	margin-bottom: 12px;
}

.menu_container_lunch .menu_title {
    font-size: 16px;
    line-height: 1.3;
    font-family: serif;
    font-weight: 500;
    padding: 0;
    width: 100%;
    word-break: break-all;
}

.menu_english {
    /* メニューの英語表記用 */
}

.menu_title_english {
    font-size: 12px;
    font-weight: 400;
    padding: 2px 0 5px;
    line-height: 1.0;
    color: #666;
}



span.choice_red {
	color: #58351b;
    font-weight: bold;
    font-family: sans-serif;
	font-size: 90%;
}
.choice_red_color {
color: #58351b;
}

.menu_container_lunch .menu_title_english {
    color: #666;
    line-height: 1.2;
    padding: 0 0 2px 0;
	padding: 5px 5px 10px 1em;
}

.todaypasta_wrap .menu_title_english {
    font-size: 12px;
    font-family: serif;
}

.menu_container {
    margin: 0px;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
}

.menu_item_photo {
    /* 写真用コンテナ */
}

.menu_item_photo img {
    width: 100%;
}

.menu_item_photo img.sm {
    /* 小さい画像用 */
}

/* 背景色（1枚分の .menu_item に付けると、横並びの高さが自動でそろう） */
.weekly_lunch .menu_item {
	background: #707036;
}
.holiday_lunch .menu_item {
	background: #7d0000;
}

/* 文字色 */
.weekly_lunch .menu_item .menu_title,
.weekly_lunch .menu_item .menu_title_english,
.holiday_lunch .menu_item .menu_title,
.holiday_lunch .menu_item .menu_title_english {
	color: #fff;
}

/* ホリデーの文字間少し縮める */
.weekly_lunch .menu_item .menu_title,
.holiday_lunch .menu_item .menu_title {
	letter-spacing: -0.05em;
}
/* ラザニアの行間縮める */
.holiday_lunch .menu_item .lazagna {
	line-height: 1.1;
}

/* ==============================================
   パスタセクション
   ============================================== */
.pasta_wrap {
    padding: 15px 0 0;
}

.flex {
    display: flex;
    justify-content: space-between;
    background-image: url(../takeout/images/bg_title.png);
    background-repeat: no-repeat;
    background-position: bottom center;
    padding-bottom: 14px;
    margin-bottom: 10px;
    align-items: flex-end;
}

.flex_color {
    /* カラーバリエーション用 */
}

.flex h3.mb15 {
    margin-bottom: 0;
}

.flex h3 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 12px;
    min-width: 0;
    flex-shrink: 1;
	font-size: 24px;
    /* 題字は明朝（Google Fonts の Shippori Mincho B1。読み込めないときは端末の明朝） */
    font-family: "Shippori Mincho B1", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;
}

/* 英語の題字（日本語題字のすぐ右・小さめ） */
.flex h3 .title-en {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.05em;
}

/* 説明文：ゴシックで、題字の下の行に改行する */
.flex h3 .info-text {
    flex-basis: 100%;
    font-family: YuGothic, "Yu Gothic", "Hiragino Sans", Meiryo, sans-serif;
    font-weight: normal;
}

/* コースごとのinfo-text位置調整用(タイトル画像の高さに合わせて個別にmarginを変える) */
.info-text-1 {
    margin-top: 0;
}

.info-text-2 {
    margin-top: 0;
}

.info-text-3 {
    margin-top: 0;
}

.info-text-4 {
    margin-top: 0;
}

.flex h3 img {
    display: block; /* 画像の下余白を削除 */
    max-width: 100%;
    height: auto;
}

.menu_price {
    font-size: 150%;
    font-weight: bold;
    text-align: right;
    padding: 0 0 8px;
    font-family: serif;
    color: #58351b;
    display: flex;
    justify-content: space-between;
    flex-shrink: 0;
    white-space: nowrap;
}

.menu_price .bodyprice {
    font-size: 24px;
    padding-top: 0.5em;
}

.menu_price .small {
    font-size: 70%;
}

.small_inner {
    font-size: 17px;
}

.menu_title {
    padding-left: 0.5em;
    font-family: serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2;
    color: #000;
}

.menu_title .small {
    font-size: 13px;
}

.menu_title a {
    color: #c90a04;
    font-weight: bold;
    transition: 0.5s;
    font-family: sans-serif;
    font-size: 90%;
    text-decoration: underline;
}

.menu_title a:hover {
    color: #650502;
    font-weight: bold;
}

/* リンク色：ページのテーマ色に合わせる（平日=オリーブ／ホリデー=赤）。:has() で、ページ内に weekly_lunch / holiday_lunch があるかを見て切り替える */
.content-wrapper:has(.weekly_lunch) .menu_title a {
    color: #707036;
}
.content-wrapper:has(.weekly_lunch) .menu_title a:hover {
    color: #4d4d25;
}
.content-wrapper:has(.holiday_lunch) .menu_title a {
    color: #7d0000;
}
.content-wrapper:has(.holiday_lunch) .menu_title a:hover {
    color: #4a0000;
}

/* ホリデーは赤。モーダルは .content-wrapper の外に出るので、中にコピーされた .holiday_lunch を目印にする */
.content-wrapper:has(.holiday_lunch) h3#today,
.pasta-modal .modal_p30_inner:has(.holiday_lunch) h3.today-ttl {
    --today-line: #7d0000;
}

.menu_title_english_text {
    font-size: 12px;
    line-height: 1.0;
    padding: 3px 0 5px 0.5em;
    color: #666;
}
.choice_red_color {
	color: #58351b;
}

.desert_wrap {
    padding: 0 0 16px 1em;
}

/* ==============================================
   個室案内セクション
   ============================================== */
.sub_section {
    background: #ffe0b3;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 560px;
    font-size: 15px;
    text-align: center;
    margin: 40px auto;
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
}

.sub_section h4 {
    text-align: center;
    margin-bottom: 15px;
}

.sub_section .en-text {
    font-size: 13px;
    margin-bottom: 15px;
    padding-left: 0.5em;
}

.sub_section .en-text:last-child {
    margin-bottom: 0;
}

.flex h3 img.sp-image { 
 	display: none;
    }

/* ==============================================
   レスポンシブ対応
   ============================================== */

/* タブレット対応 */
@media screen and (max-width: 966px) {
    /* PC/スマホ画像切り替え */
.flex h3 img.pc-image { 
        display: none; 
    }
.flex h3 img.sp-image { 
        display: block;
        max-width: 100%;
        height: auto;
    }
.lp_sp {
	margin-bottom: 15px;
}
.flex h3 {
	text-align: center;
}

}

/* スマートフォン対応 */
@media (max-width: 768px) {
    .sp {
        display: inherit;
    }

    .menu_container_lunch,
    .menu_container_lunch.cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .flex h3 img {
	margin:  0 auto;
}

    
    .sub_section {
        max-width: 560px;
        width: 100%;
    }
    
    h3#today,
    .pasta-modal h3.today-ttl {
        gap: 12px;
    }
    
    .menu_container {
        margin: 0px;
        overflow: hidden;
        display: flex;
        justify-content: space-between;
    }
    
    .menu_wrap_contents {
        margin: 0 auto 35px;
    }
    
    .menu_wrap_contents:last-child {
        margin: 0 auto;
    }
	
	.menu_container .mb0 {
        margin: 0 auto;
    }
    
    .menu_item_photo {
        margin-right: 10px;
    }
    
    .menu_item_photo:last-child {
        margin-right: 0px;
    }
    
    .menu_container img {
        width: 100%;
        display: inline-block;
        margin-right: 10px;
    }
    
    .pasta_wrap {
        padding: 0px;
    }
    
    .flex {
        justify-content: flex-start;
        align-items: center;
        margin-bottom: 15px;
        flex-direction: column;
    }
    
    .flex h3.mb15 {
        margin-bottom: 0px;
    }
    
    .lp_sp {
        margin-bottom: -15px;
    }
    
    .menu_price {
        padding: 0 0 13px;
        text-align: right;
    }
    
    .flex h3 {
        min-width: inherit;
        line-height: 1.1;
        flex-direction: column;
        gap: 4px;
    }

    /* スマホ：英語の題字と説明文の間を少し空ける */
    .flex h3 .title-en {
        margin-bottom: 5px;
    }

    .info-text-1,
    .info-text-2,
    .info-text-3,
    .info-text-4 {
        margin-top: 0;
    }

    .section-wrap {
        padding: 15px;
    }
    
    .menu_container {
        display: block;
    }
    
    .menu_item_photo {
        margin: 0;
    }

    /* 料金ボックス内の文章(.menu_container)は、スマホでは余白なし。色付きカード(.menu_container_lunch)は対象外 */
    .menu_container .menu_itemContent {
        padding: 0;
    }

    /* スマホ：「ラストオーダー」の文のマイナス余白をなくす */
    .lotext {
        margin-top: 0;
		margin-bottom: 10px;
    }
    .lowrap {
        margin-top: 0;
    }
} 



/* 小画面対応 */
@media (max-width: 600px) {
    h3 {
        font-size: 18px;
    }

    .menu_container_lunch,
    .menu_container_lunch.cols-4 {
        grid-template-columns: 1fr;
    }
    
    .todaypasta_wrap .right_text {
        font-size: 13px;
    }
    
    .menu_price .bodyprice {
        font-size: 24px;
        padding: 0;
    }
    
    .menu_price {
        padding: 0;
        text-align: right;
    }
    
    .flex {
        display: block;
    }
    
    .menu_price {
        padding: 8px 0 0;
        display: block;
        text-align: center;
    }
}

@media (max-width: 559px) {
    .sub_section {
        width: 100%;
        text-align: left;
    }
}

/* 手動改行(br-pc)：スマホ幅(768px以下)では無効にする（ページ内もモーダル内も同じ） */
@media (max-width: 768px) {
    .br-pc {
        display: none;
    }
}


/* PC幅：題字(h3)の最後の行（説明文）と価格を、文字の下端(ベースライン)で一直線に揃える。余白も詰める */
@media (min-width: 769px) {
    .flex {
        align-items: flex-end;           /* last baseline に未対応のブラウザ用 */
        align-items: last baseline;
    }
    .flex h3 {
        margin-bottom: 0;
        align-items: baseline;
    }
    .menu_price {
        padding: 0;
    }
    .menu_price .bodyprice {
        padding-top: 0;
    }
}
