@charset "utf-8";

/*
Base style
*/

* {
    box-sizing: border-box;
    padding: 0px;
    margin: 0px;
}

body {
    font-family: 'メイリオ', 'Meiryo', '游ゴシック', 'Yu Gothic', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
    font-size: 18px;
    line-height: 1.5;
    width: 100%;
    color: black;
    overflow-x: hidden;
    background-color: white;
    position: absolute;
}

.topImage  {
    width: 100%;
    height: calc(100vw * 10/16);
    background-image: url(../images/Maurice/bgImgMaurice01.webp);
    background-size: cover;
    position: relative;
}

.topImage .headerLogo {
    height: 100px;
}

.topImage .headerLogo a {
    height: 100px;
    margin: 0px 20px;
}

.topImage .headerLogo a img {
    height: 100px;
}


.burger {
    display: block;
    position: fixed;
    top: 10px;
    right: 10px;
    margin: auto;
    margin-right: 10px;
    cursor: pointer;
    background: white;
    z-index: 5;
}

.burger div {
    width: 35px;
    height: 5px;
    background-color: #333;
    margin: 8px;
    transition: all 0.5s ease-in-out;
}

.toggle .line1 {
    transform: rotate(405deg) translate(10px, 8.5px);
}
.toggle .line2 {
    opacity: 0;
}
.toggle .line3 {
    transform: rotate(-405deg) translate(10px, -8.5px);
}

.burgerMenu {
    display: block;
    position: fixed;
    top: 50px;
    right: 0;
    margin: 0;
    padding: 0;
    background-color: #333;
    opacity: 0.9;
    height: calc(100vh - 50px);
    width: 300px;
    transform: translateX(100%);
    transition: all 0.5s ease-in-out;
    z-index: 10;
}

.burgerMenu-active {
    transform: translateX(0%) !important;
}

.burgerMenu ul {
    display: block;
    margin: 0;
    padding: 10px;
}

.burgerMenu ul li {
    display: block;
    list-style: none;
    font-size: 18px;
    height: 8vh;
    margin:0px;
    border: #eee;
}

.burgerMenu ul li a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    height: 8vh;
    width: 300px;
    display: block;
    line-height: 2rem;
    text-align: center;
    margin: 5px;
    padding: 15px;
}



main {
    width: 100%;
    padding: auto;
    margin: 0px auto 0px;
}


article {
    background: linear-gradient(-45deg,white,#ffe8b7,white);
    margin: 0px;
    padding: 50px 30px;
    box-sizing: border-box;
}


.dataBox {
    border: 2px solid #013499;
    border-bottom: none;
}

.dataBox h2 {
    margin: 0px;
    background-color: #013499;
    color: white;
    padding-left: 20px;
}


.galleryProfile {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 15px 25px;
}

.gallery {
    width: 350px;
    height: 350px;
    margin: 10px 20px;
    padding: 25px;
    text-align: center;
    background-color: #f5f5f5;
}

.gallery a {
    text-decoration: none;
}

.gallery img {
    width: 300px;
    height: 300px;
    object-fit: cover;
}


table {
    font: 13px "ＭＳ Ｐゴシック",arial,helvetica,clean,sans-serif;
    border-collapse:  collapse;
}

th {
    border: 1px solid #999;
    background-color: white;
    padding: 1px 5px;
}

td {
    border: 1px solid #999;
    background-color: white;
    padding: 1px 5px;
}

.profile {
    margin: 10px 25px;
}

.profile tbody tr th {
    background-color: #f5fafe;
    font-weight: normal;
    text-align: left;
    border-right: 1px dotted #999;
    padding: 5px 6px;
}

.profile tbody tr td {
    border-left: 1px dotted #999;
    padding: 5px 4px 5px 10px;
}

.pedigree {
    width: 320px;
    height: 200px;
    margin: 10px 25px;
}

.pedigree tbody {
    padding: auto 0;
}

.pedigreeTitle {
    background-color: #f5fafe;
    height: 30px;
    padding: 5px 6px;
}

.ml {
    width: 50%;
    padding: 5px 4px;
    background-color: #ccefff;

}

.fml {
    width: 50%;
    padding: 5px 4px;
    background-color: #ffdbd5;;
}

.race {
    width: auto;
    padding: 20px;
    border: 2px solid #013499;
    border-top: none;
}

.race h2 {
    font-size: 18px;
    padding-left: 10px;
}

.result {
    margin: 0px 10px;
    display: block;
    overflow-x: scroll;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.result thead tr th {
    font-weight: normal;
    background-color: #efefd9;
    padding: 4px 3px;
}

.result tbody tr td {
    text-align: left;
}

.rank1 {
    background-color: #ffef7f !important;
}

.rank2 {
    background-color: #cbdeff !important;
}

.rank3 {
    background-color: #efc79f !important;
}



/* 上に戻るボタンのデザイン */

.return {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    text-decoration: none;
    background-color: #1f0f00;
    display: block;
    text-align: center;
    border-radius: 24px;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.4s ease-in;
  }
  
  .return::before {
    content: '\f062';
    font-family: 'Font Awesome 6 Free';
    font-size: 30px;
    font-weight: 900;
    color: #fff;
    line-height: 48px;
  }
  
  /* fadeinクラスがついた時だけ表示する */
  .return.fadein {
    opacity: 1;
  }
  
  /* ここまでボタンのデザイン */


footer {
    position: relative;
    width: 100%;
    height: 50px;
    background: #331d00;
}

footer p {
    width: 100%;
    position: absolute;
    font-size: 0.9rem;
    color: #ffffff;
    text-align: center;
}



  /* ブレーキングポイント768px */

@media screen and (max-width: 768px) {
    .topImage  {
        width: 100vw;
        height: calc(100vw * 16/10);
        background-image: url(../images/Maurice/bgImgMaurice02.webp);
        background-size: cover;
        position: relative;
    }
    

    .topImage .headerLogo {
        height: 50px;
    }

    .topImage .headerLogo a {
        height: 50px;
        padding: 0;
        margin: 0;
    }

    .topImage .headerLogo a img {
        height: 50px;
        padding: 0;
        margin: 0;
    }    
    
    .burger {
        display: block;
        position: fixed;
        top: 10px;
        right: 5px;
        margin: auto;
        margin-right: 5px;
        cursor: pointer;
    }
    
    .burger div {
        width: 35px;
        height: 5px;
        background-color: #333;
        margin: 8px;
        transition: all 0.5s ease-in-out;
    }
       
    .toggle .line1 {
        transform: rotate(405deg) translate(10px, 8.5px);
    }
    .toggle .line2 {
        opacity: 0;
    }
    .toggle .line3 {
        transform: rotate(-405deg) translate(10px, -8.5px);
    }
    
    .burgerMenu {
        display: block;
        position: fixed;
        top: 50px;
        left: 35vw;
        margin: 0;
        padding: 0;
        background-color: #333;
        opacity: 0.9;
        height: 80vh;
        width: 65vw;
        transform: translateX(100%);
        transition: all 0.5s ease-in-out;
        z-index: 10;
    }
    
    .burgerMenu-active {
        transform: translateX(0%) !important;
    }
    
    .burgerMenu ul {
        display: block;
        margin: 0;
        padding: 0;
    }
    
    .burgerMenu ul li {
        display: block;
        list-style: none;
        font-size: 18px;
        height: 7vh;
        text-align: center;
        margin:0px;
        border: #eee;
    }
    
    .burgerMenu ul li a {
        text-decoration: none;
        color: white;
        font-weight: 600;
        height: 7vh;
        display: block;
        line-height: 55px;
        margin: 0;
        padding: 0;
    }

    .topImage .topContent {
        height: calc(100% - 50px);
        max-height: 100%;
        position: absolute;
        top: 50px;
    }
    
    .topImage .topContent p {
        position: absolute;
        bottom: 20px;
        width: 90%;
    }
   
    main {
        padding: 0px;
    }

    article {
        padding: 10px;
    }

    .gallery {
        width: 300px;
        height: 300px;
        margin: 10px;
        padding: 10px;
    }

    .galleryProfile {
        padding: 5px 5px;
    }
    
    .gallery img {
        width: 280px;
        height: 280px;
    }

    .profile {
        margin: 10px;
    }
  
}


  /* ブレーキングポイント420px */

  @media screen and (max-width: 420px) {
    h2 {
        font-size: 1.1rem;
    }

   
  }