@charset "utf-8";

/* ====================== レイアウト基盤 ====================== */
body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.center { text-align: center; }
.m40 { margin-bottom: 40px; }
.red{color:#F8080C;}
.fm{font-size: 120%;}
.bold{font-weight:bold;}
.img-responsive { max-width: 100%; height: auto; }

/* シンプルな1色の背景（指定色 #f6f5f1） */
.bg-simple {
    background-color: #f6fcff;
}

.event-contents {
    max-width: 960px;
    margin: 0 auto;
    padding: 50px 20px;
}

/* 画像・iframeのはみ出し防止 */
img {
  max-width: 100%;
  height: auto;
}

iframe {
  max-width: 100%;
}

/* 全体横スクロール防止 */
#all,
#top,
body {
  overflow-x: hidden;
}

/* hero内の文字折り返し安定 */
.mainTitleText,
.mainTitleSub {
  word-break: break-word;
}


/* ====================== イベントヒーロー ====================== */
.event-hero {
    position: relative;
    color: #fff;
    padding: 60px 20px;
    text-align: center;

    /* 青背景＋写真を重ねる */
    background:
     linear-gradient(
  rgba(43, 76, 179, 0.75),
  rgba(43, 76, 179, 0.75)
      ),
      url("images/bg-event-photo.jpg") center / cover no-repeat;
}

.event-date-top {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 15px;
}

.mainTitleText {
    font-size: 48px;
    font-weight: bold;
    margin: 0 0 10px;
    letter-spacing: 0.05em;
}

.mainTitleSub {
    font-size: 20px;
    margin-bottom: 30px;
	color: #FFD966;
	font-weight: bold;
}

.event-btn-top {
    display: inline-block;
    background: #fff;
    color: #2b4cb3;
    padding: 12px 40px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 0 rgba(0,0,0,0.1);
}

/* ====================== 見出し（吹き出しスタイル） ====================== */
.event-title {
    margin-bottom: 50px;
    text-align: center;
}

.title-balloon {
    position: relative;
    display: inline-block;
    background: #5bbcff;
    color: #fff;
    padding: 15px 60px;
    border-radius: 50px;
    font-size: 22px;
    font-weight: bold;
    min-width: 450px;
}

.title-balloon::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -15px;
    border: 15px solid transparent;
    border-top-color: #5bbcff;
}

/* ====================== 各セクション ====================== */
.event-section {
    margin-bottom: 80px;
}

/* 開催概要ボックス */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.overview-box {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 15px;
    padding: 30px 15px;
    text-align: center;
}

/* 展示製品グリッド */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.product-item {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
}

.product-item a{ text-decoration: none; color:#2b4cb3;}
.product-item a:hover{ text-decoration: underline;}


/* メリットカード */
.merit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.merit-item {
    background: #fff;
    border-radius: 15px;
    padding: 40px 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    text-align: center;
}

/* アイコン装飾 */
.icon-circle, .icon-circle-blue {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-circle { background: #5bbcff; }
.icon-circle-blue { background: #2b4cb3; }
.icon-circle img, .icon-circle-blue img { width: 30px; }

/* ====================== ビデオ ====================== */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    margin-bottom: 30px;
}
.video-container iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 10px;
}

/* ======================
   お問い合わせ section
====================== */
.contact-section {
  background: linear-gradient(
    to right,
    #eaf6ff 0%,
    #f5fbff 50%,
    #ffffff 100%
  );
  padding: 80px 15px;
}

.contact-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

/* 見出し */
.contact-head {
  margin-bottom: 40px;
}

.contact-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.contact-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-lead {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

/* フォームカード */
.contact-card {
  background: #fff;
  border-radius: 16px;
  padding: 35px 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  text-align: left;
}

/* フォーム共通 */
.form-group {
  margin-bottom: 25px;
}

.form-label {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
  display: block;
}

.required {
  color: #ff4d4d;
  margin-left: 4px;
}

.form-input,
.form-textarea {
  width: 100%!important;
  border: none;
  background: #f4f4f4;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 0.95rem;
}
.form-textarea {
  height: 140px!important;
}

/* チェックボックス */
.form-check {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 25px;
  font-size: 0.9rem;
}

.form-check label {
  cursor: pointer;
}

form#mailformpro input, form#mailformpro textarea {
    padding: 13px 5px!important;
}



/* 送信ボタン */
.form-submit {
  text-align: center;
  margin-top: 30px;
}

.form-submit button {
  background: #1e5eff;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 14px 30px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  max-width: 320px;
}

.form-submit button:hover {
  opacity: 0.9;
}

/* ======================
   SP
====================== */
@media (max-width: 768px) {
  .contact-section {
    padding: 60px 15px;
  }

  .contact-card {
    padding: 25px 20px;
  }
}

/* ====================== 修正：フッター（画像デザイン） ====================== */
#footer {
    background-color: #0e1520; /* 画像の濃いネイビー */
    padding: 35px 20px;
    text-align: center;
}

#footer .copyright {
    color: #a0abbb; /* 画像のグレーがかったホワイト */
    font-size: 14px;
    letter-spacing: 0.05em;
    margin: 0;
}

/* ====================== レスポンシブ (SP) ====================== */
@media (max-width: 768px) {
    .mainTitleText { font-size: 30px; }
    .overview-grid, .merit-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr 1fr; }
	
  /* hero */
  .event-hero {
    padding: 45px 15px;
  }

  .mainTitleText {
    font-size: 28px;
    line-height: 1.4;
    letter-spacing: 0.03em;
  }

  .mainTitleSub {
    font-size: 14px;
  }

  /* 見出し吹き出し */
  .title-balloon {
    font-size: 18px;
    padding: 12px 30px;
    min-width: auto;
  }

  .title-balloon::after {
    border-width: 12px;
    margin-left: -12px;
  }

  /* 開催概要・メリット：1列 */
  .overview-grid,
  .merit-grid {
    grid-template-columns: 1fr;
  }

  /* 製品：2列（スマホでも見やすく） */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* フォーム：チェックボックス縦並び */
  .form-check {
    flex-direction: column;
    gap: 10px;
  }

  /* フォーム余白調整 */
  .contact-card {
    padding: 22px 18px;
  }

  .form-input,
  .form-textarea {
    font-size: 16px; /* iOSズーム防止 */
  }

  /* 送信ボタン押しやすく */
  .form-submit button {
    max-width: 100%;
    padding: 16px;
    font-size: 16px;
  }

  /* フッター余白 */
  #footer {
    padding: 25px 15px;
  }	
	
    #footer { padding: 30px 15px; }
}