@charset "UTF-8";

/* そこのあなた！見ましたね！見てしまいましたね！ */
/* 告白します！このサイトはぼったくりです！査定は合い見積もりを取りましょう！ */
/* スマホ対応のサイト作ったの初めてだったぜ！結構大変だった…。 */
/* since 2026.02.22 */

/* テキストの自動拡大を無効化 */
body {
	-webkit-text-size-adjust: none;
	text-size-adjust: none;
}

/* ページ全体の設定 */
body {
	margin: 0;
	font-family: sans-serif;
}

.bg img {
	width: 120px;
	height: 120px;
	position: fixed;
	right: 10px;
	bottom: 10px;
}


/* 文字装飾 */

.red {
	font-weight: bold;
	color: red;
}

.size12px {
	font-size: 12px;
}


/* 「ヘッダー」ブロック */
header {
	padding: 25px 15px;
	background-color: #ffffff;
	color: #741b05;
	font-size: 32px;
	font-weight: bold;
	text-shadow: 0 0 10px #999999;
	text-align: center;
	font-family: 'Exo 2', sans-serif;
}

/* リンク */
a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	opacity: 0.7;
}

/* ナビゲーションメニュー */
nav ul {
	list-style-type: none;
	padding: 0;
	color: #741b05;
	font-size: 12px;
	display: flex;
	justify-content: center;
}

nav li:not(:last-child) {
	margin-right: 20px;
}

/* 「コンテンツ」ブロック */
.contents {
	background-color: #741b05;
	padding: 40px 15px;
}

/* 記事本体のデザイン */

article {
	background-color: #ffffff;
	padding: 20px;
}

h1 {
	font-size: 30px;
	color: #333333;
	text-align: center;
	font-weight: bold;
	text-shadow: 0 0 10px #be281e;
}

h3 {
	font-size: 20px;
	color: #333333;
	text-align: center;
		font-weight: bold;
	text-shadow: 0 0 10px #be281e;
}

h4 {
	font-size: 16px;
	color: #333333;
	text-align: center;
		font-weight: bold;
}

p {
	line-height: 2;
	color: #333333;
}

/* 画像 */
img {
	width: 100%;
	height: auto;
}

figure {
	margin: 0;
}

/* サブメニュー */
aside {
	background-color: #ffffff;
	padding: 20px;
	margin-top: 40px;
}

h2 {
	color: #333333;
	font-family: 'Exo 2', sans-serif;
	font-weight: normal;
	font-size: 20px;
	color: #333333;
	text-align: center;
	text-shadow: 0 0 10px #837ce6;
}

/* サブメニュー：プロフィール */
.profile img {
	width: 200px;
	height: 200px;
	border-radius: 50%;
}

.profile figure {
	text-align: center;
}

.profile p {
	font-size: 14px;
	text-align: center;
}

/* サブメニュー：注目記事メニュー */
.topics ul {
	list-style-type: none;
	padding: 0;
}

.topics a {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

.topics figure {
	width: 100px;
	flex: none;
}

.topics img {
	vertical-align: bottom;
}

.topics h3 {
	font-size: 14px;
	margin-top: 0;
	margin-bottom: 0;
	margin-left: 10px;
}

/* 「フッター」ブロック */
footer {
	background-color: #942e14;
	padding: 25px 15px;
	color: #ffffff;
	font-size: 14px;
	text-align: center;
	font-family: 'Exo 2', sans-serif;
}

/* トップページ： 記事一覧 */
.toppost {
	padding: 15px;
}

.toppost div {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.toppost article {
	padding: 0;
	width: 48%;
	flex: none;
}

.toppost article:not(:nth-last-child(-n+2)) {
	margin-bottom: 12px;
}

.toppost h3 {
	margin: 0;
	font-size: 14px;
}


/* 「特定商取引に基づく表記・メールフォーム」ページ */
table {
	border-collapse: collapse;
	font-size: 12px;
}

th, td {
	border: solid 1px #cccccc;
	padding: 8px;
}

th {
	width: 3em;
	text-align: center;
	background-color: #135977;
	color: #ffffff;
}

td {
	background-color: #e8eef9;
}


/* メールフォーム */
input, textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 10px;
}

textarea {
	height: 120px;
}

input[type="submit"] {
	background-color: #741b05;
	color: #ffffff;
	font-size: 16px;
	font-weight: bold;
	border: none;
}


/* ==== PC版 ==== */
@media (min-width: 600px) {

/* PC版：コンテナ */
.container {
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

/* PC版：「ヘッダー」ブロック内のコンテナ */
header .container {
	display: flex;
	justify-content: space-between;
}

/* PC版：記事 */
article {
	padding-left: 60px;
	padding-right: 60px;
}

h1 {
	font-size: 40px;
}

p {
	font-size: 18px;
}

/* PC版：トップページ： 記事一覧 */
.toppost article {
	width: 23%;
}

.toppost article:not(:nth-last-child(-n+2)) {
	margin-bottom: 0;
}

/* PC版：「お問い合わせ」ページ */
input[type="submit"] {
	width: 250px;
}

}
/* ===== PC版の設定ここまで ===== */

/* --- メールフォームのレスポンシヴ対応 ChatGPT君偉い！ --- */
@media (max-width: 768px){

  /* テーブルをブロック化して縦積みにする */
  table.mailform,
  table.mailform tbody,
  table.mailform tr,
  table.mailform th,
  table.mailform td{
    display: block;
    width: 100% !important;
    box-sizing: border-box;
  }

  /* nowrapを無効化して折り返しOKに */
  table.mailform th{
    white-space: normal !important;
  }

  /* セルの余白調整（任意） */
  table.mailform th{
    padding: 10px 8px 6px;
  }
  table.mailform td{
    padding: 0 8px 12px;
  }

  /* input/textarea/selectを画面幅に合わせる */
  table.mailform input[type="text"],
  table.mailform input[type="email"],
  table.mailform input[type="tel"],
  table.mailform textarea,
  table.mailform select{
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* cols/size指定で横が出ないようにする */
  table.mailform textarea{
    max-width: 100%;
  }

  /* チェックボックス群が横にはみ出すのを防ぐ */
  table.mailform td{
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}


/* ==== PC版（大） ==== */
@media (min-width: 1025px) {

/* PC版（大）：コンテナ */
.container {
	max-width: 1100px;
}

/* PC版（大）：「コンテンツ」ブロック内のコンテナ */
.contents .container {
	display: flex;
	justify-content: space-between;
}

/* PC版（大）：記事 */
article {
	width: 68%;
	box-sizing: border-box;
}

/* PC版（大）：サブメニュー */
.sub {
	width: 28%;
}

/* PC版（大）：プロフィール */
.profile {
	margin-top: 0;
}

}
/* ===== PC版（大）の設定ここまで ===== */

