/*-- すべてのページに適用される設定 --*/
html {
    font-size: 15px;
    font-family: "source-han-sans-japanese", sans-serif;
  	font-weight: 200;
  	font-style: normal;
    scroll-behavior: smooth;
    background-color: #242424;
}

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

body {
    margin: 0 0 0 0;
}

p, li, td {
    line-height: 1.8;
    color: #FFFFFF;

}

h1 {
    font-size: 5vw;
    color: #FFFFFF;
    
}

h2 {
    font-size: 1.5rem;
    color: #FFFFFF;
    font-weight: 500;
    text-align: center;
    padding-top: 20px;
    border-bottom: 3px solid #FF0000;
    padding-bottom: 5px;
    letter-spacing:5px;
}

h4 {
    font-size: 2rem;
    color: #FFFFFF;
    font-weight: 500;
    text-align: center;
    letter-spacing:5px;
}

h3 {
    font-size: 1.3rem;
    color: #FFFFFF;
    font-weight: 400;
    padding-top: 20px;
    letter-spacing:2px;
}

h5 {
    font-size: 1.2rem;
    color: #FFFFFF;
    font-weight: 500;
}

h6 {
  font-size: 1.5rem;
  color: #FFFFFF;
  font-weight: 500;
  text-align: center;
  padding-top: 0px;
  padding-bottom: 0px;
}

.midashi {
  text-align: center;
  font-weight: 300;
  font-size: 1.2rem;
}

.list {
  list-style: none;
}

.logo {
    width: 300px;
    margin: 0 0 0 0;
    text-align: center;
}

img {
    max-width: 100%;
}

.content {
    padding: 4%;
    padding-bottom: 4%;
}


/* すべてのページに適用 - ヘッダー */

.header {
    /*---  ヘッダー固定表示のための記述  ---*/
    position: fixed;
    width: 100%;
    z-index: 2;
}

.grouptop {
  padding-top: 50px;
}


/*--------- ナビゲーション ---------*/

.nav {
    padding: 0 0;
}

.nav ul {
    margin: 0 0 0 0;
    list-style-type: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 0.9rem;
}

.nav a:link {
    color: #FFFFFF;
}
.nav a:visited {
    color: #FFFFFF;
}
.nav a:hover {
    text-decoration: none;
}
.nav a:active {
    text-decoration: none;
}

a {
    text-decoration: none;
    position: relative; /*アンダーラインの位置を決めるための基準 */
}

.nav a::after {
position: absolute;
left: 0;
content: '';
width: 100%;
height: 1px;
background: #FF0000;
bottom: -2px;
transform: scale(0, 1);
transform-origin: right top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
transition: transform 0.3s;  /*変形の時間*/
}

.nav a:hover::after {
transform: scale(1, 1);     /*ホバー後、x軸方向に1（相対値）伸長*/
transform-origin: left top; /*左から右に向かう*/
}


/*-- すべてのページに適用  ヘッダー --*/

h1 {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    text-align: center;
  	font-style: normal;
}


/*========= スクロールをすると下のエリアが上にかぶさるCSS ヒーローエリア ===============*/

#hero {
    /*heroを全画面で見せる*/
  width:100%;
  height: 100vh;
  position: relative;
} 

#hero:before {
/*heroの疑似要素に背景画像を指定*/
  content:"";
  position:fixed;
  top:0;
  left:0;
  z-index:-1;
  width:100%;
  height: 100vh;
/*背景画像設定*/
  background:url("../images/world.jpg") no-repeat center;
  background-size:cover;

/*========= スライドショーのための記述 ===============*/
  
  animation: スライドショー 20s ease 0s infinite normal;
  -webkit-animation: スライドショー 20s ease 0s infinite normal;
  }

@keyframes スライドショー {
0% {
background-image: url('../images/world.jpg');
opacity: 1;
}
10% {
opacity: 1;
}
15% {
opacity: 1;
background-image: url('../images/world.jpg');
}
30% {
opacity: 1;
}
40% {
opacity: 1;
background-image: url('../images/ok_reizo.jpg');
}
50% {
opacity: 1;
}
65% {
opacity: 1;
background-image: url('../images/ok_f.jpg');
}
70% {
opacity: 1;
}
90% {
opacity: 1;
background-image: url('../images/ok_brazil.jpg');
}
100% {
opacity: 0;
}


}

/*=============== 下の被さるエリアの指定 ===============*/

#container {

    position: relative;
    z-index:1;
      /*以下はレイアウトのための記述*/
    background:#242424;
    width: 100%;
}
.content {

    position: relative;
    z-index:2;
      /*以下はレイアウトのための記述*/
    background:#242424;
    max-width: 1000px;
    margin: auto;

}

.intro {    
    max-width: 1000px;
    margin: auto;
}


/*=============== Googleマップ ===============*/

.map {
    width: 100%;
    position: relative;
    padding-top: 56.25%;
    margin-top: 40px;
}
  
.map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/*=============== 概要 表組 テーブル ===============*/

.corp {
    border-collapse: collapse;
    width: 100%;
    margin-top: 50px;
    margin-bottom: 30px;
}
.corp th, .corp td {
    border: 1px solid;
    padding: 25px;
    color: #FFFFFF;
}
.corp th {
    text-align: center;
    vertical-align: middle;
}
.corp td {
    text-align: left;
    vertical-align: middle;
}

#merit {
  font-size: 1.2rem;
  font-weight: 400;
}


/*=============== 写真3枚 横並び ===============*/

.grid-3 {
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
    padding-bottom: 10px;
    max-width: 1000px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

/*=============== 文字の囲み ===============*/

.border {
  border: solid 1px #FFFFFF;
  margin: 0 0 0 0;
  color: #FFFFFF;
  font-weight: 400;
  text-align: center;
}

#haken {
  margin-top: 40px;
  margin-bottom: 30px;
}


/*======================= フェードイン用のCSS =======================*/

.slide-bottom {
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.7s 0s ease-out;
}





/*=============== モバイル対応 ===============*/

@media(max-width: 1100px) {

  .nav a:link {
    color: #000000;
}
.nav a:visited {
    color: #000000;
}
.nav a:hover {
    text-decoration: none;
}
.nav a:active {
    text-decoration: none;
}



}

@media(max-width: 767px) {

  .grid-3 {
    grid-template-columns: 1fr;
  }

}


/*========= ハンバーガーメニュー ===============*/

.c-header {
  align-items: center;
  background-color:rgba(15, 15, 15, 0.9); 
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 2rem; /* カスタマイズしてください */
  width: 100%;

  /*---  ヘッダー固定表示のための記述  ---*/
  position: fixed;
  z-index: 2;
}

.c-header__logo {
  color: #000;
  min-width: 80px;
  text-decoration: none;
}


.c-header__list {
  box-sizing: border-box;
  display: flex;
  margin: 0;
  padding: 0;
}

.c-header__list-item {
  list-style: none;
  text-decoration: none;
}

.c-header__list-link {
  color: #000; /* カスタマイズしてください */
  display: block;
  margin-right: 10px; /* カスタマイズしてください */
  text-decoration: none;
  padding: 0px 0px; /* カスタマイズしてください */
}

/*.c-header__list-link:hover {
  filter: opacity(0.6);
}*/

/*.c-hamburger-menu {
  position: relative;
}*/

@media screen and (max-width: 1100px) {
  .c-hamburger-menu__list {
    background-color: #cbcbcb; /* カスタマイズしてください */
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    left: 0;
    padding: 4rem; /* カスタマイズしてください */
    position: absolute;
    transform: translateX(-100%);
    transition: 0.3s; /* カスタマイズしてください */
    top: 100%;
    width: 100%;
  }

  #hamburger:checked ~ .c-hamburger-menu__list {
    transform: translateX(0%);
    transition: 0.3s;
  }
}

.c-hamburger-menu__input {
  display: none;
}

.c-hamburger-menu__bg {
  background-color: #000; /* カスタマイズしてください */
  cursor: pointer;
  display: none;
  height: 100vh;
  left: 0;
  opacity: 0.4; /* カスタマイズしてください */
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
}

#hamburger:checked ~ .c-hamburger-menu__bg {
  display: block;
}

.c-hamburger-menu__button {
  display: none;
}

@media screen and (max-width: 1100px) {
  .c-hamburger-menu__button {
    align-items: center;
    appearance: none;
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px; /* カスタマイズしてください */
    height: 32px; /* カスタマイズしてください */
    justify-content: center;
    width: 32px; /* カスタマイズしてください */
  }
}

.c-hamburger-menu__button-mark {
  background-color: #FFFFFF; /* カスタマイズしてください */
  display: block;
  height: 1px; /* カスタマイズしてください */
  transition: 0.3s; /* カスタマイズしてください */
  width: 20px; /* カスタマイズしてください */
}

@media screen and (max-width: 1100px) {
  #hamburger:checked
    ~ .c-hamburger-menu__button
    .c-hamburger-menu__button-mark:nth-of-type(1) {
    transform: translate(2px, 1px) rotate(45deg); /* カスタマイズしてください */
    transform-origin: 0%; /* カスタマイズしてください */
  }
  #hamburger:checked
    ~ .c-hamburger-menu__button
    .c-hamburger-menu__button-mark:nth-of-type(2) {
    opacity: 0;
  }
  #hamburger:checked
    ~ .c-hamburger-menu__button
    .c-hamburger-menu__button-mark:nth-of-type(3) {
    transform: translate(2px, 3px) rotate(-45deg); /* カスタマイズしてください */
    transform-origin: 0%; /* カスタマイズしてください */
  }
}