@charset "UTF-8";
/* フォント */
// <uniquifier>: Use a unique and descriptive class name
// <weight>: Use a value from 200 to 900

.noto-serif-jp-<uniquifier> {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
// <uniquifier>: Use a unique and descriptive class name
// <weight>: Use a value from 100 to 900

.noto-sans-jp-<uniquifier> {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
/* 共通部分 */
:root{
  --black:#242424;
  --white:#fff;
  --gray:#b3b3b3;
  --textcolor:#333333;
}
*,::before,::after{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body{
  font-family:"Noto Serif JP", serif;
  line-height:1.7;
  color: var(--textcolor);
  background:url("../image/background2.jpg");
  background-repeat: repeat;
  background-position: center;
  background-size: cover;
  background-color:rgba(244, 245, 255, 0.3);
  background-blend-mode:lighten;
}
img {
  max-width:100%;
  height: auto;
}
a {
  color: var(--graycolor);
  text-decoration-line: none;
  display: block;
  font-family: "Zen Maru Gothic", serif;
  font-weight: 500;
  font-style: normal;
  text-align: center;
}


.top_button>li:nth-child(1){
  background-color: var(--black);
  color: var(--white);
  /* transform: translateY(1.5px);
  box-shadow: none; */
}
.top_button > li:nth-child(1):before{
  border-left: 1.5em solid var(--white);
}

/* トップページ */
#oshirase{
  margin: 5% 0;
}
.oshirase_box{
  background: linear-gradient(rgba(0, 0, 0, 0.7),  rgba(0, 0, 0, .6)),  url("../image/suisai.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
  color: var(--white);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 2.5% 0;
  outline: 1px solid var(--white);
  outline-offset: -5px;
}
.oshirase_box h2{
  width: 20%;
  padding-left: 4%;
  font-size: clamp(16px, 2.25vw, 24px);
}
.oshirase_nakami{
  width: 65%;
}
.oshirase_text{
  padding: 1% 0;
  display: flex;
}
.oshirase_text>p:first-child{
  margin-right: 2em;
}
.oshirase_text p{
  letter-spacing: .05em;
  font-size: clamp(8px, 1.25vw, 20px);
}

  /* タブレット・モバイル */
@media(max-width:600px){
  .oshirase_box{
    flex-direction: column;
    align-items: start;
    margin-top: 6%;
  }
  .oshirase_box h2{
    width: 100%;
    padding-left: 1em;
  }
  .oshirase_nakami{
    width: 100%;
    margin-left: 1em;
  }
  #top_message>article>h3::before,
  #top_message>article>h3::after{
    width: 15%;
  }
  #top_message>article>div{
    flex-direction: column;
  }
  .message_picture {
    width: 90%;
    max-width: 250px;
  }
  .message_naiyou{
    width: 100%;
    margin-left: 0;
  }
  .message_naiyou h4{
    padding-bottom: .5em;
    padding-top: 1em;
  }
  .top_wrap{
    text-align: end;
  }
}

#program a{
  font-weight: bold;
  text-decoration: underline;
}

#program_top{
  text-align: center;
  margin: 10% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#program_top{
  text-align: center;
  font-size: clamp(14px, 1.75vw, 24px);
  padding: .1em 0;
  line-height: 2;
  font-family: "Shippori Mincho", serif;
  font-weight: 800;
  font-style: normal;
}
.program_top1 .fwa{
  margin-bottom: 1.5em; 
}

.program_top2 .fwa{
  margin-bottom: 1.5em; 
}

.image_four{
  margin: 5% 0;
  max-width: 850px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#program_wrap{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 5%;
  grid-row-gap: 5%;
}

.program{
  background-color: var(--white);
  /* background-image: url(../image/iyoku.svg);
  background-repeat: no-repeat;
  background-position: left;
  background-position-x: -30%; */
}

.program>h3{
  margin: 3%;
  padding: .5em;
  letter-spacing: .1em;
  text-align: center;
  background-color: var(--black);
  color: var(--white);
  font-size: clamp(0.625rem, 0.227rem + 1.7vw, 1.5rem);
}

.program>p{
  margin: 3.5%;
  padding: 2% 0 5% 0;
  font-size: clamp(0.5rem, 0.159rem + 1.45vw, 1.25rem);
  font-weight: 600;
}

/* タブレット・モバイル */
@media(max-width:800px){
  #program_wrap{
    display: flex;
    flex-direction: column;
  }
  .program{
    margin-bottom: 1em;
  }
  .program>p{
    padding: 0;
  }
  
}


/* 選考フロー*/

.selection-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
}

.step {
  background-color: #242424;  /* ボックス背景 */
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  min-width: 250px;
  text-align: center;
  margin-bottom: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.arrow {
  font-size: 24px;
  margin-bottom: 10px;
  color: #242424;
}

/* タブレット・モバイル */
@media screen and (max-width: 768px) {
  .step {
    min-width: auto; 
    width: 100%;
    max-width: 100%;
    padding: 12px 10px;
    box-sizing: border-box;
    font-size: 0.8rem;
  }

  .selection-flow {
    width: 100%;
  }

  .arrow {
    font-size: 18px;
    margin-bottom: 6px;
  }
}

.form a{
  display: inline;
}