/* =========================================
   style.css（修正版）
   目的：
   - line-height:0 のせいで全テキストが潰れているのを修正
   - box-sizing: content-box 強制を廃止（レイアウト崩れの原因）
   - 重複/誤記（..btn-primary-header 等）を修正
   - PC/SPの基本構成は維持しつつ、可読性と整合性を回復
========================================= */

/* ===== Reset / Base ===== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video{
  margin:0;
  padding:0;
  border:0;
  font:inherit;
  font-size:100%;
  /* ★ここが致命的だったので修正：line-height:0 を廃止 */
  line-height:inherit;
}

/* ★ここも致命的だったので修正（全要素0行高を廃止） */
p, li, th, td, h4, h3{
  line-height:inherit;
}

/* HTML5 display-role reset */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section{
  display:block;
}

body{
  line-height:1.75;
  color:#222;
  background:#fff;
  font-family:-apple-system, BlinkMacSystemFont, "Noto Sans JP","Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

ol, ul{ list-style:none; }

blockquote, q{ quotes:none; }

blockquote:before, blockquote:after,
q:before, q:after{
  content:'';
  content:none;
}

fieldset{ border:none; }

/* ===== box-sizing（content-box 強制はレイアウト破壊の原因なので廃止） */
*, *::before, *::after{
  box-sizing:border-box;
}

/* ===== Common ===== */
img{
  max-width:100%;
  height:auto;
}

/* flex */
.flex{ display:flex; }

/* SP/PC切り替え（元の挙動維持） */
.sp{ display:none; }

/* wrap overflow */
#wrap{ overflow:hidden; }

/* link（default.css の色指定を邪魔しないように必要最小限に） */
a{ text-decoration:none; }
a:hover{ text-decoration:none; }

/* ===== Modal close button（重複定義を一本化） */
#modal-close4{
  display:block;
  color:#fff;
  background:#222;
  max-width:25%;
  margin:16px auto 0;
  padding:20px 10px;
  text-align:center;
}

/* ===== Utility ===== */
.button02 img{
  width:100%;
  max-width:400px;
  margin-top:30px;
}

.font15px{ font-size:15px; }

.form-control{
  font-size:0.95rem !important;
}

/* bootstrap col調整（元の意図を維持） */
.col-lg-9{
  flex:0 0 100%;
  max-width:100%;
  margin:auto;
  margin-bottom:30px !important;
}

/* 登壇者カードの見た目 */
.name{
  text-align:center !important;
  padding:8px 10px;
  margin-top:10px;
  line-height:1.4;
}
.list-box .right-item{ padding:20px; }

.list-box .flex .left-item{
  min-width:300px;
  max-width:300px;
  margin-right:10px;
}
.list-box .right .right-item{ width:90%; }

/* ヘッダーCTA（onlineconference.css と競合するので最低限に。色だけ残す） */
.btn-primary-header{
  color:#fff;
  background-color:#007bff;
  border:1px solid #007bff;
}

/* ====== PC（>=765px） ====== */
@media screen and (min-width:765px){

  .content{ width:1024px; margin-left:auto; margin-right:auto; }
  .content2{ width:984px; margin-left:auto; margin-right:auto; }
  .content3{ width:904px; margin-left:auto; margin-right:auto; }
  .content4{ width:780px; margin-left:auto; margin-right:auto; }

  .content100p{ width:100%; margin-left:auto; margin-right:auto; }
  .content90p{ width:90%; margin-left:auto; margin-right:auto; }
  .content85p{ width:85%; margin-left:auto; margin-right:auto; }

  .center{ margin-left:auto; margin-right:auto; text-align:center; }
  .hide-pc{ display:none; }

  .left{ float:left; }
  .right{ float:right; }
  .clearboth{ clear:both; }
  .overflow{ overflow:hidden; }

  .lecture-wrap{ display:flex; flex-wrap:wrap; }

  /* Font sizes */
  .font20px{ font-size:20px; }
  .font22px{ font-size:22px; }
  .font24px{ font-size:24px; }
  .font26px{ font-size:26px; }
  .font28px{ font-size:28px; }
  .font30px{ font-size:30px; }
  .font36px{ font-size:36px; }
  .font40px{ font-size:40px; }
  .font52px{ font-size:52px; }
  .font72px{ font-size:72px; }
  .font86px{ font-size:86px; }

  .italic{ font-style:italic; }

  .label{
    display:inline-block;
    margin-top:10px;
    text-align:center !important;
    font-size:14px !important;
    font-weight:bold;
    padding:0 10px;
    background:rgba(218,23,37,0.7);
    color:#fff !important;
    border-radius:999px;
    line-height:1.6;
  }

  .text01{
    color:#222;
    font-size:18px;
    line-height:1.8;
    letter-spacing:0.05em;
  }
  .text02{
    color:#222;
    line-height:1.35;
    letter-spacing:0.07em;
  }

  .bold{ font-weight:bolder; }

  .red{ color:#E20003; }
  .white{ color:#fff; }
  .orange{ color:#ed6003; }
  .pink{ color:#e14071; }
  .navy{ color:#094488; }

  .mincho{
    font-family:"ヒラギノ明朝 ProN","Hiragino Mincho ProN","MS PMincho",serif;
  }

  .markyellow{ background:linear-gradient(transparent 60%, #ffe400 60%); }
  .textright{ text-align:right; }

  /* margins / paddings */
  .margin30{ margin:30px 0; }
  .margin40{ margin:40px 0; }
  .marginbtm16{ margin-bottom:16px; }
  .marginbtm50{ margin-bottom:50px; }
  .margintop50{ margin-top:50px; }
  .margintop70{ margin-top:70px; }
  .marginbtm30{ margin-bottom:30px; }
  .marginbtm40{ margin-bottom:40px; }
  .margin50{ margin:50px 0; }
  .margintop30{ margin-top:30px; }

  .padding30{ padding:30px 0; }
  .padding40{ padding:40px 0; }
  .padding50{ padding:50px 0; }
  .paddingbtm40{ padding-bottom:40px; }
  .paddingbtm60{ padding-bottom:60px; }
  .paddingbtm100{ padding-bottom:100px; }
  .paddingtop70{ padding-top:70px; }
  .paddingtop30{ padding-top:30px; }
  .paddingbtm50{ padding-bottom:50px; }
  .paddingtop40{ padding-top:40px; }
  .paddingbtm20{ padding-bottom:20px; }
  .paddingbtm30{ margin-bottom:30px; }
  .paddingleft30{ padding-left:30px; }
  .paddingright30{ padding-right:30px; }
  .padding16{ padding:16px 0; }

  /* boxes */
  .boxshadow01{ box-shadow:0 0 8px #e3e3e3; }
  .bgwhite01{ background-color:#fff; }
  .bggrey01{ background-color:#f5f5f5; }

  /* video */
  .video{ position:relative; width:100%; padding-top:56%; }
  .video iframe{ position:absolute; top:0; right:0; width:100%; height:100%; }

  .bgbeige01{ background-color:#fffaef; }
  .paddingleft23{ padding-left:23px; }

  .bg02{
    background:url("bg02.png") no-repeat top center;
    background-attachment:fixed;
  }
  .bg03{ background:url("bg03.png") top center no-repeat; }

  .w448{ width:448px; }

  .person01 h4{ padding:6px 26px; display:inline-block; }

  .bgorange01{ background-color:#ed6003; }

  .person02{
    width:470px;
    position:relative;
    padding-bottom:40px;
  }
  .person02:nth-child(2n){ margin-left:auto; }
  .person02 h4{ padding:6px 26px; display:inline-block; margin-top:16px; }

  .button01{ position:absolute; bottom:0; }

  .col-md-6{
    flex:0 0 47% !important;
    max-width:47% !important;
  }

  .hyou{ border-top:solid #ed6003 5px; }
  .hyou dl dt{ background-color:#ffdac1; padding:8px; }
  .hyou dl dd{ background-color:#fff; padding:14px; }

  .hyou2{ border-top:solid #ed6003 5px; }
  .hyou2 dl dt{ background-color:#ffdac1; padding:8px 40px; }
  .hyou2 dl dd{ background-color:#fff; padding:22px 40px; }

  .inputtext{ padding:6px 10px; }

  .btn-block{ width:100%; }

  .hayami, .hayami td, .hayami th{
    border-collapse:collapse;
    border:solid 1px #ed6003;
    padding:10px 20px;
  }
  .hayami tr th{
    font-size:20px;
    line-height:1.3;
    background-color:#ed6003;
    color:white;
    font-weight:bold;
    border-right:#fff solid 1px;
  }
  .hayami tr td{
    font-size:20px;
    line-height:1.6;
  }
  .hayami tr td a, .hayami tr td a:visited{ color:#999; }
  .hayami tr td a:hover{ color:#e3e3e3; }

  .bgnavy01{ background:url("bg05.png") top center no-repeat; }
  .bgred01{ background:url("bg04.png") top center no-repeat; }

  footer{
    background-color:#ed6003;
    padding:30px 0;
  }

  /* 90%幅固定は残す（元CSS互換） */
  .form-control{ width:90%; }

  footer a, footer a:visited{ color:#fff; }
  footer a:hover{ color:#e3e3e3; }

  .form-row{
    flex-wrap:nowrap;
    max-width:500px;
    margin:20px auto;
  }

  .col-md-3{
    max-width:22%;
    flex:0 0 22%;
  }

  .btn{ padding:10px 0; }
  .btn-social>:first-child{ padding-top:5px; }
  .btn-social{ width:90%; }

  .btn-primary-header{
    padding:10px;
    border-radius:6px;
  }
}

/* ====== SP（<=765px） ====== */
@media screen and (max-width:765px){

  body{ width:100%; }

  dt{ margin-bottom:10px; }

  .form-control{ width:90%; }

  .btn-block{ width:85%; }

  .btn-primary-header{
    padding:10px;
    border-radius:5px;
  }

  .col-lg-9{ flex:0 0 90%; max-width:90%; }

  .btn-social{ padding:10px 10px 10px 41px !important; }

  .flex{ display:block; }

  .list-box .flex .left-item{ margin:auto; }

  .list-box h3{
    line-height:1.4;
    font-size:20px !important;
  }

  .sp{ display:block; }

  .label{
    display:inline-block;
    margin-top:10px;
    text-align:center !important;
    font-size:14px !important;
    font-weight:bold;
    padding:10px;
    background:rgba(218,23,37,0.7);
    color:#fff !important;
    border-radius:999px;
    line-height:1.6;
  }

  .name{
    font-size:20px;
    padding:10px;
  }

  .button01sp{ padding:0; }

  /* ★誤記修正： ..btn-primary-header → .btn-primary-header */
  .btn-primary-header{ padding:10px; }

  #modal-close4{
    max-width:60%;
    padding:16px 10px;
  }

  .text01{ text-align:left; }
  .list-box .right-item{ padding:0; }

  .content{ width:100%; text-align:center; }
  .content2{ width:90%; margin:0 auto; }
  .content3{ width:82%; margin:0 auto; }
  .content4{ width:74%; margin:0 auto; }

  .hide-sp{ display:none; }

  .center{ text-align:center !important; }

  .img20p,.img30p,.img50p,.img80p{
    text-align:center;
    margin:0 auto;
  }
  .img20p{ width:20%; }
  .img30p{ width:30%; }
  .img50p{ width:50%; }
  .img80p{ width:80%; }

  .textleft{ text-align:left; }
  .spleft{ text-align:left !important; }
  .spcenter{ text-align:center; }
  .spright{ text-align:right; }

  /* Font sizes (vw) */
  .font20px{ font-size:3.5vw; }
  .font22px{ font-size:3.6vw; }
  .font24px{ font-size:3.7vw; }
  .font26px{ font-size:3.8vw; }
  .font28px{ font-size:3.9vw; }
  .font30px{ font-size:4.0vw; }
  .font36px{ font-size:4.2vw; }
  .font40px{ font-size:5.0vw; }
  .font52px{ font-size:5.5vw; }
  .font72px{ font-size:6.0vw; }
  .font86px{ font-size:7.0vw; }

  .italic{ font-style:italic; }

  .text01{
    color:#222;
    line-height:1.8;
    letter-spacing:0.05em;
  }
  .text02{
    color:#222;
    line-height:1.8;
    letter-spacing:0.07em;
  }

  .bold{ font-weight:bolder; }

  .red{ color:#E20003; }
  .white{ color:#fff; }
  .orange{ color:#ed6003; }
  .pink{ color:#e14071; }
  .navy{ color:#094488; }

  .mincho{
    font-family:"ヒラギノ明朝 ProN","Hiragino Mincho ProN","MS PMincho",serif;
  }

  .markyellow{ background:linear-gradient(transparent 60%, #ffe400 60%); }
  .textright{ text-align:right; }

  /* spacing（%ベース） */
  .margin30{ margin:3% 0; }
  .margin40{ margin:4% 0; }
  .marginbtm9{ margin-bottom:1%; }
  .marginbtm16{ margin-bottom:2%; }
  .marginbtm50{ margin-bottom:5%; }
  .margintop50{ margin-top:5%; }
  .margintop70{ margin-top:7%; }
  .marginbtm30{ margin-bottom:3%; }

  .padding30{ padding:3% 0; }
  .padding40{ padding:4% 0; }
  .padding50{ padding:5% 0; }
  .paddingbtm40{ padding-bottom:4%; }
  .paddingbtm60{ padding-bottom:6%; }
  .paddingbtm100{ padding-bottom:10%; }
  .paddingtop70{ padding-top:7%; }
  .paddingtop30{ padding-top:3%; }
  .paddingbtm50{ padding-bottom:5%; }
  .paddingtop40{ padding-top:4%; }
  .paddingbtm20{ padding-bottom:2%; }
  .paddingbtm30{ margin-bottom:3%; }

  .margin50{ margin:5% 0; }
  .margintop30{ margin-top:3%; }
  .padding16{ padding:2% 0; }

  .boxshadow01{ box-shadow:0 0 8px #e3e3e3; }
  .bgwhite01{ background-color:#fff; }
  .bgorange01{ background-color:#ed6003; }
  .bggrey01{ background-color:#f5f5f5; }

  /* map */
  .ggmap{
    position:relative;
    padding-bottom:56.25%;
    padding-top:30px;
    height:0;
    overflow:hidden;
  }
  .ggmap iframe, .ggmap object, .ggmap embed{
    position:absolute;
    top:0; left:0;
    width:100%; height:100%;
  }

  /* video */
  .video{ position:relative; width:100%; padding-top:55%; }
  .video iframe{ position:absolute; top:0; right:0; width:100%; height:100%; }

  .bg01{ background:url("") top center no-repeat; background-size:cover; }
  .bgbeige01{ background-color:#fffaef; }

  .paddingbtm30sp{ padding-bottom:3%; }
  .sppaddingleft23{ padding-left:3%; }

  .img01{ width:31.4%; }

  .overflow{ overflow:hidden; }
  .spleft{ float:left; }
  .spright{ float:right; }

  .bg02{ background:url("bg02.png") no-repeat top center; }
  .bg03{ background:url("bg03.png") top center no-repeat; }

  .w448{ width:100%; }

  .person01 h4{
    padding:2% 5%;
    margin-top:3%;
    display:inline-block;
  }

  .margintop50sp{ margin-top:8% !important; }

  .person02{ width:100%; }
  .person02 h4{
    padding:2% 5%;
    display:inline-block;
    margin-top:3%;
  }

  .hyou{ border-top:solid #ed6003 5px; }
  .hyou dl dt{ background-color:#ffdac1; padding:8px; }
  .hyou dl dd{ background-color:#fff; padding:14px; }

  .hyou2{ border-top:solid #ed6003 4px; }
  .hyou2 dl dt{ background-color:#ffdac1; padding:2% 6%; }
  .hyou2 dl dd{ background-color:#fff; padding:2% 2%; }

  .inputtext{ padding:1% 1%; }

  .button01sp{
    width:100%;
    text-align:center;
    margin:0 auto;
  }

  .hayami{ width:100%; }
  .w01{ width:18%; }
  .w02{ width:40%; }
  .w03{ width:20%; }
  .w04{ width:10%; }

  .hayami, .hayami td, .hayami th{
    border-collapse:collapse;
    border:solid 1px #ed6003;
    padding:1% 1%;
  }
  .hayami tr th{
    font-size:3.0vw;
    line-height:1.3;
    background-color:#ed6003;
    color:white;
    font-weight:bold;
    border-right:#fff solid 1px;
  }
  .hayami tr td{
    font-size:3.0vw;
    line-height:1.6;
  }
  .hayami tr td a, .hayami tr td a:visited{ color:#999; text-decoration:none; }

  .bgnavy01{ background:url("bg05.png") top center no-repeat; background-size:cover; }
  .bgred01{ background:url("bg04.png") top center no-repeat; background-size:cover; }

  footer{
    background-color:#ed6003;
    padding:16px 0 20px;
  }
  footer a, footer a:visited{ color:#fff; }
  footer a:hover{ color:#e3e3e3; }
}
