@charset "utf-8";

/* 全ページ共通指定
----------------------------------------*/

body {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  line-height: 2;
  margin: 0;
  padding: 0;
  color: #333333;
  background-color: #cccccc;
}

p,h1,h2,h3,h4,h5,h6 {
  margin-top: 0;
}

img {
  vertical-align: bottom;
}

ul {
  margin: 0;
  padding: 0;
}

h1 {
  font-family: 'EB Garamond', serif;
  font-size: 36px;
  border-bottom: 1px solid #cccccc;
}

h2 {
  font-family: 'EB Garamond', serif;
  font-size: 24px;
}

h3 {
  font-family: 'EB Garamond', serif;
  font-size: 22px;
  margin-bottom: 0px;
}

table {
  border-spacing: 0;
  border-collapse: collapse;
}

a {
  text-decoration: none;
  color: #3583aa;
}

a:visited {
  color: #788d98;
}

a:hover {
  text-decoration: underline;
  transition: 0.3s ease-in-out;
}

/*
.btn a {
  font-family: 'EB Garamond', serif;
  font-size: 20px;
  line-height: 50px;
  display: block;
  width: 185px;
  margin-top: 20px;
  text-align: center;
  color: #ffffff;
  border: 3px solid #009cd3;
  border-radius: 5px;
  background-color: #009cd3;
}

.btn a:hover {
  text-decoration: none;
  color: #009cd3;
  background-color: #ffffff;
}

*/

a img:hover {
  opacity: .8;
  transition: 0.3s ease-in-out;
}

.icon:before {
  padding-right: 10px;
  content: "";
  border-left: 7px solid #9cb4a4;
}

.clearfix:after {
  display: block;
  clear: both;
  content: "";
}

/* レイアウトに関する指定
----------------------------------------*/

header {
  width: 960px;
  height: 100px;
  margin: 0 auto;
}

.logo {
  float: left;
  margin-top: 50px;
}

.global-nav {
  float: right;
  margin-top: 60px;
}

.global-nav li {
  font-family: 'EB Garamond', serif;
  font-size: 25px;
  float: left;
  margin: 0 20px;
  list-style: none;
}

.global-nav li a {
  color: #ffffff;
}

.global-nav li a:hover {
  padding-bottom: 3px;
  text-decoration: none;
  border-bottom: 2px solid #ffffff;
}

#wrap {
  clear: both;
  margin-top: 220px;
  padding: 35px 0;
  background-color: #ffffff;
}

.content {
  width: 960px;
  margin: 0 auto;
}

.main-center {
  width: 940px;
  margin: 0 auto;
}

.main {
  float: left;
  width: 700px;
  margin: 0 10px;
}

.sidebar {
  font-family: 'EB Garamond', serif;
  float: right;
  width: 200px;
  margin: 0 10px 0 30px;
}

.sidebar h2 {
  margin-bottom: 10px;
}

.sidebar ul {
  font-size: 16px;
  margin-left: 20px;
}

.sidebar ul a {
  color: #333333;
}

section {
  margin-bottom: 35px;
}

footer {
  padding: 20px 0;
  text-align: center;
  color: #ffffff;
  background-color: #767671;
}

footer small {
  font-size: 12px;
}

/* index.htmlへの指定
----------------------------------------*/

#index {
  background-image: url("../images/index/bg_index.JPG");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center center;
  background-size: cover;
}

#index #wrap {
  margin-top: 0;
  padding: 0;
  background-color: transparent;
}

#index .content {
  margin-top: 150px;
}

#index h1 {
  font-family: 'EB Garamond', serif;
  font-size:120px;
  line-height: 1;
  margin-bottom: 50px;
  color: #ffffff;
  border: none;
}

#index p {
  font-size: 16px;
  color: #ffffff;
}

#index footer {
  width: 960px;
  margin: 150px auto 0 auto;
  text-align: left;
  background-color: transparent;
}

/*

.testmovie {
  position: relative;
  background-color: #000000
}

.box_movie {
  width: 960px;
  margin: 0 auto;
}

.overlay {
  position: absolute;
  top: 30%;
  left: 20%
}

*/

/* about.htmlへの指定
----------------------------------------*/

#about {
  background-image: url("../images/about/bg_about.JPG");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center top;
  background-size: 100% auto;
}

#about .profile-txt1 {
  float: left;
  width: 540px;
}

#about .profile-txt1 span {
  font-weight: bold;
  font-family: 'Dancing Script', cursive;
  font-size: 30px;
}

#about .profile-txt2 {
  float: left;
  width: 540px;
  font-size: 14px;
}

#about .profile-txt2 span {
  font-weight: bold;
  font-family: 'Dancing Script', cursive;
  font-size: 25px;
}

#about .profile-image1 {
  float: right;
  margin-top: 40px;
  margin-bottom: 10px;
}

#about .profile-image2 {
  float: left;
  margin-right: 20px;
}

#about .history span {
  font-family: 'Dancing Script', cursive;
  font-size: 30px;
}

#about .history th {
  width: 160px;
  padding: 8px 0;
  border: 1px solid #cccccc;
  background-color: #f0f0f0;
  font-size: 14px
}

#about .history td {
  width: 660px;
  padding: 8px 0 8px 20px;
  border: 1px solid #cccccc;
}

#about .table-abroad {
  margin-bottom: 20px
}

#about p {
  line-height: 1.8
}

/* blog.htmlへの指定
----------------------------------------*/

#blog {
  background-image: url("../images/blog/bg_blog.JPG");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center top;
  background-size: 100% auto;
}

#blog .main span {
  font-weight: bold;
  font-family: 'Dancing Script', cursive;
  font-size: 20px;
}

#blog .main img {
  margin-bottom: 5px;
}

#blog .align-right {
  margin: 0 40px 0 10px;
}

/* photograph.htmlへの指定
----------------------------------------*/

#photograph {
  background-image: url("../images/photograph/bg_photograph.JPG");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center top;
  background-size: 100% auto;
}

#photograph .photograph-list li {
  float: left;
  margin: 0 20px 15px 0;
  list-style: none;
}

#photograph .photograph-list li:nth-child(3n) {
  margin-right: 0;
}

/* contact.htmlへの指定 (未使用)
----------------------------------------

#contact {
  background-image: url(../images/bg-contact.jpg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center top;
  background-size: 100% auto;
}

#contact .access table {
  float: left;
}

#contact .access th,
#contact .access td {
  line-height: 2.5;
  text-align: left;
  vertical-align: top;
}

#contact .access td {
  padding-left: 30px;
}

#contact .access iframe {
  float: right;
  width: 460px;
}

#contact .form {
  padding: 30px 50px;
  background-color: #eaeaea;
}

#contact .form dl dt {
  float: left;
  clear: both;
  width: 165px;
  padding: 10px 0;
}

#contact .form dl dd {
  padding: 10px 0;
}

#contact .form .name {
  width: 240px;
  height: 30px;
}

#contact .form .email {
  width: 300px;
  height: 30px;
}

#contact .form .tel {
  width: 240px;
  height: 30px;
}

#contact .form .type {
  width: 180px;
  height: 30px;
}

#contact .form .message {
  width: 660px;
  height: 150px;
}

#contact .form button {
  font-size: 20px;
  line-height: 50px;
  display: block;
  width: 120px;
  margin-left: 165px;
  text-align: center;
  color: #ffffff;
  border: 3px solid #009cd3;
  border-radius: 5px;
  background-color: #009cd3;
}

#contact .form button:hover {
  cursor: pointer;
  color: #009cd3;
  background-color: #ffffff;
}

#contact .form .required:after {
  content: "*";
  color: #ff0000;
}

#contact .form .attention {
  margin: 20px 0 0 165px;
}

*/

/* スマートフォン用CSS
----------------------------------------*/

@media screen and (max-width:600px) {
  /* 画面サイズが600px以下の場合に適用 */
  
  body {
    font-size: 3.5vw;
  }

  h1 {
    font-size: 7.2vw;
  }

  h2 {
    font-size: 6vw;
  }

  img {
    max-width: 100%;
  }
  
  video {
    max-width: 100%;
  }

  header {
    width: auto;
    margin: 0 5%;
  }

  .logo {
    float: none;
    margin-top: 20px;
    text-align: center;
  }
  
  .logo img {
    width: 80%;
  }

  .global-nav {
    float: none;
    margin-top: 0px;
    text-align: right;
  }

  .global-nav li {
    display: inline;
    float: none;
    margin: 0 8px;
  }

  #wrap {
    margin-top: 40px;
    padding: 35px 0 0;
  }

  .content {
    width: 100%;
  }
  
  .main {
    float: none;
    width: auto;
    margin: 0 5%;
  }
  
  #index {
    background-size: auto 100%;
  }

  #index h1 {
    font-size: 9.5vw;
    margin: 0 3%;
  }

  #index p {
    font-size: 3.2vw;
    margin: 3% 3%;
  }

  #index .content{
    min-height: 100vh;
    position: relative;
  }
  
  #index footer {
    width: auto;
    margin: 0 3%;
    background-color: transparent;
    position: absolute;
    bottom: 0;
  }
  
  #about .main-center {
    float: none;
    width: auto;
    margin: 0 5%;
  }
  
  #about .profile-txt1 {
    float: none;
    width: auto;
  }
  
  #about .profile-image1 {
    float: none;
    margin-top: 0px;
    margin-bottom: 20px;
    width: 60%;
  }

  #about .profile-plus{
    display: flex;
    flex-direction: column;
  }
  
  #about .profile-txt2{
    order:1;
    float: none;
    width: auto;
  }

  #about .profile-image2 {
    order: 2;
    float: none;
    width : 30%;
  }
  
  #blog .align-right {
    margin-top: 30px;
    width: 40%;
  }
  
  #photograph img {
    width: 100vw;
  }

  #photograph .photograph-list li {
    margin-right: 0;
  }
  
  #photograph .logo img {
    width: 80%;
  }
  
  .sidebar {
    float: none;
    width: auto;
    margin: 0;
    padding: 30px 10% 10px;
    background-color: #f7f6f4;
  }

  