@charset "UTF-8";

/**
 * ----------------------------------------
 * 共通部
 * ----------------------------------------
 */
html { font-size: 100%;}
body {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    line-height: 1.7;
    color: #432;

    /* flexbox用 start */
    margin: 0;
    padding: 0;
    /* flexbox用 end */
}
a {
    text-decoration: none;
}
img {
    max-width: 100%;
}

/* flexbox用 縦に分割用コンテナ */
.flex_column {
    display: flex;
    flex-direction: column;
}

/** Header **/
.header-container {
    display: flex;
    justify-content: space-between;       /* アイテムの均等揃え */
    height: 6vh;
}

/* -- logo -- */
.logo {
    width: 400px; 
    position: fixed;
    top: 1vh;
    left: 2vw;
}

/* -- nav -- */
.main-nav {
    position: fixed;
    top: 1vh;
    right: 2vw;
}
.main-nav li {
    list-style: none;
    display: inline-block;
    font-size: 2rem;                    /* 2rem = 36px */
    text-transform: uppercase;          /* テキストを大文字に変換 */
    margin-left: 36px;
}
.main-nav a{
    color: #432;
}
.main-nav a:hover {
    color: blue;
}

/* -- title -- */
.title-container {
    margin-top: 10vh;
    margin-bottom: 10vh;
    height: 10vh;
    text-align: center;
}

.page-title {
    font-size: 5rem;
    font-family: 'Times New Roman', serif;
    text-transform: none;
    font-weight: normal;
    overflow: hidden;
}

/**
 * ----------------------------------------
 * index
 * ----------------------------------------
 */
.home-content {
    margin-top: 20vh;
    margin-bottom: 10vh;
    height: 15vh;
    text-align: center;
}
#home {
    background-size: cover;
    background-position: center top;
    background-image: url(../images/index-image.jpg);
    min-height: 100vh;
}
.title-animation-1 {
    -webkit-animation: text-focus-in 2.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
            animation: text-focus-in 2.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
  }
.title-animation-2 {
    -webkit-animation: text-focus-in 4.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
            animation: text-focus-in 4.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
  }

/**
 * ----------------------------------------
 * gallery
 * ----------------------------------------
 */
#gallery {
    background-size: cover;
    background-position: center top;
    background-image: url(../images/gallery-image.jpg);
    background-attachment: fixed;                           /* 背景画像固定 */
    height: 100vh;

    /* flexbox用 start  .flex_contener */
    /* width: 100vw;
    display: flex;
    flex-direction: row;
    margin: 0;
    padding: 0; */
    /* flexbox用 end  .flex_contener */
}

.gallery-content {
    display: flex;
    height: 64vh;
    width: 100vw;
    overflow: auto;
}

/** grid **/
.grid {
    display: grid;
    width: 90vw;
    height: 65vh;
    gap: 5px 30px;
    grid-template-columns: repeat(auto-fill, minmax(360px,1fr));
    justify-content: center;
    justify-items: stretch;                 /* stretch コンテナに収まるように伸縮 */
    margin: auto;
    padding: auto;
}
.course{
    height: 30vh;
    width: 30vh;                            /* 正方形にするため、vh指定 */
    position: relative;                     /* 要素の位置決め relative 親要素、相対となる元 */
    overflow: hidden;                       /*  はみ出し指定　hidden はみ出た部分を隠す */
    /* padding-top: 100%; */
}
.course img {
    position: absolute;                     /* 要素の位置決め absolute 親要素からの位置決め */
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);        /* 画像の変形 */
    width: 100%;
    height: 65%;
    object-fit: cover;                      /* imgをどう表示するか、cover　はみ出る部分はトリミング */
}
.course p {
    position: absolute;                     /* 要素の位置決め absolute 親要素からの位置決め */
    top: 82%;
    width: 100%;

    font-family: Cambria, serif;
    text-align: center;
    color:blue;
    font-size: 1rem;
    font-weight: bold;
    overflow: hidden;

    background-color: aliceblue;
    opacity: 0.75;
    line-height: 120%;
}
/**
 * ----------------------------------------
 * picture
 * ----------------------------------------
 */
.picture{
    height: 30vh;
    /* 正方形にするため、vh指定 */
    width: 30vh;                            
    position: relative;                     /* 要素の位置決め relative 親要素、相対となる元 */
    overflow: hidden;                       /*  はみ出し指定　hidden はみ出た部分を隠す */
    /* padding-top: 100%; */
}
.picture img {
    position: absolute;                     /* 要素の位置決め absolute 親要素からの位置決め */
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);        /* 画像の変形 */
    width: 90%;
    height: 90%;
    object-fit: cover;                      /* imgをどう表示するか、cover　はみ出る部分はトリミング */
}
.picture video {
    position: absolute;                     /* 要素の位置決め absolute 親要素からの位置決め */
    width: 360px;
    height: 360px;
    /* height: 90%; */
    object-fit: cover;                      /* imgをどう表示するか、cover　はみ出る部分はトリミング */
}

/**
 * ----------------------------------------
 * history
 * ----------------------------------------
 */
 #history {
    background-size: cover;
    background-position: center top;
    background-image: url(../images/history-image.jpg);
    background-attachment: fixed;                           /* 背景画像固定 */
    height: 100vh;
}

.history-content {
    display: flex;
    height: 64vh;
    width: 100vw;
    overflow: auto;
}

.history_main {
    width: 50vw;
    display: flex;
}
.history_side {
    width: 50vw;
}

/** grid **/
.history-table {
    text-align: center;
    margin-left: 5vw;
    width: 40vw;
    color: white;
}
.history-table a {
    color: white;
    text-decoration: underline;
}

/** score **/
.score-transition {
    width: 45vw;
    position: fixed;
    right: 3vw;
}

/**
 * ----------------------------------------
 * score
 * ----------------------------------------
 */

 /** whole **/
.round-content {
    height: 64vh;
    width: 100vw;
    overflow: auto;

    color: white;
    text-align: center;
}

/* round info table*/
.round-info-tbl {
    margin-left: 5vw;
}
.round-info-tbl th{
    width: 6vw;
    /* font-size: 2rem; */
    font-size: 32px;
    background-color:rgba(255, 255, 255, 0.3);
}
.round-info-tbl td{
    width: 6.5vw;
    /* font-size: 2rem; */
    font-size: 32px;
}

/* usage guide*/
/* グリッド内を固定（px）で指定することで、zoom時の文字の折返し防止 */
.usage-guide {
    margin-left: 5vw;
}

.usage-guide-grid {
    font-size: 16px;
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(100px,1fr));
    margin: 5vh 0 1vh 0;
}
.usage-guide-box {
    border: solid 1px white;
    width: 100px;
}

.eagle {
    background-color:#00a0dc;
}
.birdie {
    background-color:#1cbbe7;
}
.par {
    background-color:#adcc33;
}
.bogie {
    background-color: darkseagreen;
}
.db-bogie {
    background-color:goldenrod
}
.tr-bogie {
    background-color:chocolate;
}
.over {
    background-color:crimson;
    /* background:radial-gradient(transparent,crimson); */
}


/* round table */
.round-tbl {
    display: flex;
    gap: 3vw;
    font-size: 1.8rem;
    overflow: auto;
    margin-left: 5vw;
}

.hole th{
    background-color:rgba(155, 114, 176, 0.5);
}
.hole td{
    background-color:rgba(155, 114, 176, 0.3);
}
.yard th{
    background-color:rgba(155, 114, 176, 0.5);
    padding: 0 1px;
}
.yard td{
    background-color:rgba(155, 114, 176, 0.3);
    padding: 0 1px;
}


/**
 * ----------------------------------------
 * モバイル版　（レスポンシブ対応）
 * ----------------------------------------
 */
 @media screen and (max-width: 600px)  {
    /*----------*/
    /** Common **/
    /*----------*/
    .page-header {
        flex-direction: column;
        align-items: center;
        /* height: 6vh; */
        height: 18vh;
        }

    /* -- logo -- */
    .logo {
        width: 100vw;
        position: flex;
        box-sizing: border-box;         /* paddingとborderで外にはみ出ないように指定 */
        /* z-index: 3; */
    }

    /* -- nav -- */
    .main-nav {
        margin-top: 6vh;
        height: 6vh;
        position: flex;
        top:0;
        right: 0;
        left: 0;
        box-sizing: border-box;
        text-align: center;
        /* z-index: 2 */
    }
    .main-nav li a{
        font-size: 1.5rem;
    }

    /* -- title -- */
    .title-container {
        width: 100vw;
        height: 10vh;
        margin-bottom: 0;
        margin-top: 7vh;
    }

    .page-title {
        font-size: 1.2rem;
        text-align: center;
    }

    /*---------*/
    /* Galally */
    /*---------*/
    /** grid **/
    .grid {
        grid-gap: 5px 0;
        place-items: center;
        /* grid-template-columns: repeat(1, 1fr); */
    }

    /*---------*/
    /* Picture */
    /*---------*/
    .picture img {
        width: 100%;
        height: 100%;
    }

    /*---------*/
    /* History */
    /*---------*/
    /** contents **/
    #history {
        flex-direction: column;
    }
    .history-content {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    .history_main {
        width: 100vw;
        order: 2;
        margin-top: 2vh;
    }
    .history_side {
        width: 100vw;
        order: 1;
    }
    /** grid **/
    .history-table {
        text-align: center;
        margin-left: 5vw;
        margin-right: 5vw;
        width: 90vw;
    }

    /** score **/
    .score-transition {
        margin-left: 5vw;
        margin-right: 5vw;
        width: 90vw;
        position:unset;
        right: 0;
        overflow-x: scroll;
    }
    .history-table .member {
        font-size: 70%;
        font-weight: bold;
    }
    .history-table tr :nth-of-type(5) {
        font-size: 70%;
    }

    /*---------*/
    /* Score   */
    /*---------*/
    /** whole **/
    .round-content {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    /* round info table*/
    .round-info-tbl {
        margin-left: 0;
    }
    .round-info-tbl th {
        font-size: 80%;
    }
    .round-info-tbl td {
        font-size: 80%;
    }

    /* usage guide*/
    .usage-guide {
        margin-left:0;
    }
    .usage-guide-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px,1fr));
        font-size: 80%;
        gap: 4px;
        margin:2vh 0 1vh 0;
    }
    .usage-guide-box {
        width: 80px;
    }

    /* round table */
    .round-tbl {
        flex-direction: column;
        font-size: 100%;
        margin-left: 0;
    }
    .member_name {
        font-size: 60%;
    }
}
/**
 * ----------------------------------------
 * animation text-focus-in
 * ----------------------------------------
 */
 @-webkit-keyframes text-focus-in {
    0% {
      -webkit-filter: blur(12px);
              filter: blur(12px);
      opacity: 0;
    }
    100% {
      -webkit-filter: blur(0px);
              filter: blur(0px);
      opacity: 1;
    }
  }
  @keyframes text-focus-in {
    0% {
      -webkit-filter: blur(12px);
              filter: blur(12px);
      opacity: 0;
    }
    100% {
      -webkit-filter: blur(0px);
              filter: blur(0px);
      opacity: 1;
    }
  }