/*
Theme Name: Photo Ohtani
Theme URI: https://naniwa-shukugawa.com/
Author: Photo Ohtani Project
Description: フォトオータニ公式サイト用テーマ。保存済み現行サイトのHTML/CSSを忠実に移植し、WordPress上で同一の見た目を再現します。クラシックエディター・クラシックウィジェット前提。
Version: 2.7.0
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* R10-#64: Text Domain の宣言は外した。
   本テーマは1店舗の現行サイトを日本語のまま再現する専用テーマで、
   翻訳関数（__() 等）も languages/ も持たない。
   宣言だけ残すと「翻訳できるテーマ」と誤解され、翻訳ファイルを置いても効かない。 */

/* =====================================================================
   本テーマのCSSは保存済み現行サイト（2026-07-24取得）の
   html5reset.css / common.css / parts.css をパス変換のうえ移植したもの。
   原本からの変更点は末尾の「WP適応」セクションのみ。
   ===================================================================== */
/* ===== 原本 html5reset.css ===== */
/* 
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com 
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
	font-size: 100%; 
    outline:0;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
	display:block;
}

nav ul {
    list-style:none;
}
nav ul ul {
	margin-left:25px;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000; 
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;   
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}

/* ===== 原本 common.css ===== */



body {
	background:#336 url(assets/images/legacy/img_common/bg.png) repeat-x;
	font-size:14px;
	color:#333;
}

.center {text-align:center;}
.right {text-align:right;}
.left {text-align:left;}

.middle {vertical-align:middle;}

.f-left {float:left;}
.f-right {float:right;}

.clear {clear:both;}


.btm5 {
	margin-bottom:5px !important;
}
.btm7 {
	margin-bottom:7px !important;
}
.btm10 {
	margin-bottom:10px !important;
}
.btm15 {
	margin-bottom:15px !important;
}
.btm20 {
	margin-bottom:20px !important;
}
.btm30 {
	margin-bottom:30px !important;
}
.btm30 {
	margin-bottom:30px !important;
}
.btm40 {
	margin-bottom:40px !important;
}
.btm70 {
	margin-bottom:70px !important;
}
.btm100 {
	margin-bottom:100px !important;
}



.red {
	color:#F00;
}




#globalheader {
	width:870px;
	margin:10px auto 0px;
}


#globalheader hgroup {
	float:left;
	/*width:717px;*/
	width:600px;
	height:34px;
}

#globalheader hgroup h2 {
	position:relative;
	top:-8px;
	left:10px;
	font-size:9px;
	color:#fff;
}


#globalheader h1,#globalheader h2 {
	display:inline;
}



#globalheader .telno {
	/*width:153px;*/
	width:178px;
	height:32px;
	text-indent:-9999px;
	background:url(assets/images/legacy/img_common/telno.gif) no-repeat 0px 5px;
	float:right;
}

	
#globalnav {
	clear:both;
	position:relative;
	display:block;
	margin:0px 0px 22px;
	padding:0px;
	width:870px;
	height:27px;
}
#home #globalnav {
 	margin:0px 0px 9px;
}

#globalnav li {
	display:inline;
}

#globalnav li a {
	display:block;
	float:left;
	width:100px;
	height:27px;
	overflow:hidden;
	text-indent:-9999px;
	cursor:pointer;
	margin:0px;
	padding:0px;
}

#globalnav li.nav-home a {
	width:88px;
	background:transparent url(assets/images/legacy/img_common/nav-home.gif) no-repeat;
}
#globalnav li.nav-print a {
	width:119px;
	background:transparent url(assets/images/legacy/img_common/nav-print.gif) no-repeat;
}
#globalnav li.nav-id a {
	width:92px;
	background:transparent url(assets/images/legacy/img_common/nav-id.gif) no-repeat;
}
#globalnav li.nav-school a {
	width:140px;
	background:transparent url(assets/images/legacy/img_common/nav-school.gif) no-repeat;
}
#globalnav li.nav-loca a {
	width:92px;
	background:transparent url(assets/images/legacy/img_common/nav-loca.gif) no-repeat;
}
#globalnav li.nav-dubbing a {
	width:207px;
	background:transparent url(assets/images/legacy/img_common/nav-dubbing.gif) no-repeat;
}
#globalnav li.nav-retouch a {
	width:132px;
	background:transparent url(assets/images/legacy/img_common/nav-retouch.gif) no-repeat;
}

#globalnav li.nav-home a:hover {
	background:transparent url(assets/images/legacy/img_common/nav-home.gif) no-repeat 0px -50px;
}

#globalnav li.nav-print a:hover {
	background:transparent url(assets/images/legacy/img_common/nav-print.gif) no-repeat 0px -50px;
}
#globalnav li.nav-id a:hover {
	background:transparent url(assets/images/legacy/img_common/nav-id.gif) no-repeat 0px -50px;
}
#globalnav li.nav-school a:hover {
	background:transparent url(assets/images/legacy/img_common/nav-school.gif) no-repeat 0px -50px;
}
#globalnav li.nav-loca a:hover {
	background:transparent url(assets/images/legacy/img_common/nav-loca.gif) no-repeat 0px -50px;
}
#globalnav li.nav-dubbing a:hover {
	background:transparent url(assets/images/legacy/img_common/nav-dubbing.gif) no-repeat 0px -50px;
}
#globalnav li.nav-retouch a:hover {
	background:transparent url(assets/images/legacy/img_common/nav-retouch.gif) no-repeat 0px -50px;
}

#home #globalnav li.nav-home a {
	background:transparent url(assets/images/legacy/img_common/nav-home.gif) no-repeat 0px -100px;
	cursor:default;
}
.print #globalnav li.nav-print a {
	background:transparent url(assets/images/legacy/img_common/nav-print.gif) no-repeat 0px -100px;
	cursor:default;
}
#id #globalnav li.nav-id a {
	background:transparent url(assets/images/legacy/img_common/nav-id.gif) no-repeat 0px -100px;
	cursor:default;
}
#school #globalnav li.nav-school a {
	background:transparent url(assets/images/legacy/img_common/nav-school.gif) no-repeat 0px -100px;
	cursor:default;
}
#loca #globalnav li.nav-loca a {
	background:transparent url(assets/images/legacy/img_common/nav-loca.gif) no-repeat 0px -100px;
	cursor:default;
}
#dubbing #globalnav li.nav-dubbing a {
	background:transparent url(assets/images/legacy/img_common/nav-dubbing.gif) no-repeat 0px -100px;
	cursor:default;
}
.retouch #globalnav li.nav-retouch a {
	background:transparent url(assets/images/legacy/img_common/nav-retouch.gif) no-repeat 0px -100px;
	cursor:default;
}


#page {
	width:770px;
	margin:0px auto;
	position:relative;
	top:0px;
	left:0px;
}


#currentcate {
	margin:0px 0px 0px 15px;
}
h1#currentcate {
	margin:0px 0px 15px 15px;
	float:none;
}
h1#currentcate img {
	float:none;
}


#currentcate img {
	float:left;
}

#contentsnav {
	height:31px;
	padding-top:9px;
	float:right;
}

#contentsnav li {
	display:inline;	
}

#contentsnav li a {
	display:block;
	float:left;
	width:auto;
	margin:0px 15px;
	color:#eee;
	padding-bottom:21px;
	text-decoration:none;
	font-weight:bold;
	font-size:13px;
}


#contentsnav li a:link {
	text-decoration:none;
	position:relative;
	top:0px;
	left:0px;
	z-index:1;
}

#contentsnav li a:hover {
	/*background:transparent url(assets/images/legacy/img_common/arrow_current.gif) no-repeat 50% 90%;*/
	color:#fc3;
}


#mono-col #contentsnav li.nav-mono-col a {
	background:transparent url(assets/images/legacy/img_common/arrow_current.gif) no-repeat 50% 90%;
}
#mono-col #contentsnav li.nav-mono-col a:hover {
	color:#eee;
	cursor:default;
}
#recolor #contentsnav li.nav-recolor a {
	background:transparent url(assets/images/legacy/img_common/arrow_current.gif) no-repeat 50% 90%;
}
#recolor #contentsnav li.nav-recolor a:hover {
	color:#eee;
	cursor:default;
}
#ieiphoto #contentsnav li.nav-ieiphoto a {
	background:transparent url(assets/images/legacy/img_common/arrow_current.gif) no-repeat 50% 90%;
}
#ieiphoto #contentsnav li.nav-ieiphoto  a:hover {
	color:#eee;
	cursor:default;
}

#printtop #contentsnav li.nav-printtop a {
	background:transparent url(assets/images/legacy/img_common/arrow_current.gif) no-repeat 50% 90%;
}
#printtop #contentsnav li.nav-printtop a:hover {
	color:#eee;
	cursor:default;
}
#howto #contentsnav li.nav-howto a {
	background:transparent url(assets/images/legacy/img_common/arrow_current.gif) no-repeat 50% 90%;
}
#howto #contentsnav li.nav-howto a:hover {
	color:#eee;
	cursor:default;
}
#download #contentsnav li.nav-download a {
	background:transparent url(assets/images/legacy/img_common/arrow_current.gif) no-repeat 50% 90%;
}
#download #contentsnav li.nav-download  a:hover {
	color:#eee;
	cursor:default;
}

#welcome #contentsnav li.nav-welcome a {
	background:transparent url(assets/images/legacy/img_common/arrow_current.gif) no-repeat 50% 90%;
}
#welcome #contentsnav li.nav-welcome a:hover {
	color:#eee;
	cursor:default;
}
#shop #contentsnav li.nav-shop a {
	background:transparent url(assets/images/legacy/img_common/arrow_current.gif) no-repeat 50% 90%;
}
#shop #contentsnav li.nav-shop a:hover {
	color:#eee;
	cursor:default;
}
#privacy #contentsnav li.nav-privacy a {
	background:transparent url(assets/images/legacy/img_common/arrow_current.gif) no-repeat 50% 90%;
}
#privacy #contentsnav li.nav-privacy  a:hover {
	color:#eee;
	cursor:default;
}




#content {
	width:680px;
	background-color:#fff;
}

#home #content {
	/*margin-left:-26px !important;
	margin-right:-26px !important;*/
	width:732px;
	
}

#container {
	clear:both;
	background-color:#fff;
	padding:35px 45px;

	/* 角丸 */
	-moz-border-radius:18px;/*for Firefox*/
	-webkit-border-radius:18px;/*for Safari and chrome*/
	-khtml-border-radius:18px;/*for Old Safari, KHTML */
	-ms-border-radius:18px;/*for IE(関係ないみたい？)*/
	-o-border-radius:18px;/*for Opera(関係ないみたい？)*/
	border-radius:18px;/*CSS3*/
	/*↑不思議なことに同階層なのに../css/と書かないと認識せず*/
}
#home #container {
	padding-top:15px;
	padding:20px 19px 45px;
}
#home #sitemap {
	width:680px !important;
	margin:0px auto;
}
#content h1 {
	margin-bottom:26px;
	margin-left:-10px;
}

#content p {
	line-height:180%;	
}

#content h2 {
	font-weight:bold;
	margin-bottom:10px;	
}



/*-------------------------------------------------
Clear Fix
-------------------------------------------------*/

.clearfix:after {
 content:".";
 display:block;
 clear:both;
 height:0;
 visibility:hidden;
}
.clearfix {
 display:inline-block;
}
/* exlude MacIE5 ?*/
* html .clearfix {
 height:1%;
}
.clearfix {
 display:block;
}
/* end MacIE5 */

/*for IE 5.5-7*/
.clearfix{
    zoom:1;
}


/*-------------------------------------------------
sitemap
-------------------------------------------------*/


#sitemap {
	clear:both;
}

#sitemap a {
	text-decoration:none;
	color:#666;	
}
#sitemap a:hover {
	text-decoration:underline;
	color:#fc3;
}

.gotop {
	clear:both;
	text-align:right;
	margin-top:70px;
	padding-right:10px;
}
.gotop a {
	padding-left:15px;
	background:transparent url(assets/images/legacy/img_common/li-arrow_top.gif) no-repeat 0% 50%;
	text-decoration:none;
	color:#333;
	font-size:14px;
}

a.gopage {
	padding-left:15px;
	background:transparent url(assets/images/legacy/img_common/li-arrow_page.gif) no-repeat 0% 50%;
}
a.gocontact {
	padding-left:15px;
	background:transparent url(assets/images/legacy/img_common/li-arrow_page.gif) no-repeat 0% 50%;
	font-weight:bold;
	font-size:14px;
	display:block;
	margin-bottom:10px;
	margin-top:12px;
	
}



.btmline {
	position:relative;
	top:0px;
	left:0px;

	padding-bottom:10px;
	border-bottom:1px solid #8CAFC1;
	margin-bottom:10px;
	padding-left:20px;
	font-size:11px;
}

.column-a,.column-b,.column-c {
	position:relative;
	top:0px;
	left:0px;
	line-height:200%;
}

.column-a .column1 {
	width:240px;
	/*height:10em;*/
	float:left;
}

.column-a .column3 {
	position:absolute;
	top:0px;
	left:500px;
}

.column-a li li {s
	margin-left:25px;
}

.column-b li {
	width:260px;
	float:left;
}
.column-b li {
	width:240px;
	float:left;
}
.column-b .column3 {
	position:absolute;
	top:0px;
	left:500px;
}

.column-c li a {
	padding-left:15px;
	background:transparent url(assets/images/legacy/img_common/li-arrow_aside.gif) no-repeat 0% 50%;
}

.column-c .column1 {
	width:160px;
	/*height:8em;*/
	float:left;
}

.column-c .column2 {
	float:left;
}
.column-c .column3 {
	padding-left:320px;
}

.column-c .column4 {
	position:absolute;
	top:0px;
	left:500px;
}

footer {
	margin-bottom:20px;
}
.copyright {
	text-align:right;
	color:#fff;
	font-size:10px;
	font-family:Verdana, Geneva, sans-serif;
	margin:10px;
}

/* ===== 原本 parts.css ===== */


.pricebox {
	display:block;
	padding:7px 10px;
	background-color:#E8ECF3;
	border:1px solid #c0c0c0;
	letter-spacing:0.1em;
	float:right;
	margin-top:30px;
	margin-bottom:40px;


	-moz-border-radius:8px;/*for Firefox*/
	-webkit-border-radius:8px;/*for Safari and chrome*/
	-khtml-border-radius:8px;/*for Old Safari, KHTML */
	-ms-border-radius:8px;/*for IE(関係ないみたい？)*/
	-o-border-radius:8px;/*for Opera(関係ないみたい？)*/
	border-radius:8px;/*CSS3*/
	/*↑不思議なことに同階層なのに../css/と書かないと認識せず*/
}


.pricecell {
	letter-spacing:0.1em;
	text-align:right;
	padding-right:30px !important;
}

.minihead {
	display:block;
	margin-bottom:5px;
	font-size:small;
	color:#666;
	
}

.bold {
	font-weight:bold;
}


#loca .photo-memo {
	font-size:11px;
	color:#666;	
	padding:25px 20px 25px 120px;
	background:transparent url(assets/images/legacy/loca/img/loca_p02.jpg) no-repeat 0% 30%;
	position:relative;
	top:0px;
	left:0px;
}

table.datatable {
	border-right:1px solid #c0c0c0;
	border-top:1px solid #c0c0c0;
	margin:30px auto;
}
table.datatable th,table.datatable td {
	border-left:1px solid #c0c0c0;
	border-bottom:1px solid #c0c0c0;
	padding:10px 15px;
}
table.datatable th {
	background-color:#E8ECF3;
	white-space:nowrap;
	vertical-align:middle;
}
table.datatable td.property {
	background-color:#FFFDEE;
	vertical-align:middle;
}

table.datatable caption {
	font-weight:bold;
	padding-bottom:10px;
}

#dubbing table.datatable td.property {
	width:160px;
}
#dubbing table.datatable td {
	width:80px;
}

#dubbing table.datatable th.wline,#dubbing table.datatable td.wline {
	border-left:double 3px #c0c0c0 !important;
}


#loca table.piano {
	margin-top:20px;
	margin-bottom:40px;
}
#loca table.piano th,#loca table.piano td {
	padding:10px !important;
}
#loca table.piano td.txtline-m {
	line-height:1.3;
}


#shop table.datatable th,#shop table.datatable td {
 	padding:15px 20px;
	font-size:90%;
}

.note {
	font-size:11px;
	color:#666;
}

ul.note li {
	margin-bottom:7px;
}

#dubbing ul.note {
	position:relative;
	top:0px;
	left:0px;

	padding:20px 0px 15px 0px;
	background:transparent url(assets/images/legacy/dubbing/img/dubbing_img01.jpg) no-repeat 0% 30%;
	margin-left:200px;
}
#dubbing ul.note li {
	margin-left:120px;
	
	
}
#dubbing table.datatable {
	margin-bottom:20px; 
}


#printtop .center630 p {
	width:630px;
	margin:0px auto;
	line-height:1.5 !important;
	font-size:13px;
}

#printtop .downbtn {
	margin-left:15px;
}

#printtop .center630 p img {
	margin-bottom:10px;
}



.print #content article {
	clear:both;
	margin-bottom:40px;
	
}

.print #content h3 {
	background:transparent url(assets/images/legacy/print/img/photo-sta_mark.jpg) no-repeat 0% 50%;
	padding:22px 0px 22px 47px;
	font-size:14px;
}
.print article p.txt {
	/*margin-bottom:40px;*/
	margin-bottom:20px;
	margin-left:415px;
	line-height:1.5 !important;
	font-size:13px;
}
.print article p.txt strong {
	color:#f90;
}
	
	
.print article p img {
	width:400px;
	float:left;
	margin-bottom:40px;
}

.print .download-btn {
	clear:both;
	text-align:center;
	border-top:1px solid #8CAFC1;
	border-bottom:1px solid #8CAFC1;
	padding:18px 0px;
	margin-bottom:20px;
}
.print .download-btn a {
	display:block;
	width:143px;
	height:35px;
	overflow:hidden;
	text-indent:-9999px;
	cursor:pointer;
	margin:0px auto;
	padding:0px;
	background:transparent url(assets/images/legacy/print/img/btn_download.gif) no-repeat;
}
.print .download-btn a:hover {
	background:transparent url(assets/images/legacy/print/img/btn_download.gif) no-repeat 0px -100px;
}

#download table.datatable {
	margin-top:0px;
	line-height:1.5 !important;
	font-size:13px;
}

.print #content h2 {
	background-color:#DDEEC9;
	border-left:10px solid #6CB41C;
	font-size:16px;
	padding:10px 15px;
	color:#390;
	clear:both;
	margin:40px 0px 30px;
	font-weight:bold;
}

.print .go-h2 {
	margin-left:400px;
	position:relative;
	top:10px;
	left:0px;
}

.print .go-h2 li {
	/*margin-bottom:10px;*/
	font-size:13px;
	list-style:none;
	background:transparent url(assets/images/legacy/print/img/photo-sta_mark_s.jpg) no-repeat 0% 50%;
	padding:5px 0px 5px 22px;
}

.print .go-h2 a {
	text-decoration:none;
}
.print .go-h2 a:hover {
	text-decoration:underline;
}


.waku {
	border:1px solid #f90;
	padding:6px;
	background-color:#FFFCF8;
}

#welcome #map_canvas {
	border:1px solid #ccc;
	width:600px;
	height:400px;
	margin:0px auto;
}


#welcome #shopinfo {
	margin-left:80px;

}
#welcome .shopdata {
	padding-left:200px;
	line-height:1.8;
}

#home #map_canvas {
	border:1px solid #ccc;
}

#home #topside {
	width:200px;
	float:left;
	background-color:#F4F3F0;
	padding-top:15px;
	margin-bottom:30px;
}

#home .topside-in {
	margin-left:15px;
	margin-bottom:18px;
}


#home #topmain {
	margin-left:210px;
}

#home .topside-in .subbnr p {
	text-align:right;
	font-size:11px;
	margin-right:15px;
	color:#666;
	line-height:140%;
}
#home .topside-in .subbnr img {
	border:1px solid #ccc;
}

#home #topside .gopage {
	list-style-type:none;
	padding-left:15px;
	/*padding-bottom:16px;*/
	background:transparent url(assets/images/legacy/img_common/li-arrow_orange.gif) no-repeat 0% 10%;
	font-size:13px;
	/*margin-bottom:15px;*/
	margin-bottom:15px;
	margin-right:15px;
	font-weight:normal;
}
#home #topside a {
	color:#333;
	text-decoration:none;
}
#home #topside a:hover {
	text-decoration:underline;
	color:#fc3;
}

#home #topside .shopdata p {
	font-size:11px;
	line-height:1.4 !important;
	margin-bottom:10px;
	margin-left:5px;
}
#home #topside #minimap .gomap {
	padding-bottom:0px;
	font-size:11px;
	text-align:right;
	margin-right:15px;
}
#home #topside #minimap .gomap a {
	color:#666;

}

#home .topics {
	margin:10px 5px 20px 10px;
}
#home .topics article {
	margin-bottom:10px;
	padding-bottom:10px;
	border-bottom:dashed 1px #ccc;
}

#home .bnr {
	border-bottom:dashed 1px #ccc;
	padding-bottom:20px;
}

#home .topics h3 {
	color:red;
	padding:7px 0px 7px 35px;
	font-size:110%;
}
#home .topics h3.new {
	background:transparent url(assets/images/legacy/img_common/new.gif) no-repeat 0% 70%;
}
#home .topics p {
	margin-left:35px;
	font-size:90%;
	line-height:1.4;
}
#home .topics p.news {
	color:red;
	font-size:100%;
	font-weight:bold;
	line-height:1.3;
}
#home .topics article.leftphoto {
	border-bottom:none;
}
#home .topics .leftphoto p.f-left {
	margin-left:-10px;
}

#home .topics .leftphoto h3,#home .topics .leftphoto p {
	margin-left:200px;
}
#home .gotop {
	display:none;
}


#home .topics strong.catch {
	color:#069;
	font-weight:bold;
}




#school .bodytxt p {
	margin-bottom:15px;
}










#contact form li {
	list-style-type:none;
	margin-bottom:25px;
	margin-left:70px;
	padding-left:25px;
	background:transparent url(assets/images/legacy/img_common/icon_pen.gif) no-repeat;
}
#contact form li input,#contact form li textarea {
	margin-top:10px;
}
#contact form .email2 {
	position:relative;
	top:7px;
	left:0px
	
}
#contact #postmail {
	padding:30px 0px;
	margin:0px 20px 30px;
	border:1px solid #ccc;
	background-color:#FFFDEE;
}

#contact .msg {
	color:red;
}

#contact .datatable th {
	background-color:#FFFDEE;
}



/* ===== 写真販売システム（photo-studio-system）画面のフルワイド表示 =====
   旧テーマ（Lightning）では販売画面が画面幅いっぱいに表示されていたため、
   本テーマでも #page の770px制限や白い角丸枠を掛けずに表示する。
   通常ページの見た目には影響しない（この指定は body.photo-ohtani-fullwidth のみ）。 */
/* 旧環境（lightning-photo-studio 子テーマ）と同じく、販売画面は
   サイトのヘッダー・ナビ・フッターを出さず、販売システムの画面だけを全幅で表示する。
   テーマの紺背景・幅770px制限・白い角丸枠は一切掛けない。 */
body.photo-ohtani-fullwidth {
	background: #fff;
	color: #333;
}
body.photo-ohtani-fullwidth #page {
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;
}

/* ===== ウィジェット（外観 → ウィジェット で自由に追加できる欄）=====
   「テキスト」ウィジェットのビジュアル編集で入れた見出し・段落・箇条書き・画像・
   リンクが、原本の雰囲気のまま崩れずに表示されるようにする。 */
.po-widget { margin: 0 0 15px; }
.po-widget:last-child { margin-bottom: 0; }
.po-widget__title { font-weight: bold; margin: 0 0 6px; font-size: 14px; }
.po-widget p { line-height: 180%; margin: 0 0 8px; }
.po-widget p:last-child { margin-bottom: 0; }
.po-widget ul { list-style: disc; margin: 0 0 8px 1.4em; }
.po-widget ol { list-style: decimal; margin: 0 0 8px 1.6em; }
.po-widget li { margin-bottom: 3px; }
.po-widget img { max-width: 100%; height: auto; }
.po-widget a { color: #176b98; }
.po-widget strong { font-weight: bold; }

/* お知らせ枠（トップ画像の下）
   テキストウィジェットで文章だけを書いた場合は、原本と同じ赤枠を自動で付ける。
   自分でHTML（divやtable）を書いた場合は二重枠にならないよう自動で付けない。
   R23: 「文章だけかどうか」の判定はテーマPHP側（photo_ohtani_widget_plain_class）が行い、
   該当ウィジェットに po-widget--plain クラスが付く。以前はCSSのセレクタで内容を推定して
   いたが、テキストウィジェット標準の <div class="textwidget"> を誤検知して赤枠が一度も
   付かない事故（第22次）を起こしたうえ、内容推定セレクタ未対応の環境では枠ごと消える。
   クラス一致ならどの環境でも同じに見える。 */
.po-widget--notice.po-widget--plain {
	color: #f00;
	padding: 15px 4%;
	margin-bottom: 20px;
	background-color: #fff;
	border: 2px solid #f00;
	border-radius: 5px;
	text-align: center;
}
.po-widget--notice.po-widget--plain .po-widget__title {
	font-size: 125%;
	padding: 5px 5px 10px;
	text-align: center;
}
.po-widget--notice.po-widget--plain p { font-size: 110%; line-height: 1.6; }

/* トピックス（写真閲覧リンク等）
   同様に、自分で <article> を書いた場合は原本側の区切り線が使われるので重ねない。
   R23: 判定はお知らせ枠と同じくPHP側。文章だけなら po-widget--plain が付く。 */
.po-widget--topic.po-widget--plain {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: dashed 1px #ccc;
}
.po-widget--topic.po-widget--plain .po-widget__title { color: red; padding: 7px 0 7px 35px; font-size: 110%; }
.po-widget--topic.po-widget--plain p { margin-left: 35px; font-size: 90%; line-height: 1.4; }

/* 左サイド欄 */
.po-widget--side { margin: 0 15px 15px 0; font-size: 12px; }
.po-widget--side .po-widget__title { font-size: 13px; }

/* 本文下・フッター上 */
.po-widget--pagebottom { margin-top: 30px; }
.po-widget--footer { margin: 20px 0; }

/* ===== WP適応（原本に無い追加分・最小限） ===== */

/* ヘッダーのロゴ（カスタマイザーで差し替え可）。
   原本ロゴ（高さ29px）はそのまま、大きい画像を設定してもヘッダーの高さ（34px）を
   壊さないよう上限だけ設ける。 */
#globalheader hgroup h1 img {
	max-height: 32px;
	width: auto;
	vertical-align: middle;
}

/* 原本 thickbox.css 冒頭の全称リセットを移植（原本は全ページで読込。入力欄等の既定余白に影響） */
* { padding: 0; margin: 0; }

/* WordPressコアのタイトルは原本に無いため画面上は画像タイトルを使用 */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	word-wrap: normal;
}

/* 問い合わせフォームの通知・エラー枠・ハニーポットのCSSは、
   photo-ohtani-contact-form プラグイン側へ移した（R10-#51）。
   プラグインが「テーマ非依存」を宣言している以上、テーマを変えた瞬間に
   ハニーポットが画面に見えてしまう作りは正しくないため。
   フォーム本体のレイアウト（#contact form li 等）は原本デザインなのでこのまま。 */

/* 本文内の配置クラス（クラシックエディター既定） */
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin-right: 10px; }
.alignright { float: right; margin-left: 10px; }

/* ホームお知らせウィジェット領域は原本の直書きスタイルに任せるため装飾しない */
