@charset "utf-8";
body {
  font-family: 'Sawarabi Mincho',serif;
  font-size: 18px;
  color: #121212;
}
.ffJosefin {
  font-family: 'Josefin Sans',sans-serif;
}
.TOUKYU {
  text-align: center;
  color: #ff0000af;
  font-size: 170px;
  letter-spacing: .05em;
  margin-top: 150px;
}
.inerWrap{
    border:4px solid lightblue;
    width: 1240px;
    margin: 0 auto;
    padding: 80px 20px 0;
}
.watakushi{
  font-family: 'Sawarabi Mincho',serif;  
}
main h2 {
    text-align: center;
    font-size: 60px;
    letter-spacing: .05em;
    margin-bottom: 80px;
}
header {
    background: url(../images/hero.jpg) no-repeat right center/cover;
}
header .innerWrap {
    height: 720px;
    position: relative;
}
.mine {
  font-family: 'Josefin Sans',sans-serif;
}
header h1 {
    padding-top: 120px;
}
header .scroll {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    font-size: 16px;
}
header .scroll img {
    margin-top: 8px;
}
header nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}
header nav ul {
    display: flex;
    justify-content: space-around;
    width: 1240px;
    margin: 0 auto;
    padding: 10px 20px;
}
header nav ul li a:hover {
    text-decoration: underline;
}
.msgSec {
    background-color: #fbfaf7;
  }
  .msgSec p {
    text-align: center;
    line-height: 1.75;
    margin-bottom: 40px;
  }
  .msgSec p.illust {
    margin-top: 80px;
    margin-bottom: 0;
    position: relative;
  }
  .msgSec p.illust::before {
    content: url(../images/deco_left.png);
    position: absolute;
    left: 320px;
    bottom: -30px;
  }
  .msgSec p.illust::after {
    content: url(../images/deco_right.png);
    position: absolute;
    right: 320px;
    bottom: -30px;
  }
  .dateSec {
    background-color: #ffffff;
    padding-bottom: 120px;
  }
  .dateSec .layoutWrap {
    display: flex;
  }
  .dateSec .layoutWrap > p {
    flex-basis: 735px;
  }
  .dateSec .layoutWrap > div {
    flex-basis: 465px;
    padding-top: 100px;
  }
  .dateSec .dateDetailSec {
    font-size: 72px;
    margin: 0 0 170px -100px;
    background-color: #ffffff;
    padding: 40px 64px;
    line-height: 1.2;
  }
  .word1 {font-size: 50px;}
  .word2 {font-size: 40px;}
  .word3 {font-size: 60px;}
  .accessSec {
    margin-left: 48px;
  }
  .accessSec h3 {
    color: #cfafa3;
    font-size: 55px;
    letter-spacing: .05em;
    margin-bottom: 8px;
  }
  .accessSec p {
    line-height: 1.6;
  }
  .formSec {
    background-color: #c0c0c0;
    padding-bottom: 60px;
  }
  form {
    width: 600px;
    margin: 0 auto;
  }
  input[type="text"],
  input[type="email"],
  select,
  textarea {
    border: 1px solid #cccccc;
    background-color: #ffffff;
    width: 100%;
    margin-top: 5px;
    padding: 4px 8px;
  }
  input[type="radio"],
  input[type="checkbox"] {
    width: 16px;
    height: 16px;
    vertical-align: baseline;
    margin-right: 4px;
  }
h1 {
    text-align: center;
  }
h3 {
  text-align: center;
}
  .attendRadio {
    text-align: center;
    margin-bottom: 40px;
}
.allergyCheck label{
margin: 0 20px;
font-size: 24px;
}
.allergyCheck label{
    margin-right: 24px;
}
select {
    background: #ffffff url(../images/arrow.png) no-repeat 98% 50%/17px 10px;
}
textarea {
    height: 148px;
    margin-bottom: 30px;
  }
  form > p {
    line-height: 1.4;
    margin-bottom: 20px;
  }
  .submitBtn {
    text-align: center;
  }
  input[type="submit"] {
    background-color: #000000;
    color: #ffffff;
    padding: 18px 80px;
  }
  footer {
    background-color: #ff0000;
    color: #ffffff;
    padding: 14px 10px 20px;
    text-align: center;
  }
  .dateSec {
    margin-bottom: 480px;
  }
  .dateSec::after {
    content: "";
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url(../TRAIN/背景.JPG) no-repeat center/cover;
    z-index: -1;
  }

  @media screen and (max-width: 768px) {
    /* スマホ向けのスタイル */
    body {
        font-size: 16px;
    }
  }
  
  .container {
    display: flex;
    flex-wrap: wrap;
  }
  
  .box {
    width: 100%;
    max-width: 600px;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  .watakushi {
    max-width: 100%;
    height: auto; 
  }