﻿
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+JP&family=Rampart+One&family=Stick&display=swap&family=Material+Symbols+Rounded');


.stick-regular,.tit_stick {
  font-family: "Stick", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.rampart-one-regular,.tit_rampart {
  font-family: "Rampart One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.ibm-plex-sans-jp-light,.footer {
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.ibm-plex-sans-jp-regular {
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.ibm-plex-sans-jp-medium,body {
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.ibm-plex-sans-jp-semibold,.sum_g,.under,.comment,strong,.host,h4 {
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.ibm-plex-sans-jp-bold,h1,h2,h3{
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 700;
  font-style: normal;
}



.icon{
    font-family: 'Material Symbols Rounded';
    vertical-align: bottom;
}

.ficon{
    font-family: 'Material Symbols Rounded';
      font-variation-settings:'FILL' 0;
      vertical-align: bottom;
}




/*Googlefont読み込み　ここまで-------------------------------------------------*/

/* 変数定義 */
:root{
  --boldcolor: #8c1d48;
  --litecolor:#e62c67;

  --morecolor:firebrick;
}

html{
  font-size: 20px;
}



body{
   background:url(img/nissan_back.jpg)no-repeat;
   background-position: 0% 60%;
   background-size: cover;
  background-attachment: fixed;
  letter-spacing:0.05rem;
  inset: 0;


}



  .main-box{
    filter: brightness(0.9);
    background-color: white;
    margin: 0 10%;
    border-radius: 35px 35px 0 0;
    padding: 1rem 2rem 3rem;



    /*すりガラス表現*/
    --glass-shadow:inset 0 0 0 1px rgb(255 255 255),
    inset 2px 4px 16px -4px rgb(255 255 255 / 0.5);

    --box-shadow: ver(2px 8px 16px rgb(255 255 255 / 0.5));

    box-shadow: ver(--glass-shadow), ver(--box-shadow);

    backdrop-filter:brightness(1.5) blur(10px);
    background-color: rgb(255 255 255 / 0.8);


    P{
      margin: 0.5rem;
      text-shadow: 1px 1px 3px #fff;
      padding-left: 1rem;
    }
  }

  h1{
  font-size: 2rem;
  color: #8c1d48;
  text-align: center;
  margin: 0.5rem;
}

h2{
  font-size: 1.75rem;
  color: #e62c67;
  margin-top: 1rem;
  margin-bottom: 1rem;
  .ficon{
    font-size: 1.25em;
    font-weight: 500;
  }
}

h3{
  font-size: 1.5rem;
  color: #e62c67;
  margin:0;
  text-indent: 0.25em;
}
.h3{
  border-top:2px #e62c67 dotted;
  position: relative;
  top:-1.75em;

}


h4{
  font-size: 1rem;
  color: #8c1d48;
  margin-bottom: 0.25rem;
}

section{
  margin-bottom: 2rem;
}

.under{
  text-decoration: underline;
  font-size: 1.125em;
}

strong{
  font-size: 1.25em;
}

mark{
 color:crimson;
 padding: 0.175em 0.5em;
 background-color: mistyrose; 
}

dl{
  dd::before{
    content: "▶";
  }
  dd{
    margin-bottom: 1.5em;
  }
}

.fit{
  height: 80dvh;
}
.header{
  color: #8c1d48;
  background-image: linear-gradient(to right,#fff 0%,#fff 10%,transparent 100%);
  padding: 2dvw 0 1dvw 10dvw;
  position: sticky;
  top:0;

  .title_g{
    display: grid;
    grid-template-columns: 1fr 3.5fr 2fr;
    width: 40dvw;
    gap:0;
    
    
    .logo{
      background: url(img/k_logo.png)no-repeat;
      background-size: contain;
      background-position: center center;
      width: 7dvw;

    }
    .tit_stick{
      font-size: 2.5dvw;
      text-align: right;
      line-height: 1.2em;

    }
    .tit_rampart{
      grid-column: 3/4;
      grid-row: 1/3;
      font-size: 2dvw;
      text-align: left;
      padding-top:2.5em;
    }
    .blank{
      grid-column: 1/3;
    }
  
  }

  .title_g > :first-child{
    aspect-ratio: 1/1;
  }

  .host{
    text-align: left;
    font-size: 1.25dvw;
    line-height: 1.75em;
    margin-top: 3em;
    span{
      margin-left: 1em;
    }
  }
}

.f_box{
    display: flex;
  flex-wrap: wrap;
}

.sum_g{
  display: flex;
  flex-wrap: wrap;
  color: white;
  text-shadow: 2px 2px 1px #8c1d48;
  justify-content: center;
  align-items: center;

  .over_frame{
    display: grid;
    grid-template-columns: 5.5dvw 30dvw;
  }
  .ficon{
    font-size: 5dvw;
    text-align: center;
    align-items: center;
  }
  .pin{
    font-size: 1.5dvw;
    padding-top: 1rem;
  }

  .cal1{font-size: 2dvw;}
  .cal2{font-size: 1.2dvw;}
  p{
    margin: 0;
    padding-top: 1rem;
  }

  .over_frame > :first-child{
    aspect-ratio: 1/1;
  }


}

.footer{
  width: 100%;
  background-color: black;
  height: auto;
  padding: 0.25em;
  color: white;
  text-align: center;
  margin:0;
  font-size: clamp(0.5rem,0.75rem,1rem);
}

a{
  padding-bottom: 0.125em;
  padding-inline: 1px;
  background: linear-gradient(
    0deg,
    rosybrown 0.5em,
    transparent 0.5em
  );
  text-decoration: none;
}

a:hover{
  color: indianred;
}


.button{
  margin: 0 5vw;
  color: white;
  background: firebrick;
  align-items: center;
  line-height: 1.5;
  text-decoration: none;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5em;
  display: flex;
  position: relative;
  width: fit-content;
  overflow: hidden;
}

@keyframes shine-hover{
  from{
    translate: -100% 0;
  }
  to{
    translate: 100% 0;
  }
}

.button::after{
  content: "";
  position: absolute;
  width: 100%;
  inset:0;
  translate: -100% 0;
  background: linear-gradient(
    60deg,
    transparent 40%,
    rgba(255,255,255,0.3) 45%,
    rgba(255,255,255,0.5) 60%,
    transparent 65%
  );
}

@media (any-hover: hover){
  .button:hover::after{
    animation: 0.5s shine-hover;
  }
}

.button:focus-visible::after{
  animation: 0.5s shine-hover;
}

.comment{
  font-size: 0.825em !important;
}

iframe{
  width: 50dvw;
  height: 40dvh;
}

a[href$=".pdf"]::after{
  margin-left: 0.25em;
  font-family: 'material Symbols Rounded';
  content: "\e415";
  font-size: 1.25em;
}

img{
  display: none;
}


@media (min-aspect-ratio: 4/5) and (max-aspect-ratio:5/4){
  .header{
    padding: 1.5em;

      .title_g{
        width: 80dvw;

        .logo{
          width: 10dvw;
        }
        
        .tit_rampart{
          font-size: 4dvw;
        }
        .tit_stick{
          font-size: 4dvw;
        }
      }
      .host{
        font-size: 1.5dvw;
      }
    }
}


@media (width <= 768px) {
    /* 768px以下の画面で適用 */  
    body{
      font-size: 0.75rem;
      background-image: none;
      background: linear-gradient(to top, black, thistle),
      linear-gradient(to right, rosybrown, #a4a8d4);

      background-blend-mode: saturation;
    }

    img{
      display:block;
     max-width: 100%;
     height: 70%;
     object-position:center bottom;

  -webkit-mask-image: linear-gradient(to bottom,#000 0%,#000 85%,transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 85%, transparent 100%);
    }

    .fit{
      display: none;
    }

    .header{
      padding-left:1rem;

      .title_g{
        width: 80dvw;

        .logo{
          width: 12dvw;
        }
        
        .tit_rampart{
          font-size: 5dvw;
        }
        .tit_stick{
          font-size: 5dvw;
        }
      }
      .host{
        font-size: 1.75dvw;
      }
    }

  .sum_g{
    position: center;

    .over_frame{
    grid-template-columns: 7dvw 70dvw;
    }


  .ficon{
    font-size: 7dvw;
    text-align: center;
    align-items: center;
  }
  .pin{
    font-size: 3dvw;
    padding-top: 1rem;
  }

  .cal1{font-size: 3dvw;}
  .cal2{font-size: 2.5dvw;}
  p{
    margin: 0;
    padding-top: 1rem;
  }

  .over_frame > :first-child{
    aspect-ratio: 1/1;
  }


}
  p{
    font-size: 0.625rem;
    margin: 0.25em;
  }

.main-box{
  margin: 0 5%;
  padding: 1rem 1rem 3rem;

}

  h1{
  font-size: 3.5dvw;
}

h2{
  font-size: 0.875rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  .ficon{
    font-size: 1em;
    font-weight: 500;
  }
}

h3{
  font-size: 0.8125rem;
  text-indent: 0.25em;
}
.h3{
  top:-1.5rem;
}


h4{
  font-size: 0.725rem;
}

a{color: indianred;}

hr{display: none;}

.button{
  font-size: 0.625rem;
}

iframe{
  width: 80dvw;
}

}