:root {
    --blue: rgb(0,136,255);
    --gray: rgb(242,242,247);
    --serif-font:
        "Noto Serif JP",
        "Hiragino Mincho ProN",
        "Yu Mincho",
        serif;
    --sans-serif-font:
        "Noto Sans JP",
        "Hiragino Sans",
        "Hiragino Kaku Gothic ProN",
        "Yu Gothic",
        sans-serif;
}

html {
    color: #2e2930;
    font-family: var(--serif-font);
    /* font-feature-settings: "palt"; */
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    font-size: 16px;
    text-align: justify;
    /* text-wrap: pretty; */
    /* overflow-wrap: anywhere; */
    /* word-break: normal; */
    /* line-break: strict; */
    line-height: 1.75;
    box-sizing: border-box;
    tap-highlight-color: rgba(0, 0, 0, 0);
    touch-action: manipulation;
}

body {
    background-color: #FFF;
    margin: 0;
    padding: 0;
}

header {
    font-size: 0.8rem;
  font-family: var(--serif-font);
  font-weight: bold;
    position: sticky;
    top: 0;
    background-color: #FFF;
    padding-block: 1rem;
    z-index: 3;
}

header a {
  padding-inline: 0.5rem;
  /* border-color: #2e2930; */
  /* border-right: 1px solid; */
}

header a:last-child {
  /* border-right: none; */
}

header a:link, header a:visited {
  color: inherit;
  border-color: #2e2930;
  text-decoration: none;
}

header a:hover {
  color: #c89932;
  text-decoration: underline;
}

header .row, footer .row {
  margin: 0;
  justify-content: space-between;
}

main {
    position: relative;
    z-index: 1;
}

footer {
    color: #fff;
    font-size: 0.8rem;
    background-color: #2e2930;
    padding: 2rem 0;
    position: relative;
    z-index: 2;
}

footer a:link, footer a:visited {
    color: inherit;
}

footer ul { padding:0; }
footer li { list-style-type: none; }

section {
    background-color: #fbfaf5;
    padding-block: 3rem;
}

.container {
    width: 95%;
    max-width: 1080px;
    margin-inline: auto;
}


h1, h2, h3, h4, h5, h6 {
    font-family: var(--serif-font);
    font-weight: bold;
    /* margin: 0 0 1.5rem 0; */
    margin: 0;
}

h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {
    /* margin: 0 0 1.5rem 0; */
}

h1 { font-size: 2.0rem; margin: 0 0 1.5rem 0; }
h2 { font-size: 1.8rem; margin: 0 0 1.5rem 0; text-align: center; }
h3 { font-size: 1.6rem; color: #c89932; }
h4 { font-size: 1.4rem; }
h5 { font-size: 1.2rem; }
h6 { font-size: 1.0rem; }

p {
    margin: 0 0 1rem 0;
}

a[target=_blank]::after {
    margin-inline-start: 0.5rem; 
    content: "\e89e";
    
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    vertical-align: text-bottom;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

a:link, a:visited {
    color: var(--blue);
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    line-height: 1rem;
    border-radius: 0.25rem;
}

ul {
    padding-inline-start: 1.5rem;
}

label {
    display: inline-block;
    font-size: inherit;
}

.required::after {
    margin-inline-start: 0.5rem;
    content: "*";
    color: red;
}

input, textarea {
    width: 100%;
    margin-block-end: 1rem;
    padding: 0.5rem;
    display: block;
    color: inherit;
    font-size: 1rem;
    border-radius: 0.25rem;
    border: 1px solid;
    box-sizing: border-box;
    background-color: var(--gray);
    border-color: var(--gray) !important;
    
    &:focus {
        border-color: var(--blue) !important;
    }
    
    &:focus {
        outline: none;
    }
}

input[type=checkbox] {
    width: auto;
    margin: 0 0.5rem 0 0;
    display: inline-block;
}

input[type="button"], input[type="submit"] {
    color: #FFF;
    background-color: var(--blue);
    border-color: var(--gray) !important;

    &:hover {
        background-color: var(--blue);
        transition: all 0.25s;
    }
}

.checkbox {
    margin-block-end: 1rem;
    vertical-align: middle;
}

dl {
    margin-block: 1rem;
}

dt {
    font-family: var(--serif-font);
    font-size: 1.2rem;
    font-weight: bold;
    margin-block-start: 0.5rem;
}

dd {
    margin: 0;
}

.table {
  width: 100%;
  overflow-x: auto;
}

table {
  min-width: max-content;
  border-collapse: collapse;
}

tr {
  border-bottom:1px solid #dfdfdf;
}

tr:last-child {
  border: none;
}

th {
    font-family: var(--serif-font);
}

th, td {
    padding: 0.5rem;
}


.row {
    display: flex;
    margin: 1.5rem 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    justify-content: space-around;
}

/* align-items-center */
/* align-items-stretch */
/* justify-content: space-between; */

@media (min-width: 720px) {
    .col { flex: 1; }
    .col-2 { flex: 2; min-width:0; }
}

@media (max-width: 720px) {
    /* .row { flex-direction: row-reverse; } */
    .col { flex: 100%; }
    .col-2 { flex: 100%; min-width:0;}
}

.text-center { text-align: center; }

.more {
    transition: all 500ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
}

.more:link, .more:visited {
    display: inline-block;
    margin-block: 0.5rem;
    padding: 0.25rem 1rem;
    color: #fff;
    background-color: #c89932;
    text-decoration: none;
    border: 1px solid #c89932;
    border-radius: 0.2rem;
}

.more:hover {
    color: #c89932;
    background-color: #fff;
    border: 1px solid #c89932;
    border-radius: 0.2rem;
}

.shadow {
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.12);
}

/* ----------------------------------------------------------------------------
 * Animation
 * --------------------------------------------------------------------------*/

.fadein {
    opacity: 0;
    transition: all 1000ms;
}

.fadein.active {
    opacity: 1;
    transition-duration: 1.0s;
    transition-delay: .5s;
    animation-fill-mode: forwards;
}

.fade-in-up {
    opacity: 0;
    transform: translate(0, 30px);
    transition: all 1000ms;
}

.fade-in-up.active {
    opacity: 0;
    animation-name: fadeInMove;
    animation-duration: 1.0s;
    animation-delay: .5s;
    animation-fill-mode: forwards;
}

@keyframes fadeInMove {
    from {
        opacity: 0;
        transform: translate(0, 30px);
    }
    to {
        opacity: 1;
        transform: translate(0, 0);
    }
}

.dark-in.active {
    animation-name: darkIn;
    animation-duration: 5s;
    animation-fill-mode: forwards;
}

@keyframes darkIn {
    from {
        opacity: 1;
    }
    to {
        opacity: .5;
    }
}

.saturate-in.active {
    animation-name: saturateIn;
    animation-duration: 1.2s;
    animation-delay: .8s;
    animation-fill-mode: forwards;
}

@keyframes saturateIn {
    from {
        opacity: 1;
    }

    to {
        opacity: .3;
        filter: saturate(10%);
    }
}

.fadeLeft, .fadeRight {
    opacity: 0;
}

.fadeLeft.active {
    animation-name: fadeLeftAnime;
    animation-duration: .5s;
    animation-delay: .5s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeLeftAnime {
    from {
        opacity: 0;
        transform: translateX(-160px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fadeRight.active {
    animation-name: fadeRightAnime;
    animation-duration: .5s;
    animation-delay: .5s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeRightAnime {
    from {
        opacity: 0;
        transform: translateX(160px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#top .fadeLeft.active, #top .fadeRight.active {
 animation-delay: 0s;
}

.bright-in {
    filter: blur(10px);
}

.bright-in.active {
    animation-name: brightIn;
    animation-duration: 5s;
    animation-fill-mode: forwards;
    background-color: #fff;
}

@keyframes brightIn {
    from {
        filter: blur(10px);
    }
    to {
        filter: blur(0);
    }
}

/* ----------------------------------------------------------------------------
 * Original
 * --------------------------------------------------------------------------*/
#hero {
  min-height: 80vh;
  align-content: center;
  background-image: url(../img/top-hero-bg.jpg);
  background-size: cover;
  background-position: center;

  color: #FFF;
  text-shadow: 0 0 5px rgba(0,0,0,0.6);
}

#hero .more {
  text-shadow: none;
}

#identity {
  min-height: 80vh;
  align-content: center;
  background-image: url(../img/top-identity-bg.jpg);
  background-size: cover;
  background-position: center;

  color: #FFF;
  text-shadow: 0 0 5px rgba(0,0,0,0.6);
    /* color: #fff; */
    /* background-color: #2e2930; */
}

#lineup {
    .list {
        background-color: #fff;
        margin-block: 1rem;
        padding: 2rem;
        border-radius: 0.5rem;
    }
    h4 { margin-block-start: 1.5rem; }
    dl { margin: 0; }
    dt { font-size: 1rem; }
}

#sns { text-align: center; }

#shop { background-color: #fff; }

#items {
  min-height: 30vh;
  align-content: center;
  background-image: url(../img/item_title_bg.jpg);
  background-size: cover;
  background-position: center;

  color: #FFF;
  text-shadow: 0 0 5px rgba(0,0,0,0.6);
}

#notFound {
  min-height:80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-image: url(../img/item_title_bg.jpg);
  background-size: cover;
  background-position: center;
  color: #FFF;
  text-shadow: 0 0 5px rgba(0,0,0,0.6);
}

#notFound .more {
  text-shadow: none;
}