@charset "utf-8";

/*
Theme Name: IPSISM
Theme URI: 
Author: the IPS team
Author URI: 
Description: 
Requires at least: 6.4
Tested up to: 6.4
Requires PHP: 7.0
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: IPSISM
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/* General Styles */
html,
footer,
body,
section,
.wp-site-blocks {
    background: var(--wp--preset--color--custom-white);
}

a {
    height: 100%;
    text-decoration: none;
    margin: 0;
    cursor: pointer;
}

a:hover {
	color: #9ECBFC;
	transition: 0.5s;
}

.wp-block-button {
    cursor: pointer;    
}

.wp-element-button, .wp-block-button__link {
	border-radius: unset;
}

.wp-element-button, .wp-block-button__link:hover {
	background-color: #3d97fa;
	transition: 1s;
}

.badge {
	padding: .5rem 1rem;
    border-radius: 30px;
}

table {
    border-collapse: collapse;
}

button:focus {
    outline: none !important;
}

blockquote {
    margin: unset;
}

.yoast-breadcrumbs{ 
	font-size: 0.8rem;
}


/* Table Setting Stripe 3columns */

.customtable-stripe5 tr {
background-color:unset !important;
font-size: 90%;
color:#121212; 
padding-top: 5rem;
padding-bottom: 5rem;
}

.customtable-stripe5 tr td {
padding-top: 1rem;
padding-bottom: 1em;
}

.customtable-stripe5.wp-block-table.is-style-stripes td:first-child, .customtable-stripe5.wp-block-table.is-style-stripes td:nth-child(2) , .customtable-stripe5.wp-block-table.is-style-stripes td:nth-child(3)  {
border-top: 1px solid #dedede;
}

.customtable-stripe5.wp-block-table.is-style-stripes td {
border-bottom: 1px solid #dedede; 
}

.customtable-stripe5 tr td:first-child, .customtable-stripe5 tr td:nth-child(2) {
width:13%;
}

.wp-block-post-content .ir-spacer {
    margin: 15% 0px;
}


.wp-block-post-content .adobe-warning p {
    padding: 2rem;
}

body .is-layout-flex .adobe-warning {
    display: flex;
    flex-direction: column;
	margin: 2rem 2rem;
    }
	.wp-block-post-content .adobe-warning p {
    padding: 0;
    }



/* Small devices (portrait phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .wp-block-post-content .ir-spacer {
        margin: 10% 0px;
    } 
body .is-layout-flex .adobe-warning {
    display: flex;
    flex-direction: column;
	margin: 2rem 2rem;
    }
	.wp-block-post-content .adobe-warning p {
    padding: 0;
    }
}




/*minimum*/
@media only screen and (max-width: 450px) {
    .slider-headline {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        font-size: 2.8rem; /* Adjust font size as needed */
    }
    .slider-headline span {
        margin: 0.2rem; /* Add spacing between letters */
    }

    /* Optional: Adjust button alignment to center */
    .wp-block-buttons {
        justify-content: center;
        display: flex;
        align-items: center;
    }
	
	.hideobj {
    display: none !important;
}


}


/* Large devices (tablets, 992px and up) */
@media only screen and (min-width: 992px) {
    .wp-block-post-content .ir-spacer {
        margin: 4% 0px;
    } 
	body .is-layout-flex .adobe-warning {
    display: flex;
    flex-direction: row;
	margin: 2rem 0 3rem 2rem;
    }
	body .is-layout-flex .adobe-warning p {
	margin-top: 0 !important;
	}
}



/* * 
*
*  news-block
*
* */


.section-news .news-items > div {
    border-top: 1px solid #ccc;
    padding-top: .5rem !important;
    padding-bottom: .5rem !important;
    margin: 0 auto !important;
}

/* Select the last child of .wp-block-columns that is an adjacent sibling */
.section-news .news-items > div:last-child {
    border-bottom: 1px solid #ccc;
}


/******* IRページ共通装飾 *******/
/* アンカーのホバー時の色変更 */
#ir-footer-ja a:hover {
	color: #9ECBFC;
	transition: 0.5s;
}

/* アンカーのホバー時の下線削除 */
#ir-footer-ja a {
	text-decoration: unset;
}





/******* フッター共通 *******/
/* アンカーのホバー時の色変更（日本語） */
footer #comfooter-ja a:hover {
	color: #9ECBFC ;
	transition: 0.5s;
}

/* アンカーのホバー時の下線削除（日本語） */
footer #comfooter-ja a {
	text-decoration: unset;
}

/******* フッター共通 *******/
/* アンカーのホバー時の色変更（英語） */
footer #comfooter-en a:hover {
	color: #9ECBFC ;
	transition: 0.5s;
}

/* アンカーのホバー時の下線削除（英語） */
footer #comfooter-en a {
	text-decoration: unset;
}




.btn-like a {
    text-decoration: none;
    border: 1px solid #121212;
    color: #121212;
    border-radius: 0.25em;
    padding: 0.2em 0.5em;
    font-size: 0.85em;
}

.btn-like a:hover {
    background-color: #121212;
    color: #fff;
}

.btn-like a::before {
    margin-right: 3px;
    content: '\f105';
    font-weight: bold;
}

.wp-block-navigation-item__content {
    text-decoration: none; /* Removes underline by default */
}

.wp-block-navigation-item__content:hover {
    text-decoration: none; /* Ensures no underline on hover */
}


/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #333;
    color: #fff;
    width: 50px; /* Set a fixed width */
    height: 50px; /* Set a fixed height */
    border-radius: 50%; /* Make it circular */
    font-size: 24px; /* Size of the arrow */
    text-align: center;
    line-height: 50px; /* Vertically center the arrow */
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.3s, background-color 0.3s;
    display: none; /* Hidden initially */
    z-index: 9999; /* Make sure it's above other elements */
}

.back-to-top:hover {
    background-color: #555;
    opacity: 1;
}

/* コンテンツ（テキスト）に合わせてボックス要素の横幅を指定→背景色をテキストの量に合わせることが可能 */
.fitcont{
  width: fit-content;
}

/* 背景色を薄いグレーにする */
.bg-palegray{ background-color: #f9f9f9ff;
}

