@charset "UTF-8";

/* 共通部分
------------------------------- */
html {
  font-size: 18px;
}

body {
  font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
  line-height: 1.7;
  color: #616260;
}

a {
  text-decoration: none;
  color: #4a9ec3;
  font-weight: bolder;
}

p {
  padding: 10px 10px;
}

img {
  max-width: 100%;
}

img.id {
  /*撮影サービス・証明写真*/
  width: 30%;
  margin: 5px 30px;
}

img.bridal {
  width: 40%;
  margin-left: 30px;
}

img.20th {
  width: 30%;
  margin-left: 30px;
}

img.family {
  width: 40%;
  margin-left: 30px;
}

h2 {
  /*ページ見出し*/
  text-align: center;
  color: #2BB673;
  line-height: 3;
}

h3 {
  font-size: 1.1em;
  color: #616260;
  margin: 0 auto;
  line-height: 1.5;
}

h5 {
  /**/
  text-align: center;
  font-size: 1.2em;
}

h6 {
  font-size: 1.1em;
  position: relative;
  padding: 0.25em 0;
  display: table;
  margin-bottom: 10px;
}

h6:after {
  content: "";
  display: block;
  height: 4px;
  background: -webkit-linear-gradient(to right, #2BB673, transparent);
  background: linear-gradient(to right, #2BB673, transparent);
}

h7 {
  /*焼き増し・料金*/
  margin-left: 1em;
  font-size: 1em;
  font-weight: bold;
  padding: 0.25em 0.5em;
  /*上下 左右の余白*/
  background: transparent;
  /*背景透明に*/
  border-left: solid 6px #2BB673;
  /*左線*/
}

table {
  margin-left: 1em;
  border-collapse: collapse;
  border: solid 2px #2BB673;
  background: #ecfaf1;
  /*背景色*/
  margin-top: 10px;
}

table th, table td {
  border: solid 1px #2BB673;
  /*実線 1px 黒*/
}

table th {
  /*table内のthに対して*/
  padding: 15px 40px;
  /*上下左右10pxずつ*/
  color: #2BB673;
  /*文字色*/
}

table td {
  /*table内のtdに対して*/
  padding: 15px 40px;
  /*上下3pxで左右10px*/
  background: #ffff
    /*背景色*/
  ;
}

.table2 {
  border-collapse: collapse;
  border: solid 2px #2BB673;
  background: #ffff
    /*背景色*/
  ;
}

.table2 th, .table2 td {
  border: solid 1px #2BB673;
  /*実線 1px */
}

.table2 th {
  /*table内のthに対して*/
  padding: 15px 40px;
  /*上下左右10pxずつ*/
  color: #2BB673;
  /*文字色*/
}

.table2 td {
  padding: 15px 40px;
}

.wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 4%;
}

.wrapper2 {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
}

.grey {
  background-color: #F1F2F2;
}

.green {
  background-color: #2BB673;
}

.greenfont {
  color: #2BB673;
  font-size: 30px;
  font-weight: bolder;
}

.redfont {
  color: #fa51b1;
  font-weight: bolder;
}

/* トップ画像 */
/*=== 画像の表示エリア ================================= */
.slide {
 position   : relative;
 overflow   : hidden;
                   /* 画像のサイズに合わせて変更ください */
 width      : 1100px;
 height     : 634.615px;
 margin     : auto;      /* サンプルは中央寄せの背景：白 */
 background : #fff;
 margin-bottom: 15px;
}

/*=== 画像の設定 ======================================= */
.slide img {
  display: block;
  position: absolute;
  /* 画像のサイズを表示エリアに合せる */
  width: inherit;
  height: inherit;
  opacity: 0;
  animation: slideAnime 35s ease infinite;
}

/*=== スライドのアニメーションを段差で開始する ========= */
.slide img:nth-of-type(1) {
  animation-delay: 0s
}

.slide img:nth-of-type(2) {
  animation-delay: 5s
}

.slide img:nth-of-type(3) {
  animation-delay: 10s
}

.slide img:nth-of-type(4) {
  animation-delay: 15s
}

.slide img:nth-of-type(5) {
  animation-delay: 20s
}

.slide img:nth-of-type(6) {
  animation-delay: 25s
}

.slide img:nth-of-type(7) {
  animation-delay: 30s
}

/*=== スライドのアニメーション ========================= */
@keyframes slideAnime {
  0% {
    opacity: 0
  }

  1% {
    opacity: 1
  }

  14% {
    opacity: 1
  }

  15% {
    opacity: 0
  }

  100% {
    opacity: 0
  }
}

/* 見出し */
.sub-title {
  /*撮影サービス*/
  font-size: 1rem;
  color: #2BB673;
  padding: 20px 8px 8px;
  border-bottom: 2px #2BB673 solid;
  font-weight: bold;
}

/* ボタン */
/* iframe */
iframe {
  width: 100%;
}

/* HEADER
------------------------------- */
.page-header {
  display: flex;
  justify-content: space-between;
}

.logo {
  width: 350px;
  margin-top: 18px;
}

.main-nav {
  display: flex;
  margin-top: 35px;
  list-style: none;
}

.main-nav li {
  margin-left: 20px;
}

#nav_service a {
  width: 80px;
  height: 30px;
  background: url("img/navi_service.png") no-repeat;
  display: block;
  text-indent: -9999px;
}

#nav_service a:hover {
  background-position: 0 -30px;
}

#nav_gallery a {
  width: 88px;
  height: 30px;
  background: url("img/navi_gallery.png") no-repeat;
  display: block;
  text-indent: -9999px;
}

#nav_gallery a:hover {
  background-position: 0 -30px;
}

#nav_about a {
  width: 73px;
  height: 30px;
  background: url("img/navi_about.png") no-repeat;
  display: block;
  text-indent: -9999px;
}

#nav_about a:hover {
  background-position: 0 -30px;
}

#nav_contact a {
  width: 98px;
  height: 30px;
  background: url("img/navi_contact.png") no-repeat;
  display: block;
  text-indent: -9999px;
}

#nav_contact a:hover {
  background-position: 0 -30px;
}

/* HOME
------------------------------- */
/* SERVICE
------------------------------- */
/* NEWS
------------------------------- */
#news {
  background-image: url(../images/news-bg.jpg);
  height: 270px;
  margin-bottom: 40px;
}

#news .page-title {
  text-align: center;
}

.news-contents {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}

/* 記事部分 */
article {
  width: 74%;
}

article img {
  margin-bottom: 20px;
}

article p {
  margin-bottom: 1rem;
}

/* サイドバー */
aside {
  width: 22%;
}

.sub-menu {
  margin-top: 10px;
  list-style: none;
}

.sub-menu li {
  border-bottom: 1px #ddd solid;
}

.sub-menu a {
  color: #616260;
  padding: 10px;
  display: block;
}

.sub-menu a:hover {
  color: #2BB673;
}

/* GALLERY
------------------------------- */
.sub_nav {
  display: flex;
  margin-top: 20px;
  list-style: none;
  justify-content: center;
}

.sub_nav li {
  margin-left: 25px;
}

#sub_family p {
  width: 101px;
  height: 101px;
  display: block;
  background: url("img/ga_family.png") no-repeat;
  background-position: 0 -101px;
  text-indent: -9999px;
}

#sub_family a {
  width: 101px;
  height: 101px;
  background: url("img/ga_family.png") no-repeat;
  display: block;
  text-indent: -9999px;
}

#sub_family a:hover {
  background-position: 0 -101px;
}

#sub_bridal p {
  width: 101px;
  height: 101px;
  display: block;
  background: url("img/ga_bridal.png") no-repeat;
  background-position: 0 -101px;
  text-indent: -9999px;
}

#sub_bridal a {
  width: 101px;
  height: 101px;
  background: url("img/ga_bridal.png") no-repeat;
  display: block;
  text-indent: -9999px;
}

#sub_bridal a:hover {
  background-position: 0 -101px;
}

#sub_20th p {
  width: 101px;
  height: 101px;
  display: block;
  background: url("img/ga_20th.png") no-repeat;
  background-position: 0 -101px;
  text-indent: -9999px;
}

#sub_20th a {
  width: 101px;
  height: 101px;
  background: url("img/ga_20th.png") no-repeat;
  display: block;
  text-indent: -9999px;
}

#sub_20th a:hover {
  background-position: 0 -101px;
}

.gallery_contents {
  text-align: center;
}

.grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: 3%;
  margin-bottom: 50px;
}

/* ABOUT
------------------------------- */
/* はなぶさ写真社について */
.hanabusa_info {
  width: 54%;
}

.hanabusa_info p {
  padding: 12px 10px;
}

.hanabusa_img {
  width: 40%;
}

/* フォトグラファー */
#photograper {
  padding: 4% 0;
}

#photograper .wrapper {
  display: flex;
  justify-content: space-between;
}

.photograper_info {
  width: 60%;
}

.photograper_info p {
  padding: 12px 10px;
}

.photograper_img {
  width: 34%;
}

/* アクセス */
#location {
  padding: 4% 0;
}

#location .wrapper {
  display: flex;
  justify-content: space-between;
}

.location_info {
  width: 34%;
}

.location_info p {
  padding: 12px 10px;
}

.location_map {
  width: 60%;
}

/* CONTACT
------------------------------- */
.contact_contents {
  text-align: center;
}

.box {
  background: #fff;
  border: double 4px #333333;
  width: 650px;
  margin: 50px auto 20px;
  padding: 20px;
}

/* フッター
------------------------------- */
.abouthanabusa {
  text-align: center;
  color: #ffffff;
  font-size: 1.2rem;
  padding: 15px;
}

.abouthanabusa p {
  font-size: 1.5rem;
}

.abouthanabusa a {
  color: #ffffff;
  font-size: 2rem;
}

footer {
  background: #ffffff;
  text-align: center;
  padding: 15px 0;
}

footer p {
  color: #060606;
  font-size: 0.875rem;
}

/* モバイル版
  ------------------------------- */
@media (max-width: 600px) {

  h2 {
    font-size: 1.2rem;
  }

  p {
    font-size: 14px;
  }

  .page-title {
    font-size: 2rem;
  }

  .page-header {
    flex-direction: column;
    align-items: center;
  }

  /* HEADER */
  .main-nav {
    margin-top: 3px;
  }

  .main-nav li {
    margin-left: 10px;
  }

  /* 撮影サービス */
  .news-contents {
    flex-direction: column;
  }

  article,
  aside {
    width: 100%;
  }

  aside {
    margin-top: 15px;
  }

  table {
    flex-direction: column;
    font-size: 14px;
    margin-left: 1em;
    border-collapse: collapse;
    border: solid 2px #2BB673;
    background: #ecfaf1;
    /*背景色*/
    margin-top: 10px;
    width: 100%;
  }

  table th, table td {
    border: solid 1px #2BB673;
    /*実線 1px 黒*/
  }

  table th {
    /*table内のthに対して*/
    padding: 10px 10px;
    /*上下左右10pxずつ*/
    color: #2BB673;
    /*文字色*/
  }

  table td {
    /*table内のtdに対して*/
    padding: 10px 10px;
    /*上下3pxで左右10px*/
    background: #ffff
      /*背景色*/
    ;
  }

  .table2 {
    flex-direction: column;
    border-collapse: collapse;
    border: solid 2px #2BB673;
    background: #ffff
      /*背景色*/
    ;
  }

  .table2 th, .table2 td {
    border: solid 1px #2BB673;
    /*実線 1px */
  }

  .table2 th {
    /*table内のthに対して*/
    padding: 10px 10px;
    /*上下左右10pxずつ*/
    color: #2BB673;
    /*文字色*/
  }

  .table2 td {
    padding: 10px 10px;
  }

  /* HOME */
  .home-content {
    margin-top: 20%;
  }

  /* 店舗情報・地図  */
  #location .wrapper,
  .wrapper {
    flex-direction: column;
  }

  .location_info,
  .location_map {
    width: 100%;
  }

  /* ギャラリー */
  .sub_nav li {
    margin-left: 25px;
  }

  /* はなぶさ写真社について */
  #photograper .wrapper,
  .wrapper {
    flex-direction: column;
  }

  .hanabusa_info,
  .hanabusa_img,
  .photograper_img,
  .photograper_info {
    width: 100%;
  }

  /* 問い合わせ */
  .contact_contents,
  .box {
    width: 100%;
  }

  .greenfont {
    font-size: 18px;
  }

  .box p {
    font-size: 13px;
  }
}
