/*
Theme Name: Simple Nil
Author: nil
Description: Original WordPress theme
Version: 1.0
*/

@font-face {
	font-family: 'Genericons';
	src: url('css/genericons/genericons-regular-webfont.eot');
	src: url('css/genericons/genericons-regular-webfont.eot?#iefix') format('embedded-opentype'),
	     url('css/genericons/genericons-regular-webfont.woff') format('woff'),
	     url('css/genericons/genericons-regular-webfont.ttf') format('truetype'),
	     url('css/genericons/genericons-regular-webfont.svg#genericonsregular') format('svg');
	font-weight: normal;
	font-style: normal;
}


*{ margin:0; padding:0; outline:none;}
body{ margin:0; padding:0; -ms-word-wrap:break-word; word-wrap:break-word; background-color:#FDF9F0; position:relative; font:15px/24px arial; color:#5b5b5b; font-family: Georgia, serif;}
img{ margin:0; padding:0; border:none; max-width:100%; height:auto; }
section img{max-width:100%;}
h1,h2,h3,h4,h5,h6{ margin-top:10px; padding:0 0 15px;}
p{ margin:0; padding:0;}
a{ text-decoration:none; color:#0fa5d9;}
a:hover{ text-decoration:none; color:#666;}
ul{ margin:0 0 0 15px; padding:0;}
.clear{ clear:both;}
#commentform input#submit{margin: 0; padding: 8px 10px; border: none; cursor: pointer;}
#commentform label{vertical-align: top; display: block;}
#commentform input[type="text"], input[type="email"], input[type="url"], textarea{padding: 8px 12px;}
.center{ text-align:center; margin-bottom:40px;}
.middle-align{ margin:0 auto; padding:0;}
.wp-caption{ margin:0; padding:0; font-size:13px; max-width:100%;}
.wp-caption-text{ margin:0; padding:0;}
.screen-reader-text {
	position: absolute;
	top:      -9999em;
	left:     -9999em;
}
.sticky{ margin:0; padding:0; background-color:#d7d7d7;}
.gallery-caption{ margin:0; padding:0;}
.alignleft, img.alignleft {display: inline; float: left; margin-right:45px; margin-top:4px; margin-bottom:20px; padding:0; }
.alignright, img.alignright { display: inline; float: right; }
.aligncenter, img.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; margin-top:0; }
.comment-list .comment-content ul { list-style:none; margin-left:15px;}
.comment-list .comment-content ul li{margin:5px;}
.main-container ol{list-style-position:outside; margin-left:20px;}
.main-container ol li{margin:5px 0;}
.aligner{ width:100vw; margin:0 3%;}
.toggleMenu{display:none;}
.bypostauthor{ margin:0; padding:0;}
section{ padding:70px 0; position:relative; max-width:1200px; margin:0 auto;}
h2.section-title { font-family:'Roboto'; font-size:35px; font-weight:700; padding:0 0 45px 0; text-align:center; display:table; margin-bottom:0;}

a.blog-more{ display:inline-block; font:400 16px 'Roboto Condensed', sans-serif; padding:10px 30px; margin-top:21px; -moz-border-radius:4px; -webkit-border-radius:4px; -o-border-radius:4px; -ms-border-radius:4px; border-radius:4px; margin-right:15px;}
.grey-strip{ background-color:#313131; margin:0; padding:22px 0; color:#ffffff; font-size:20px;}
.grey-strip p{ float:left; margin-top:7px;}
.grey-strip a.buy-button{ text-transform:uppercase; background-color:#ffffff; color:#313131; float:right; padding:10px 15px; font:700 17px 'Roboto'; -moz-border-radius:5px; -webkit-border-radius:5px; -ms-border-radius:5px; -o-border-radius:5px; border-radius:5px;}

.main-container{margin:0; padding:0;}
.header{
  background: linear-gradient(to right, #E2C561 0%, #E2C561 10%, #4D4C48 10%, #4D4C48 100%);
}
.header .aligner {
    width: 93%;
    margin: 0 10px;
    padding: 25px 3%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* スマホで崩れない */
}
.header.fixed{position:fixed !important; top:0 !important; margin:0; padding:0; z-index:99999999; opacity:inherit; }
.header .site-branding{margin:0; padding:0; }
.header .site-branding h1{ font-weight:500; padding:0; font-size:30px;}
.header .site-branding a{ color:#ffffff; font-family:'Roboto'; font-family: Georgia, serif; text-decoration: none;}
.header .site-branding p{ font-size:3rem; font-family:arial; color:#ffffff; font-family: Georgia, serif;}

/* 親メニュー */
.site-nav .menu > li {
    display: inline-block;
    position: relative; /* サブメニューの基準にする */
    margin-right: 10px;
    z-index: 1000; /* 親メニューも高くしておく */
}

/* リンクの基本スタイル */
.site-nav .menu a {
    text-decoration: none;
    color: #ffff;
    padding: 8px 12px;
    display: block;
}

/* サブメニュー非表示 */
.site-nav .menu li ul {
    display: none;
    position: absolute;
    top: 100%; 
    left: 0;
    background: #4D4C48;
    width: 300px;;   
    max-width: 500px;;   
    padding: 10px 0;
    list-style: none;
    min-width: 200px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 9999; /* ここを大きくする */
}

/* サブメニューリンク */
.site-nav .menu li ul li a {
    padding: 8px 16px;
    color: #fff;
}

/* ホバーで表示 */
.site-nav .menu li:hover > ul {
    display: block;
}

/* ホバー時の色変更 */
.site-nav .menu li a:hover {
    color: #E2C561;
}
.header-container {
  width: 100%;
  display: flex;
  justify-content: center; /* 横方向中央寄せ */
  padding: 0 6%;          /* 左右20%は余白 */
  box-sizing: border-box;  /* paddingを幅に含める */
  background: linear-gradient(to right, #E2C561 0%, #E2C561 10%, #4D4C48 10%, #4D4C48 100%);
}
.header-container img.center-image {
  width: 100%;     /* 余白を除いた中央部分にフィット */
  height: auto;    /* 縦横比を維持 */
  display: block;
}
.hero-header {
  position: relative;
  width: 100%;
  height: 500px; /* お好みで調整 */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 左右の背景ブロック */
.hero-header {
  display: flex;
  width: 100%;
  height: 500px; /* 高さは好みで */
  overflow: hidden;
  position: relative;
}

/* 各セクションの比率 */
.hero-section {
  height: 100%;
}

.hero-left {
  flex: 0 0 12%;
  background: linear-gradient(to bottom, #E2C561 0%, #E2C561 80%, rgba(54, 54, 54, 0) 80%, rgba(54, 54, 54, 0) 100%);
}

.hero-center {
  flex: 0 0 90%;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: top;
  background:linear-gradient(to right, #FDF9F0 0%, #FDF9F0 5.5%, #ffffff 5.5%, #ffffff 100%);
}

.hero-right {
  flex: 0 0 12%;
  background: linear-gradient(to bottom, #4D4C48 0%, #4D4C48 85%, #ffffff 85%, #ffffff 89%, #E2C561 89%, #E2C561 100%);
}

/* 画像 */
.hero-image {
  width: 100%;
  height: 95%;
  object-fit: cover;
  display: block;
  background: #4D4C48;
}

/* テキスト配置 */
.hero-text {
  position: absolute;
  bottom: 15%;
  right: -5px;
  width: 300px;
  background: #4D4C48;
  color: #ffffff;
  padding: 10px;
  text-align: left;
  align-items: center;
}

.hero-text h2 {
  font-size: 2rem;
  font-family: Georgia, serif;
  color: #ffffff;
  align-items: center;
  margin: 5px;
  padding: 0px;
}
/* テキスト配置 */
.hero-sub-text {
  position: absolute;
  bottom: 0%;
  right: -5px;
  width: 150px;
  background: #E2C561;
  color: #ffffff;
  padding: 10px;
  text-align: left;
  align-items: center;
}

.hero-sub-text h2 {
  font-size: 2rem;
  font-family: Georgia, serif;
  color: #ffffff;
  align-items: center;
  margin: 5px;
  padding: 0px;
}

.about-container {
  height: 550px;
  max-height: 700px;
  display: flex;              /* Flexboxを有効化 */
  flex-direction: column;
  text-align: center;
  background:linear-gradient(to right, #FDF9F0 0%, #FDF9F0 10%, #ffffff 10%, #ffffff 100%);
}

.about-container .section-line {
	width: 60%;        /* 線の長さ */
	margin: 5px 0; /* 中央寄せ（上下20pxの余白） */
  border: none;
	border-top: 1px solid #E2C561; /* 線の色・太さ */
}
.section-title {
  margin-top: 2%;
}
.section-name {
  font-size: 2rem;
  font-family: Georgia, serif;
  align-items: center;
  margin-top: 50px;
  margin: 0px;
  padding: 0px;
}
.section-sub {
  font-size: 1.2rem;
  font-family: Georgia, serif;
  align-items: center;
  color: #E2C561;
  margin: 0px;
  padding: 0px;
}
.section-main {
  font-size: 1.2rem;
  font-family: Georgia, serif;
  margin-top: 2%;
  height: 100%;
}
.section-main p span {
  position: relative;
  background-image: linear-gradient(to bottom, #fffcf4, #E2C561);
  background-repeat: no-repeat;
  background-size: 100% 0.4em;
  background-position: 0 89%;
}
.section-main .sentence {
  font-size: 1rem;
  font-family: Georgia, serif;
  margin-top: 2%;
}

/* ==========================
   概要を見るボタン
========================== */
/* #################### */
.about-button {
  position: relative;
  background: transparent;
  border: none;
  color: #333;
  font-size: 1.2rem;
  padding: 12px 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

/* 左と下に線を引く */
.about-button::before,
.about-button::after {
  content: "";
  position: absolute;
  background-color: #E2C561; /* ゴールド */
  transition: all 0.3s ease;
}

.about-button::before {
  width: 2px;        /* 左線の太さ */
  height: 100%;
  left: 0;
  top: 0;
}

.about-button::after {
  height: 2px;       /* 下線の太さ */
  width: 100%;
  left: 0;
  bottom: 0;
}

/* ホバー時にちょっと動きを出す */
.about-button:hover {
  color: #000;
  transform: translateY(-2px);
}

.about-button:hover::before {
  height: 0;
  transition: height 0.3s ease;
}

.about-button:hover::after {
  width: 0;
  transition: width 0.3s ease;
}

.about-button p {
  margin: 0;
  font-size: 0.9rem;
  color: #E2C561;
  font-family: Georgia, serif;
}
.about-button {
  position: relative;
  background: transparent;
  border: none;
  color: #333;
  font-size: 2rem;
  padding: 12px 24px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-top: 3%;
}

.about-button::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0.8px;
  height: 0%;
  background-color: #E2C561;
  transition: height 0.3s ease;
}

.about-button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 1px;
  background-color: #E2C561;
  transition: width 0.3s ease 0.2s;
}

.about-button:hover::before {
  height: 100%;
}

.about-button:hover::after {
  width: 100%;
}
/* ==========================
   SERVICEコンテナ
========================== */
.service-title{
  display: flex;
  flex-direction: column;
  background: linear-gradient(
    to right,
    #F8F4EB 0%,
    #F8F4EB 10%,
    #F9F9F9 10%,
    #F9F9F9 100%
  );
  text-align: center;
}
.service-title .section-name {
  font-size: 2rem;
  font-family: Georgia, serif;
  align-items: center;
  margin-top: 50px;
  margin: 0px;
  padding-top: 2%;
}
.service-title .section-sub {
  font-size: 1.2rem;
  font-family: Georgia, serif;
  align-items: center;
  color: #E2C561;
  margin: 0px;
  padding: 0px;
}

.service-title .section-line {
	width: 60%;        /* 線の長さ */
	margin-left: auto; 
  margin-right: 0;
  margin-top: 5px;
  margin-bottom: 5px;
  border: none;
	border-top: 1px solid #E2C561; /* 線の色・太さ */
}
.service-container {
  height: 1300px;
  display: flex;
  text-align: center;
}
.container-left {
  flex: 0 0 10%;
  background: linear-gradient(
    to bottom,
    #F8F4EB 0%,
    #F8F4EB 20%,
    #4E4C48 20%,
    #4E4C48 80%,
    #F8F4EB 80%,
    #F8F4EB 100%
  );
}
.container-right {
  height: 100%;
  display: flex;
  flex-direction: column;
  flex: 0 0 90%;
  background: linear-gradient(
    to bottom,
    #F9F9F9 0%,
    #F9F9F9 20%,
    #4E4C48 20%,
    #4E4C48 80%,
    #F9F9F9 80%,
    #F9F9F9 100%
  );
}

.service-container .section-main {
  display: flex;
  justify-content: flex-end; /* 子要素を右へ寄せる */
  padding-right: 5%;
  height: 150px;
}
.service-container .section-main .sentence {
  max-width: 600px; /* 文章の幅を制限すると綺麗 */
  text-align: left;  /* 文章自体は左揃えのまま */
  height: 100%;
}
/* ==========================
   SERVICEカードボタン
========================== */
.card-list-container {
  display: flex;
  flex-direction: row;
  height: 50%;
}
.service-card-list {
  display: flex;
  flex-direction: column;
  gap: 0px;
  width: 100%;
  margin-top: 0px;
}
/* カード共通 */
.service-card {
  position: relative;
  display: block;
  width: 40%;             /* 相対幅に変更 */
  max-width: 700px;
  text-decoration: none;
}

/* 左右交互配置 */
.service-card.odd {
  margin-left: 8%;
  margin-right: auto;  
}

.service-card.even {
  margin-left: auto;
  margin-right: 8%;
  margin-top: -10%;
}

/* 外枠のずれアウトライン */
.service-card::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 100%;
  height: 100%;
  border: 1px solid #E2C561;
  z-index: 1;
}

/* 内側 */
.service-card-inner {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: #fff;
  padding: 20px;
  position: relative;
  z-index: 2;
  text-align: left;
  transition: transform 0.25s ease;
}

.service-card-inner:hover {
  transform: translateY(-3px);
}

/* コンテンツ横並び */
.card-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;     /* 下揃え */
  width: 100%;
  gap: 0px;
  height: 150px;
}

/* テキスト */
.card-text { text-align: left; color: #000; font-family: Georgia, serif;}
.card-title { font-size: 1.5rem; padding: 0; margin-top:1px;}
.card-number { font-family: "Helvetica", "Arial", sans-serif; color:#E2C561; font-weight:bold; margin-right:8px; font-size:1.5rem; }
.card-main-title { font-weight:bold; }
.card-subtitle { font-size:0.95rem; color:#E2C561; margin:0 0 1px 0; }

/* ボタン */
.card-button {
  display:inline-block;
  padding:4px 14px;
  background:#fff;
  color:#E2C561;
  font-size:0.7rem;
  text-decoration:none;
  transition: all 0.3s;
  border: #E2C561;
}
.card-button:hover { font-weight:bold; }

/* 画像 */
.card-image img { 
  width: 100%;           /* 親コンテナに合わせて縮小 */
  max-width: 235px;      /* PC用最大幅 */
  height: 100%;
  max-height: 200px;
  display: block;
}

/* ========================
     Footer 基本レイアウト
========================= */
.site-footer {
  background: #E2C561;
  color: #fff;
  padding: 40px 0;
  font-family: Georgia, serif;
}

.footer-inner {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

/* 左カラム */
.footer-left {
  width: 50%;
  text-align: left;
}

.footer-company-name {
  margin: 0 0 10px 0;
  font-size: 1.4rem;
  font-weight: 700;
  text-align: left;
}

.footer-address {
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: left;
  font-family: "Helvetica", "Arial", sans-serif;
}

/* お問い合わせボタン */
.footer-contact-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #fff;
  color: #E2C561;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: 0.3s;
}

.footer-contact-btn:hover {
  background: #c4a84e;
}

/* 右カラム */
.footer-right {
  width: 50%;
  text-align: left;
}

.footer-right h4 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  border-bottom: 1px solid #fff;
  padding-bottom: 5px;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.footer-menu li {
  margin-bottom: 8px;
  margin-left: 20px;
}

.footer-menu a {
  color: #fff;
  text-decoration: none;
}

.footer-menu a:hover {
  color: #fff;
}

/* コピーライト */
.footer-copy {
  text-align: center;
  margin-top: 20px;
  color: #fff;
  font-size: 0.9rem;
}

/* ====== スマホでもPCレイアウトを縮小表示する ====== */
@media screen and (max-width: 1200px) {

  body {
    transform: scale(calc(100vw / 1200));
    transform-origin: top left;
    width: 1200px;      /* PC と同じ幅を維持 */
    overflow-x: hidden; /* 横スクロールを消す */
  }

  html, body {
    height: auto;
  }
}