@charset "UTF-8";

/* 基本色 */
:root {
	--main-color: #4B87C9;
	--accent-color: #8A534F;
	--dark-color: #3B5A7D;
	--text-bright-color: #6CF;
    --icon-color: #fff;
    --icon-bk-color: #ddd;
    --gray-color: #ddd;
    
    --large-width: 1000px;
    --middle-width: 800px;
}

/*基本設定：　フォントサイズ*/
@media (max-width: 599px) {
    :root {
        font-size: 14px;
    }
}

@media (min-width: 600px) and (max-width: 799px) {
    :root {
        font-size: 16px;
    }
}

@media (min-width: 800px) {
    :root {
        font-size: 18px;
    }
}

body {font-size: 16px;}

/* 基本設定：　ページ全体　*/
body {
	margin: 0;
	font-family: 'メイリオ',
		'Hiragino Kaku Gothic Pro',
		sans-serif;
}

/* コンテンツA：　ヒーローイメージ　*/
.conA {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100vh; /*ヒーローイメージの縦のサイズ（100vhが最大）*/
	min-height: 450px;
	background-image: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.8), rgba(0,0,0,0)), url(img/conAbackgroundimage.jpg);
	background-position: center;
	background-size: cover;
	color: #6CF;
	color: var(--text-bright-color);
	text-align:center;
}

.conA.compact {
    height: 450px;
    min-height: 0;
    background-image: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.6)), url(img/machiai.jpg);
}

.conA h1 {
	margin-top: 0;
	margin-bottom: 10px;
	font-family: 'Montserrat', sans-serif;
	font-size: 10vw; /*@mediaで指定したiPadの横幅768pxの10分の1サイズ（1vw=7.68px）*/
	letter-spacing:0.2em;
	margin-left:0.2em;
}

.conA p {
	margin-top: 0;
	margin-bottom: 0;
	font-size: 18px;
	letter-spacing:0.1em;
	margin-left:0.1em;
}

.conA img {
	width: 95%;/*ロゴイメージの大きさ（h1の横幅に対して）*/
}

.conA a {
	display: inline-block;
	margin-top: 20px;
	padding: 10px 30px;
	border: solid 3px currentColor;
	border-radius: 6px;
	background-color: #8A534F;
	background-color: var(--accent-color);
	color: #fff;　/*ボタンの縁、文字を白に*/
/*	color: var(--text-bright-color);*/  /*ボタンの縁、文字を白にしたいのでブロック*/
	font-size: 14px;
	line-height: 2.0;
	text-decoration: none;
}

.conA a:hover {
	background-image: linear-gradient(rgba(255,255,255,0.2),rgba(255,255,255,0.2));
}

@media (min-width: 768px) {
	.conA h1 {
		font-size: 76px; /*conA h1のfont-sizeをpx換算（10vw=76.8px→76px)*/
	}
	
	.conA p {
		font-size: 24px; /*conA p のfont-size768px以上では24px*/
	}
}

/* コンテンツB： 概要（アイコン＋テキスト） */
.conB .container {
    padding-top: 80px;
    padding-bottom: 20px;
}

.conB .text {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 60px;
    text-align: center;
}
.conB h2 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 20px;
	line-height: 1.3; /*行間*/
}

.conB p {
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 1.8;　/*行間*/
	opacity: 0.8;
}

.conB a {
	color: #4B87C9;
	color: var(--main-color);
	text-decoration: none;
}

.conB a:hover	{
	text-decoration: underline;
}

.conB .icon	{
	display: inline-block;
	margin-bottom: 20px;
	font-size: 40px;
	width: 2em;
	line-height: 2em;
	border-radius: 50%;
	text-align: center;
	background-color: #ddd;
	background-color: var(--icon-bk-color);
	color: #fff;
	color: var(--icon-color);
}

@media (min-width: 768px){
    .conB .container {
        display: flex;
        max-width: 1000px;
        max-width: var(--large-width);
        margin-left: auto;
        margin-right: auto;
    }
    
    .conB .text {
        flex: 1;
    }
}

/*コンテンツC：概要（画像＋テキスト）*/
.conC   {
    background-color: #4B87C9;
    background-color: var(--main-color);
    color: #fff;
/*    color: var(--text-bright-color);*/
    
}

.conC .text {
    padding: 20px;
}

.conC h2 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 20px;
	line-height: 1.5;
}

.conC p {
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 1.8;
	opacity: 0.8;
}

.conC a {
	display: inline-block;
	margin-top: 20px;
	padding: 10px 30px;
	border: solid 3px currentColor;
	border-radius: 6px;
	background-color: #8A534F;
	background-color: var(--accent-color);
	color: #fff;
/*	color: var(--text-bright-color);*/
	font-size: 14px;
	text-decoration: none;
}

.conC a:hover {
	background-image: linear-gradient(
        rgba(255,255,255,0.2),
        rgba(255,255,255,0.2)
    );
}

.conC .photo {
    min-height: 200px;
    background-image: url(img/conCokagesama.jpg);
    background-position: center;
    background-size: cover;
}

.conC .photo_celi {
    min-height: 200px;
    background-image: url("img/conCceli.jpg");
    background-position: center;
    background-size: cover;
}

.conC .photo_cardo {
    min-height: 200px;
    background-image: url("img/CarloDonatella.jpg");
    background-position: center;
    background-size: cover;
}

@media (min-width: 768px) {
    .conC .container {
        display: flex;
        max-width: 1000px;
        max-width: var(--large-width);
        margin-left: auto;
        margin-right: auto;
    }
    
    .conC .photo {
        flex: 3;
    }
	
	.conC .photo_celi {
        flex: 3;
    }
    
    .conC .text {
        flex: 2;
        padding: 50px;
    }
}

/*コンテンツD：概要（画像＋テキスト:逆配置）*/
.conD .container {
    padding-top: 2px;
}

.conD .text {
    padding: 20px;
}

.conD h2 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 20px;
	line-height: 1.5;
}

.conD p {
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 1.8;
	opacity: 0.8;
}

.conD a {
	display: inline-block;
	margin-top: 20px;
	padding: 10px 30px;
    box-shadow: 0 0 0 1px #888;
	border: solid 3px currentColor;
	border-radius: 6px;
	background-color: #8A534F;
	background-color: var(--accent-color);
	color: #fff;
/*	color: var(--text-bright-color);*/
	font-size: 14px;
	line-height: 2.0;
	text-decoration: none;
}

.conD a:hover {
	background-image: linear-gradient(
        rgba(255,255,255,0.2),
        rgba(255,255,255,0.2)
    );
}

.conD .photo {
    min-height: 200px;
    background-image: url(img/conDlibreria.jpg);
    background-position: center;
    background-size: cover;
}

.conD .photo_pg {
    min-height: 200px;
    background-image: url("img/conDunistrapg.jpg");
    background-position: center;
    background-size: cover;
}

@media (min-width: 768px) {
    .conD .container {
        display: flex;
        flex-direction: row-reverse;
        max-width: 1000px;
        max-width: var(--large-width);
        margin-left: auto;
        margin-right: auto;
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    .conD .photo {
        flex: 0 0 400px;
    }
	
	.conD .photo_pg {
        flex: 0 0 400px;
    }
    
    .conD .text {
        flex: 1;
        padding: 50px;
    }
}



/*フッター*/
footer {
    color: #6CF;
    color: var(--text-bright-color);
    background-color: #3B5A7D;
    background-color: var(--dark-color);
}

footer .container {
    padding: 40px 20px;
}


@media (min-width: 768px) {
    footer .container {
        display: flex;
		flex-wrap: wrap;
		max-width: 1000px;
		max-width: var(--large-width);
		margin-left: auto;
		margin-right: auto;
    }
    
    .footA {
		flex: 0 0 40%;
	}

	.footB {
		flex: 0 0 60%;
	}

	.footC {
		flex: 0 0 100%;
	}
}

/*フッターA: サイト情報*/
.footA {
    margin-bottom: 30px;
}

.footA h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    letter-spacing: 0.2em;
}

.footA img {
    width: 250px;
}

.footA p {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 14px;
}

.footA a {
    color: inherit;
    text-decoration: none;
}


/* フッターB： フッターメニュー */
.footB div {
	margin-bottom: 20px;
}

.footB h3 {
	margin-top: 0;
	margin-bottom: 10px;
	border-bottom: solid 1px currentColor;
	font-size: 14px;
}

.footB ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footB a {
	display: block;
	padding: 5px;
	color: inherit;
	font-size: 12px;
	text-decoration: none;
}

.footB a:hover {
	background-color: rgba(0,0,0,0.3);
}


@media (min-width: 768px) {
	.footB {
		display: flex;
	}

	.footB div {
		flex: 1;
	}

	.footB div:not(:first-child) {
		margin-left: 40px;
	}
}


/*フッターC：　コピーライト*/
.footC {
    font-size: 12px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}


/*フッターD：　SNSメニュー*/
.footD {
    margin-top: 20px;
}

.footD ul {
    display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footD a {
	display: block;
    margin-right: 8px;
	padding: 0px;
	color: inherit;
	font-size: 16px;
	text-decoration: none;
    border: solid 1px currentColor;
    width: 2em;
    line-height: 2em;
    border-radius: 50%;
    text-align: center;
}

.footD a:hover {
	background-color: rgba(0,0,0,0.3);
}

/*ヘッダー*/
header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    background-color: rgba(255,255,255,0.8);
}

.nohero header {
    position: static;
    border-bottom: solid 1px #ddd;
    border-bottom: solid 1px var(--gray-color);
}

/*ヘッダーA: サイト名*/
.headA {
    display:inline-block;
    line-height: 30px;
    padding-top: 10px;
    padding-left: 15px;
    padding-right: 15px;
    background-color: #4B87C9;
    background-color: var(--main-color);
/*ヘッダー左上にロゴを入れたので、文字設定を隠す
    color: #6CF;
    color: var(--text-bright-color);
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    text-decoration: none;
*/
}

/*ヘッダー左上のロゴの大きさ*/
.headA img {
    width: 170px;
    height:37px;
}

/*ヘッダーB: ナビゲーションメニュー*/
.headB ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.headB a {
	display: block;
	padding: 15px;
	color: inherit;
	font-size: 12px;
	text-decoration: none;
}

.headB a:hover {
	background-color: rgba(0,0,0,0.1);
}

@media (min-width: 768px){
    header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        max-width: 1000px;
        max-width: var(--large-width);
        margin-left: auto;
        margin-right: auto;
    } 
    
    .headB ul {
        display: flex;
    }
}

/*ヘッダーC　トグルボタン*/

@media (max-width: 767px) {
    /*小さい画面用設定*/
    header .container-small {
    display: flex;
        align-items: center;
        justify-content: space-between;
    }

.headC {
    margin-right: 10px;
    padding: 0;
    border: none;
    outline: none;
    background: none;
    font-size: 28px;
    opacity: 0.5;
    cursor: pointer;
    }

.headC:hover {
    opacity: 0.3;
    }
    
    .headB {
        display: none;
    }
}


@media (min-width: 768px) {
    /*大きい画面用の設定*/
    .headC {
        display: none;
    }
    
    .headB {
        display: block !important;
    }
}



/*お気楽語学DAYSページ: 記事*/
.post .container {
    max-width: 800px;
    max-width: var(--middle-width);
    margin-left: auto;
    margin-right: auto;
    padding: 30px 10px;
}

.post h1{
    padding-left: 0.5rem;
    border-left: solid 0.75rem #8A534F;
    border-left: solid 0.75rem var(--accent-color);
    font-size: 2rem;
}

.post p {
    font-size: 1rem;
    line-height: 2;
}

.post img {
    max-width: 100%;
}

.bread ol {
	display: flex;
    margin: 0;
	padding: 0;
	list-style: none;
}

.bread a {
	display: block;
	padding: 5px;
	color: inherit;
	font-size: 0.875rem;
	text-decoration: none;
}

.bread a::after {
    margin-left: 10px;
    content: '\f054';
    font-family: 'FontAwesome';
    opacity: 0.3;
}

.bread a:hover {
	background-color: rgba(0,0,0,0.3);
}

/*biografiaページ: 画像と沿革*/
.history   {
    background-color: #4B87C9;
    background-color: var(--main-color);
    color: #fff;
/*    color: var(--text-bright-color);*/
    
}

.history .text {
    padding: 20px;
}

.history h2 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 1.5rem;
}

.history .photo {
    min-height: 300px;
    background-image: url(img/profiloKaz.jpg);
    background-position: center;
    background-size: cover;
}

.history table {
    border-collapse: collapse;
    border-top: solid 1px #ddd;
    border-top: solid 1px var(--gray-color);
    font-size: 0.875rem;
}

.history th,
.history td {
    padding-top: 1.8rem;
    padding-bottom: 1.8rem;
    border-bottom: solid 1px #ddd;
    border-bottom: solid 1px var(--gray-color);
}

.history th {
    padding-right: 1rem;
    text-align: left;
    word-break: keep-all;
}

@media (min-width: 768px) {
    .history .container {
        display: flex;
        max-width: 1000px;
        max-width: var(--large-width);
        margin-left: auto;
        margin-right: auto;
    }
    
    .history .photo {
        flex: 1;
    }
    
    .history .text {
        flex: 8;
        padding: 50px;
    }
}

/*お問合わせページ：問合せ先*/
.contact {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px;
    border: solid 1px #ddd;
    border: solid 1px var(--gray-color);
    text-align: center;
}

.contact span {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 2.2rem;
    width: 2em;
    line-height: 2em;
    border-radius: 50%;
    text-align: center;
    background-color: #4B87C9;
    background-color: var(--main-color);
    color: #fff;
    color: var(--icon-color);
}

.contact h2{
    margin-top: 0;
    font-size: 1.2rem;
}

.contact a {
    font-size: 1.4rem;
    color: inherit;
    text-decoration: none;
}

@media (min-width: 768px) {
    .contact-wrap {
        display: flex;
    }
    
    .contact {
        flex: 1;
    }
    
    .contact:first-child {
        margin-right: 20px;
    }
}

/*お問合わせページ：地図*/
.location iframe {
    width: 100%;
    height: 400px;
    vertical-align: bottom;
}

.location h2 {
    margin: 0;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #4B87C9;
    background-color: var(--main-color);
    color: #fff;
    /*color: var(--text-bright-color);*/
    font-size: 1.5rem;
    text-align: center;
}

/*レッスン一覧　lezioni_ITA.html*/
.listA h1 {
    text-align: center;
}

.listA .container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1000px;
    max-width: var(--large-width);
    margin: 30px auto;
}

.listA article {
    flex: 1 1 300px;
    display: flex;
}

.listA a {
    flex: 1;
    margin: 10px;
    display: block;
    border: solid 1px #ddd;
    border: solid 1px var(--gray-color);
    color: inherit;
    text-decoration: none;
}

.listA a:hover {
    opacity: 0.8;
}

.listA .photo {
    min-height: 112px;
    background-position: left;
    background-repeat: no-repeat;
    background-size: 300px 112px;
    
}

.listA .text {
    margin: 10px;
}

.listA h2 {
    font-size: 18px;
}

.listA p {
    font-size: 14px;
    opacity: 0.8;
}


/*アレンジ：　ヘッダーを画面上部に固定*/
.head-fixed,
.nohero .head-fixed {
    position:fixed;
}

.nohero .head-fixed + * {
    margin-top: 70px;
}

/*お読みください*/
.oyomikudasai {
    margin-top: 0;
	margin-bottom: 0;
    line-height: 1.8;
	font-size: 16px;
}

/*値段表*/
.prezzo   {
    background-color: #4B87C9;
    background-color: var(--main-color);
    color: #fff; 
}

.prezzo .text {
    padding: 20px;
}

.prezzo h2 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 1.5rem;
}

@media (min-width: 768px) {
	.prezzo .container {
		display: flex;
		max-width: 1000px;
		max-width: var(--large-width);
		margin-left: auto;
		margin-right: auto;
	}
	
	.prezzo .text {
		padding: 50px;
	}
}

.prezzo table {
	border-collapse: collapse;
	border-top: solid 1px #ddd;
	border-top: solid 1px var(--gray-color);
	font-size: 0.875rem;
}

.prezzo th,
.prezzo td {
	padding-top: 1.8rem;
	padding-bottom: 1.8rem;
	border-top: solid 1px #ddd;
	border-top: solid 1px var(--gray-color);
}

.prezzo th {
	padding-right: 1rem;
	text-align: left;
	word-break: keep-all;
}

.prezzo td {
	padding-left: 1rem;
	width: 100%;
}


.schedule {
  --schedule-title-bg: #ccc;
  --schedule-title-color: #fff;
  --schedule-label-bg: #996;
  --schedule-label-color: #fff;
  --schedule-time-morning: #ffc;
  --schedule-time-afternoon: #cc9;
  --schedule-time-evening: #cc6;
  --schedule-footer-bg: #666;

  position: relative;	
  box-sizing: border-box;
  width: min(100%, 570px);
  margin: 0 auto;
  padding: 4px;
  border: 3px solid var(--schedule-title-bg);
  color: #46433d;
  font-family: sans-serif;
}

.schedule *,
.schedule *::before,
.schedule *::after {
  box-sizing: inherit;
}

.schedule__header {
  position: static;
  min-height: 88px;
  padding: 4px 8px;
  background: var(--schedule-title-bg);
  color: var(--schedule-title-color);
}

.schedule__header h2 {
  margin: 0;
  font-size: clamp(1.45rem, 5.7vw, 2.2rem);
  line-height: 1.25;
}

.schedule__header p {
  margin: 0;
  font-size: clamp(1.1rem, 4.5vw, 1.7rem);
  line-height: 1.3;
}

.schedule__badge {
  position: absolute;
  top: 10px;
  right: 8px;
  display: grid;
  width: 27%;
  aspect-ratio: 1.9;
  place-items: center;
  border-radius: 50%;
  background: #c96d72;
  color: #fff;
  font-size: clamp(.8rem, 3.4vw, 1.25rem);
  transform: rotate(-7deg);
}

.schedule__note {
  position: absolute;
  right: 5px;
  bottom: 3px;
  font-size: clamp(.8rem, 3.5vw, 1.25rem);
}

.schedule__days {
  margin: 0;
  padding: 0;
}

.schedule__day {
  display: grid;
  grid-template-columns: 27% 1fr;
  align-items: center;
  min-height: 96px;
  margin-top: 4px;
  padding: 5px;
  border: 1px solid #aaa79f;
  background: #fff;
}

.schedule__day dt {
  margin: 0;
  padding: 0 5px;
}

.schedule__day dt span {
  display: block;
  padding: 6px 2px;
  background: var(--schedule-label-bg);
  color: var(--schedule-label-color);
  text-align: center;
  font-family: serif;
  font-size: clamp(1.2rem, 4.7vw, 2rem);
  font-weight: 700;
  white-space: nowrap;
}

.schedule__day dd {
  margin: 0;
}

.schedule__times {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.schedule__time {
  min-height: 27px;
  padding: 2px 10px;
  text-align: right;
  font-family: Georgia, serif;
  font-size: clamp(1.1rem, 4.5vw, 1.8rem);
  font-weight: 700;
}

.schedule__time--morning {
  background: var(--schedule-time-morning);
  text-align: left;
}

.schedule__time--afternoon {
  background: var(--schedule-time-afternoon);
  text-align: center;
}

.schedule__time--evening {
  background: var(--schedule-time-evening);
  text-align: right;
}

/*.schedule__period {
  display: inline-block;
  min-width: 3em;
  margin-right: .5em;
  font-family: sans-serif;
  font-size: .65em;
  font-weight: 400;
}*/

.schedule__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 7px 5px 2px;
  background: var(--schedule-title-bg);	
}

.schedule__footer strong {
  color: #fff;
  font-size: clamp(1rem, 4.2vw, 1.6rem);
  white-space: nowrap;
}

.schedule__footer a {
  flex: 0 0 auto;
  padding: 3px 12px;
  border: 1px solid #c78b50;
  border-radius: 999px;
  background: #e6b36e;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.schedule__footer a:hover,
.schedule__footer a:focus-visible {
  filter: brightness(.95);
}

@media (max-width: 420px) {
  .schedule {
    padding: 3px;
  }

  .schedule__header {
    min-height: 76px;
  }

  .schedule__day {
    grid-template-columns: 29% 1fr;
    min-height: 78px;
    padding: 4px;
  }

  .schedule__day dt {
    padding: 0 3px;
  }

  .schedule__time {
    padding-right: 6px;
  }

  .schedule__footer {
    padding-inline: 3px;
  }
}