@charset "utf-8";
:root {
  --cl-white: #ffffff;
  --cl-bg-light: #f1f5f9; 
  --cl-border: #cbd5e1;   
  --cl-text: #1e293b;
  --cl-text-sub: #64748b;
  --cl-primary: #1e3a8a; 
  --cl-primary-hover: #1e40af;
  --cl-accent: #e11d48; 
  --font-base: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
}

/* ==============================================
   Base & Reset
   ============================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  text-align: left;
  font-size: 15px;
  line-height: 1.6;
  font-family: var(--font-base);
  color: var(--cl-text);
  background-color: var(--cl-bg-light) !important;
}

.pcNone { display: none; }
.spNone { display: inherit; }

@media screen and (max-width: 600px) {
  .spNone { display: none; }
  .pcNone { display: inherit; }
}

div.wrapper {
  width: 90%;
  max-width: 840px;
  margin: 0 auto 3em;
  background-color: transparent;
  padding: 0;
  box-shadow: none;
}

@media screen and (max-width: 600px) {
  div.wrapper {
    width: 94%;
    padding: 0;
  }
}

p {
  letter-spacing: 0.5px;
  line-height: 1.6;
}

/* ==============================================
   Header
   ============================================== */
.header {
  padding: 1.5em 0 2em;
  margin-bottom: 2em;
  background: var(--cl-white);
  border-bottom: 3px solid var(--cl-primary);
  text-align: center;
}

.header .logoBlock {
  margin-bottom: 1em;
}

.header .logoBlock img {
  width: 160px;
  height: auto;
}



.header h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--cl-primary);
  line-height: 1.6;
  letter-spacing: 0.5px;
}

.header h1 span {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 12px;
  background-color: #eff6ff;    
  color: var(--cl-primary);      
  border: 1px solid #bfdbfe;   
  border-radius: 6px;          
  font-size: 0.85em;          
  vertical-align: middle;   
  font-weight: bold;
  letter-spacing: 1px;
}

@media screen and (max-width: 600px) {
  .header h1 {
    font-size: 18px;
    line-height: 1.8;
  }
  
  .header h1 span {
    margin-left: 4px;
    padding: 1px 8px;
    font-size: 0.8em;
  }
}



/* ==============================================
   Form Table Layout
   ============================================== */
table.xf_block {
  margin: 1.5em 0 !important;
  width: 100% !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  border: 1px solid var(--cl-border) !important;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--cl-white) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); 
}


table.xf_block th.xf_table_title {
  font-size: 18px;
  font-weight: bold;
  padding: 14px 20px !important;
  background-color: var(--cl-primary) !important;
  color: var(--cl-white) !important;
  letter-spacing: 1px;
  border: none !important;
  border-bottom: 1px solid var(--cl-primary) !important;
}

table.xf_block th.xf_table_title h2 {
  font-size: 18px;
  margin: 0;
  color: var(--cl-white) !important;
}


table.xf_block th {
  width: 30%;
  box-sizing: border-box;
  font-size: 14px;
  font-weight: bold;
  padding: 18px 20px;
  text-align: left;
  background-color: #f8fafc !important; /* body背景（#f1f5f9）とtd（#ffffff）の中間色 */
  border: none !important;
  border-bottom: 1px solid var(--cl-border) !important;
  border-right: 1px solid var(--cl-border) !important;
  vertical-align: top;
}

table.xf_block td {
  box-sizing: border-box;
  width: 70%;
  padding: 18px 20px;
  background-color: var(--cl-white) !important;
  border: none !important;
  border-bottom: 1px solid var(--cl-border) !important;
}

table.xf_block tr:last-child th,
table.xf_block tr:last-child td {
  border-bottom: none !important;
}


table.xf_block th span.xf_essential {
  display: inline-block;
  margin-left: 8px;
  background-color: var(--cl-accent) !important;
  color: var(--cl-white) !important;
  padding: 2px 7px;
  font-size: 11px;
  border-radius: 4px;
  font-weight: bold;
  letter-spacing: 0;
  border: none !important;
}


p.front {
  font-weight: 600;
  font-size: 14px;
  color: var(--cl-text);
  margin-bottom: 6px;
}

p.front:not(:first-child) {
  margin-top: 14px;
}

/* ==============================================
   Form Inputs
   ============================================== */
input[type="text"],
input[type="tel"],
input[type="email"],
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--cl-border);
  border-radius: 6px;
  background: var(--cl-white);
  font-size: 15px;
  color: var(--cl-text);
  line-height: 1.5;
  outline: none;
  transition: all 0.2s ease-in-out;
  appearance: none;
  -webkit-appearance: none;
}

/* セレクトボックスの矢印カスタム */
select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%3a64748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
}

/* フォーカス状態 */
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
  border-color: var(--cl-primary);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.12);
}

::placeholder {
  color: #D3CBCB;
}

/* 短い入力枠の調整 */
.short { width: 40%; }
.short2 { width: 60%; }

@media screen and (max-width: 600px) {
  .short, .short2 { width: 100%; }
}

/* Flexbox layout */
.flexbox {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.flexbox .wid50 {
  flex: 1;
  min-width: 140px;
}

/* ==============================================
   Radio & Checkbox (Card Style UI)
   ============================================== */
input[type="radio"],
input[type="checkbox"] {
  display: none;
}

input[type="radio"] + label,
input[type="checkbox"] + label {
  display: inline-block;
  padding: 10px 18px;
  margin: 4px 6px 6px 0;
  border: 1px solid var(--cl-border);
  border-radius: 6px;
  background-color: var(--cl-white);
  color: var(--cl-text);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

input[type="radio"]:checked + label,
input[type="checkbox"]:checked + label {
  background-color: #eff6ff;
  border-color: var(--cl-primary);
  color: var(--cl-primary);
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(30, 58, 138, 0.08);
}

/* ==============================================
   Submit Button & Footer Info
   ============================================== */
.xf_block2 {
  text-align: center;
  margin: 2.5em 0 1em;
}

input[type="submit"],
input[type="button"] {
  display: inline-block;
  background: var(--cl-accent);
  border: none;
  color: var(--cl-white);
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  padding: 16px 48px;
  transition: all 0.2s ease;
  width: auto;
  min-width: 280px;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
}

input[type="submit"]:hover,
input[type="button"]:hover {
  background: #be123c;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(225, 29, 72, 0.35);
}

.xf_block3 {
  text-align: center;
  font-size: 13px;
  color: var(--cl-text-sub);
}

.policy {
  background-color: var(--cl-white);
  padding: 18px 20px;
  border-radius: 8px;
  border: 1px solid var(--cl-border);
  font-size: 12px;
  color: var(--cl-text-sub);
  line-height: 1.7;
}

/* ==============================================
   Event Summary Table & Map Area
   ============================================== */
h3 {
  font-size: 18px;
  color: var(--cl-primary);
  margin-bottom: 12px;
  padding-left: 10px;
  border-left: 4px solid var(--cl-primary);
}

table.table-normal {
  width: 100%;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  border: 1px solid var(--cl-border) !important;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--cl-white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

table.table-normal th {
  width: 25%;
  background-color: #f8fafc !important;
  padding: 14px 18px;
  border: none !important;
  border-bottom: 1px solid var(--cl-border) !important;
  border-right: 1px solid var(--cl-border) !important;
  font-size: 14px;
  font-weight: bold;
  color: var(--cl-text);
  vertical-align: top;
}

table.table-normal td {
  width: 75%;
  background-color: var(--cl-white) !important;
  padding: 14px 18px;
  border: none !important;
  border-bottom: 1px solid var(--cl-border) !important;
  font-size: 14px;
  color: var(--cl-text);
}

table.table-normal tr:last-child th,
table.table-normal tr:last-child td {
  border-bottom: none !important;
}

.googlemapArea {
  clear: both;
  text-align: center;
  margin: 40px auto;
}

.googlemap {
  height: 0;
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  margin: 0 auto;
  border-radius: 8px;
  border: 1px solid var(--cl-border);
}

.googlemap iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

/* ==============================================
   Responsive (Smartphone) Optimization
   ============================================== */
@media screen and (max-width: 600px) {
  table.xf_block {
    border: none !important;
    background: transparent !important;
    box-shadow: none;
  }

  table.xf_block tr {
    display: block;
    margin-bottom: 16px;
    background: var(--cl-white);
    border: 1px solid var(--cl-border) !important;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  }

  table.xf_block th {
    display: block;
    width: 100%;
    padding: 12px 15px;
    border-bottom: 1px solid var(--cl-border) !important;
    border-right: none !important;
    background-color: #f8fafc !important;
  }

  table.xf_block td {
    display: block;
    width: 100%;
    padding: 15px;
    border-bottom: none !important;
  }

  input[type="submit"] {
    width: 100%;
    min-width: unset;
  }

  table.table-normal th,
  table.table-normal td {
    display: block;
    width: 100%;
    border-right: none !important;
  }

  table.table-normal th {
    border-bottom: none !important;
    background-color: #f8fafc !important;
  }
}