@charset "utf-8";

@font-face {
	font-family: "lowline-only";
	src: local("Hiragino Sans"), local("Hiragino-Sans"), local("游ゴシック体"), local("YuGothic"), local("Meiryo"), local("Meiryo UI"), local("メイリオ");
	unicode-range: U+005F, U+FF3F;
}

body {
	font-family: "lowline-only", "BIZ UDPGothic", sans-serif;
	font-weight: 600;
	line-height: 1.5em;
}

.sp-only {
    display: none;
}

sup {
	height: 0;
    line-height: 1;
    vertical-align: baseline;
    position: relative;
    bottom: 1ex;
    font-size: 0.5em;
}

.loading {
	position: fixed;
  	width: 100%;
  	height: 100vh;
  	background-color: #fff;
  	z-index: 999;
  	top: 0;
 	left: 0;
 	display: flex;
  	justify-content: center;
  	align-items: center;
  	overflow: hidden;
}

.loading img {
	width: 50px;
	animation: load 2s infinite ease-in-out;
}

@keyframes load {
	0%, 100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(30px);
	}
}

.fas_link_anothertab {
    padding-bottom: 3px;
    border-bottom: 1px solid;
}

.fas_link_anothertab::after {
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	font-family: "Font Awesome 6 Free"; 
	font-weight: 900;
	content: '\f08e';
	padding-left: 3px;
}

header {
    padding: 0 50px;
    position: sticky;
    top: 0;
    height: 70px;
    z-index: 99;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));

    .header-logo {
        line-height: 70px;
        height: 70px;
        width: 350px;
        text-align: left;
    }
    
    .header-languages {
        display: flex;
        justify-content: space-between;
        gap: 20px;
        font-size: 16px;
        color: #bfbfbf;

        .selected {
            color: #fff;
            border-bottom: 2px solid #fff;
        }
    }
}

.fv {
    display: flex;
    align-items: center;
    background-image: url("img/expo.png");
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    width: 100%;
    margin-top: -70px;
    z-index: 0;
    padding: 0 50px;

    .fv-name {
        color: #fff;

        h1 {
            font-size: 48px;
            line-height: 54px;
        }

        p {
            font-size: 18px;
            margin-top: 20px;
        }
    }
}

.scroll {
    position: relative;
    margin-left: auto;

    .scroll-text {
        color: #fff;
        font-size: 14px;
        text-align: center;
        transform: rotate(90deg);
        letter-spacing: 0.1em;
    }
    
    .scroll-border {
        position: relative;
        top: 20px;
        width: 100%;
        height: 100px;
        overflow: hidden;
    }
    
    .scroll-border::before {
        content: "";
        display: block;
        position: absolute;
        width: 1px;
        height: 40px;
        top: 0;
        left: 0;
        right: 0;
        background: #fff;
        animation: scroll 2.0s ease-in-out infinite;
        margin: auto;
    }
}

@keyframes scroll {
    0% {
      height: 0;
      top: 0;
    }
    30% {
      height: 100%;
    }
    100% {
      top: 100%;
    }
}

.section-title {
    color: #fff;
    margin-bottom: 30px;
    h2{
        font-size: 48px;
        line-height: 54px;
        letter-spacing: 1px;
    }
    p {
        font-size: 24px;
        margin-top: 30px;
    }
}

.section-list {
    width: 80%;
    margin: auto;
    color: #fff;
    margin-top: 50px;
    h3 {
        font-size: 18px;
        margin: 15px 0;
    }

    ul {
        list-style: none;
    }
   
    li {
        padding: 10px;
        border-bottom: 1px solid #bfbfbf;
        display: flex;
        gap: 0 15px;
        align-items: start;
        width: 100%;
        flex-wrap: wrap;

        time {
            color: #bfbfbf;
            font-family: "BIZ UDPGothic", sans-serif;
            font-weight: 400;
            font-style: normal;
            font-size: 10px;
        }

        span {
            text-decoration: underline;
            text-underline-offset: 5px;
        }

        .detail {
            color: #bfbfbf;
            font-family: "BIZ UDPGothic", sans-serif;
            font-weight: 400;
            font-style: normal;
            font-size: 10px;
            flex: 0 0 100%;
        }
    }

    li:first-child {
        border-top: 1px solid #bfbfbf;
    }
}

.section-list-2 {
    margin-top: 50px;
}

.section-text {
    width: 80%;
    margin: 50px auto 0 auto;
    color: #fff;
    line-height: 2em;

    h2 {
        font-size: 36px;
        line-height: 48px;
        padding-bottom: 45px;
    }

}

.profile {
    background-color: #000;
    padding: 50px;
}

.activity {
    background-image: linear-gradient(315deg, #434343 0%, black 100%);
    padding: 50px;
}

.achievements {
    background-color: #000;
    padding: 50px;
}

.contact {
    background-image: linear-gradient(315deg, #434343 0%, black 100%);
    padding: 50px;
    color: #fff;
}

footer {
    background-color: #000;
    color: #fff;
    padding: 10px 50px;
    text-align: center;
    font-family: "BIZ UDPGothic", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 10px;
}

.thanks {
    display: flex;
    justify-content: center;
    flex-direction: column;    
    height: 100vh;
    width: 100%;
    margin-top: -70px;
    z-index: 0;
    padding: 0 50px;
    background-image: linear-gradient(315deg, #434343 0%, black 100%);
    color: #fff;

    p {
        padding-bottom: 45px;
    }

    a {
        text-decoration: underline;
        text-underline-offset: 10px;
    }
}

@media screen and (max-width:428px) {
    body {
        width: 100%;
    }

    .sp-only {
        display: block;
    }

    .loading {
        height: 100dvh;
    }

    header {
        padding: 0 10px;
        .header-logo {
            height: 45px;
            width: 216px;
            text-align: left;
        }
    }

    .fv {
        padding: 0 15px;
        background-position: 60% 100%;
        height: 100dvh;

        .fv-name {   
            h2 {
                font-size: 48px;
            }
    
            p {
                font-size: 16px;
                margin-top: 15px;
            }
        }
    }

    .section-title {
        h2{
            font-size: 24px;
            letter-spacing: 1px;
        }

        p {
            font-size: 16px;
            margin-top: 15px;
        }
    }

    .section-list {
        width: 90%;
    }

    .section-text {
        width: 90%;
        line-height: 2em;

        h2 {
            font-size: 24px;
            padding-bottom: 20px;
        }
    }

    .profile, .activity, .achievements, .contact, .thanks {
        padding: 30px 15px;
    }

    li {
        flex-direction: column;

        .detail {
            padding-top: 10px;
        }
    }

    footer {
        padding: 10px 10px;
    }
}

/* ==============================
   Contact Form Styles
   ============================== */

/* Box sizing for predictable layouts */
.contact_form input,
.contact_form select,
.contact_form textarea,
.contact_form button {
  box-sizing: border-box;
}

/* Form container */
.contact_form {
  max-width: 800px;
  margin: 2em auto;
  padding: 0 1em;
}

/* --------------------------------------
   Form Blocks (label + field pairs)
   -------------------------------------- */
.form_block {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 1em;
  align-items: center;
  padding: 1em 0;
  border-top: 1px solid #303030;
}

/* Label within each block */
.form_label {
  font-weight: bold;
  line-height: 1.4;
  text-align: left;
}

/* Required indicator */
.form-required {
  display: inline-block;
  margin-left: 0.5em;
  padding: 0.2em 0.6em;
  font-size: 0.8rem;
  color: #000;
  background-color: #fff;
}

/* --------------------------------------
   Inputs and Selects
   -------------------------------------- */
.form_field {
  width: 100%;
  padding: 0.6em 1em;
  font-size: 1rem;
  line-height: 1.4;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Select-specific tweaks */
.form_field[type="select"],
select.form_field {
  appearance: none;
  padding-right: 2em;
  cursor: pointer;
}


/* 共通：グリッドレイアウト＆ボーダー */
.form_block.--textfield {
	display: grid;
	grid-template-columns: 1fr;   /* ラベル 12em + フィールド 残り */
	align-items: start;
	gap: 0.5em 1em;                    /* 上下 0.5em、左右 1em の隙間 */
	border-bottom: 1px solid #303030;
	padding: 0.5em 0;                  /* 上下余白 */
  }

    select,
    ::picker(select) {
        appearance: base-select;
    }
  
  /* テキストエリア本体 */
  .form_field.--textfield {
	width: 100%;       /* 親幅にフィット */
	min-height: 12em;  /* 小さくなりすぎないように */
	max-height: 30em;  /* 必要以上に伸びすぎないように */
	resize: vertical;  /* 縦方向のみリサイズ可 */
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.5;
	padding: 0.5em;
	box-sizing: border-box;
    margin-top: 0.3em;
  }
  
  /* --------------------------------------
   Submit Button
   -------------------------------------- */
.form-btn {
  display: block;
  width: 100%;
  max-width: 14em;
  margin: 2em auto 1em;
  padding: 0.6em;
  text-align: center;
  color: #000;
  background-color: #fff;
  border: none;
  cursor: pointer;
}

.form-btn:hover,
.form-btn:focus {
  opacity: 0.5;
}

/* --------------------------------------
   Privacy Notice
   -------------------------------------- */
.privacy {
  text-align: center;
  color: #fff;
  margin-top: 0.5em;
}

.support-thanks {
	margin-top: auto;
	transform: translateY(50%);
	text-align: center;
}

.support-thanks h1 {
	margin-bottom: 30px;
}

/* ==============================
   Responsive Adjustments
   ============================== */
@media (max-width: 600px) {
  .form_block {
    grid-template-columns: 1fr;
    grid-gap: 0.5em 0;
    padding: 0.8em 0;
  }

  .form_block.--textfield {
    grid-template-columns: 1fr;     /* 1カラムに切り替え */
  }
  /* ラベルを上に移動して余白を確保 */
  .form_block.--textfield .form_label {
    margin-bottom: 0.25em;
  }

  .form_label {
    margin-bottom: 0.3em;
  }

  .form-btn {
    max-width: 100%;
  }
}