@charset "UTF-8";
@media screen and (min-width:768px) and ( max-width:1000px){


/* header */
header {
    position: absolute;
    z-index: 1;
    margin: 4vw;
}

header img {
    width: 25.5vw;
}

/* sec01 */
.sec01 {
    position: relative;
    width: 100%;
    height: 89vw;
    overflow: hidden;
    text-align: center;
    color: #053a68;
    background-image: url(../images/main.jpg);
    background-size: cover;
    background-position: center top;
}

.sec01copy {
    position: absolute;
    right: 5vw;
    top: 50%;
    transform: translateY(-50%);
}

h1 {
    font-size: 6vw;
    width: auto;
    z-index: 1;
    text-align: left;
    margin: 7vw 0 17vw;
}

h1 .go {
    display: block;
    font-size: 1.5vw;
    letter-spacing: 0.2em;
    margin-bottom: 2vw;
}

h1 p:nth-child(2) {
    font-weight: 400;
    line-height: 1.25;
}

.sec01 .day {
    position: absolute;
    font-size: 1.5vw;
    z-index: 1;
    text-align: left;
    letter-spacing: 0.05em;
}

.sec01 .day p:first-child {
    font-size: 2.6vw;
    line-height: 1.6;
}

.sec01 .day p span {
    font-size: 3.6vw;
}

.sec01 .day p:nth-child(2) {
    font-size: 1.4vw;
    letter-spacing: 0.05em;
    margin-top: 0.5vw;
}

.sec01 .day_ {
    font-size: 2.6vw !important;
}

/* sec02 */
.sec02 {
    display: flex;
    align-items: center;
    max-width: 90vw;
    margin: 0 auto;
    padding: 20vw 0;
    justify-content: space-between;
}

.sec02 p:first-child {
    font-size: 3.2vw;
    line-height: 1.8;
}

.sec02 p:nth-child(2) {
    font-size: 1.8vw;
    line-height: 2;
}

/* sec03 */
.sec03 {
    position: relative;
    width: 100%;
    height: 55vw;
}

.sec03 .back_img {
    background-image: url(../images/sec03_bg.jpg);
    background-size: cover;
    width: 100%;
    height: 55vw;
}

.sec03_copy {
    position: absolute;
    width: 82vw;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
}

.sec03 img {
    display: block;
    width: 45vw;
    height: auto;
    margin-left: auto;
}

/* unit */
.unit01,
.unit03 {
    width: 90vw;
    margin: 10vw auto;
}

.unit02 {
    background-color: #ddebf9;
}

.unit02 .inner {
    width: 90vw;
    padding: 10vw 0;
    margin: 0 auto;
}

.unit04 {
    background-color: #053a68;
}

.unit04 .inner {
    width: 90vw;
    padding: 10vw 0;
    margin: 0 auto;
}

.unit_title {
    margin-bottom: 5vw;
}

.unit_con {
    margin: 5vw auto;
}

.unit_con2 {
    width: 93vw;
    max-width: none;
    margin: 30px 0 0 auto;
}

.sec_divider {
    margin: 0 auto;
    border: none;
    border-top: 1px solid #053a68;
}

/* footer */
footer {
    position: relative;
    width: 100%;
    background-color: #053a68;
    padding-bottom: 1.5vw;
}

footer .inner {
    position: relative;
    width: 90vw;
    margin: 0 auto;
    padding: 3vw 0;
}

footer img {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18vw;
}

footer p {
    color: #FFF;
    text-align: center;
}

/* fade */
.fade_block {
    position: relative;
    opacity: 0;
    overflow: hidden;
    transition: opacity 3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade_block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(225deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    opacity: 1;
    pointer-events: none;
    transition: opacity 5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade_block.blockIn {
    opacity: 1;
}

.fade_block.blockIn::before {
    opacity: 0;
}

/* floating button */
.floating-button {
    position: fixed;
    bottom: 5vw;
    right: 0;
    width: 13vw;
    z-index: 1000;
    background-color: #053a68;
    padding: 1.5vw;
    border-radius: 1.5vw 0 0 1.5vw;
}

.floating-button a {
    display: block;
}

.floating-button a + a {
    position: relative;
}

.floating-button a + a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.3vw;
    background: radial-gradient(circle, #fff 1px, transparent 1px);
    background-size: 0.8vw 0.5vw;
    background-repeat: repeat-x;
}

.floating-button img {
    width: 100%;
    height: auto;
    display: block;
}


/* ふわっと表示ここから */
.fade_block {
    position: relative;
    opacity: 0; /* 初期状態で完全に消えている */
    overflow: hidden; /* 擬似要素がはみ出さないように */
    transition: opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1); /* 要素のフェードイン */
}

.fade_block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(225deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0)); /* 左下から右上へのグラデーション */
    opacity: 1; /* 最初は完全に覆われている状態 */
    pointer-events: none;
    transition: opacity 5s cubic-bezier(0.165, 0.84, 0.44, 1); /* グラデーションのフェードアウト */
}

/* 文字のフェードイン */
.fade_block span {
    opacity: 0; /* 最初は文字を非表示 */
    transition: opacity 2s cubic-bezier(0.165, 0.84, 0.44, 1) 0.5s; /* 文字もゆっくり出るように、0.5秒の遅延を追加 */
}

/* 画面に入った時の動き */
.fade_block.blockIn {
    opacity: 1; /* 要素全体がフェードイン */
}

.fade_block.blockIn::before {
    opacity: 0; /* 擬似要素のグラデーションがフェードアウトして要素が見える */
}

.fade_block.blockIn span {
    opacity: 1; /* 文字がフェードイン */
}
/* ふわっと表示ここまで */


}

