html {
    scroll-behavior: smooth;
  }


body {
    background-image: url(images/head2.jpg);
    background-size: cover;
    font-family: "ヒラギノ明朝 ProN W6", "Hiragino Mincho ProN", serif;
}


body p {
    font-size: 20px;
}

header {
    height: 250px;
    background-color: rgba(251, 245, 245, 0.772);
    background-size: cover;
}

.container {
    max-width: 100%;
    width: 1170px;
    margin: 0 auto;
}

/* ヘッダー部分 */
.header-logo {
    padding-top: 20px;
    width: 400px;
    float: left;
}

span {
    font-size: 20px;
}

.header-right {
    margin-top: 30px ;
    float: right;
    padding: 20px ;   
}

/* ナビゲーションメニュー */
nav {
    margin-top: 10px ;
    text-align: center;
    height: auto;
    background-color: rgba(251, 245, 245, 0.772);
}

.navi-menu {
    display: flex;
    height: 40px;
    line-height: 40px;
    font-size: 25px;
    margin: 20px auto;
}

.navi-menu li {
    flex: auto;
    display: inline;
}

li {
    list-style: none;
    border-right: 1px ridge;
    transition: all 1s;
}

.navi-link {
    display: block;
}

.li1 {
    border-left: 1px ridge;
}

li:hover {
    background: rgba(132, 130, 130, 0.772);
}

/* トップページ */
.top-contents {
    height: autoß;
    background-color: rgba(251, 245, 245, 0.772);
    padding: 20px 0 40px 0;
}

.top-contents h1 {
    font-size: 50px;
    padding-top: 10px;
    text-align: center;
}

.top-title-wrapper {
    text-align: center; /* ← 親要素で中央揃え */
  }
  
  .top-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 3rem;
    font-weight: bold;
    color: #222;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    border-bottom: 4px solid #4caf50;
    display: inline-block;
    padding-bottom: 10px;
    margin: 40px auto 20px auto; /* ← 中央＋上下余白 */
  }

.top-contents h2 {
    font-size: 50px;
    padding-top: 50px;
    text-align: center;
}

.top-contents p {
    text-align: center;
    font-size: 30px;
}

/* トップ画像 */

.top-image-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 40px;
  }
  
  .top-image-box {
    width: 30%;
    text-align: center;
  }
  
  .top-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
  }
  
  .top-image:hover {
    transform: scale(1.05);
  }
  
  figcaption {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #333;
  }
  
  .bottom-image {
    width: 60%;         /* ちょうど良い大きさに調整 */
    display: block;
    margin: 40px auto;  /* 中央寄せ＋上下余白 */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }
  


/* メインコンテンツ（トップページ） */
.main-contents {
    margin-top: 10px;
    height: 1000px;
    overflow-y: auto;
    background-color: rgba(251, 245, 245, 0.772);
    background-size: cover;
}

/* 会社紹介 */
.intro {
    height: 1000px;
    background-color: rgba(251, 245, 245, 0.772);
}

/* 会社紹介の表 */
.company-table {
    font-size: 20px; 
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    border: solid 2px #778ca3;
}

.company-table th {
    padding: 10px;
    background: #e9faf9;
    border: solid 1px #778ca3;
    border-bottom: solid 2px #778ca3;
}

.company-table td {
    padding: 10px;
    border-left: solid 1px #778ca3;
}

.company-table tr {
    border-top: dashed 1px #778ca3;
}
ƒ
.company-table td:first-child {
    background: #b6daf449;
}

/* 業務案内 */
.busi {
    height: auto;
    background-color: rgba(251, 245, 245, 0.772);
    padding-bottom: 20px;
}

/* 配送エリア */
.area {
    height: auto;
    background-color: rgba(251, 245, 245, 0.772);
    padding-bottom: 30px;
}

/* 配送エリア地図 */
.miyagi-area {
    width: 50%;
    display: flex;
    gap: 10px;    
}
/* 配送エリア */
.area-note {
    font-size: 1.1rem;
    color: #444;
    background: #fff9d9;
    padding: 10px 15px;
    border-left: 5px solid #f0c000;
    margin-top: 15px;
    max-width: 700px;
  }

  .delivery-area-card {
    background: #f9f9f9;
    border-left: 6px solid #4caf50;
    padding: 20px 25px;
    margin-top: 30px;
    max-width: 700px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 10px;
  }
  
  .delivery-area-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2e7d32;
  }
  
  .delivery-area-card ul {
    list-style: none;
    padding-left: 0;
  }
  
  .delivery-area-card ul li::before {
    content: "📍";
    margin-right: 8px;
    color: #4caf50;
  }
  
  .delivery-area-card ul li {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

/* お問い合せ */
.contact {
    height: auto;
    background-color: rgba(251, 245, 245, 0.772);
    padding-bottom: 30px;
}
/* 送信ボタン */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  textarea {
    width: 100%; /* 必要に応じて変更（例：80%など） */
    max-width: 600px; /* 上限を設けると見栄えが安定します */
    resize: vertical; /* ユーザーが縦方向だけリサイズできるように */
  }
  
  
  .form-footer {
    display: flex;
    justify-content: left; /* 右寄せなら flex-end、中央寄せなら center */
    margin-top: 16px;
  }
  
  .submit-button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 24px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .btn-submit:hover {
    background-color: #45a049;
  }
  

.sns {
    margin: 20px;

}

.contact-form {
    margin-top: 20px;
}

label {
    font-size: 20px;
    margin: 30px 0 1px 0;
    display: block;
}

input[type="text"],
input[type="email"],
textarea {
    background: rgba(255, 255, 255, 0.5);
    border: 1px #fff solid;
    border-radius: 5px;
    padding: 20px;
    font-size: 15px;
}

input[type="text"],
input[type="email"] {
    width: 100%;
    max-width: 480px;
    height: 10px;
}

input[type="submit"] {
    border: none;
    cursor: pointer;
    line-height: 1;
}

/* ボタン */
.button {
    margin-top: 30px;
    color: #fff;
    background-color: #00eb0c71;
    font-size: 20px;
    padding: 10px 10px;
    border-radius: 5px;
}

.button:hover {
    color: #fff;
    background: #5af5002a;
}

/* 見出し1 */
.heading {
    padding: 50px 0 20px 0;
    background: linear-gradient(transparent 70%, #9ec9ec44 70%);
    width: 500px;
}

/* 見出し2 */
.heading2 {
    margin: 60px 0 18px;
    padding: 0.25em 0.5em;
    color: #494949;
    background: transparent;
    border-left: solid 5px #7db4e6;
    border-bottom: solid 3px #7db4e6; 
    width: 800px;
}
.image-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    gap: 10px;
  }
  .item-img {
    width: 30%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
  }
  
/* SNS */
.twitter-embed {
    max-width: 600px;
    margin: 30px left;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.instagram-link {
    text-align: left;         /* ← 左寄せに変更 */
    margin: 30px 0 0 20px;    /* 左に少し余白 */
    font-size: 1.2rem;
}

.instagram-link a {
    display: inline-flex;
    align-items: center;
    gap: 12px;                /* アイコンと文字の間隔 */
    text-decoration: none;
    color: #E1306C;
    font-weight: bold;
    transition: color 0.3s ease;
}

.instagram-link a:hover {
    color: #c7256c;
}

.sns-icon {
    width: 　40px;              /* ← アイコンのサイズUP */
    height: 40px;
}


.sns-icon {
    width: 24px;
    height: 24px;
}

.sns-message {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #333;
}




.item-img {
    width: 100%;        /* 親要素の幅いっぱいに表示 */
    max-width: 400px;   /* 最大の横幅（400px）を設定 */
    height: auto;       /* 縦横比を維持する */
    display: flex;     
    margin: left;   
}

.sns-box {

    height: 2000px;
    background-color: rgba(251, 245, 245, 0.772);
}

/* フッター部分 */


footer {
    background-color: rgba(251, 245, 245, 0.772);
    padding: 20px 0;
    margin-top: 20px;
    color: #333;
    border-top: 1px solid #ddd;
    height: auto;
  }
  
  .footer-left img.header-logo {
    max-width: 260px;
    height: auto;
  }
  
  .footer-right {
    text-align: right;
  }
  
  .footer-right address p {
    margin: 5px 0;
    font-style: normal;
    font-size: 14px;
  }
  
  .footer-bottom {
    width: 100%;
    text-align: center;
    margin-top: 30px;
    font-size: 13px;
    color: #777;
  }
  