@font-face {
   font-family: "myfont";
  src: url("fonts/Marker\ Felt.ttf") format("truetype");
}

.fixed-header{
  position: fixed;
  width: 100%;
  height: 20vw;
  transition: 2.5s;
  z-index: 15;
 /* background-color: #c6307a;
  padding-top:0 auto;
  padding-bottom:0 auto;
  padding-left:3vw;
  top:0vw;
  left:0vw;*/
     /* 市松模様の背景 */
    background-image: 
       linear-gradient(45deg, #b91b21 25%, transparent 25%),
        linear-gradient(-45deg, #b91b21 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #b91b21 75%),
        linear-gradient(-45deg, transparent 75%, #b91b21 75%);
    background-size: 30px 30px;
    background-position: 0 0, 0 15px, 15px -15px, -15px 0px;
    background-color: #241c3a;
    
    /* ヘッダーの基本スタイル */
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}


.line:nth-of-type(1) {
  top: 18%;
  position:absolute;
}

.line:nth-of-type(2) {
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
}

.line:nth-of-type(3) {
  bottom: 0;
  top:70%;
  position: absolute;
}

.hamburger-menu {
  cursor: pointer;
}

.hamburger-menu.active > .line:nth-of-type(1) {
  top: 18%;
  transform: translateY(-50%) rotate(45deg);
}

.hamburger-menu.active > .line:nth-of-type(2) {
  display: none;
  top: 50%;
  position: absolute;
}

.hamburger-menu.active > .line:nth-of-type(3) {
  transform: translateY(-50%) rotate(-45deg);
  top:70%;
  position: absolute;
}

.menu-btn {
  /*position: fixed;
 
  display: flex;
  height:18vw;
  width:20vw;
  justify-content: center;
  align-items: center;
  z-index: 190;*/
  top: -2.3vw;
  right: -70vw;
   background-color: #B91B21;
    display: inline-block;
    position: relative;
    width: 65px;
    height: 65px;
    cursor: pointer;
    z-index: 1001;
}

.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
 /* content: '';
  display: block;
  height: 0.3vw;
  width: 7.5vw;
  border-radius: 1vw;
  background-color:#e0f1f4;
  position: absolute;*/
      content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: #241c3a;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-btn span{
/*top:8vw;*/
    display: block;
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: #241c3a;
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.menu-btn span:before {
/*top: 2vw;*/
    top: -8px;

}
.menu-btn span:after {
/*top: 4vw;*/
  top: 8px;
}

#menu-btn-check {
    display: none;
}


#menu-btn-check:checked ~ .menu-btn span {
   background-color: transparent;
}
#menu-btn-check:checked ~ .menu-btn span::before {
 top: 0;
    transform: rotate(45deg);

}

#menu-btn-check:checked ~ .menu-btn span::after {
   top: 0;
    transform: rotate(-45deg);
}

#menu-btn-check {
display: none;
}

.menu-content {
/*
top: 0;
left: 100%;
background-color: #c6307a;
transition: all 0.5s;
 font-family: "source-han-sans-cjk-ja", sans-serif;
font-weight: 400;
font-style: normal;
  font-size:15vw;*/
  z-index: 180;
width: 100%;
height: 1000%;
position: fixed;
  position: absolute;
    top: 100%;
    left: 0;
    background-color: #241c3a;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
      /* メニューにも市松模様を適用（薄く） 
    background-image: 
        linear-gradient(45deg, rgba(198, 48, 122, 1) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(198, 48, 122, 1) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(198, 48, 122, 1) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(198, 48, 122, 1) 75%);
     background-size: 30px 30px;
    background-position: 0 0, 0 15px, 15px -15px, -15px 0px;*/
}

.toukyu{
  width:50vw;
  position:absolute;
  left:25vw;
  top:auto;
}

@media screen and (min-width: 425px) {
  .toukyu {
    top: 58vh;
  }
}

@media screen and (min-width: 414px) and (max-width: 425px){
  .toukyu {
    top: 55vh;

  }
}

@media screen and (min-width: 381px) and (max-width: 413px) {
  .toukyu {
    top:50vh;
  }
}

@media screen and (max-width: 380px) {
  .toukyu {
    top: 50vh;
  }
}

.kouken{
  width:50vw;
  position:absolute;
  left:25vw;
  top:auto;
}

@media screen and (min-width: 425px) {
  .kouken {
    top: 70vh;
  }
}

@media screen and (min-width: 414px) and (max-width: 425px){
  .kouken {
    top: 67vh;

  }
}

@media screen and (min-width: 381px) and (max-width: 413px) {
  .kouken {
    top:65vh;
  }
}

@media screen and (max-width: 380px) {
  .kouken {
    top: 73vh;
  }
}



.menu-content a {
    display: block;
    padding: 15px 25px;
    color: #c6307a;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.menu-content a:hover {
    background-color: rgba(44, 85, 48, 0.1);
    padding-left: 35px;
}



#menu-btn-check:checked ~ .menu-content {
/*left: 0;/*メニューを画面内へ*/
   transform: translateY(0);
    opacity: 1;
    visibility: visible;
}


.menu-content ul {
/*padding: 35.0vw 1.5vw 0 1.5vw;*/
list-style: none;
    padding: 70px 40px;
    font-family: "ta-mincho-gf-03", sans-serif;
font-weight: 400;
font-style: normal;
}

.menu-content ul li {
border-bottom: solid 0.15vw #e0f1f4;
list-style: none;
}
.menu-content li:last-child {
    border-bottom: none;
}

.menu-content li {
    border-bottom: 1px solid rgba(44, 85, 48, 0.2);
}

.menu-content ul li a {
display: block;
width: 100%;
box-sizing: border-box;
color:#e0f1f4;
text-decoration: none;
padding: 3vw 3vw 5vw 1vw;
position: relative;
font-size:5vw;
z-index: 180;
}

.menu-content ul li a::before {
content: "";
width: 3.5vw;
height: 3.5vw;
border-top: solid 0.25vw #e0f1f4;
border-right: solid 0.25vw #e0f1f4;
transform: rotate(45deg);
position: absolute;
right: 4vw;
top: 5.2vw;
}



.nav-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  align-items: center;
  justify-content: center;
  padding: 8px;
  width: 20vw;
  background-color: #e0f1f4;
  border: 1px solid #e0f1f4;
  opacity: 0;
  z-index:20;
}
.nav-menu.active {
  display: flex;
  animation: fadeIn 0.5s forwards;
}

.nav-menu a {
  text-decoration: none;
  color: #f225b8;
  padding: 3vw;
  margin: 3vw;
  font-size:3vw;

}



.insta{
  position:fixed;
  left:8vw;
  top:3.8vw;
  width:13vw;
  height:19vw;
    z-index: 1000;
}

.insta img{
   position:absolute;
  right:3vw;
  bottom:7.5vw;
  width:10vw;
  background-color: #e0f1f4;
border-radius: 10.5px;
}



body{
   background-color: #241c3a;
}

.page-title {
  position:relative;
    color:#e0f1f4;
    font-size:8vw;
    text-align:center;
    top:30vw;
    width:80vw;
    margin-right:auto;
    margin-left:auto;
    font-family: "ta-engeifude", sans-serif;
    font-weight: 400;
    font-style: normal;
    border-top:solid 3px #e0f1f4;
    border-bottom:solid 3px #e0f1f4;
    padding-top:3vw;
    padding-bottom:3vw;
       text-shadow:#B91B21 4px 4px 2px;
}

.english{
   font-family: "myfont", sans-serif;
   font-weight: 400;
font-style: normal;
 display: inline-block;
}

.english2{
font-family: "ta-engeifude", sans-serif;
    font-weight: 400;
    font-style: normal;
 display: inline-block;
 color:#D9B85A
}


.narabe{
  display:flex;
    width:80vw;
    border-top:solid 3px #e0f1f4;
    border-bottom:solid 3px #e0f1f4;
        padding-top:3vw;
    padding-bottom:3vw;
           margin-top:10vw;
           margin-right:auto;
           margin-left:auto;
}


.theme{
     color:#e0f1f4;
    font-family: "ta-engeifude", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size:9vw;
       text-shadow:#D9B85A  3px 3px 2px;
       margin-left:21vw;
}

.theme2{
     color:#e0f1f4;
    font-family: "ta-engeifude", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size:4vw;
       text-shadow:#D9B85A  3px 3px 2px;
          margin-top:5vw;
}

.theme3{
     color:#e0f1f4;
    font-family: "ta-engeifude", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size:9vw;
       text-shadow:#55ABDB  3px 3px 2px;
       margin-left:11vw;
}

.theme4{
     color:#e0f1f4;
    font-family: "ta-engeifude", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size:4vw;
       text-shadow:#55ABDB  3px 3px 2px;
          margin-top:2.5vw;
          margin-left:1vw;
          height:4vw;
}

.theme5{
     color:#e0f1f4;
    font-family: "ta-engeifude", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size:9vw;
       text-shadow:#68AD83  3px 3px 2px;
       margin-left:15vw;
}

.theme6{
     color:#e0f1f4;
    font-family: "ta-engeifude", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size:4vw;
       text-shadow:#68AD83 3px 3px 2px;
          margin-top:5.5vw;
          margin-left:1vw;
}

.bunshou1{
  font-size:5vw;
  font-family: "ta-mincho-gf-03", sans-serif;
font-weight: 400;
font-style: normal;
 color:#e0f1f4;
     margin-top:-7vw;
    width:85vw;
    margin-right:auto;
    margin-left:auto;
    line-height:4rem;
    text-align:center;
}

.bunshou1 p{
  color:#D9B85A;
  display: inline-block;
}

.yellow{
  color:#D9B85A;
  display: inline-block;
}

.yellow2 {
  position: relative;
  display: inline-block;
  color:#D9B85A
}

.yellow2 span {
  position: relative;
  z-index: 2;

}
.bunshou3 p{
  color:#D9B85A;
  display: inline-block;
}


.headline{
  display: inline-block;
    position: relative;
}

.headline span {
  position: relative;
  z-index: 2;
  font-weight: bold;
  font-size: 24px;
}

.headline::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 0;
  width: 90%;
  height: 9.8em; /* 必要に応じて調整 */
  background-image: url("line2_アートボード 1.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
  pointer-events: none;
}

.headline2 {
  position: relative;
  display: inline-block;
}

.headline2 span {
  position: relative;
  z-index: 2;
  font-weight: bold;
  font-size: 24px;
}

.headline2::before {
  content: "";
  position: absolute;
top:-45px;
  left: 0;
  width: 100%;
  height: 8em; /* 必要に応じて調整 */
  background-image: url("line2_アートボード\ 1.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
  pointer-events: none;
}

.headline3 {
  position: relative;
  display: inline-block;
  color:#D9B85A;
}

.headline3 span {
  position: relative;
  z-index: 2;
  font-weight: bold;
  font-size: 24px;
}

.headline3::before {
  content: "";
  position: absolute;
top:-56px;
  left: 0;
  width: 100%;
  height: 10.8em; /* 必要に応じて調整 */
  background-image: url("longline2_アートボード\ 1.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
  pointer-events: none;
}

.headline4 {
  position: relative;
  display: inline-block;
    color:#D9B85A;
}

.headline4 span {
  position: relative;
  z-index: 2;
  font-weight: bold;
  font-size: 24px;
}

.headline4::before {
  content: "";
  position: absolute;
top:-25px;
  left: 0;
  width: 100%;
  height: 5.8em; /* 必要に応じて調整 */
  background-image: url("line2_アートボード\ 1.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
  pointer-events: none;
}

.headline5 {
  position: relative;
  display: inline-block;
}

.headline5 span {
  position: relative;
  z-index: 2;
  font-weight: bold;
  font-size: 24px;
}

.headline5::before {
  content: "";
  position: absolute;
top:-45px;
  left: 2vw;
  width: 100%;
  height: 9.8em; /* 必要に応じて調整 */
  background-image: url("longline2_アートボード\ 1.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
  pointer-events: none;
}

.yellow2::before {
  content: "";
  position: absolute;
  top: -65px;
  left: 4vw;
  width: 90%;
  height: 11.8em; /* 必要に応じて調整 */
  background-image: url("longline2_アートボード\ 1.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
  pointer-events: none;
}


.bunshou2{
   font-size:5vw;
   font-family: "ta-mincho-gf-03", sans-serif;
font-weight: 400;
font-style: normal;
 color:#e0f1f4;
     margin-top:-8vw;
    width:85vw;
    margin-right:auto;
    margin-left:auto;
    line-height:4rem;
    text-align:center;
}

.bunshou3{
   font-size:5vw;
    font-family: "ta-mincho-gf-03", sans-serif;
font-weight: 400;
font-style: normal;
 color:#e0f1f4;
     margin-top:-15vw;
    width:85vw;
    margin-right:auto;
    margin-left:auto;
    line-height:4rem;
    text-align:center;
}

.bunshou4{
   font-size:5vw;
   font-family: "ta-mincho-gf-03", sans-serif;
font-weight: 400;
font-style: normal;
 color:#e0f1f4;
     margin-top:-4vw;
    width:85vw;
    margin-right:auto;
    margin-left:auto;
    line-height:4rem;
    text-align:center;
}

.bunshou5{
   font-size:5vw;
   font-family: "ta-mincho-gf-03", sans-serif;
font-weight: 400;
font-style: normal;
 color:#e0f1f4;
     margin-top:-8vw;
    width:85vw;
    margin-right:auto;
    margin-left:auto;
    line-height:4rem;
    text-align:center;
}

.bunshou5 p{
  color:#D9B85A;
  display: inline-block;
  position:relative;
}

.bunshou6{
   font-size:5vw;
   font-family: "ta-mincho-gf-03", sans-serif;
font-weight: 400;
font-style: normal;
 color:#e0f1f4;
     margin-top:14vw;
    width:85vw;
    margin-right:auto;
    margin-left:auto;
    line-height:4rem;
    text-align:center;
}


/* 魚の装飾画像 */
.fish{
  z-index:1;
}

.fish img{
  width:15vw;
  position:relative;
  margin-left:80vw;
  margin-top:16vh;
  opacity:0.5
}

.fish2{
  z-index:1;
}

.fish2 img{
 width:10vw;
  position:absolute;
  left:5vw;
  top:auto;
  opacity:0.5;
}

@media screen and (min-width: 425px) {
  .fish2 img {
    top: 52vh;
  }
}

@media screen and (min-width: 414px) and (max-width: 425px){
  .fish2 img {
    top: 54vh;
  }
}

@media screen and (min-width: 381px) and (max-width: 413px) {
  .fish2 img {
    top:65vh;
  }
}

@media screen and (max-width: 380px) {
  .fish2 img {
    top: 69vh;
  }
}

.fish3{
  z-index:1;
}


.fish3 img{
  width:15vw;
  position:relative;
  margin-left:75vw;
  opacity:0.5;
  transform:scaleX(-1);
  margin-top:0.5vh;
}
/*
@media screen and (min-width: 425px) {
  .fish3 img {
    top: 78vh;
  }
}

@media screen and (min-width: 414px) and (max-width: 425px){
  .fish3 img {
    top: 82vh;
  }
}

@media screen and (min-width: 381px) and (max-width: 413px) {
  .fish3 img {
    top:85vh;
  }
}

@media screen and (max-width: 380px) {
  .fish3 img {
    top: 108vh;
  }
}*/

.fish4{
  z-index:1;

}

.fish4 img{
  width:20vw;
  position:relative;
  margin-left:5vw;
  opacity:0.5
}
/*
@media screen and (min-width: 425px) {
  .fish4 img {
    top: 120vh;
  }
}

@media screen and (min-width: 414px) and (max-width: 425px){
  .fish4 img {
    top: 273vh;
  }
}

@media screen and (min-width: 381px) and (max-width: 413px) {
  .fish4 img {
    top:148vh;
  }
}

@media screen and (max-width: 380px) {
  .fish4 img {
    top: 164vh;
  }
}*/

.fish5{
  z-index:1;
  }


.fish5 img{
  width:20vw;
  position:absolute;
  right:5vw;
  top:auto;
  opacity:0.5
}

@media screen and (min-width: 425px) {
  .fish5 img {
    top: 298vh;
  }
}

@media screen and (min-width: 414px) and (max-width: 425px){
  .fish5 img {
    top: 210vh;
  }
}

@media screen and (min-width: 381px) and (max-width: 413px) {
  .fish5 img {
    top:230vh;
  }
}

@media screen and (max-width: 380px) {
  .fish5 img {
    top: 564vh;
  }
}

.fish6{
  z-index:1;
}

.fish6 img{
  width:16vw;
  position:relative;
  margin-left:79vw;
  opacity:0.5;
  margin-top:1vh;
}
/*
@media screen and (min-width: 425px) {
  .fish6 img {
    top: 268vh;
    right:75vw;
  }
}

@media screen and (min-width: 414px) and (max-width: 425px){
  .fish6 img {
    top: 152vh;
    right:5vw;
  }
}

@media screen and (min-width: 381px) and (max-width: 413px) {
  .fish6 img {
    top:232vh;
    right:5vw;
  }
}

@media screen and (max-width: 380px) {
  .fish6 img {
    top: 254vh;
    right:5vw;
  }
}*/

.fish7{
  z-index:1;
}

.fish7 img{
  width:19vw;
  position:relative;
  margin-left:5vw;
  opacity:0.5
}
/*
@media screen and (min-width: 425px) {
  .fish7 img {
    top: 188vh;
  }
}

@media screen and (min-width: 414px) and (max-width: 425px){
  .fish7 img {
    top: 192vh;
  }
}

@media screen and (min-width: 381px) and (max-width: 413px) {
  .fish7 img {
    top:200vh;
  }
}

@media screen and (max-width: 380px) {
  .fish7 img {
    top: 199vh;
  }
}*/

.fish8{
  z-index:1;
}

.fish8 img{
  width:17vw;
  position:absolute;
  margin-right:5vw;
  opacity:0.5;
  transform:scaleX(-1);
}
/*
@media screen and (min-width: 425px) {
  .fish8 img {
    top: 308vh;
  }
}

@media screen and (min-width: 414px) and (max-width: 425px){
  .fish8 img {
    top: 365vh;
  }
}

@media screen and (min-width: 381px) and (max-width: 413px) {
  .fish8 img {
    top:334vh;
  }
}

@media screen and (max-width: 380px) {
  .fish8 img {
    top: 297vh;
  }
}
*/

.fish9{
  z-index:1;
}

.fish9 img{
  width:23vw;
  position:absolute;
  right:5vw;
  top:589vw;
  opacity:0.5
}

.fish10{
  z-index:1;
}

.fish10 img{
  width:20vw;
  position:relative;
  margin-left:70vw;
  opacity:0.5;
  margin-bottom:15vw;
}
/*
@media screen and (min-width: 425px) {
  .fish10 img {
    top: 428vh;
  }
}

@media screen and (min-width: 414px) and (max-width: 425px){
  .fish10 img {
    top: 445vh;
  }
}

@media screen and (min-width: 381px) and (max-width: 413px) {
  .fish10 img {
    top:465vh;
  }
}

@media screen and (max-width: 380px) {
  .fish10 img {
    top: 480vh;
  }
}*/
 

  /* Reset box-model and set borders */
/* ============================================ */

*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
  min-width: 0;
}

/* Document */
/* ============================================ */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Remove gray overlay on links for iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -webkit-tap-highlight-color: transparent; /* 3*/
}

/* Sections */
/* ============================================ */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the main element consistently in IE.
 */

main {
  display: block;
}

/* Vertical rhythm */
/* ============================================ */

p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0;
}

/* Headings */
/* ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

/* Lists (enumeration) */
/* ============================================ */

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Lists (definition) */
/* ============================================ */

dt {
  font-weight: bold;
}

dd {
  margin-left: 0;
}

/* Grouping content */
/* ============================================ */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
  border-top-width: 1px;
  margin: 0;
  clear: both;
  color: inherit;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd em font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

address {
  font-style: inherit;
}

/* Text-level semantics */
/* ============================================ */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd em font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent sub and sup elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Replaced content */
/* ============================================ */

/**
 * Prevent vertical alignment issues.
 */

svg,
img,
embed,
object,
iframe {
  vertical-align: bottom;
}

/* Forms */
/* ============================================ */

/**
 * Reset form fields to make them styleable.
 * 1. Make form elements stylable across systems iOS especially.
 * 2. Inherit text-transform from parent.
 */

button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none; /* 1 */
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-align: inherit;
  text-transform: inherit; /* 2 */
}

/**
 * Correct cursors for clickable elements.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  cursor: pointer;
}

button:disabled,
[type="button"]:disabled,
[type="reset"]:disabled,
[type="submit"]:disabled {
  cursor: default;
}

/**
 * Improve outlines for Firefox and unify style with input elements & buttons.
 */

:-moz-focusring {
  outline: auto;
}

select:disabled {
  opacity: inherit;
}

/**
 * Remove padding
 */

option {
  padding: 0;
}

/**
 * Reset to invisible
 */

fieldset {
  margin: 0;
  padding: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * Correct the outline style in Safari.
 */

[type="search"] {
  outline-offset: -2px; /* 1 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Fix font inheritance.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/**
 * Clickable labels
 */

label[for] {
  cursor: pointer;
}

/* Interactive */
/* ============================================ */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/*
 * Remove outline for editable content.
 */

[contenteditable]:focus {
  outline: auto;
}

/* Tables */
/* ============================================ */

/**
1. Correct table border color inheritance in all Chrome and Safari.
*/

table {
  border-color: inherit; /* 1 */
  border-collapse: collapse;
}

caption {
  text-align: left;
}

td,
th {
  vertical-align: top;
  padding: 0;
}

th {
  text-align: left;
  font-weight: bold;
}