@charset "UTF-8";
html{
    font-size: 100%;
}
body {
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.05em;
    color: black;
  }
  img {
    width: 100%;
    vertical-align: bottom;
  }
/*-------------------------------------------
 topvisual
-------------------------------------------*/
#top{
  width: 100vw;
  height: 100vh;
}
.topvisual{
  width: 100%;
  height: 750px; /* 自動に設定 */
  padding: 30px 0; /* 上下にパディングを追加 */
  background-image: url(../img/pc81920_1280.jpg);
  object-fit: cover;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;/*上からここまではお決まり定義*/
  color: white;
  position: relative;
  writing-mode: vertical-rl;/*このCSSのみで縦書き可能となる,bodyに充てると左スクロールになるので注意*/
}
.top-title{
   font-size: 50px;
   margin-top: 30px;
   padding-right: 20px;
}
.top-nav{
  margin-top: 30px;
}
.top-nav-list li{
  margin-left: 25px;
}
.top-nav-list li:first-child {
  margin-right: 60px; /* 最初のli要素（お知らせ）にマージンを適用 */
}
/*-------------------------------------------
 topvisual__onlinestore
-------------------------------------------*/
.onlinestore{
  background: rgba(255,255,255,0.2);
  padding: 8px;/*上のbgcとpaddingを組み合わせると、外枠が出来たようにみせれる*/
  position: absolute;
  bottom: 50px;
  left: 40px;
}
.onlinestore p{
  border: 2px solid white;
  padding: 2px;
}
/*-------------------------------------------
 news
-------------------------------------------*/
.news{
  background-color: #E6E2D7;
  padding: 20px; /* パディングを追加してはみ出しを防ぐ */
}
.news-inner{
  padding-top: 80px;
  width: 100%;
  display: flex;/*writing-mode: vertical-rl＆jpをdisplay: block;にして三角関係をどう組み合合わせるか？*/
  flex-direction: row-reverse;
}
.section-title{
  writing-mode: vertical-rl;/*このプロパティ入れるところ間違うと大変*/
  margin-left: 20px;
}
.en{
  display: block;
  font-size: 10px;
  margin-bottom: 10px;
}
.jp{
  display: block;
  font-size: 36px;
  
}
dl{
  writing-mode: vertical-rl;
  margin-top: 40px;
  margin-bottom: 200px;
}
dt{
  border-right: 2px solid;
  font-size: 8px;
} 

dd{
  margin-left: 20px;
}
dd:last-child {
  border-left: solid 2px #000;
  padding-left: 20px;
}
/*-------------------------------------------
 create
-------------------------------------------*/
.create{
  width: 100vw;
  background-color: #E6E2D7;
  writing-mode: vertical-rl;
}
.section-title{
  display: flex;
  align-items: center;
  margin-right: 200px;
}
.create-en{
  margin-top: 50px;
}
.create-img{
position: relative;
}
.create-img img{
  width: 600px;
  height: 400px;
  margin-top: 150px;
  margin-right: 30px;
  margin-bottom: 150px;
}
.create-img p{
  position: absolute;
  color: white;
  width: 40%;
  height: 20%;
  top: 60%;
  left: -5%;
  padding: 50px 0;
  text-align: center;
  background-color: #F9E90699;
  writing-mode: horizontal-tb; /* 水平テキストモードに戻す */
}
/*-------------------------------------------
 Science & Technology
-------------------------------------------*/
.techno{
  width: 100vw;
  background-color: #E6E2D7;
  writing-mode:vertical-lr;/*rlでなくlrにてテキストが左にくるスタイル*/
}
.section-techno-title{
  margin-left: 200px;
  display: flex;
  align-items: center;
  margin-right: 20px;
}
.techno-img{
  position: relative;
}
.techno-img img{
  width: 600px;
  height: 400px;
  margin-top: 150px;
  margin-right: 30px;
  margin-bottom: 150px;
}
.techno-img p{
  position: absolute;
  background-color: #952A2699;
  color: white;
  width: 40%;
  height: 20%;
  top: 60%;
  right: -1%;
  writing-mode: horizontal-tb; /* 水平テキストモードに戻す */
  padding: 50px 0;
}
/*-------------------------------------------
 map
-------------------------------------------*/
.map{
  width: 100vw;
  vertical-align: bottom;
}
.map iframe{
  width: 100%;
}
/*-------------------------------------------
 footer
-------------------------------------------*/
footer{
  width: 100vw;
  writing-mode:vertical-rl;
  background-color: black;
  color: white; 
  position: relative;
}
.footer-inner{
  margin: 80px 40px 80px 20px;
}
.foot-title{
  margin-left: 60px;
  font-size: 40px;
}
.footer-nav{
  margin-right: 60px;
}
.foot-addres span{
  display: block;
}
.nb{
  text-orientation: upright;/*下↑このペアで数字が縦書きになる*/
  writing-mode: sideways-rl;/*上↑このペアで数字が縦書きになる*/
}
.footer-nav-list li{
  margin-left: 10px;
}
.foot-onlinestore{
  position: absolute;
  border: 2px solid white;
  padding: 2px;
  background: rgba(255,255,255,0.2);
  padding: 8px;/*上のbgcとpaddingを組み合わせると、外枠が出来たようにみせれる*/
  position: absolute;
  top: 50%;
  left: 3%;
}
small{
  color: white;
  writing-mode:horizontal-tb;
  position: absolute;  
  bottom: 3%;
  left: 40%;
}
/*-------------------------------------------
 Responsive
-------------------------------------------*/ 
@media screen and (max-width: 768px) {
/*--------------------------
topvisual
---------------------------*/ 
.topvisual{
  background-image: url(../img/sp640_760.jpg);
/*  height: calc(100vh - 80px);*/
  background-position: center top;
  object-fit: cover;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 2%;
}
.top-title{
  background: rgba(61, 58, 58, 0.2);
  display: inline;
  padding-right: 1%;
}
.onlinestore{
  background: rgba(61, 58, 58, 0.2);
}
/*--------------------------
 news
---------------------------*/ 

.news-inner{
  padding-top: 10px;
  width: 100%;
  display: flex;/*writing-mode: vertical-rl＆jpをdisplay: block;にして三角関係をどう組み合合わせるか？*/
  flex-direction: row-reverse;
}
.section-title{
  writing-mode: vertical-rl;/*このプロパティ入れるところ間違うと大変*/
  margin-left: 0;
}
.en{
  display: block;
  font-size: 10px;
  margin-bottom: 10px;
}
.jp{
  display: block;
  font-size: 24px;
}
/*********************
4つ目は消すという作業
*********************/
dt:nth-of-type(n + 4){
  display: none;
}
dd:nth-of-type(n + 4){
  display: none;
}
dd:nth-of-type(3){
  border-left: 2px solid;
  padding-left: 10px;
}
/*--------------------------
create
---------------------------*/ 
.create{
  padding: 2%;
}
.section-title{
  margin: 2%;
}
.jp{
  font-size: 24px;
}
.create-img{
  position: relative;
}
.create-img img{
  width: 300px;
  height: 200px;
  margin-right:0;
}
.create-img p{
  width: 50%;
  height: 20%;
  top: 52%;
  left: -5%;
  padding: 30px 0;/*テキストが動く*/
  font-size: 14px;
}
/*------------------------
 Science & Technology
--------------------------*/
.section-techno-title{
  margin-left: 2%;
  margin:2%;
}
.techno-img{
  position: relative;
}
.techno-img img{
  width: 300px;
  height: 200px;
  margin-right: 0;
}
.techno-img p{
  width: 50%;
  height: 20%;
  top: 52%;
  right: -1%;
  padding: 30px 0;
  font-size: 14px;
}

small{
 position: absolute;
 left: 10%;
}}