/* phone_width= by 767px sm_lang=smartphone lang */
/* pc_width= from 768px */

/* common start */
*{
    margin: 0;
}

body {
  font-family: 'Libre Baskerville', sans-serif;
}

li {
    list-style: none;
    float: left;
    margin-right: 1rem;
}

li a {
    text-decoration: none;
}

p, a, h1 {
  font-family: 'Libre Baskerville', sans-serif;
}

h2, h3 {
    text-align: center;
    margin: 1rem 0;
    font-family: 'Libre Baskerville', sans-serif;
}

.center {
  text-align: center;
}

main {
  padding: 2rem
}

/* common end */

/* top common start */
.one_hundred {
  height: 100vh;
}

/* top common end */


/* header PC start */
header {
    width: 100%;
    background-color: #cccccc;
    /*margin-top: -10vh;*/
    overflow: hidden;
    /* padding: 1rem 2rem;*/
    /* margin: 1rem 2rem; */
}
/*
.header {
  position: relative;
}
*/
/*
header .left {
    width: 35%;
    margin-left: 1rem;
    margin-top: 1.5rem;
    background-color: purple;
}
*/
/*
header.header {
  height: 100vh;
}
*/

.my_logo {
  width: 10vw;
}

.sticky {
  clear: both;
  /*background-color: pink;*/
  width: 100vw;
  /*height: 10vh;*/
  top: 0;
  /* height: 60px; */ /* 少しだけ影響あり */
  position: fixed;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  border-bottom: 1px solid #000000;
}

.sticky h1 {
  float: left;
  margin-left: 2rem;
  margin-top: 1rem;
}




/* PCの場合 */
.sticky nav {
  float: right;
  justify-content: space-between;
  /* height: 10vh;
  line-height: 25vh;*/
  margin-right: 2vw;
}

.header > .sticky > h1 {
  height: 50px;
  width: auto;
}

nav ul {
    display: flex;
    /* list-style: none; *//* リストのデフォルトスタイルを削除 */
    /*margin: 0;
    padding: 0;*/
    margin-right: 3rem;
}

/* header 仕掛け */
.intro-section {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  box-sizing: border-box;
  overflow: hidden;
}


/* 画像共通 */
.intro-section > .image {
  position: absolute;
  z-index: 1;
}

.intro-section > .image img {
  width: 200px;
  max-width: 20vw;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}


/* 画像位置の調整（必要に応じて変えてください） */
.image-left {
  left: 5vw;
  top: 50%;
  transform: translateY(-50%);
}

.image-top-right {
  top: 10vh;
  right: 10vw;
}

.intro-section > .image-bottom-right{
  bottom: 10vh;
  right: 5vw;
}

/* header message */

.center-text  {
    /* height: 10vh; */
    margin-top: 20vh;
    /*height: 5vh;*/
    line-height: 5vh;
    height: calc(100vh - 30vh);
    padding-top: 30vh;
}


.center-text > .next {
  white-space: pre-line;
}



/*
.message > .first {
  margin-top: 30vh;
}
*/
/*header .nav {
    width: 65%;
    float: right;
    background-color: green;
}*/

/* section */
section {
    margin: 2rem 0;
}


/* greeting */
.greeting {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 3rem 4rem;
    }

    .photo {
      flex: 1;
      display: flex;
      justify-content: center;
    }

    .photo img {
      max-width: 100%;
      height: auto;
      max-height: 400px;
    }

    .content {
      flex: 2;
      padding: 20px;
    }

    .content h2 {
      font-size: 18px;
      margin-bottom: 20px;
    }

    .content p {
      line-height: 1.6;
      margin-bottom: 20px;
    }

    .button {
      margin-top: 30px;
  display: flex;
  justify-content: center
    }

    .read-more-btn {
      display: inline-block;
      padding: 15px 30px;
      font-size: 20px;
      border: 1px solid #000;
      text-decoration: none;
      color: black;
      transition: background-color 0.3s;
      text-align: center;
    }

    .read-more-btn:hover {
      background-color: #f0f0f0;
    }

    @media screen and (max-width: 768px) {
      .greeting-section {
        flex-direction: column;
        padding: 20px;
      }

      .content {
        padding: 10px;
      }
    }

/* works */
.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3列 */
    gap: 20px; /* 要素間の余白 */
    max-width: 1000px;
    margin: auto;
    grid-auto-rows: 300px;
  }

  .grid-item {
    background: #f0f0f0;
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    display: flex; /* 画像が中央に配置されるように */
    justify-content: center;
    align-items: center;
    overflow: hidden; /* はみ出した部分を隠す */
  }

  .grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* アスペクト比を維持しつつ、コンテナを埋める */
}

.grid-item:nth-child(4) img {
  object-fit: contain; /* 引き伸ばして、コンテナを埋める */
}


  .banner {
    width: 100%;
    height: auto;
  }

/* contact */
form {
  max-width: 500px;
  margin: 0 auto;
  font-family: sans-serif;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
}

button {
  padding: 10px 20px;
  font-size: 16px;
  margin: 0 auto;
}


/* footer common */
.footer {
  background-color: #ccc;
  padding: 2rem;
  font-family: sans-serif;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-logo {
  flex: 1 1 30%;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.footer-logo img {
  height: 100px;
  margin-top: 0.4rem;
}

.footer-logo h1 {
  font-size: 2rem;
  margin: 0;
  line-height: 1;
  display: flex;
  align-items: flex-start;
}

.footer-right {
  flex: 1 1 60%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

/* Menu */
.footer-menu {
  flex: 1;
  /* background: pink; */
  padding: 1rem;
  text-align: center;
  width: fit-content;
  /* align-items: right; */
}

.footer-menu > h3 {
  text-align: center;
  margin-left: 10rem;
}

.footer-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: right;
}

.footer-menu li {
  margin-bottom: 0.5rem;
  float: none;
  margin-left: 11rem;
}

/* Language + SNS */
.footer-lang-sns {
  flex: 1;
  /* background: green; */
  /* padding: 1rem; */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.language-box {
  /* background: yellow; */
  /* width: 100%; */
  /* padding: 1rem; */
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  margin-right: 6rem;
  text-align: center;
  width: fit-content;
}

.language-box > h3 {
  margin-left: 8rem;
}

.language-box ul {
  list-style: none;
  /* padding-left: 6.75rem;*/
  /* padding: 0; */
  /* margin-left: 4rem; */
  margin-left: 5rem;
}

.language-box ul li {
  text-align: center;
  margin-left: 1.5rem;
}

.sns-box {
  text-align: center;
  width: fit-content;
  margin-left: 2rem;
}

.sns-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.footer_sns {
  width: 5vw;
  height: auto;
}

.footer-copy {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 2rem;
  padding-top: 1rem;
}

/* MenuとLang+SNSの見出しの余白をリセットする */
.footer-menu h3,
.language-box h3,
.sns-box h3 {
  margin-top: 0; /* これでブロック上端にタイトルがぴったり */
}

/* copyright end */

/* another pages */
.project {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  z-index: 0;
}

.project::before {
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    background: inherit;
    filter: blur(10px) brightness(85%);
    content: '';
    z-index: -1;
}

.project >  h2 {
  margin-top: 10vh;
  position: absolute;
  top: 50vh;
  left: 50vw;
  transform: translate(-50%, -50%);
}

.theme {
    padding: 4rem;
    /*box-shadow: 0 0 15px rgba(0, 0, 0, .3);*/
    /* border-radius: 5px; */
    /*background: inherit;*/
}

.theme > h2 {
    color: #000000;
    text-shadow: 0 0 15px #ffffff;
    font-weight: bold; 
    font-size: 26px;
    /* line-height: 1.5; */
    text-align: center;
}

.theme > .genre {
  border-radius: 10%;
  width: 3rem;
  height: 1rem;
}

.theme > .genre > p {
  text-align: center;
}

.theme > .figma {
    background-color: green;
    padding: 0.5rem;
}

.theme > .figma > p {
  color: #ffffff;
}


/*
.project > h2 {
  margin-top: 10rem;
}*/
/*
.theme {
  position: relative;
  opacity: 1;
}
*/
/*
.project > .theme > h2 {
  color: #000;
  text-shadow: 0 0 15px #000;
  margin-bottom: 5vh;
}
  */
/*
.theme::after {
  content: "";
  position: absolute;
}*/

/* 77 spirits */
.spirits {
  background-image: url("images/77spirits/77spirits.png");
  background-size: cover;
  background-repeat: no-repeat;
  /*opacity: 0.1;*/
  /* background-color: rgba(255, 255, 255, 0.1);*/
 /* margin-top: -4.5rem; */
}

/* Vancouver Ondo */
.vancouver_ondo {
  background-image: url("images/vancouver_ondo/vancouver_ondo.png");
  background-size: cover;
  background-repeat: no-repeat;
}

.videos {
  padding-top: 5rem;
}

.video {
  width: 24rem;
  height: 13.5rem;
}

/* kisan */
.kisan {
  background-image: url("images/kisan/kisan.png");
  background-size: cover;
  background-repeat: no-repeat;
}

/* kisan */
.banner {
  background-image: url("images/banner/banner.png");
  background-size: cover;
  background-repeat: no-repeat;
}


/* kyntra */
.kyntra {
  background-image: url("images/kyntra/kyntra.png");
  background-size: cover;
  background-repeat: no-repeat;
}



.detailed {
    overflow: hidden;
    margin: 10vh 5vw;
}

.detailed > p {
  margin-bottom: 2rem;
}

.detailed_points > li {
    list-style: square;
    clear: both;
}