@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(https://example.com/MaterialIcons-Regular.eot);
  /* For IE6-8 */
  src: local('Material Icons'),
    local('MaterialIcons-Regular'),
    url(https://example.com/MaterialIcons-Regular.woff2) format('woff2'),
    url(https://example.com/MaterialIcons-Regular.woff) format('woff'),
    url(https://example.com/MaterialIcons-Regular.ttf) format('truetype');
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  /* Preferred icon size */
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  display: inline-flex;
  vertical-align: middle;

  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;

  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;

  /* Support for IE. */
  font-feature-settings: 'liga';
}

.bg-lightgreen {
  background-color: #eef9f1 !important;
}
/* Rules for sizing the icon. */

.material-icons.md-36 {
  font-size: 36px;
}
.table {
  border-top: 1px solid #dee2e6;
}
.table > :not(caption) > * > * {
  vertical-align: middle;
}
body{
  font-family: "Yu Mincho", "游明朝", serif;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding-top: 106px;
}
h1, h2, h3{
  font-weight: 600;
  letter-spacing: .05em;
}

/* TOPアイコン */
.totop {
  position: absolute;
  top: -60px;
  right: 40px;
}
.logo-img {
  height: 80px;
  width: auto;
}

@media (max-width: 991.98px) {
  .logo-img {
    height: 55px;
  }
}
/* TOP文字 */
.custom-text-shadow {
  font-family: 'Yu Mincho', 'Hiragino Mincho Pro', 'MS PMincho', serif;
  color: White;
  text-shadow: 0 0 20px black, 0 0 40px black, 0 0 60px white, 0 0 80px black, 0 0 100px black;
  font-size: 52px; /* デスクトップなどの大きい画面用のデフォルトサイズ72px */
}

@media (max-width: 768px) { /* 画面幅768px以下の場合（タブレットやスマホ） */
  .custom-text-shadow {
    font-size: 36px; /* 小さい画面では文字を小さくする */
  }
}

@media (max-width: 480px) { /* スマホの画面幅480px以下の場合 */
  .custom-text-shadow {
    font-size: 24px; /* より小さい画面では文字をさらに小さくする */
  }
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 106px; /* fixed-topの分 */
}
/*============================================== */
/*=ボタンの共有================================= */
.btn-contact {
  background-color: #4CAF50;
  color: #fff;
  border: none;
}

.btn-contact:hover {
  background-color: #43a047;
  color: #fff;
}
/*============================================== */
/*=Section2の画像処理=========================== */
.sec2-bg{
  position: relative;
  background:
    linear-gradient(rgba(255, 255, 255,0.75), rgba(255, 255, 255,0.75)),
    url("../img/top/Sec2_House.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.sec2-bg .container{
  position: relative;
  z-index: 1;
}
.sec2-corner-img{
  position: absolute;
  right: -200px;
  bottom: 0;
  width: 640px;
  height: auto;
  max-width: 35%;   /* ←これがポイント */
}
@media (max-width: 992px){
  .sec2-corner-img{
    width: 70%;
    height: auto;
	right: 0px;
	max-width: 100%;   /* ←これがポイント */
  }
}
/*============================================== */

/*============================================== */
/*=Section3の画像処理=========================== */
.service-img{
  width: 1000px;      /* 横幅固定 */
  height: 200px;     /* 高さ固定 */
  object-fit: cover; /* はみ出しカット */
  border-radius: 6px;
}
/*============================================== */

/*============================================== */
/*=Section4の画像処理===画像を円にする========== */
.border-blue {
  border-color:#4CAF50 !important;
}
.border-top {
	position: relative;
	left: -80px;
	width: 120%;
  	border-width: 4px !important;
	z-index: 1;           /* ← 画像より下 */
}
.service-circle{
	position: relative;   /* ← 必須 */
	z-index: 2;           /* ← 線より大きく */
  width: 400px;   /* ←ここで大きさ調整 */
  height: 400px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
}

.service-circle img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

/* スムーススクロール*/
.page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 77%;
}
.page-top a {
	display:flex;
	align-items:center;
	justify-content:center;

	width:64px;
	height:64px;
	border-radius:50%;
	background:#4CAF50;
	color:#fff;

	font-size:28px;   /* ←ここ重要 */
	text-decoration:none;

	box-shadow:0 6px 15px rgba(0,0,0,0.25);
	transition:.3s;
}
.page-top a:hover {
    text-decoration: none;
    background: #43a047;
}

/* 見出しフォント*/

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #333;
    text-align: center;
}
        
.subtext {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    color: #777;
    text-align: center;
}
.bg-custom {
    background-color: #4CAF50 !important;
}