@charset "utf-8";


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



/* 背景 */
body {

    font-family: "Helvetica Neue", Arial, sans-serif;
 
  background-image: url('../images/haikei.webp'); 
  
 
  background-attachment: fixed; 
  
  
  background-size: cover; 
  
 
  background-position: center center; 
  
  
  background-repeat: no-repeat;
  
  
  min-height: 200vh;
}


.sidebar {
  position: fixed; 
  top: 0;
  left: 0;
  width: 250px;
  height: 100%;
  
  background-color: rgba(0, 0, 0, 0.4); 
  padding: 20px;
  z-index: 100;
}

.sidebar .logo {
  margin-bottom: 30px;
}

.sidebar ul li {
  list-style: none;
  margin-bottom: 10px;
}

.sidebar ul li a {
  display: block;
  padding: 8px 10px;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s;
}

.sidebar ul li a:hover{ 
  background-color: rgba(255, 255, 255, 0.1);
}


.content .logos{
  height: 200px;
  text-align: center;
}


.content {
  margin-left: 250px; 
}


#toTop {
    display: none;             /* 最初は非表示 */
    position: fixed;           /* 画面右下に固定 */
    bottom: 30px;
    right: 45px;
    width: 50px;
    height: 50px;
    font-size: 24px;
    text-align: center;
    background: #2e5c9c;
    color: #fff;
    border-radius: 50%;
    line-height: 50px;
  }



.slideshow {
    overflow: hidden;
    position: relative;
    min-width: 960px;
    height: 1160px;
}
.slideshow img {
    display: none;
    position: absolute;
    left: 50%;
    margin-left: -400px;
}


.no-js .slideshow img:first-child {
    display: inline;
}


/*ストーリー*/

.story{
  margin-top: 100px;
  
}

.shou{
   margin: 40px auto; 
   text-align: center;
  font-size: 80px;

}

.story p{
  display: inline-block;
  background-color: #fff;
}

.story-container {
    max-width: 600px; 
    margin: 40px auto; 
    padding: 20px;
    text-align: center; 
}


.story-container p {
    margin: 0 auto;
    padding: 0;
    margin-bottom: 20px; 
    font-size: 16px;
  
}


.title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px; 
}


.sub-text {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
    margin-bottom: 30px; 
}


.section-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 40px;
}


.emphasis {
    font-weight: bold;
}


.emphasis-large {
    font-size: 18px;
    font-weight: bold;
    color: #000;
}


.separator {
    height: 20px; 
    margin: 20px 0;
    
}

.story .daiji{
  background-color: #000;
  color: #fff;
  font-size: 32px;
  font-weight: bold;
}



/*キーワード*/
.dictionary-container {
    max-width: 800px; 
    margin: 0 auto; 
    background-color: #fff;
}


.main-header {
    background-color: #333;
    color: #fff;
    padding: 20px;
    border-bottom: 5px solid #666; 
}
.main-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    padding-bottom: 5px;
}
.description {
    font-size: 14px;
    margin: 0;
}


.term-section {
    margin-bottom: 20px;
}


.term-header {
   
    padding-left: 10px; 
    margin: 40px 0 0 0;
}
.term-header.black-bg {
    background-color: #000;
    color: #fff;
    display: inline-block; 
    padding: 5px 15px; 
}
.term-name {
    font-size: 20px;
    margin: 0;
    font-weight: bold; 
}


.term-body {
    background-color: #fff;
    padding: 20px 20px 20px 40px;
    position: relative; 
    border-bottom: 1px solid #ccc;
}
.term-body p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}



/*キャラクター*/
h1, h2, h3, p, ul { margin: 0; }
ul { padding-left: 0; }
ul li { list-style-type: none; }
a { color: inherit; text-decoration: none; }
img { vertical-align: middle; }
.clearfix:before, .clearfix:after { content: " "; display: table; }
.clearfix:after { clear: both; }




.work-section {
    position: relative;
    z-index: 10;
    
}
.no-boxshadow .work-section {
    border-bottom: 1px solid rgb(24, 24, 24);
}
.work-section .section-header {
    
    line-height: 70px;
    text-transform: uppercase;
   
    position: relative;
    z-index: 10;
}
.no-boxshadow .work-section .section-header {
    border-top: 1px solid rgb(204, 204, 204);
}
.work-section .section-header > .inner {
    margin: auto;
    width: 960px;
}
.work-section h3 {
    float: left;
    font-size: 30px;
    
    letter-spacing: 1px;
    color: #fff;
    background-color: #000;
    
}

/* タブ */
.work-section .tabs-nav {
    
    float: left;
    letter-spacing: 1px;
    
    
}
.work-section .tabs-nav li {
  
    float: left;
    position: relative;
    font-weight: bold;
    background-color: #fff;
    opacity: 0.7;
   
}
.work-section .tabs-nav a {
    display: block;
    padding: 0 1em;
    position: relative;
}
.work-section .tabs-nav a:hover,
.work-section .tabs-nav a.active {
    background-color: rgb(51, 51, 51);
    opacity: 0.6;
    color: rgb(255, 255, 255);
}
.work-section .tabs-nav a.active:after {
    
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 37px;
    height: 19px;
    margin-left: -18px;
}

/* パネル */
.work-section .section-body {
    height: 500px;
    position: relative;
}
.work-section .section-body .image-wrapper {
    height: 100%;
    min-width: 960px;
    overflow: hidden;
    position: absolute;
    width: 100%;
}
.work-section .section-body .image-wrapper img {
    position: absolute;
    left: 50%;
    margin-left: -300px;
}

.no-js .work-section .tabs-nav {
    display: none;
}
.no-js .work-section .section-body {
    height: auto;
}
.no-js .work-section .section-body .image-wrapper,
.no-js .work-section .section-body .content {
    height: 400px;
}

.work-section .section-body .content {
    color: rgb(255, 255, 255);
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.9);
    width: 960px;
    margin: auto;
    position: relative;
}
.work-section .section-body .content > .inner {
    position: absolute;
    width: 250px;
}
.work-section .section-body #work01 .content > .inner {
    top: 20px;
    left: 680px;
}
.work-section .section-body #work02 .content > .inner {
    top: 140px;
    left: 40px;
}
.work-section .section-body #work03 .content > .inner {
    top: 50px;
    left: 50px;
}
.work-section .section-body #work04 .content > .inner {
    top: 50px;
    left: 50px;
}
.work-section .section-body #work05 .content > .inner {
    top: 50px;
    left: 680px;
}
.work-section .section-body .title {
    font-size: 30px;
    font-weight: normal;
    letter-spacing: 1px;
    text-transform: uppercase;
    background-color: #000;
    font-weight: bold;
    display: inline-block;
}
.work-section .section-body .description {
    font-size: 13px;
    line-height: 1.75;
    color: #000;
}


.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box; 
    font-size: 16px;
}

textarea {
    resize: vertical;
}

.required {
    color: #e74c3c;
    margin-left: 4px;
}

.btn {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
    width: auto;
    margin-right: 10px; 
}

.check-btn {
    background-color: #3498db;
    color: white;
}

.check-btn:hover {
    background-color: #2980b9;
}

.submit-btn {
    background-color: #2ecc71;
    color: white;
}

.submit-btn:hover {
    background-color: #27ae60;
}



.success-message {
    color: #2ecc71;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
}

#ac{
  width: 800px;
  margin: 0 auto;
}


.form-group{
    opacity: 0.9;
}


.dictionary-container{
    opacity: 0.9;
}

