/* ===========千鳥町のイタリアン　Osteria Senti　CSS ============ */

/* =======基本設定============== */
@charset "UTF-8";
:root {
    --primary-green: #29602B;;
    --accent-red: #A52A2A;
    --text-dark: #2C2C2C;
    --text-light: #505050;
    --bg-light: #FBF7F2;
    --bg-dark: #2F1F1D;
    --border-light: #D5D0C9;
    --reservation-bg: #EAEAEA;
    --form-bg: #FCF8F5;
    --accent-gold: #B8860B;
    --secondary-gray: #7A7A7A;

    /* フォントファミリー */
    --font-cormorant-garamond: 'Cormorant Garamond', serif;
    --font-lora: 'Lora', serif;
    --font-playfair-display: 'Playfair Display', serif;
    --font-noto-serif-jp: 'Noto Serif JP', serif;
    --font-noto-sans-jp: 'Noto Sans JP', sans-serif;


    --color-background-card: var(--form-bg);
    --border-radius-l: 15px;
    --color-shadow-medium: rgba(0, 0, 0, 0.15);
    --color-border-light: var(--border-light);
    --color-border-medium: #B0A9A0;
    --spacing-xl: 4rem;
    --color-secondary: var(--primary-green);
    --spacing-xs: 0.5rem;
    --border-radius-s: 5px;
    --spacing-l: 2rem;
    --spacing-m: 1.5rem;
    --color-background-light: #FFFFFF;
    --color-shadow-light: rgba(0, 0, 0, 0.05);
    --transition-speed: 0.3s;
    --font-japanese-heading: 'Noto Serif JP', serif;

}

html {
    font-size: 100%;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
*, *::before, *::after {
    box-sizing: inherit;
}

img, video {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    display: block;
}

body {
    max-width: 1200px;
    margin: 0 auto;
    font-family: var(--font-sans-jp);
    line-height: 1.8;
    background: var(--bg-light);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 3.2rem;
    margin: 2.5rem 0 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-light);
    color: var(--primary-green);
    letter-spacing: 0.08em;
    font-weight: 700;
    text-transform: uppercase;
}
h3 {
    font-family: 'Noto Serif JP', serif;
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-weight: 600;
}

h4 {
    font-family: var(--font-sans-jp);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}
p { font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-light);
}
strong {
    font-weight: bold !important;
    color: inherit;
}

a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}
a:hover {
    color: var(--accent-red);
    opacity: 1;
}

small {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ====================Header 部分==================== */
header {
    background: var(--bg-light);
    padding: 1.5rem 2rem 0;
    box-sizing: border-box;
    margin-bottom: 0;
    padding-bottom: 0;
    top: 0;
    z-index: 1000;

}
.header-content-wrapper {
    display: flex;
    align-items: center;
    padding: 2.5rem 2rem 1.5rem;
    position: relative;
    min-height: 80px;
}

header .logos-wrapper {
    flex-grow: 1;
    text-align: center;
    padding: 0;
    margin-top: 0;
}

header .logos-wrapper img {
    max-width: 130px;
    display: block;
    margin: 0 auto;
    transform: none;
}
.sns {
    display: flex;
    gap: 1rem;
    position: static;
    margin-left: auto;
}

.sns img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease opacity 0.3s ease;;
}
.sns img:hover {
    transform: translateY(-3px);

}
nav {
    display: block;
    position: static;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: rgba(251, 247, 242, 0.95);
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

nav.active {
    display: block;
}

 nav ul{
    display:flex;
    justify-content: space-around;
    flex-wrap: wrap;
    list-style-type:none;
    background: var(--bg-light);
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

nav li{
 	width: 180px;
 	text-align:center;
    font-size: 1.3rem;
    font-weight: 600;
}

nav li a{
	color:var(--text-dark);
    text-decoration:none;
    font-family: var(--font-sans-jp);
     transition: color 0.3s ease, transform 0.3s ease;
}
nav li a:hover {
    color: var(--primary-green);
    transform: translateY(-2px);
}

.hamburger {
    display: none; 
}

/*-------------------footer 部分-------------------*/
footer {
    padding: 2rem 1.5rem;
    background: var(--bg-dark);
    margin-top: 5rem;
}
footer a{
     color: #E0E0E0;
}
footer p {
    text-align: center;
    color: #E0E0E0;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

 /* =================slider　部分================= */
/* PAGER */
.bx-wrapper {
    position: relative;
    margin: 0 auto;
    padding: 0;
    max-width: 1100px;
    max-height: 650px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
}
.hero img {
    box-shadow: 0 20px 15px rgba(0, 0, 0, 0.35);
}
.bx-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
 .bx-pager {
	text-align: center;
	font-size: .85em;
	font-family: Arial;
	font-weight: bold;
	color: #666;
	padding-top: 20px;
}

.bx-wrapper .bx-pager .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
	display: inline-block;
	*zoom: 1;
	*display: inline;
}

.bx-wrapper .bx-pager.bx-default-pager a {
	background: #666;
	text-indent: -9999px;
	display: block;
	width: 10px;
	height: 10px;
	margin: 0 5px;
	outline: 0;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
	background: #000;
}
/* DIRECTION CONTROLS (NEXT / PREV) */

.bx-wrapper .bx-prev {
	left: 10px;
	background: url(../images/controls.png) no-repeat 0 -32px;
}

.bx-wrapper .bx-next {
	right: 10px;
	background: url(../images/controls.png) no-repeat -43px -32px;
}

.bx-wrapper .bx-prev:hover {
	background-position: 0 0;
}

.bx-wrapper .bx-next:hover {
	background-position: -43px 0;
}

.bx-wrapper .bx-controls-direction a {
	position: absolute;
	top: 50%;
	margin-top: -16px;
	outline: 0;
	width: 32px;
	height: 32px;
	text-indent: -9999px;
	z-index: 9999;
}

.bx-wrapper .bx-controls-direction a.disabled {
	display: none;
}


/* ===============　MainContent　============== */
main {
    background: var(--bg-light);
    margin-top: 0;
    margin: auto;
}

section {
    margin-bottom: 1.5rem;
}

.bx-wrapper {
	position: relative;
	margin: auto;
	padding: 0;
	max-width:1100px;
	zoom: 1;
}

.hero img {
  max-width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 15px 10px rgba(0, 0, 0, 0.4);
}

/* =============== reservation ================= */
.reservation {
    padding-top: 2rem;
    padding-bottom: 0.8rem;
}
.tel {
    max-width: 700px;
    width: 90%;
    margin: 0 auto;
    background: var(--reservation-bg);
    padding: 3rem;
    opacity: 0.95;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}

.reservation .tel p {
    text-align: center;
    color: var(--text-dark);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.reservation .tel p:last-of-type {
    text-align: center;
    color: var(--primary-green);
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
}
.reservation .tel p:last-of-type a {
    text-decoration: none;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    line-height: 1;
}
.tabelog {
    max-width: 500px;
    width: 90%;
    margin: 2.5rem auto 0;
    padding: 1.8rem;
    background: var(--primary-green);
    border-radius: 8px;
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tabelog a {
    color: #FFF;
}
.tabelog:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.tabelog p {
    text-align: center;
    color: #FFF;
    font-size: 1.4rem;
    font-weight: bold;
    margin: 0;
}

/* =============== signature ================= */
.signature {
    padding-top: 2rem;
    padding-bottom: 1.2rem;
}
.signature img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    margin: 0 auto 0.5rem;
    border-radius: 0.5rem;
}
.item_box {
	display:flex;
    flex-wrap: wrap;
	justify-content: space-around;
    gap: 0.5rem;
}
section.item {
	 width: calc(33.333% - 2rem);
    min-width: 320px;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 6px 15px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
section.item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

section.item p.catch {
    font-family: 'Lora', serif;
    font-weight: bold;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-red);
    text-align: center;
    line-height: 1.4;
}
section.item p {
    text-align: left;
    font-size: 0.95rem;
    color: var(--text-light);
}


/* =============== about-osteria ================= */
.about-osteria {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.about-content-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
    padding: 0 2rem;
}
.osteria-image {
    flex: 1;
    min-width: 350px;
    max-width: 500px;
}
.osteria-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.about-text {
    flex: 1;
    min-width: 350px;
    max-width: 600px;
    text-align: left;
    padding: 1rem 0;
}
.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.2rem;
}

.signature .item.menu-button-item {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}
.button08 {
    display: block;
    max-width: 300px;
    margin: 0 auto;
    padding: 1.8rem;
    background-color: var(--primary-green);
    color: #FFF;
    border-radius: 10px;
    box-shadow: 0 5px 12px rgba(46, 125, 50, 0.25);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
     text-align: center;
}

.button08:hover {
    background-color: #215A24;
    transform: translateY(-4px);
    box-shadow: 0 8px 15px rgba(46, 125, 50, 0.35);
}


/* ================= Access ==================== */
#access {
    padding-top: 1.5rem;
    padding-bottom: 1.2rem;
}
.map-container {
    margin: 3rem auto;
    text-align: center;
    box-sizing: border-box;
    max-width: 1100px;
}
.map-container iframe {
    width: 100%;
    height: 35rem;
    display: block;
    border: 0;
    box-sizing: border-box;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.access-info-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.info-card {
    background-color: var(--form-bg);
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    padding: 2.5rem;
    flex: 1 1 calc(33.333% - 1.5rem);
    min-width: 280px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.info-card i {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    display: block;
}

.info-card h4 {
    font-size: 1.6rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-weight: 700;
}

.info-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-align: center;
}

.info-card p.small-text {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 1rem;
}

/* ===============News==================== */
#news {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
 }

.news-list {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.news-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 25px 30px;
    display: flex;
    align-items: flex-start;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.news-date {
    font-weight: bold;
    font-size: 1.15rem;
    color: var(--primary-green);
    flex-shrink: 0;
    width: 120px;
    margin-right: 25px;
    text-align: right;
    line-height: 1.5;
}
.news-content {
    flex-grow: 1;
}
.news-content .news-title {
    font-size: 1rem;
    color: var(--text-dark);
    margin-top: 0;
    margin-bottom: 1.5rem;
    line-height: 1.4;
     border-bottom: 2px dotted var(--border-light);
}
.news-body p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0.8rem;
    line-height: 1.7;
}
.news-body p:last-child {
    margin-bottom: 0;
}

/* ===============Form ==================== */
#formWrap {
	background-color: var(--form-bg);
    max-width: 800px;
    margin: 6rem auto;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
#formWrap h3 {
    font-family: var(--font-sans-jp);
    font-size: 1.8rem;
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 1rem;
}
#formWrap p {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-light);
}
.formTable {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}
.formTable th, .formTable td {
    padding: 1.2rem;
    border-bottom: 1px solid var(--border-light);
    text-align: left;
    vertical-align: middle;
}
.formTable th {
    width: 30%;
    background-color: #F0EDE9; 
    font-weight: 600;
    color: var(--text-dark);
}

.formTable td {
    width: 70%;
}

.formTable input[type="text"],
.formTable select,
.formTable textarea {
    width: calc(100% - 20px); 
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--font-sans-jp);
}

.formTable input[type="text"]:focus,
.formTable select:focus,
.formTable textarea:focus {
    border-color: var(--primary-green);
    outline: none;
    box-shadow: 0 0 5px rgba(46, 125, 50, 0.3);
}

.formTable textarea {
    resize: vertical; 
    min-height: 100px;
}

.formTable input[type="radio"],
.formTable input[type="checkbox"] {
    margin-right: 0.5rem;
    vertical-align: middle;
}

.formTable td small {
    display: block; 
    color: var(--accent-red);
    margin-top: 0.5rem;
}

#formWrap p[align="center"] { 
    margin-top: 3rem;
    text-align: center;
}

#formWrap input[type="submit"],
#formWrap input[type="reset"] {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 1rem; 
}

#formWrap input[type="submit"] {
    background-color: var(--primary-green);
    color: white;
    box-shadow: 0 4px 10px rgba(46, 125, 50, 0.2);
}

#formWrap input[type="submit"]:hover {
    background-color: #215A24; 
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(46, 125, 50, 0.3);
}

#formWrap input[type="reset"] {
    background-color: var(--secondary-color); 
    background-color: #a0a0a0; 
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#formWrap input[type="reset"]:hover {
    background-color: #808080;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* ==============Contact page ================= */
.contact-header {
    max-width: 1200px;
    margin: var(--spacing-l) auto;
    padding: 0 var(--spacing-s);
    text-align: center;
}
.contact-header img{
    max-width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}
.contact {
    max-width: 1100px;
    margin:  0 auto;
    padding: 2rem;
    text-align: center;
}
.contact img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 1.5rem;
}
.tel-reservation,
.tabelog-link {
    background-color: var(--bg-card); 
    border: 1px solid var(--border-light);
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 3px 10px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-grow: 1;
    max-width: 45%; 
    min-width: 280px; 
    text-align: center;
}

.faq-section{
    margin: auto;
    padding:10px;
    margin: 20px;
    box-sizing: border-box;
}
.faq-section dl {
    padding-left: 1rem;
}
.faq-section dt{
    font-weight: bold;
     font-size: 1.2rem;
    margin-top: 1rem;
    color: #444;
}
.faq-section dd {
    padding: 10px;
    line-height: 1.6;
    border-bottom: 1px dotted #ccc
}

/* ==============About us ページ ================= */
.about-us {
    margin-top: 2rem;
}
.about-us img {
    margin: 2rem auto;
    max-width: 90%;
    border-radius: 10px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}
.message{
    margin-top: 2rem;
}
.chief-info {
    display: flex;
    gap: 40px;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.chief-image {
    width: 45%;
}

.chief-image img {
    max-width: 100%;
    border-radius: 10px;
    height: auto;
    display: block;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}
.paragraph {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    text-align: left;
}

.philosophy-section {
    margin: 4rem auto;
    padding: 3rem 2rem;
    background: #FDFBF8;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    max-width: 1100px;
    box-sizing: border-box;
}
.phil_box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 3rem;
    gap: 2rem;
}
section.phil_item {
    width: calc(33.333% - 2rem);
    min-width: 280px;
    padding: 2.5rem 1.5rem;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /
}
section.phil_item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

section.phil_item img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
section.phil_item h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #4a4a4a;
    font-family: 'Playfair Display', 'Noto Serif JP', serif;
}
section.phil_item p {
    font-size: 0.95rem; 
    line-height: 1.7;
    color: #666;
}


/* =============Osteria MENU  page================= */

.lunch-menu,
.dinner-menu {
    max-width: 1100px;
    margin: 4rem auto;
    background-color: var(--color-background-card);
    border-radius: var(--border-radius-l);
    box-shadow: 0 8px 20px var(--color-shadow-medium);
    border: 1px solid var(--color-border-light);
    padding: var(--spacing-l);
}
.lunch-menu {
    position: relative;
    padding-bottom: var(--spacing-xl);
}
.lunch-menu::after {
    content: '';
    display: block;
    width: 80%;
    height: 2px;
    background-color: var(--color-border-medium);
    margin: 0 auto;
    position: absolute;
    bottom: calc(var(--spacing-xl) / 2);
    left: 50%;
    transform: translateX(-50%);
    border-radius: var(--border-radius-s);
}
.dinner-menu {
    margin-bottom: 5rem;
}
.dinner-menu::after {
    display: none;
}
p.menu-time {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: bold;
    letter-spacing: 0.05em;
}
p.menu-details {
    text-align: center;
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
    line-height: 1.7;
    margin: 1rem auto 2.5rem;
    max-width: 600px;
}

.menu-category {
    margin-bottom: 2rem;
    padding: 2rem;
    border: 1px dashed var(--color-border-light);
    border-radius: var(--border-radius-m);
    box-shadow: 0 2px 8px var(--color-shadow-light);
}
.menu-category h4 {
    font-family: var(--font-japanese-heading);
    color: var(--primary-green);
    font-size: 1.7rem;
    text-align: center;
    margin-top: 0;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
 }
.menu-category h4::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background-color: var(--color-secondary);
    margin: var(--spacing-xs) auto 0;
    border-radius: var(--border-radius-s);
}
.menu-category ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem 1.5rem;
    padding: 0;
    list-style: none;
    border: none;
    box-shadow: none;
}
.menu-category ul li {
    background-color: var(--color-background-light);
    padding: 0.8rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--color-border-light);
    color: var(--text-dark);
    font-size: 1.05rem;
    text-align: center;
    box-shadow: 0 2px 5px var(--color-shadow-light);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    line-height: 1.7;
}
.menu-category ul li:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px var(--color-shadow-medium);
}

.menu-category:last-of-type {
    margin-bottom: 0;
}


/* ==============MENU page ================= */

#carouselWrap{
	margin:100px auto;
	width:620px;
	height:135px;
	padding:5px;
	background:peachpuff;
	position:relative;
	border: 2px dotted #F90;
}

#carouselPrev{
	position:absolute;
	top:65px;
	left:-8px;
	cursor:pointer;
}
#carouselNext{
	position:absolute;
	top:65px;
	right:-8px;
	cursor:pointer;
}
#carouse{
	width:100%;
	height:100%;
	overflow:hidden;
}

#carouselInner ul.column{
	width:605px;
	height:105px;
	padding:15px 0 15px 15px;
	list-style-type:none;
	float:left;
}
#carouselInner ul.column li{
	float:left;
	margin-right:10px;
	display:inline;
}
#carouselInner ul.column li img{
	border:none;
}


/*
==============================================
   レスポンシブデザイン用のメディアクエリ
==============================================
*/

/* 1024px以下のブレークポイント  */

@media (max-width: 1024px) {
    .header-content-wrapper {
        padding: 1.5rem 1rem;
    }
    header .logos-wrapper {
        position: static;
        left: auto;
        transform: none;
        text-align: center;
    }
    header .logos-wrapper img {
        max-width: 100px;
        position: static;
        display: block;
        margin: 0 auto;
        transform: none;
    }
    .sns img {
        width: 30px;
        height: 30px;
    }
    nav ul {
        display: flex;           
        flex-wrap: nowrap;       
        justify-content: center; 
        gap: 0.8rem;             
        padding: 0;
    }
    nav li {
        width: auto;            
        white-space: nowrap;     
        font-size: 0.9rem; 
        padding: 0.5rem 0.8rem;       
        text-align: center;
    }
    header img[alt="イタリア国旗"] {
        max-height: 40px;
    }

    /* スライダー */
    .bx-wrapper {
        max-height: 500px;
    }
    .bx-wrapper .bx-controls-direction a {
        width: 28px;
        height: 28px;
        background-size: cover;
    }

    /* 予約セクション */
    .reservation .tel p {
        font-size: 1.5rem;
    }
    .reservation .tel p:last-of-type {
        font-size: 2.8rem;
    }
    .tabelog {
        max-width: 400px;
        padding: 1.5rem;
    }
    .tabelog p {
        font-size: 1.2rem;
    }

    /* シグネチャーセクション */
    .item_box {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1rem;
        justify-content: center;
    }

    .item_box section.item {
        width: 100%;
        min-width: 0;
        max-width: 350px;
        justify-self: center;
    }

    .item_box .button08 {
        grid-column: 1 / -1;
        justify-self: center;
    }

    /* About Osteria */
    .about-content-wrapper {
        gap: 2rem;
        padding: 0 1.5rem;
    }
    .osteria-image, .about-text {
        min-width: 300px;
    }

    /* アクセス */
    .map-container iframe {
        height: 30rem;
    }
    .access-info-cards {
        gap: 1rem;
        padding: 0 1.5rem;
    }
    .info-card {
        flex: 1 1 calc(50% - 1rem);
        min-width: 250px;
    }

    /* ニュース */
    .news-item {
        padding: 20px;
    }
    .news-date {
        width: 100px;
        font-size: 1rem;
    }

    /* お問い合わせフォーム */
    #formWrap {
        max-width: 700px;
        padding: 2rem;
    }
    .formTable th, .formTable td {
        padding: 1rem;
    }
     /* ====About USページ===== */
     .message {
        padding: 40px 15px;
    }

    .message h2 {
        font-size: 2rem;
    }

    .message h3 {
        font-size: 1.3rem;
        margin-bottom: 30px;
    }

    .chief-info {
        flex-direction: column;
        gap: 30px;
        max-width: 700px;
        align-items: center;
    }

    .chief-image {
        width: 250px;
        height: auto;
    }

    .paragraph {
        font-size: 1rem;
    }

    .paragraph strong {
        font-size: 1.15rem;
        margin-bottom: 15px;
    }
}


/* IPAD MINIの調整 (768px ~ 1024px) */

@media (min-width: 768px) and (max-width: 1024px) {
    nav ul {
        display: flex;
        flex-wrap: nowrap;       
        justify-content: center; 
        gap: 1rem;               
        padding: 0.8rem 1rem;
        overflow-x: auto;        
        -webkit-overflow-scrolling: touch; 
    }

    nav li {
        flex: 0 0 auto;          
        white-space: nowrap;     
        padding: 0 0.5rem;
    }

    nav li a {
        font-size: 1.1rem; 
    }
    
   .signature {
        padding: 2rem 0;
    }
    
    .item_box {
        display: grid !important; 
        grid-template-columns: repeat(3, 1fr); 
        gap: 1rem;
        max-width: 900px;
        margin: 0 auto;
        padding: 1.5rem;
        box-sizing: border-box;
    }
    
    section.item {
        flex: none; 
        width: 100%;
        max-width: none;
        min-height: 380px;
        padding: 1.2rem;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
    }
    
    section.item img {
        width: 100%;
        height: 160px;
        object-fit: cover;
        border-radius: 0.5rem;
        margin-bottom: 0.8rem;
    }
    
    section.item p.catch {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
        text-align: center;
        line-height: 1.3;
    }
    
    section.item p {
        font-size: 0.85rem;
        line-height: 1.6;
        text-align: left;
    }
    .about-us {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
     .about-us h2 {
        text-align: center;
        width: 100%;
        max-width: 800px;
        margin: 0 auto 1rem;
    }

    .Storyparagraph {
        width: 80%;
        margin: 0 auto;
        text-align: center;
    }

    .Storyparagraph p {
        text-align: center;
        line-height: 1.8;
    }
    .about-us .main-image {
        padding: 0 1rem;
        text-align: center;
    }

    .about-us .main-image img {
        width: 100%;
        max-width: 600px;
        margin: 0 auto 2rem;
    }

    .chief-info {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 0 1.5rem;
    }

    .chief-image {
        width: 40%;
        padding: 1rem;
    }

    .paragraph {
        padding-top: 2rem;
        width: 80%;
        text-align: center;
    }

    /* philosophy-sectionのiPad対応 */
    .philosophy-section {
        padding: 2rem 1rem;
        margin: 2rem auto;
        max-width: 1000px;
    }

    .phil_box {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        max-width: 900px;
        margin: 0 auto;
        padding: 0 1rem;
        justify-items: center;
    }

    .phil_item {
        width: 100%;
        max-width: 280px;
        padding: 2rem 1.5rem;
        box-sizing: border-box;
    }
    
    /* phil_box内のボタンを中央配置 */
    .phil_box .button08 {
        grid-column: 1 / -1;
        justify-self: center;
        margin-top: 2rem;
        width: auto;
        max-width: 300px;
    }
}

/* 768px以下のブレークポイント  */
@media (max-width: 768px) {
    .reservation .tel p:last-of-type {
        font-size: 2rem;
        letter-spacing: 0.05em;
    }

    .tel {
        padding: 2rem;
    }

    .tabelog {
        padding: 1.2rem;
        margin-top: 1.5rem;
    }

    .tabelog p {
        font-size: 1.2rem;
    }
    
    /* CONTACTページのトップ画像とh2の間隔を狭く */
    .contact-header {
        margin: 1rem auto;
    }
    
    .contact {
        padding: 1rem;
        margin-top: 0.5rem;
    }
    
    /* h2とh3の間隔を統一 */
    h2 {
        font-size: 2.5rem;
        margin: 2rem 0 1.5rem;
        padding-bottom: 0.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    /* philosophy-sectionのiPad対応 */
    .philosophy-section {
        padding: 2rem 1rem;
        margin: 2rem auto;
    }
    
    .phil_box {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 600px;
        padding: 0 1rem;
        justify-items: center;
        margin: 0 auto;
    }
    
    .phil_item {
        width: 100%;
        max-width: none;
        padding: 2rem 1.5rem;
    }
}


/* 540px以下のブレークポイント  */
@media (max-width: 540px) {
        h2 {
            font-size: 2rem;
        }
        h3 {
            font-size: 1.2rem;
        }

        .header-content-wrapper {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.5rem 1rem;
            position: relative;
            width: 100%;
            z-index: 10;
        }

        /* ハンバーガー */
        .hamburger {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 40px;
            height: 40px;
            cursor: pointer;
            z-index: 20; /* ロゴより前面に表示 */
        }

            .hamburger span {
                width: 25px;
            height: 3px;
            background-color: var(--text-dark);
            margin: 3px 0;
            transition: 0.3s;
        }

        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }
        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }
        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -7px);
        }

        /* ロゴを中央に */
        .logos-wrapper {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            z-index: 15;
        }
        .logos-wrapper img {
            max-width: 80px;
            display: block;
        }
    .sns {
        display: flex;
        align-items: center;
        z-index: 10;
    }
    nav {
        display: none;
        position: absolute;
        top: 60px; 
        left: 0;
        width: 100%;
        background-color: rgba(251, 247, 242, 0.95);
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        z-index: 999;
    }
    nav.active {
        display: block;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        padding: 1rem 0;
        margin: 0;
        list-style: none;
    }

    nav li {
        width: 100%;
        text-align: center;
        font-size: 1.1rem;
        padding: 0.8rem 0;
        border-bottom: 1px solid var(--border-light);
    }
    nav li:last-child {
        border-bottom: none;
    }
   
    header img[alt="イタリア国旗"] {
        max-height: 30px;
    }

    /* スライダー */
    .bx-wrapper {
        max-height: 300px;
    }
    .bx-wrapper .bx-controls-direction a {
        width: 24px;
        height: 24px;
    }
    .bx-wrapper .bx-pager.bx-default-pager a {
        width: 8px;
        height: 8px;
        margin: 0 3px;
    }

    /* 予約セクション */
    .reservation .tel {
        padding: 1.5rem;
        max-width: 90%;
    }
    .reservation .tel p {
        font-size: 1.2rem;
    }
    .reservation .tel p:last-of-type {
        font-size: 1.8rem;
    }
    .tabelog {
        max-width: 90%;
        padding: 1rem;
        margin-top: 1rem;
    }
    .tabelog p {
        font-size: 1rem;
    }

    /* シグネチャーセクション */
    .item_box {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    section.item {
        width: 90%;
        max-width: 350px;
        min-width: 0;
    }

    /* About Osteria */
    .about-content-wrapper {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    .osteria-image, .about-text {
        min-width: 100%;
        max-width: 100%;
    }
    .about-text p {
        font-size: 0.95rem;
    }

    /* アクセス */
    .map-container iframe {
        height: 20rem;
    }
    .access-info-cards {
        flex-direction: column;
        gap: 1rem;
    }
    .info-card {
        flex: 1 1 100%;
        min-width: 100%;
        padding: 1.5rem;
    }
    .info-card i {
        font-size: 2rem;
    }
    .info-card h4 {
        font-size: 1.4rem;
    }

    /* ニュース */
    .news-list {
        padding: 0 1rem;
    }
    .news-item {
        flex-direction: column;
        padding: 15px;
    }
    .news-date {
        width: 100%;
        text-align: left;
        margin-bottom: 1rem;
        font-size: 0.9rem;
    }
    .news-content .news-title {
        font-size: 0.9rem;
    }
    .news-body p {
        font-size: 0.85rem;
    }

    /* お問い合わせフォーム */
    #formWrap {
        max-width: 90%;
        padding: 1.5rem;
    }
    .formTable {
        display: block;
    }
    .formTable tr {
        display: flex;
        flex-direction: column;
        margin-bottom: 1rem;
    }
    .formTable th, .formTable td {
        width: 100%;
        padding: 0.5rem;
    }
    .formTable th {
        background: none;
        font-size: 0.9rem;
    }
    .formTable input[type="text"],
    .formTable select,
    .formTable textarea {
        width: 100%;
        padding: 0.5rem;
    }
    #formWrap input[type="submit"],
    #formWrap input[type="reset"] {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        margin: 0.5rem;
    }

    .menu-category ul {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
        padding: 0;
        list-style: none;
    }

        .menu-category ul li {
            background-color: var(--color-background-light);
            padding: 0.8rem 1rem;
            border-radius: 10px;
            border: 1px solid var(--color-border-light);
            color: var(--text-dark);
            font-size: 1.05rem;
            text-align: center;
            box-shadow: 0 2px 5px var(--color-shadow-light);
            transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
            line-height: 1.7;
        }

            /* フッター */
            footer p {
                font-size: 0.8rem;
            }
            /*　　==== About USページ =======　　　*/
            .message {
                padding: 30px 10px;
            }
            .chief-info {
                flex-direction: column;
                gap: 20px;
                align-items: center;
                text-align: center;
            }
            .chief-image {
                width: 180px;
                height: 180px;
                border-radius: 50%;
                overflow: hidden;
                margin: 0 auto 10px auto;
            }
            .chief-image img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                display: block;
            }
            .paragraph {
                font-size: 0.9rem;
                text-align: left;
                width: 100%;
                max-width: 450px;
                margin: 0 auto;
            }
            .paragraph strong {
                font-size: 1.05rem;
                margin-bottom: 10px;
                display: block;
                text-align: center;
            }
        }

@media (max-width: 480px) {
    .reservation .tel p:last-of-type {
        font-size: 1.5rem;
    }
    .menu-category ul {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1.5rem;
        padding: 0;
        list-style: none;
    }
    .menu-category ul li {
        width: 100%; /* これを追加 */
        background-color: var(--color-background-light);
        padding: 0.8rem 1rem;
        border-radius: 10px;
        border: 1px solid var(--color-border-light);
        color: var(--text-dark);
        font-size: 1.05rem;
        text-align: center;
        box-shadow: 0 2px 5px var(--color-shadow-light);
        transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
        line-height: 1.7;
    }
}
