@charset "utf-8";

/*
  Base
-----------------------------------------------------*/

:root {
  --main-color: #004ea0;
  --sub-color: #0092d4;
  --bg-color: #e9f9ff;
  --gradient-main: linear-gradient(90deg, rgba(0, 78, 160, 1) 0%, rgba(0, 146, 212, 1) 100%);
  --gradient-sub: linear-gradient(90deg, rgba(158, 192, 230, 1) 0%, rgba(208, 224, 243, 1) 100%);
  --gradient-accent: linear-gradient(90deg, #f15a24 0%, #fbb03b 100%);
  --font-wght-bold: 480;
  --font-wght-light: 300;
}

p {
  font-size: 18px;
  line-height: 2em;
}
.mt-30 {
  margin-top: 30px;
}

.mt-50 {
  margin-top: 50px;
}

.mt-70 {
  margin-top: 70px;
}

.mb-10 {
 margin-bottom: 10px;
}

.mb-20 {
 margin-bottom: 20px;
}

.mb-30 {
 margin-bottom: 30px;
}

.mb-50 {
 margin-bottom: 50px;
}

.mb-80 {
 margin-bottom: 80px;
}

.pb-0 {
  padding-bottom: 0px;
}

.mb-0 {
  margin-bottom: 0px !important;
}

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');

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



/* PC用のスタイル */
@media (min-width: 769px) {
  body {
    font-family: 'Noto Sans JP', sans-serif;
    background-image: url('../images/back-image.jpg');
    background-size: 448px 795px;
    background-position: top center; /* ここを追加 */
    background-attachment: fixed;
    background-repeat: no-repeat;
    width: 448px;
    height: 795px;
    margin: 0 auto;
    overflow: hidden;
  }
}

/* スマートフォン用のスタイル */
@media (max-width: 768px) {
  body {
    font-family: 'Noto Sans JP', sans-serif;
    background-image: url('../images/back-image.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    overflow: hidden;
  }
}


.main-view {
  width: 100%;
  height: 100%;
}

h1.top-title {
  color: white;
  font-size: 15px;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.3em;
}

.container {
    width: 100%;
    height: 100%;
    /* background: white; */
    overflow: hidden;
    padding: 16px;
    box-sizing: border-box;
}
/* calc(100% - 32px); */

@media (max-width: 769px) {
  .home-content {
      position: absolute;
      width: calc(100% - 40px); /* 横幅をbodyの80%に設定 */
      height: calc(100% - 70px); /* 高さをbodyの80%に設定 */
      bottom: 20px; /* 下から16pxに配置 */
      left: 50%; /* 左右中央に配置 */
      transform: translateX(-50%); /* 中央揃え */
      background-color: rgba(255, 255, 255, 0.6); /* 矩形の背景色と透明度 */
      padding: 16px;
      
      overflow: auto;

  }
}

@media (min-width: 769px) {
  .home-content {
      /* height: 100%;
      margin-top: 8px;
      background: rgba(255, 255, 255, 0.7); */
      
      position: absolute;
      width: calc(448px - 32px); /* 横幅をbodyの80%に設定 */
      height: calc(795px - 80px); /* 高さをbodyの80%に設定 */
      top: 50px; /* 下から16pxに配置 */
      /* margin: 16px 0px; */
      /* left: 50%; /* 左右中央に配置 */ */
      transform: translateX(-50%); /* 中央揃え */
      background-color: rgba(255, 255, 255, 0.6); /* 矩形の背景色と透明度 */
      padding: 16px;
      
      overflow: auto;
  }
}

@media (min-width: 769px) {
.kakenhi-credit{
  position: relative;
  left: 300px;
  bottom: 76px;
  /* transform: translateY(-50%); */
  width: 140px;
  z-index: 10000001;
  }
}

@media (max-width: 768px) {
.kakenhi-credit{
  position: fixed;
  right: 12px;
  bottom: 12px;
  /* transform: translateY(-50%); */
  width: 100px;
  z-index: 10000001;
  }
}


.home-content .pege-title {
  /* color: #EA7180; */
  
  background: linear-gradient(90deg, rgba(255,171,102,1) 0%, rgba(255,142,136,1) 30%, rgba(242,102,126,1) 100%);
  /* グラデーションをテキストに適用 */
  -webkit-background-clip: text;
  color: transparent;
  
  font-weight: 500;
  font-size: 38px;
  text-align: center;
  padding-top: 20px;
  /* margin-bottom: 20px; */
  letter-spacing: 0.2em;
  line-height: 0.8em;
}

.home-content .pege-title span {
  font-size: 20px;
  letter-spacing: 0.1em;
}

.home-content p {
  text-align: center; 
}

.home-content .pink-btn, .contentslist-btn-area .pink-btn {
  background: linear-gradient(90deg, rgba(255,171,102,1) 0%, rgba(255,142,136,1) 30%, rgba(242,102,126,1) 100%);
  width: 100%;
  padding: 12px;
  font-size: 18px;
  color: white;
  border-radius: 30px;
  margin-bottom: 14px;
  letter-spacing: 0.3em;
}

.contents-list .save-contents {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.contents-list .pink-btn-small {
  background: linear-gradient(90deg, rgba(255,171,102,1) 0%, rgba(255,142,136,1) 30%, rgba(242,102,126,1) 100%);
  width: 60%;
  padding: 4px 4px;
  font-size: 16px;
  color: white;
  border-radius: 30px;
  margin-bottom: 14px;
}

.home-content h3, .contents-list h3 {
  color: #EA7180;
    font-weight: 500;
    font-size: 22px;
    text-align: center;
    padding-top: 20px;
    /* margin-bottom: 20px; */
    letter-spacing: 0.2em;
  }
  
  


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

/* .form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
} */

.form-group input[type="text"] {
  width: 100%;
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  color: #999999;
  margin-bottom: 10px;
}

.form-group textarea {
  width: 100%;
  height: 6em; 
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  color: #999999;
  margin-bottom: 10px;
}

.btn-area {
  margin-top: 10px;
}

.pink-box {
  width: 100%;
  background-color: white;
  border: pink 1px solid;
  padding: 6px;
  letter-spacing: 0.3em;
  color: #EA7180; 
  margin-top: 14px;
  font-size: 18px;
}

.back-btn {
  color: #EA7180;
  letter-spacing: 0.1em;
}

.staff-credit h3 {
  text-align: left;
  color: #EA7180;
  font-weight: 500;
  font-size: 24px;
  padding-top: 30px;
  margin-bottom: 20px;
  letter-spacing: 0.2em;
}



span.bold {
  font-weight: 900;
}

.penche-content {
  margin-top: 20px;
  
}

.penche-content .Penche-pic-box {
  width: 85%;
  margin: 0 auto;
  padding-bottom: 20px;
}
.penche-content .Penche-pic100-box {
  width: 100%;
  margin: 0 auto;
  padding-bottom: 20px;
}
 .penche-mv-box {
  width: 75%;
  margin: 0 auto;
  padding-bottom: 20px;
  text-align: center;
}

.penche-content ul {
  margin-top: 20px;
  
}

.penche-content li {
  margin-bottom: 20px;
}


.home-content .grad-border-block, .contentslist-btn-area .grad-border-block {
  background: linear-gradient(90deg, rgba(255,171,102,1) 0%, rgba(255,142,136,1) 30%, rgba(242,102,126,1) 100%);
  border-radius: 30px;
  padding: 2px;
}


.home-content .white-r-btn, .contentslist-btn-area .white-r-btn {
  background: white;
  width: 100%;
  padding: 12px;
  font-size: 18px;
  color: #EA7180;
  border-radius: 30px;
  letter-spacing: 0.3em;
}

h4.mv-title {
  font-size: 18px;
  font-weight: 600;
  margin-top: 60px;
  margin-bottom: 20px;
}

.home-content .gray-btn {
  background-color: gray;
  width: 100%;
  padding: 8px;
  font-size: 16px;
  color: white;
  border-radius: 30px;
  margin-top: 14px;
  margin-bottom: 34px;
  letter-spacing: 0.3em;
}

.mycontents-url {
  width: 70%;
  margin: 0 auto;
  margin-bottom: 20px;
}

.text-center {
  text-align: center;
}

.pink-line {
  height: 2px;
  width: 50px;
  margin: 0 auto;
  background-color: #EA7180;
  margin-top: 4px;
  margin-bottom: 30px;
}

/* input[type="radio"]:checked+span{
    color: #EA7180;
} */

input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
}


.q-radio {
  margin-top: 10px;
  margin-bottom: 20px;
  line-height: 3em;
}


 label {
   cursor: pointer;
   padding-left: 30px;
   position: relative;
 }
 
 label::before,
 label::after {
   content: "";
   display: block;
   border-radius: 50%;
   position: absolute;
   transform: translateY(-50%);
   top: 50%;
 }
 
 label::before {
   background-color: #fff;
   border: 1px solid #EA7180;
   height: 20px;
   width: 20px;
   left: 5px;
   top: 13px;
 }
 
 label::after {
   background-color: #EA7180;
   opacity: 0;
   height: 16px;
   width: 16px;
   left: 7px;
   top: 13px;
 }
 
 input:checked + label::after {
   opacity: 1;
 }
 
 input[type="radio"]:checked+label{
     color: #EA7180;
 }

.q-title {
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 10px;
  line-height: 1.5em;
}

.contentslist-btn-area {
  position: fixed;
  width: calc(100% - 40px);

  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  
  @media (min-width: 769px) {
  position: relative;
  bottom: -490px;
  width: calc(448px - 40px);
  }
}

.tab-section {
  position: fixed;
  top: 180px;
  bottom: 166px;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column; /* 縦方向に配置 */
  /* align-items: center; */
  /* background-color: #f1f1f1; */
  padding: 0 20px;
  
  
  @media (min-width: 769px) {
    height: 450px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  width: 448px;
  }
}

.contents-tab {
    display: flex;
    justify-content: left;
    
}

.contents-tab button {
    background-color: #C9C9C9;
    color: #7F7F7F;
    width: calc(50% - 4px);
    border: none;
    outline: none;
    padding: 8px 10px;
    margin-right: 2px;
    cursor: pointer;
    border-top-right-radius: 20px;
}

.contents-tab button:hover {
    background-color: #C9C9C9;
    border-top-right-radius: 20px;
}

.contents-tab button.active {
    background: linear-gradient(90deg, rgba(255,171,102,1) 0%, rgba(255,142,136,1) 30%, rgba(242,102,126,1) 100%);
    color: white;
}

.tabcontent {
    display: none;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    height: 100%;
}

.contents-list li {
  color: #EA7180;
  font-size: 18px;
  margin-bottom: 30px;
}

.contents-list .tabcontent {
  overflow: auto;
}

.contents-list li a {
  text-decoration: underline !important;
}