/*
Theme Name: gallery-hamamura
URI: https://gallery-hamamura.com/
Author: ギャラリー濱村
Description: ギャラリー濱村
Version:2025.06 vol.01
.
*/

/* CSS Document */
/* -----------------------------------------------------------
reset
----------------------------------------------------------- */
div {   zoom: 1;/*for IE 5.5-7*/}
div:after {/*for modern browser*/  content: ".";   clear: both;    display: block; line-height: 0; height: 0;  visibility: hidden;} 
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td,figure {
margin:0;
padding:0;
}
address,caption,cite,code,dfn,em,strong,th,var {
font-style:normal;
}
table {
border-collapse:collapse;
border-spacing:0;
border:none;
}
caption {
text-align:left;
}
object,
embed {
vertical-align:top;
}
hr,legend {
display:none;
}
h1,h2,h3,h4,h5,h6 {
font-size:100%;
font-weight:normal;
}
img,abbr,acronym,fieldset,a {
border:0;
}
ul li {
list-style-type:none;
}
ol li {
list-style-type:none;
}
img{
vertical-align:bottom;
}

/*-----------------------------------------------------------
body
----------------------------------------------------------- */
/*基本設定*/
body {
font-family: 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", HGS明朝E, メイリオ, Meiryo, serif;
text-align: left;
font-size: 16px;
line-height:1.7em;
background: center no-repeat;
color: #000;
}

/* IE7でpadding指定 */
*:first-child+html body {
padding-left: 1px;
}
/* IE6以下でpadding指定 */
*html body { padding-left: 1px;}
strong { font-weight: normal;}
* { box-sizing: border-box;}

/* LayoutClass - Float
============================================================================= */
.alignL { text-align: left; }
.alignR { text-align: right; }
.alignC { text-align: center; }
.alignM { margin: 0px auto; }

.floatL { float: left; }
.floatR { float: right; }
.floatC { clear:both;}

/* LayoutClass - space
============================================================================= */
.mt1em { margin-top: 1em;}
.mt2em { margin-top: 2em;}
.mt3em { margin-top: 3em;}
.mt4em { margin-top: 4em;}
.mt5em { margin-top: 5em;}
.mb1em { margin-bottom: 1em;}
.mb2em { margin-bottom: 2em;}
.mb3em { margin-bottom: 3em;}
.mb4em { margin-bottom: 4em;}
.mb5em { margin-bottom: 5em;}

/* Link
============================================================================= */
a { color:#333; text-decoration:none;}
a:hover { opacity: .8; text-decoration:none;}
a:hover img { opacity: .80; /* Standard: FF gt 1.5, Opera, Safari */
filter: alpha(opacity=80); /* IE lt 8 */
-ms-filter: "alpha(opacity=80)"; /* IE 8 */
-khtml-opacity: .80; /* Safari 1.x */
-moz-opacity: .80; /* FF lt 1.5, Netscape */
}

/* -----------------------------------------------------------
ベースレイアウト
iPadなどのレイアウトのインデント調整のため
text-indent: -10000;ではなく下記を使用しています。

text-indent: 100%;
white-space: nowrap;
overflow: hidden;
----------------------------------------------------------- */

/*=======================================================================
各種ラッパー用CSS
=======================================================================*/
#wrapper {
width: 100%;
margin: 0 auto;
overflow: hidden;
}
.wrap01, .wrap02 {
max-width: 1080px;
margin: auto;
position: relative;
word-break: break-all;
width: 90%;
}
.wrap01, .wrap02 { padding: 2em 0 6em 0;}
div img { width: 100%;}

/*=======================================================================
ヘッダ
=======================================================================*/
header {
  background: #fff;
  box-sizing: border-box;
  filter: drop-shadow(0 20px 30px rgba(51, 51, 51, .3));
  padding: 1em .5em;
  position: fixed;
  top: 0;
  height: 70px;
  width: 100%;
  z-index: 1000;
}
.nav-box {
  margin: auto;
  width:90%;
}
.logo {
  display: block;
  margin: auto;
  max-width: 280px;
  width: 15%;
}
.mb_btn {
  cursor: pointer;
  display: block;
  position: fixed;
  top: 10px;
  right: 20px;
  width: 30px;
  height: 30px;
}
.mb_btn span {
  background: #cab777;
  display: block;
  font-weight: bold;
  position: relative;
  transition: all .6s;
  width: 30px;
  height: 2px;
}
.mb_btn span:first-child {
  top: 15px;
}
.mb_btn span:nth-child(2) {
  top: 23px;
}
.mb_btn.active span:first-child {
  top: 15px;
  transform: translateY(6px) rotate(-45deg);
}
.mb_btn.active span:nth-child(2) {
  top: 26px;
  transform: translateY(-6px) rotate(45deg);
}
.mb_menu ul {
  background: rgba(255, 255, 255, 1);
  position: fixed;
  top: 70px;
  right: -80%;
  transition: all .6s;
  width: 50%;
}
.mb_menu ul li a {
  border-bottom: 1px solid #cab777;
  display: block;
  font-size: 1.1em;
  font-weight: bold;
  padding: .5em 1em;
  width: 100%;
  height: initial;
}
.mb_menu ul li:first-of-type a {
  border-top: 1px solid #cab777;
}
.mb_btn.active + .mb_menu ul {
  right: 0;
  transition: all .6s;
}

/*=======================================================================
レフト・メイン・ライトコンテンツ 枠
=======================================================================*/
/*ページトップ*/
#p_top_area{
position:fixed;
bottom: 20px;
right:20px;
z-index: 10000000;
}

/*=======================================================================
フッタ
=======================================================================*/
footer{ 
width: 100%;
z-index: 1000000;}
@media(min-width: 768px){
  a[href^="tel:"]{
    pointer-events: none;
  }
}

/*====================================================================================

共通

====================================================================================*/
.title-style01 {
  color: #cab777;
  font-size: 1.6em;
  line-height: 1.4em;
  margin-bottom: 1em;
  position: relative;
  text-align: center;
}
.title-style01::after {
  background: url(img/title-img01.svg) no-repeat;
  background-position: center;
  background-size: contain;
  content: "";
  display: block;
  margin: .2em auto 0 auto;
  width: 150px;
  height: 20px;
}
.txt-box {
  margin-top: 2em;
  text-align: center;
}
.btn-style01 {
  background: #cab777;
  border-radius: 50px;
  color: #fff;
  display: block;
  font-size: 1.2em;
  margin: 3em auto 0 auto;
  padding: 1em 3.5em;
  position: relative;
  transition: .5s;
  width: fit-content;
}
.btn-style01::after {
  background: url(img/arrow.png) no-repeat;
  background-size: contain;
  content: "";
  display: inline-block;
  position: absolute;
  top: 38%;
  right: 20px;
  width: 15px;
  height: 15px;
}
.btn-style01:hover {
  opacity: 1;
  transform: translateY(-5px);
}
.btn-box01 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: auto;
  width: 60%;
}
.section01, .section02, .section03, .section04 {
  padding: 4em 0;
}
.section01 .img {
  display: block;
  margin: auto;
  max-width: 900px;
  width: 50%;
  height: auto;
}
.section02 {
  background: url(img/bg01.jpg) no-repeat;
  background-position: center;
  background-size: cover;
  height: 400px;
}
.section03 .img {
  display: block;
  margin: 2em auto 0 auto;
  max-width: 1050px;
  width: 60%;
  height: auto;
}
.section04 .img {
  display: block;
  margin: 2em auto 0 auto;
  max-width: 1050px;
  width: 50%;
  height: auto;
}
.font-style01 {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 1em;
}
.font-style02 {
  line-height: 2em;
  margin-top: 1em;
}
.font-style02 span {
  background: #333;
  border-radius: 30px;
  color: #fff;
  font-size: .8em;
  margin-right: .6em;
  padding: .2em .8em;
}
.sns-btn01 {
  display: block;
  margin: 1em auto 0 auto;
  width: 30px;
  height: 30px;
}
.credit {
  margin: 6em auto 1em auto;
  text-align: center;
}
.top-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 50px;
  z-index: 1000;
}
.cta-btn {
  display: none;
}
.cta-btn:hover, .cta-btn a:hover, .cta-btn a:hover img {
  opacity: 1;
}
.fadeIn {
  transition: 2s;
  opacity: 0;
}
.fadeIn.animated {
  opacity: 1;
}

/*=======================================================================================
レスポンシブ
=================================================================================*/
@media (max-width: 1024px){
body {
min-width: 100%;
-webkit-text-size-adjust: 100%;
}
.logo { width: 30%;}
.section01 .img, .section03 .img, .section04 .img { width: 80%;}
.txt-box { margin: 2em auto 0 auto; width: 90%;}
.btn-box01 { grid-template-columns: 1fr; width: auto;}
}

@media (max-width: 740px){
.main-img img { height: 500px; object-fit: cover;}
.btn-style01 { font-size: 1em;}
.float-btn-box { position: absolute; bottom: 100%; right: 0; z-index: 1000;}
.top-btn { bottom: 100px;}
.cta-btn { display: flex; position: fixed; bottom: 0; right: 0;}
}
