@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", sans-serif;
}

/* PC/SP画像切り替え */
.pc { display: block !important; }
.sp { display: none !important; }

@media only screen and (max-width: 750px) {
  .pc { display: none !important; }
  .sp { display: block !important; }
}

.pc1 { display: block !important; }
.tab1 { display: none !important; }

@media only screen and (max-width: 1300px) {
  .pc1 { display: none !important; }
  .tab1 { display: block !important; }
}

.pc2 { display: block !important; }
.tab2 { display: none !important; }

@media only screen and (max-width: 1000px) {
  .pc2 { display: none !important; }
  .tab2 { display: block !important; }
}

/* main */
main {
  overflow: hidden;
  width: 100%;
  height: 100%;
}

/* ヘッダー */
/* 共通 */
.header {
  width: 100%;
  background: white;
  z-index: 1000;
  padding: 10px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  font-family: "Noto Sans JP", sans-serif;
}

.header_all {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.header_top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ロゴ */
.logo img {
  max-height: 70px;
  width: auto;
}

/* ヘッダー右側（電話・メール） */
.header_right {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* 電話リンク */
.header_tel a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 18px;
}

/* メールボタン */
.header_contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 15px;
  background: #4CAF50;
  color: white;
  font-weight: bold;
  border-radius: 25px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.header_contact a svg {
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.header_contact a:hover {
  background: #388E3C;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.header_contact a:hover svg {
  transform: translateY(-2px) scale(1.1);
}

/* PC/SP切替 */
.pc { display: block !important; }
.sp { display: none !important; }

/* スマホ調整 */
@media only screen and (max-width: 750px) {
  .pc { display: none !important; }
  .sp { display: block !important; }

  .header_all {
    text-align: center;
    padding: 15px 10px;
  }

  .header_top {
    flex-direction: column; /* 縦並び */
    align-items: center;
    gap: 10px;
  }

  .logo.sp img {
    max-height: 70px;
    width: auto;
  }

  .header_right {
    display: flex;
    justify-content: center;
    gap: 15px;
  }

  .header_tel.sp a,
  .header_contact.sp a {
    font-size: 22px;
    padding: 10px;
    border-radius: 50%; /* 丸ボタン化 */
    width: 50px;
    height: 50px;
  }

  .header_contact.sp a svg {
    width: 24px;
    height: 24px;
  }
}
/* メニュー */
.menu_box {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #71ff2f;
}

.menu_box1, .menu_box2, .menu_box3 {
  width: 523px;
  text-align: center;
  font-size: 20px;
  list-style: none;
  border: 1px solid #000;
}

.menu_box1 a, .menu_box2 a, .menu_box3 a {
  display: block;
  width: 100%;
  padding: 11px 0;
  text-decoration: none !important;
  color: black;
}

/* 相談電話 s01 */
.s01 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  width: 60%;
}

@media only screen and (max-width: 840px) {
  .s01 {
    display: block;
  }
}

/* 相談窓口 s02 */
.s02 {
  margin: 100px 0;
}

.sekou_img {
  margin: 30px 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media only screen and (max-width: 740px) {
  .s02 {
    margin: 50px 0;
  }
}

/* 商品・提案内容 s03 */
.title_name_s00_all {
  text-align: center;
  font-size: 36px;
}

@media only screen and (max-width: 740px) {
  .title_name_s00_all {
    font-size: 24px;
  }
  .sp_small {
    width: 50%;
    margin: auto;
  }
}

.s03_box {
  display: flex;
  align-items: center;
  margin: 50px 0;
  justify-content: space-evenly;
}

@media only screen and (max-width: 740px) {
  .s03_box {
    display: block;
    margin: 0;
  }
  .s03_box_img {
    margin: 10px 0;
  }
}

/* 会社概要 */
.company-box {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  font-size: 18px;
}

.company-box table {
  border-collapse: collapse;
  width: 1000px;
}

.company-box table tr {
  border: 2px solid #000;
}

.company-box table th {
  width: 30%;
  text-align: center;
  background-color: #59f961;
  color: black;
  padding: 10px 0;
}

.company-box table td {
  width: 70%;
  text-align: center;
  background-color: #fff;
  padding: 10px 0;
}

@media only screen and (max-width: 1000px) {
  .company-box {
    margin: 0 10px;
    font-size: 16px;
  }
}

/* フッター */
footer {
  background-color: #ECF7D2;
  padding: 30px 20px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.footer_all {
  text-align: center;
  padding: 25px 15px;
}

.logo_footer img {
  max-width: 350px;
  height: auto;
  margin-bottom: 20px;
}

.contact_box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.contact_item {
  font-size: 1.6rem;
  font-weight: 600;
}

.contact_link {
  text-decoration: none;
  color: #222;
  padding: 10px 15px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.contact_link:hover {
  background: #0073e6;
  color: #fff;
  transform: translateY(-2px);
}

.contact_link.tel .icon { color: #0073e6; font-size: 1.8rem; }
.contact_link.fax .icon { color: #e67e22; font-size: 1.8rem; }

.copyright {
  font-size: 1.2rem;
  color: #666;
  margin-top: 10px;
}

/* イベントセクション全体 */
.s01 {
  margin-top: 80px;
  text-align: center;
}

/* イベントタイトル H2（ポップスタイル） */
.s01 h2 {
  font-size: 36px;
  color: #fff;
  font-weight: bold;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(90deg, #71ff2f, #59f961);
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 下に装飾ライン */
.s01 h2::after {
  content: "";
  display: block;
  width: 60%;
  height: 6px;
  margin: 12px auto 0;
  background: rgba(113, 255, 47, 0.5);
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* イベントリスト全体 */
.event-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0 auto 50px;
  max-width: 1200px;
  text-align: left; /* 中のテキストは左寄せ */
}

/* 個別イベントカード */
.event-list li {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* ホバー効果 */
.event-list li:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* イベント画像 */
.event-list li img {
  width: 100%;
  object-fit: contain; /* 全体を縮小して収める */
  height: 260px;
  background: #fafafa;
  border-bottom: 2px solid #f0f0f0;
}

/* イベント内容 */
.event-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* 日付 */
.event-date {
  font-size: 14px;
  color: #2ecc71;
  margin-bottom: 10px;
  font-weight: bold;
  text-transform: uppercase;
}

/* イベントタイトル */
.event-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #222;
  font-weight: bold;
  line-height: 1.4;
}

/* イベント説明文 */
.event-content p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

/* レスポンシブ */
@media screen and (max-width: 750px) {
  .s01 {
    margin-top: 50px;
  }
  .s01 h2 {
    font-size: 28px;
    padding: 12px 25px;
    margin-bottom: 30px;
  }
  .event-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .event-list li img {
    height: 200px;
  }
}


/* イベント説明文 */
.event-content p {
  font-size: 16px;
  color: #555;
  line-height: 1.5;
}

/* レスポンシブ */
@media screen and (max-width: 750px) {
  .s01 {
    margin-top: 50px;
  }
  .s01 h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .event-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .event-list li img {
    height: 160px;
  }
}

/* フォーム全体 */
.contact-form {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: #f0f9f5;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    font-family: 'Helvetica', 'Arial', sans-serif;
}

/* フォームタイトル */
.contact-form h2 {
    text-align: center;
    color: #2d7a50;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: bold;
}

/* ラベル */
.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 16px;
}

/* 入力欄・テキストエリア */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    border-color: #2d7a50;
    box-shadow: 0 0 8px rgba(45, 122, 80, 0.3);
    outline: none;
}

/* テキストエリア高さ */
.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* ボタン */
.contact-form button {
    display: block;
    width: 100%;
    padding: 14px 0;
    background: #2d7a50;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background: #3ba06d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* エラーメッセージ */
.contact-form .error {
    color: #e74c3c;
    margin-bottom: 20px;
}

/* 送信成功メッセージ */
.contact-form .success {
    color: #2d7a50;
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
}

/* ===== レスポンシブ ===== */
@media screen and (max-width: 768px) {
    .contact-form {
        padding: 20px;
        margin: 20px;
    }

    .contact-form h2 {
        font-size: 24px;
    }

    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form textarea {
        font-size: 15px;
        padding: 10px 12px;
    }

    .contact-form button {
        font-size: 16px;
        padding: 12px 0;
    }
}

@media screen and (max-width: 480px) {
    .contact-form {
        padding: 15px;
        margin: 15px;
    }

    .contact-form h2 {
        font-size: 22px;
    }

    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form textarea {
        font-size: 14px;
        padding: 8px 10px;
    }

    .contact-form button {
        font-size: 15px;
        padding: 10px 0;
    }
}
