@charset "utf-8";
/*
Theme Name: james Theme
Theme URI: http://f-deal.jp/
Description: james default theme
Author: Y.N
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/


@import url('./css/base.css');
@import url('./css/layout.css');


body.page h1.entry-title {
	padding: 8px 10px;
	font-size: 167%;
	color: #ffffff;
	line-height: 1.5;
	text-align: center;
	font-weight: normal;
	font-weight: bold;
	border: none;
	background: transparent
		url('images/bg-entry-title.gif') 
		no-repeat left bottom;
}

h1.onecol-entry-title {
	padding: 8px 10px;
	font-size: 167%;
	color: #ffffff;
	line-height: 1.5;
	text-align: center;
	font-weight: normal;
	font-weight: bold;
	border: none;
    background: transparent
		url('images/bg-onecol-entry-title.gif') 
		no-repeat left top;
}


/*----------------------------------------

	Entry-Content 

----------------------------------------*/

.entry-content a {
	text-decoration: none;
}

.entry-content a:link {
	color: #008ccf;
}

.entry-content a:visited {
	color: #008ccf;
}

.entry-content a:hover {
	text-decoration: underline;
	color: #28864e;
}

.entry-content p {
	line-height: 1.6;
}

.entry-content h1 ,
.entry-content h2 ,
.entry-content h3 ,
.entry-content h4 ,
.entry-content h5 ,
.entry-content h6 {
    font-weight: normal;	
}

.entry-content h1 {
	margin-bottom: 1em;
	padding: 5px 10px 5px 13px;
	font-size: 122%;
	color: #333333;
	border-left: 4px solid #28864e;
	border-top: 1px solid #dddddd;
	border-right: 1px solid #dddddd;
	border-bottom: 1px solid #dddddd;
}

.entry-content h2 {
	margin-bottom: 1em;
	padding: 5px 0 8px 20px;
	font-size: 122%;
	color: #28864e;
	background-color: #ffffff;
    background: transparent
		url('images/bg_h2.gif') 
		no-repeat left bottom;
}

.entry-content h3 {
	margin-bottom: 1em;
	padding: 2px 12px;
	font-size: 116%;
	border-left: 4px solid #28864e;
	color: #333333;
}

.entry-content h4 {
	margin-bottom: 1em;
	padding: 1px 14px 3px 0px;
	font-size: 100%;
	min-height: 1px;
	border-bottom: 1px solid #dddddd;
}

.entry-content h5 {
	font-size: 100%;
}

.entry-content h6 {
	font-size: 100%;
}

.entry-summary ul ,
.entry-content ul {
	margin: 1em 0.8em;
	list-style-type: none;
}

.entry-summary ul li ,
.entry-content ul li {
	padding-left: 13px;
    background: transparent
		url('images/point01.gif') 
		no-repeat left 7px;
}


/* body.category .post */ /* カテゴリー */
/* body.page .page     */ /* 固定ページ */
/* body.single .post   */ /* 投稿ページ */
/* body.archive .post  */ /* 月別、カテゴリーアーカイブ */

body.single .post   ,           /* 投稿ページ */
body.page-category-news .post , /* カテゴリーnews */
body.archive .post {            /* アーカイブ */
}



/* =========================================
   Responsive adjustments
   ========================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  -webkit-text-size-adjust: 100%;
  text-align: left;
}

img,
iframe,
object,
embed {
  max-width: 100%;
}

img {
  height: auto;
}

iframe {
  display: block;
  width: 100%;
}

#header,
#globalNavi,
#main,
#footer {
  min-width: 0;
}

div.wrap,
#headerImage,
#globalNavi nav {
  width: min(960px, 100%);
  max-width: 960px;
}

div.wrap {
  padding-left: 20px;
  padding-right: 20px;
  overflow: visible;
}

#header .wrap {
  height: auto;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#site-title {
  margin: 10px 0;
  text-align: center;
}

#site-title img {
  width: min(580px, 100%);
}

#globalNavi nav {
  padding-bottom: 15px;
  background-size: contain;
}

#globalNavi ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: center;
  margin: 0;
}

#globalNavi li {
  float: none;
  margin: 10px 0;
}

#globalNavi li:empty {
  display: none;
}

#globalNavi a {
  display: block;
}

#globalNavi img,
#content h1 img,
#content h2 img {
  width: auto;
  max-width: 100%;
}

#container,
#content {
  margin-left: 0;
  margin-right: 0;
}

#content {
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.imgL,
.imgR {
  max-width: 45%;
}

#footer .wrap {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
}

#footer_contact,
#copyright {
  float: none;
  margin: 0;
}

#copyright {
  padding-top: 0;
  text-align: right;
}

@media screen and (max-width: 768px) {
  body {
    font-size: 15px;
  }

  div.wrap {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  #header .wrap {
    min-height: 86px;
  }

  #globalNavi {
    margin-top: 8px;
  }

  #globalNavi nav {
    padding-bottom: 10px;
    background-image: none;
  }

  #globalNavi ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  #globalNavi li {
    margin: 0;
  }

  #globalNavi a {
    padding: 10px 8px;
    border: 1px solid #d8e3da;
    border-radius: 6px;
    text-align: center;
    background: #f7faf7;
  }

  #globalNavi img {
    max-height: 28px;
    width: auto;
  }

  #main .wrap {
    padding-top: 14px;
  }

  #content h1,
  #content h2 {
    margin-top: 1.4em;
  }

  .imgL,
  .imgR {
    float: none;
    max-width: 100%;
    margin: 1em auto;
    text-align: center;
  }

  .imgL img,
  .imgR img {
    max-width: min(100%, 260px);
  }

  iframe {
    height: 320px;
  }

  #footer .wrap {
    display: block;
  }

  #copyright {
    margin-top: 16px;
    text-align: left;
  }

  p.pageTop {
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  body {
    font-size: 14px;
  }

  div.wrap {
    padding-left: 12px;
    padding-right: 12px;
  }

  #header .wrap {
    min-height: 72px;
  }

  #globalNavi ul {
    grid-template-columns: 1fr;
  }

  #globalNavi img,
  #content h1 img,
  #content h2 img {
    max-height: 30px;
  }

  #content p {
    margin: 0.9em 0;
  }

  iframe {
    height: 280px;
  }
}
