
/* -----------------------------------------------------
<目次>
1. パソコン画面
1-1. 全ページ共通の要素・クラスなど
1-2. 演出
1-3. layout，サイト全体のデザイン
1-4. HOMEページ

2. 携帯画面
2-1. 全ページ共通の要素・クラスなど
(2-2. 演出)
2-3. layout，サイト全体のデザイン
2-4. HOMEページ
------------------------------------------------------*/

/* -----------------------------------------------------
1. パソコン画面
------------------------------------------------------*/

/* -----------------------------------------------------
1-1.全ページ共通の要素・クラスなど
------------------------------------------------------*/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color:#0B1941;
    letter-spacing: 0.1em;
	object-fit: cover;
}
body {
    font-family: "Noto Sans JP", sans-serif;
}

a{
    color: inherit;
    text-decoration: none;
}
a:hover {
    color: #86B9C7;
}
/* a[target="_blank"]::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f08e";
    margin-left: 5px;
} */
h1 {
    font-size: 500%;
}
h2 {
    font-size: 250%;
}
h3 {
    font-size: 175%;
    line-height: 2em;
}
h4 {
    font-size: 120%;
    line-height: 2em;
}
p {
    font-size: 120%;
    letter-spacing: 0.03em;
    line-height: 1.9em;
}
img {
    width: 30vw;
    border-radius: 10px;
}

.section-container {
    width: 100%;
    padding: 0 15vw;
    margin: 5vw auto;
}
.section-container .line  {
    height: 2px;
    padding: 0 10vw;
    margin: 0vw auto;
    background-color: #23325A;
    justify-content: center;
}
.section-title {
    display: inline-block;
    margin-bottom: 1vw;
    color:#0C1A42;
}

.flex-container {
    display: flex;
    column-gap: 5%;
}

.block-container {
    display: block;
    column-gap: 5%;
}

.row-justify-end {
    display: flex;
    justify-content: flex-end;
}


/* 表 */
.table {
    display: table;
    width: 100%;
    text-align: center;
}
.row {
    display: table-row;
    /* border-bottom: 1px solid #23325A; */
}
.cell {
    display: table-cell;
    font-weight: bold;
    font-size: 125%;
    letter-spacing: 0.1em;
    width: 45vw;
    padding: 10px 5px;
    margin: 0;
    border: none;
    align-items: center;
    justify-content: center;
    text-align: left;
}
/* セルのタイトル */
.title-cell {
    font-size: 175%;
}

/* -----------------------------------------------------
1-2.演出
------------------------------------------------------*/
.blue{
    color: #3277AA;
}
/* スクロールするとふわっと表示される */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s; /*変化に1秒かける*/
}
/* スクロール促す */
.scrollDown{
    position: absolute;
    bottom: 80px;
    right: 50%;
    animation: scrollDown 1s ease-in-out infinite;
}
@keyframes scrollDown{
    0% {bottom: 2%}
    50% {bottom: 4%}
    100% {bottom: 2%}
}
.scrollDown span{
    color: #ffffcc;
    /* text-shadow: 0px 0px 5px #23325A; */
    position: absolute;
    left: -25px;
    bottom: 10px;
    font-size: 0.8em;
    letter-spacing: 0.15em;
    writing-mode: vertical-rl;
}
.scrollDown::before{
    position: absolute;
    content: "";
    width: 1px;
    height: 20px;
    background-color: #ffffcc;
    bottom: 0;
    right: -6px;
    transform: skew(-30deg);
}
.scrollDown::after{
    position: absolute;
    content: "";
    width: 1px;
    height: 60px;
    background-color: #ffffcc;
    bottom: 0;
    right: 0;
}


/* -----------------------------------------------------
1-3.layout，サイト全体のデザイン
------------------------------------------------------*/
.white-box {
    width: 100vw;
    height: 5vw;
    background-color: #ffffff;
}
.border{
    font-weight: bold;
}

header{
    position: fixed;
    width: 100%;
    height: 80px;
    background-color: rgba(221, 240, 245, 0.75);
    color: rgb(221, 240, 245);
    align-items: center;
    z-index:10000;
}
#header-logo {
    height: 75pt;
}
header img {
    height: 60pt;
    width: 100%;
    margin: 10pt 0 0 0;
}
header .section-container{
    height: 100%;
    display: flex;/*横並びにするときに使う*/
    align-items: center;
    justify-content: space-between;/*水平方向の揃え位置指定*/
    padding: 0 10vw;
    margin: 0vw 0vw;
}
header h3{
    font-size: 175%;
    font-weight: bold;
    list-style: none;
}
header ul{
    display: flex;
    width: 50vw;
    font-size: 110%;
    list-style: none;
    justify-content: flex-end;
    /* margin: 0; */
}

header li {
    padding: 0 0.7vw;
    margin: 0;
    line-height: 2em;
}

.menu {
    margin-right: 10vw;
}

.menu a {
    position: relative;
}
/*ホバーエフェクト*/
.menu a::after {
    /*アンダーラインのスタイル*/
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background-color: #86B9C7;
    bottom: -2px;
    left: 0;
    /*横方向0で非表示にする*/
    -webkit-transform: scale(0, 1);
    transform: scale(0, 1);
    /*中央を基点にアニメーション*/
    -webkit-transform-origin: center top;
    transform-origin: center top;
    /*アニメーションの速度設定*/
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
  }
/* .menu a:hover::after {
    横方向等倍まで拡大
    transform: scale(1, 1);
} */
  
/* ドロップダウン表示メニュー */
.menu-list {
    transition: all .3s;
    position: relative;
}

/* ドロップダウン */
.menu-list:hover .menu-dropdown-lists {
    display: block;/*Gナビメニューにホバーしたら表示*/
}
.menu-dropdown-lists {
    font-size: 80%;
    background-color: rgba(221, 240, 245, 0.75);
    visibility: hidden;/*デフォルトでは非表示の状態にしておく*/
    opacity: 0;/*不透明度0*/
    transition: all .3s;/*表示の変化を0.3秒に指定*/
    width: 15vw;
    padding: 15px 10px;
    text-align: center;
    align-items: center;
    position: absolute;
    top: 2.5vw;
    left: 0vw;
}
.menu-list:hover .menu-dropdown-lists {
    visibility: visible;/*Gナビメニューにホバーしたら表示*/
    opacity: 1;/*不透明度1*/
}

/* ハンバーガーボタンのスタイリング */
.hamburger {
    width: 50px;
    height: 100px;
    position: relative;
    appearance: none;
    border: 0;
    padding: 0;
    margin: 0 0 0 auto;
    background-color: rgba(255, 255, 255, 0);
    cursor: pointer;

    position: fixed;
    margin: 0vw 0vw 0vw 75vw;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  /* メニューボタンのスタイリング */
  .hamburger span,
  .hamburger span::after,
  .hamburger span::before {
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: 2px;
    background-color: #23325A;
    transition: all 0.5s;
  }
  .hamburger span::before {
    top: -15px;
  }
  .hamburger span::after {
    bottom: -15px;
  }
  .hamburger.open span {
    background-color: transparent;
  }
  .hamburger.open span::before {
    top: 0;
    transform: rotate(45deg);
  }
  .hamburger.open span::after {
    bottom: 0;
    transform: rotate(-45deg);
  }
  
  /* メニューのスタイリング */
  .nav {
    position: fixed;
    width: 25%;
    top: 80px;
    right: -100%;
    background-color: rgba(221, 240, 245, 0.75);
    transition: all 0.5s;
    text-align: center;
    justify-content:space-around;
  }
  .nav-list {
    display: flex;
    flex-direction: column;
    padding: 5% 105% 5% 5% ;
    justify-content: flex-start;
    text-align: center;
  }
  .nav-item a {
    display: block;
    font-size: 100%;
    color: #23325A;
    text-decoration: none;
    padding: 0.5vw 1vw;
    margin: 0.5vw;
    text-transform: uppercase;
  }
  .nav-item a:hover {
    color: #86B9C7;
  }
  .nav.open {
    right: 0;
  }

footer{
    margin-top: 80px;
    font-size: 100%;
    letter-spacing: 0.1em;
    height: 80px;
    width: 100%;
    display: flex; /*要素をフレックスコンテナに入れて縦横の中央寄せ*/
    align-items: center;
    justify-content: center;
    background-color: rgba(77, 136, 178, 0.251);
    position: sticky; 
}
/* -----------------------------------------------------
1-4. HOMEページ 
------------------------------------------------------*/
.hamburger {
    visibility: hidden;
}
.nav {
    visibility: hidden;
}

.home-first{ /* 画像の切り替わり */
    width: 100vw;
    height: 100vh;
    /* 文字 */
    align-items: flex-end;
    font-weight: bold;
    /* text-shadow: 0px 0px 3px #091627; */
    /* 背景 */
    background-image: url(/img/memories/memory-2023/day3-goal-1.webp);
    background-position: center center;
    background-size: cover;
}
.home-first .text{
    margin: 10vw;
    /*背景色にグラデーションを指定*/
    background: linear-gradient(125deg, #f96161, #fff4cc);
    /* background: linear-gradient(125deg, #ba373c, #e15f4c, #ed7f24); */
    -webkit-background-clip: text; /* テキストで切り抜く */
    -webkit-text-fill-color: transparent; /* 切り抜いた部分は背景を表示 */

filter:drop-shadow(0px 0px 1px #010100);
}
.home-first h4 {
    line-height: 1.7em;
}

.home-about img {
    margin-top: 1em;
    width: 25vw;
    height: 23vw;
}
.home-about h4 {
    margin-bottom: 1em;

}
.home-contact p{
    letter-spacing: 0.1em;
    line-height: 2em;
}


.detail {
    background-color: #4D88B2;
    border-radius: 5px;
    color: #F7F5ED;
    display: inline-block;
    margin: 10px 0;
    padding: 8px 15px 8px 20px; /*上右下左*/
}

/* .detail a:hover {
    background-color: #86B9C7;
    border-radius: 5px;
    color: #F7F5ED;
    margin: 10px 0;
    padding: 5px 10px;
} */



/* -----------------------------------------------------
2. 携帯画面用
2-1. 全ページ共通の要素・クラスなど
2-2. 演出
2-3. layout，サイト全体のデザイン
2-4．HOMEページ
------------------------------------------------------*/
@media (max-width: 768px) {

/* -----------------------------------------------------
2-1. 全ページ共通の要素・クラスなど
------------------------------------------------------*/
    h1 {
        font-size: 300%;
    }
    h2 {
        font-size: 150%;
    }
    h3 {
        font-size: 110%;
    }
    h4 {
        font-size: 90%;
    }
    p {
        font-size: 90%;
    }

    img {
        width: 100%;
    }

    .section-container {
        padding: 0 5vw;
    }
    .section-container .line  {
        margin-top: 15vw;
        width: 100%;
    }

    .flex-container{
        display: flex;
        column-gap: 0;
        justify-content: center;

        flex-direction: column; /*クラス内の並びを縦方向に*/
        row-gap: 5px; /*要素の行方向の感覚*/
    }
    /* .flex-container a{
        width: 100%;
        line-height: 60px;
    } */


/* -----------------------------------------------------
2-2. 演出
------------------------------------------------------*/
    /* スライダー */
    .slide-box {
        height: 85%;
    }
    .slide-title {
        font-size: 90%;
    }
    .slide-text {
        font-size: 75%;
    }

/* -----------------------------------------------------
2-3. layout，サイト全体のデザイン
------------------------------------------------------*/
    header img {
        width: 10vw;
    }
    .menu {
        visibility: hidden;
    }
    .hamburger {
        visibility: inherit;
    }
    .nav {
        visibility: inherit;
    }
    .white-box {
        height: 80px;
    }

/* -----------------------------------------------------
2-4. HOMEページ
------------------------------------------------------*/
    .home-first{ /* 画像の切り替わり */
        width: 100vw;
        height: 100vh;
        background-image: url(/img/memories/memory-2023/day3-goal-1.webp);
        background-position: center center;
        background-size: cover;

        display: flex;
        align-items: flex-end;
        overflow: hidden;
    }

    .home-about img {
        margin-top: 1em;
        width: 100%;
        height: 20vw;
    }
    
    .home-first h4{
        font-size: 125%;

    }

    .home-news {
        object-fit: cover;
    }

    .home-sponsor{
        object-fit: cover;
        justify-content: center;
    }

    .detail {
        background-color: #4D88B2;
        border-radius: 5px;
        color: #F7F5ED;
        display: inline-block;
        margin: 10px 0;
        padding: 5px 10px;
    }

}
